public class ReferenceDao extends DBConnector
Modifier and Type | Field and Description |
---|---|
static String |
INST_TABLENAME |
static String |
INVES_TABLENAME |
static String |
LOG_IDENTIFIERCOLUMN |
static org.apache.log4j.Logger |
logger |
static String |
NODE_TABLENAME |
static String |
REFERENCECOLUMN |
static 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 |
---|---|
List<Reference> |
getProductAllReferences(String tableName) |
List<Reference> |
getProductReferences(String identifier,
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 String INST_TABLENAME
public static final String INVES_TABLENAME
public static final String NODE_TABLENAME
public static final String LOG_IDENTIFIERCOLUMN
public static final String REFERENCECOLUMN
public static final String TITLECOLUMN
public ReferenceDao() throws ClassNotFoundException, SQLException
ClassNotFoundException
SQLException
public List<Reference> getProductReferences(String identifier, String tableName)
identifier
- tableName
- public int insertReference(Reference ref)
ref
- - Reference objectCopyright © 2019. All rights reserved.