public class GraphInErrorDao extends DaoForEntityWithSurrogateKey<GraphInError>
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 |
---|
GraphInErrorDao() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.jdbc.core.simple.ParameterizedRowMapper<GraphInError> |
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
|
void |
markAllFinished(QueryCriteria criteria) |
void |
markAllQueued(QueryCriteria criteria) |
void |
markAllQueuedForDelete(QueryCriteria criteria) |
void |
markFinished(GraphInError graphInError) |
void |
markQueued(GraphInError graphInError) |
void |
markQueuedForDelete(GraphInError graphInError) |
delete, delete, deleteRaw, getLastInsertId, load, 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 String getTableName()
DaoTemplate
getTableName
in class DaoTemplate<GraphInError>
protected org.springframework.jdbc.core.simple.ParameterizedRowMapper<GraphInError> getRowMapper()
DaoTemplate
getRowMapper
in class DaoTemplate<GraphInError>
protected String getSelectAndFromClause()
DaoTemplate
DaoForEntityWithSurrogateKey
should redefine DaoForEntityWithSurrogateKey.load(Integer)
to use unambiguous key column.getSelectAndFromClause
in class DaoTemplate<GraphInError>
public void markFinished(GraphInError graphInError) throws Exception
Exception
public void markQueued(GraphInError graphInError) throws Exception
Exception
public void markQueuedForDelete(GraphInError graphInError) throws Exception
Exception
public void markAllQueued(QueryCriteria criteria) throws Exception
Exception
public void markAllQueuedForDelete(QueryCriteria criteria) throws Exception
Exception
public void markAllFinished(QueryCriteria criteria) throws Exception
Exception
Copyright © 2013. All Rights Reserved.