public class QARuleAssignmentDao extends DaoForEntityWithSurrogateKey<RuleAssignment>
Modifier and Type | Field and Description |
---|---|
static String |
TABLE_NAME |
KEY_COLUMN
logger, TABLE_NAME_PREFIX
Constructor and Description |
---|
QARuleAssignmentDao() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.jdbc.core.simple.ParameterizedRowMapper<RuleAssignment> |
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
|
RuleAssignment |
load(Integer id)
Loads the business entity by primary key.
|
void |
save(RuleAssignment item)
Saves a business object to the database.
|
delete, delete, deleteRaw, getLastInsertId, 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 TABLE_NAME
public String getTableName()
DaoTemplate
getTableName
in class DaoTemplate<RuleAssignment>
protected org.springframework.jdbc.core.simple.ParameterizedRowMapper<RuleAssignment> getRowMapper()
DaoTemplate
getRowMapper
in class DaoTemplate<RuleAssignment>
protected String getSelectAndFromClause()
DaoTemplate
DaoForEntityWithSurrogateKey
should redefine DaoForEntityWithSurrogateKey.load(Integer)
to use unambiguous key column.getSelectAndFromClause
in class DaoTemplate<RuleAssignment>
public RuleAssignment load(Integer id)
DaoForEntityWithSurrogateKey
load
in interface DaoSortableDataProvidable<RuleAssignment>
load
in class DaoForEntityWithSurrogateKey<RuleAssignment>
public void save(RuleAssignment item) throws Exception
DaoForEntityWithSurrogateKey
UnsupportedOperationException
.save
in class DaoForEntityWithSurrogateKey<RuleAssignment>
Exception
Copyright © 2013. All Rights Reserved.