public class ReferenceDao extends DBConnector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INST_TABLENAME |
static java.lang.String |
INVES_TABLENAME |
static java.lang.String |
LOG_IDENTIFIERCOLUMN |
static org.apache.log4j.Logger |
logger |
static java.lang.String |
NODE_TABLENAME |
static java.lang.String |
REFERENCECOLUMN |
static java.lang.String |
TITLECOLUMN |
ARCHIVE_STATUS_TABLE_NAME, CERTIFICATION_STATUS_TABLE_NAME, ISO_BASIC, NSSDCA_STATUS_TABLE_NAME
Constructor and Description |
---|
ReferenceDao() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Reference> |
getProductAllReferences(java.lang.String tableName) |
java.util.List<Reference> |
getProductReferences(java.lang.String identifier,
java.lang.String tableName)
Product instrument/investigation/node Reference Query - Query the instrument_reference table for a list of instrument/investigation/node references for a product.
|
int |
insertReference(Reference ref) |
Reference |
updateReference(Reference ref) |
getConnection
public static org.apache.log4j.Logger logger
public static final java.lang.String INST_TABLENAME
public static final java.lang.String INVES_TABLENAME
public static final java.lang.String NODE_TABLENAME
public static final java.lang.String LOG_IDENTIFIERCOLUMN
public static final java.lang.String REFERENCECOLUMN
public static final java.lang.String TITLECOLUMN
public ReferenceDao() throws java.lang.ClassNotFoundException, java.sql.SQLException
java.lang.ClassNotFoundException
java.sql.SQLException
public java.util.List<Reference> getProductAllReferences(java.lang.String tableName)
public java.util.List<Reference> getProductReferences(java.lang.String identifier, java.lang.String tableName)
identifier
- tableName
- public int insertReference(Reference ref)
ref
- - Reference objectCopyright © 2010-2019 Planetary Data System. All Rights Reserved.