HiRISE

HiRISE.HiReport.downlink
Class PipelineSourcesList

java.lang.Object
  extended by HiRISE.HiReport.DataProvider
      extended by HiRISE.HiReport.downlink.PipelineSourcesList
All Implemented Interfaces:
Comparator<Map<String,Object>>

public class PipelineSourcesList
extends DataProvider
implements Comparator<Map<String,Object>>

Queries pipeline tables and returns list of sources


Field Summary
static String ID
          CVS ID
protected  PagedList sourceList
          List of sources
 
Fields inherited from class HiRISE.HiReport.DataProvider
Anaglyph, CCD, Cycles, DTM, EDR, FS, Geo, HiP, HiRISE_ROOT, Jit, logger, Mars_Years, Obs, Orbits, PAP, PDTM, PEDR, PHiP, PPL, PPL_map, PRDR, PS, PXP, RDR, RS1, RS2, SO, SOP, SOPO, SOPO_map, SOST, SOST_map, SR, ST, Tags, Web, XP
 
Constructor Summary
PipelineSourcesList()
           
 
Method Summary
 int compare(Map<String,Object> map1, Map<String,Object> map2)
          Compare two sources by Conductor state
 PagedList getSourceList()
          Get our result.
 String getSQL()
          Get the query string
 void init(PipelineForm form)
          Perform query based on input
 
Methods inherited from class HiRISE.HiReport.DataProvider
getConnection, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values

sourceList

protected PagedList sourceList
List of sources

Constructor Detail

PipelineSourcesList

public PipelineSourcesList()
Method Detail

init

public void init(PipelineForm form)
          throws Exception
Perform query based on input

Parameters:
form - input
Throws:
Exception - query failed

getSourceList

public PagedList getSourceList()
Get our result.

Returns:
The sources list

getSQL

public String getSQL()
Get the query string

Returns:
query

compare

public int compare(Map<String,Object> map1,
                   Map<String,Object> map2)
Compare two sources by Conductor state

Specified by:
compare in interface Comparator<Map<String,Object>>

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona