public class InputGraphDao extends DaoForEntityWithSurrogateKey<InputGraph>
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHED_ENGINES_TABLE_NAME |
static String |
GRAPHS_IN_ERROR_TABLE_NAME |
static String |
INPUT_GRAPHS_STATES_TABLE_NAME |
static String |
INPUT_GRAPHS_TABLE_NAME |
static String |
PIPELINE_ERROR_TYPES_TABLE_NAME |
static String |
PIPELINES_TABLE_NAME |
KEY_COLUMN
logger, TABLE_NAME_PREFIX
Constructor and Description |
---|
InputGraphDao() |
Modifier and Type | Method and Description |
---|---|
File |
getContentFile(Integer graphId) |
protected org.springframework.jdbc.core.simple.ParameterizedRowMapper<InputGraph> |
getRowMapper()
Returns the row mapper that creates an instance of the business object from a query result set.
|
protected String |
getSelectAndFromClause()
Builds SELECT ...
|
String |
getTableName()
Returns the name of the table that contains business entities represented by
|
InputGraph |
load(Integer id)
Loads the business entity by primary key.
|
delete, delete, deleteRaw, getLastInsertId, save, saveAndGetKey
copyBetweenTablesBy, loadAll, loadAllBy, loadAllBy, loadBy, postLoadAllBy, postLoadBy
boolToSmallint, createVirtuosoConnectionWrapper, executeInTransaction, getLookupFactory, jdbcQuery, jdbcQuery, jdbcQueryForInt, jdbcQueryForInt, jdbcQueryForInt, jdbcQueryForList, jdbcQueryForObject, jdbcQueryForObject, jdbcQueryForObject, jdbcQueryForObject, jdbcUpdate, jdbcUpdate, jdbcUpdate, setDaoLookupFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadAllBy
public static final String GRAPHS_IN_ERROR_TABLE_NAME
public static final String INPUT_GRAPHS_TABLE_NAME
public static final String INPUT_GRAPHS_STATES_TABLE_NAME
public static final String PIPELINE_ERROR_TYPES_TABLE_NAME
public static final String PIPELINES_TABLE_NAME
public static final String ATTACHED_ENGINES_TABLE_NAME
public InputGraph load(Integer id)
DaoForEntityWithSurrogateKey
load
in interface DaoSortableDataProvidable<InputGraph>
load
in class DaoForEntityWithSurrogateKey<InputGraph>
public String getTableName()
DaoTemplate
getTableName
in class DaoTemplate<InputGraph>
protected org.springframework.jdbc.core.simple.ParameterizedRowMapper<InputGraph> getRowMapper()
DaoTemplate
getRowMapper
in class DaoTemplate<InputGraph>
protected String getSelectAndFromClause()
DaoTemplate
DaoForEntityWithSurrogateKey
should redefine DaoForEntityWithSurrogateKey.load(Integer)
to use unambiguous key column.getSelectAndFromClause
in class DaoTemplate<InputGraph>
Copyright © 2013. All Rights Reserved.