public class DNRuleUncommittedDao extends DNRuleDao
Modifier and Type | Field and Description |
---|---|
static String |
TABLE_NAME |
GROUP_ID_COLUMN
KEY_COLUMN
logger, TABLE_NAME_PREFIX
Constructor and Description |
---|
DNRuleUncommittedDao() |
Modifier and Type | Method and Description |
---|---|
protected void |
commitChangesImpl(Integer groupId) |
protected void |
deleteRaw(Integer id)
Deletes a record from
DaoTemplate.getTableName() table with the given id. |
String |
getTableName()
Returns the name of the table that contains business entities represented by
|
void |
save(DNRule item)
Saves a business object to the database.
|
void |
update(DNRule item) |
getAuthorId, getRowMapper
deleteByGroup
delete, delete, getLastInsertId, load, saveAndGetKey
copyBetweenTablesBy, getSelectAndFromClause, 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 DNRuleDao
protected void deleteRaw(Integer id) throws Exception
DaoForEntityWithSurrogateKey
DaoTemplate.getTableName()
table with the given id.deleteRaw
in class AbstractRuleDao<DNRule>
id
- idException
public void save(DNRule item) throws Exception
DaoForEntityWithSurrogateKey
UnsupportedOperationException
.save
in class AbstractRuleDao<DNRule>
Exception
public void update(DNRule item) throws Exception
update
in class AbstractRuleDao<DNRule>
item
- Exception
protected void commitChangesImpl(Integer groupId) throws Exception
commitChangesImpl
in class AbstractRuleDao<DNRule>
Exception
Copyright © 2013. All Rights Reserved.