public abstract class AbstractRuleDao<T extends RuleEntity> extends DaoForAuthorableEntity<T>
AbstractRulesGroupDao
)Modifier and Type | Field and Description |
---|---|
protected String |
GROUP_ID_COLUMN |
KEY_COLUMN
logger, TABLE_NAME_PREFIX
Constructor and Description |
---|
AbstractRuleDao() |
Modifier and Type | Method and Description |
---|---|
protected void |
commitChangesImpl(Integer groupId) |
void |
deleteByGroup(Integer groupId) |
protected void |
deleteRaw(Integer id)
Deletes a record from
DaoTemplate.getTableName() table with the given id. |
void |
save(T item)
Saves a business object to the database.
|
void |
update(T item) |
getAuthorId
delete, delete, getLastInsertId, load, saveAndGetKey
copyBetweenTablesBy, getRowMapper, getSelectAndFromClause, getTableName, 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
protected final String GROUP_ID_COLUMN
protected void deleteRaw(Integer id) throws Exception
DaoForEntityWithSurrogateKey
DaoTemplate.getTableName()
table with the given id.deleteRaw
in class DaoForEntityWithSurrogateKey<T extends RuleEntity>
id
- idException
public void save(T item) throws Exception
DaoForEntityWithSurrogateKey
UnsupportedOperationException
.save
in class DaoForEntityWithSurrogateKey<T extends RuleEntity>
Exception
protected void commitChangesImpl(Integer groupId) throws Exception
Exception
Copyright © 2013. All Rights Reserved.