public interface Releasable
PDS_Release
Modifier and Type | Field and Description |
---|---|
static int |
ABSOLUTE_MAXIMUM_ORBIT
These values have been chosen for the default orbit range as these
are what give the fastest start up time for HiVolume.
|
static java.lang.String |
ANAGLYPH_FILE_TYPES_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
ANAGLYPH_GROUP
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
ANAGLYPH_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
ANAGLYPH_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
ANAGLYPHS |
static java.lang.String |
DEFAULT_CONFIGURATION_FILE_NAME |
static int |
DEFAULT_MAXIMUM_ORBIT_NUMBER
These values have been chosen for the default orbit range as these
are what give the fastest start up time for HiVolume.
|
static int |
DEFAULT_MINIMUM_ORBIT_NUMBER
These values have been chosen for the default orbit range as these
are what give the fastest start up time for HiVolume.
|
static java.lang.String |
DTM |
static java.lang.String |
DTM_CUMINDEX_FILE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_CUMINDEX_LABEL_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_EXTRAS |
static java.lang.String |
DTM_EXTRAS_FILE_TYPES_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_EXTRAS_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_EXTRAS_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_GROUP
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_INDEX_FILE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_INDEX_LABEL_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
DTM_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EDR |
static java.lang.String |
EDR_CUMINDEX_FILE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EDR_CUMINDEX_LABEL_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EDR_EXTRAS |
static java.lang.String |
EDR_GROUP
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EDR_INDEX_FILE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EDR_INDEX_LABEL_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EDR_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EDR_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EXTRAS_FILE_TYPES_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EXTRAS_GROUP
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EXTRAS_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
EXTRAS_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
HIVOLUME_GROUP
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
ID |
static java.lang.String |
INDEX_TABLE_UPDATE_PROPERTY_NAME
Additional status properties that may be fired by the release classes.
|
static java.lang.String |
MAX_VERSION_ID_ALIAS |
static int |
MAXIMUM_UPDATES_BEFORE_COMMIT
The classes that implement this interface are expected to run their database
updates as transactions.
|
static java.lang.String |
PDS_ANAGLYPH_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PDS_DTM_EXTRAS_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PDS_DTM_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PDS_EDR_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PDS_EXTRAS_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PDS_RDR_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PREPARE_STATUS_PROPERTY_NAME
Additional status properties that may be fired by the release classes.
|
static java.lang.String |
PREPARE_STATUS_ROW_PROPERTY_NAME
Additional status properties that may be fired by the release classes.
|
static java.lang.String |
PRODUCT_TABLES_GROUP
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PROFFER_PRODUCT_PROPERTY_NAME
Properties that indicate the number of products released, and the current
product being processed.
|
static java.lang.String |
PROFFER_STATUS_COUNT_PROPERTY_NAME
Properties that indicate the number of products released, and the current
product being processed.
|
static java.lang.String |
PROFFERED_ANAGLYPH_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PROFFERED_DTM_EXTRAS_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PROFFERED_DTM_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PROFFERED_EDR_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PROFFERED_EXTRAS_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
PROFFERED_RDR_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
RDR |
static java.lang.String |
RDR_CUMINDEX_FILE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
RDR_CUMINDEX_LABEL_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
RDR_EXTRAS |
static java.lang.String |
RDR_GROUP
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
RDR_INDEX_FILE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
RDR_INDEX_LABEL_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
RDR_PRODUCTS_TABLE_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
RDR_ROOT_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.lang.String |
RELEASED_VERSION_COLUMN_ALIAS |
static java.lang.String |
SEARCH_STATUS_COMPILING_DATA
Search status property names and values.
|
static java.lang.String |
SEARCH_STATUS_COMPLETE
Search status property names and values.
|
static java.lang.String |
SEARCH_STATUS_CONSTRUCT
Search status property names and values.
|
static java.lang.String |
SEARCH_STATUS_EXECUTE
Search status property names and values.
|
static java.lang.String |
SEARCH_STATUS_PROPERTY_NAME
Search status property names and values.
|
static java.lang.String |
SEARCH_STATUS_START
Search status property names and values.
|
static java.lang.String |
SKIP_MISSION_PHASES_PARAMETER_NAME
These variables define the parameter names that HiVolume needs to find
within it's configuration.
|
static java.util.HashMap<java.lang.String,java.lang.Integer> |
Status_Hash |
static java.lang.String |
UNRELEASED_COLUMN_ALIAS |
static java.lang.String |
USER_REQUESTED_TABLE_UPDATE_PROPERTY
This property is updated within the Release_Component to notify the
main HiVolume class that the search parameters of one of the release components
has been updated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.String> |
Column_Names()
A convenience method for the HiVolume GUI to retrieve the column headings
for the table data.
|
void |
Create_PDS_Volume_Link(java.util.Vector<java.util.Vector<java.lang.String>> link_map)
As the name implies, this method creates the symbolic links within the
HiRISE PDS Volume.
|
java.util.Vector<java.util.Vector<java.lang.String>> |
Find_Products(java.lang.String observation_id,
int minimum_orbit,
int maximum_orbit,
boolean retrieve_released)
A search method that can be used
to retrieve a list of products that are available for release for the given
product type.
|
java.util.Vector<java.util.Vector<java.lang.String>> |
Link_Map(Product product)
The link map is a vector of vectors containing or more mappings for symbolic
link creation in the PDS volume.
|
Product |
Product_Data(java.lang.String Product_ID,
java.lang.String version,
java.lang.String product_type)
A method for collecting additional product information needed to create
Product objects used by the Proffer_Products method to release products to the
HiRISE PDS Volume.
|
void |
Proffer_Products(java.util.Vector<Product> products)
Proffer products to the PDS Volume and Proffered_Product Tables.
|
static final java.lang.String ID
static final java.lang.String RELEASED_VERSION_COLUMN_ALIAS
static final java.lang.String MAX_VERSION_ID_ALIAS
static final java.lang.String UNRELEASED_COLUMN_ALIAS
static final java.lang.String DEFAULT_CONFIGURATION_FILE_NAME
static final java.lang.String PRODUCT_TABLES_GROUP
static final java.lang.String HIVOLUME_GROUP
static final java.lang.String ANAGLYPH_GROUP
static final java.lang.String EXTRAS_GROUP
static final java.lang.String EDR_GROUP
static final java.lang.String RDR_GROUP
static final java.lang.String DTM_GROUP
static final java.lang.String ANAGLYPH_TABLE_PARAMETER_NAME
static final java.lang.String ANAGLYPH_FILE_TYPES_TABLE_PARAMETER_NAME
static final java.lang.String PROFFERED_ANAGLYPH_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String EDR_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String PROFFERED_EDR_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String EXTRAS_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String EXTRAS_FILE_TYPES_TABLE_PARAMETER_NAME
static final java.lang.String PROFFERED_EXTRAS_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String RDR_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String PROFFERED_RDR_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String DTM_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String PROFFERED_DTM_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String DTM_EXTRAS_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String DTM_EXTRAS_FILE_TYPES_TABLE_PARAMETER_NAME
static final java.lang.String PROFFERED_DTM_EXTRAS_PRODUCTS_TABLE_PARAMETER_NAME
static final java.lang.String SKIP_MISSION_PHASES_PARAMETER_NAME
static final java.lang.String EXTRAS_ROOT_PARAMETER_NAME
static final java.lang.String PDS_EXTRAS_ROOT_PARAMETER_NAME
static final java.lang.String ANAGLYPH_ROOT_PARAMETER_NAME
static final java.lang.String PDS_ANAGLYPH_ROOT_PARAMETER_NAME
static final java.lang.String EDR_ROOT_PARAMETER_NAME
static final java.lang.String PDS_EDR_ROOT_PARAMETER_NAME
static final java.lang.String RDR_ROOT_PARAMETER_NAME
static final java.lang.String PDS_RDR_ROOT_PARAMETER_NAME
static final java.lang.String DTM_ROOT_PARAMETER_NAME
static final java.lang.String PDS_DTM_ROOT_PARAMETER_NAME
static final java.lang.String DTM_EXTRAS_ROOT_PARAMETER_NAME
static final java.lang.String PDS_DTM_EXTRAS_ROOT_PARAMETER_NAME
static final java.lang.String EDR_CUMINDEX_FILE_PARAMETER_NAME
static final java.lang.String EDR_INDEX_FILE_PARAMETER_NAME
static final java.lang.String RDR_CUMINDEX_FILE_PARAMETER_NAME
static final java.lang.String RDR_INDEX_FILE_PARAMETER_NAME
static final java.lang.String DTM_CUMINDEX_FILE_PARAMETER_NAME
static final java.lang.String DTM_INDEX_FILE_PARAMETER_NAME
static final java.lang.String EDR_CUMINDEX_LABEL_PARAMETER_NAME
static final java.lang.String EDR_INDEX_LABEL_PARAMETER_NAME
static final java.lang.String RDR_CUMINDEX_LABEL_PARAMETER_NAME
static final java.lang.String RDR_INDEX_LABEL_PARAMETER_NAME
static final java.lang.String DTM_CUMINDEX_LABEL_PARAMETER_NAME
static final java.lang.String DTM_INDEX_LABEL_PARAMETER_NAME
static final int DEFAULT_MINIMUM_ORBIT_NUMBER
static final int DEFAULT_MAXIMUM_ORBIT_NUMBER
static final int ABSOLUTE_MAXIMUM_ORBIT
static final int MAXIMUM_UPDATES_BEFORE_COMMIT
static final java.lang.String SEARCH_STATUS_PROPERTY_NAME
static final java.lang.String SEARCH_STATUS_START
static final java.lang.String SEARCH_STATUS_CONSTRUCT
static final java.lang.String SEARCH_STATUS_EXECUTE
static final java.lang.String SEARCH_STATUS_COMPILING_DATA
static final java.lang.String SEARCH_STATUS_COMPLETE
static final java.lang.String PREPARE_STATUS_PROPERTY_NAME
static final java.lang.String PREPARE_STATUS_ROW_PROPERTY_NAME
static final java.lang.String INDEX_TABLE_UPDATE_PROPERTY_NAME
static final java.lang.String USER_REQUESTED_TABLE_UPDATE_PROPERTY
static final java.lang.String PROFFER_STATUS_COUNT_PROPERTY_NAME
static final java.lang.String PROFFER_PRODUCT_PROPERTY_NAME
static final java.lang.String EDR
static final java.lang.String EDR_EXTRAS
static final java.lang.String RDR
static final java.lang.String RDR_EXTRAS
static final java.lang.String ANAGLYPHS
static final java.lang.String DTM
static final java.lang.String DTM_EXTRAS
static final java.util.HashMap<java.lang.String,java.lang.Integer> Status_Hash
void Proffer_Products(java.util.Vector<Product> products) throws PIRL.Database.Database_Exception, java.io.IOException, java.lang.InterruptedException
products
- - A Vector of Products to be proffered within the HiCat
database and linked into the HiRISE PDS Volume.PIRL.Database.Database_Exception
- if the proffering procedure fails on the database.java.io.IOException
- if a problem occurs while creating the symbolic link in the
PDS Volumejava.lang.InterruptedException
- if the symbolic link procedure (a system call)
failsjava.util.Vector<java.util.Vector<java.lang.String>> Find_Products(java.lang.String observation_id, int minimum_orbit, int maximum_orbit, boolean retrieve_released) throws PIRL.Database.Database_Exception
A search method that can be used to retrieve a list of products that are available for release for the given product type. It should return a Vector of Vectors that can be given to a TableModel as a datasource, and displayed in the HiVolume gui. The input observation_id should be "OR'ed" against the orbit ranges so that product searches can be done against either of the search parameters.
The return vector should include the observation id, product id, version,
product type, the release date, and a field indicating if the product has
never been released or if an updated product is available for release, however
other fields can be included as well, if desired. The fields retrieved
should be obtainable from the Column_Names()
method.
observation_id
- - A string containing a full or partial observation_id
that can be used to search for products to release.minimum_orbit
- - An integer holding the minimum orbit to search for productsmaximum_orbit
- - An integer holding the maximum orbit to search for productsretrieve_released
- - a boolean value indicating weather or not released
products should also be returned (the default should be false).PIRL.Database.Database_Exception
- if the find procedure fails.Column_Names()
java.util.Vector<java.lang.String> Column_Names()
Find_Products(java.lang.String, int, int, boolean)
Product Product_Data(java.lang.String Product_ID, java.lang.String version, java.lang.String product_type) throws PIRL.Database.Database_Exception
Product_ID
- - A string form of the PRODUCT_ID to gather information forversion
- - The version of the productproduct_type
- - This value should be EDR, RDR, or one of the
PRODUCT_TYPE string from the Anaglyph_File_Types or Extras_File_Types tables.PIRL.Database.Database_Exception
- if a query or database access problem occursjava.util.Vector<java.util.Vector<java.lang.String>> Link_Map(Product product)
product
- - the product to generate source and destination paths forCreate_PDS_Volume_Link(Vector)
void Create_PDS_Volume_Link(java.util.Vector<java.util.Vector<java.lang.String>> link_map) throws java.io.IOException, java.lang.InterruptedException
link_map
- - A vector of string containing the source and destination
file paths for the symbolic link to be created.java.io.IOException
- if a file access problem occurs.java.lang.InterruptedException
- this exception may be thrown if the system call to
the symbolic link creation command fails.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona