public class IbatisVSEntryStateDao extends AbstractIbatisDao implements VSEntryStateDao
LexGridSchemaVersionAwareDao.IndividualDaoCallback<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GET_ENTRY_STATE_BY_ID_SQL
The GE t_ entr y_ stat e_ b y_ i d_ sql.
|
static java.lang.String |
INSERT_ENTRY_STATE_SQL
The INSER t_ entr y_ stat e_ sql.
|
static java.lang.String |
VERSIONS_NAMESPACE
The VERSION s_ namespace.
|
VSENTRYSTATE_NAMESPACE
Constructor and Description |
---|
IbatisVSEntryStateDao() |
Modifier and Type | Method and Description |
---|---|
protected InsertEntryStateBean |
buildInsertEntryStateBean(java.lang.String prefix,
java.lang.String entryStateUId,
java.lang.String entryUId,
java.lang.String entryType,
java.lang.String previousEntryStateUId,
EntryState entryState)
Builds the insert entry state bean.
|
void |
deleteAllEntryStateByEntryUIdAndType(java.lang.String valueSetDefGuid,
java.lang.String entryType) |
void |
deleteAllEntryStateEntriesByEntryUId(java.lang.String entryUId) |
void |
deleteAllEntryStatesOfPickListDefinitionByUId(java.lang.String pickListUId) |
void |
deleteAllEntryStatesOfPLEntryNodeByUId(java.lang.String pickListEntryNodeUId) |
void |
deleteAllEntryStatesOfValueSetDefinitionByUId(java.lang.String valueSetDefGuid) |
void |
deleteAllEntryStatesOfVsPropertiesByParentUId(java.lang.String parentUId,
java.lang.String parentType) |
java.util.List<LexGridSchemaVersion> |
doGetSupportedLgSchemaVersions()
Do get supported lg schema versions.
|
EntryState |
getEntryStateByUId(java.lang.String entryStateUId)
Gets the entry state by UID.
|
java.lang.String |
insertEntryState(java.lang.String entryUId,
java.lang.String entryType,
java.lang.String previousEntryStateUId,
EntryState entryState)
Insert entry state.
|
void |
insertEntryState(java.lang.String entryStateUId,
java.lang.String entryUId,
java.lang.String entryType,
java.lang.String previousEntryStateUId,
EntryState entryState)
Insert entry state.
|
void |
insertEntryState(java.lang.String prefix,
java.lang.String entryStateId,
java.lang.String entryId,
java.lang.String entryType,
java.lang.String previousEntryStateId,
EntryState entryState,
Inserter inserter)
Insert entry state.
|
void |
setIbatisRevisionDao(IbatisRevisionDao ibatisRevisionDao) |
void |
updateEntryState(java.lang.String id,
EntryState entryState)
Update entry state.
|
afterPropertiesSet, entryStateExists, executeInTransaction, getBatchTemplateInserter, getNonBatchTemplateInserter, getSqlMapClientTemplate, setNonBatchTemplateInserter, setSqlMapClientTemplate, vsEntryStateExists
createRandomIdentifier, createUniqueId, getPrefixResolver, getPrimaryKeyIncrementer, setPrefixResolver, setPrimaryKeyIncrementer, supportsLgSchemaVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeInTransaction, supportsLgSchemaVersion
public static java.lang.String VERSIONS_NAMESPACE
public static java.lang.String INSERT_ENTRY_STATE_SQL
public static java.lang.String GET_ENTRY_STATE_BY_ID_SQL
public EntryState getEntryStateByUId(java.lang.String entryStateUId)
VSEntryStateDao
getEntryStateByUId
in interface VSEntryStateDao
public void updateEntryState(java.lang.String id, EntryState entryState)
VSEntryStateDao
updateEntryState
in interface VSEntryStateDao
entryState
- the entry statepublic void insertEntryState(java.lang.String prefix, java.lang.String entryStateId, java.lang.String entryId, java.lang.String entryType, java.lang.String previousEntryStateId, EntryState entryState, Inserter inserter)
prefix
- the prefixentryStateId
- the entry state identryId
- the entry identryType
- the entry typepreviousEntryStateId
- the previous entry state identryState
- the entry stateinserter
- the ibatis inserterpublic java.lang.String insertEntryState(java.lang.String entryUId, java.lang.String entryType, java.lang.String previousEntryStateUId, EntryState entryState)
VSEntryStateDao
insertEntryState
in interface VSEntryStateDao
entryUId
- the entry resource UIDentryType
- the entry typepreviousEntryStateUId
- the previous entry state UIDentryState
- the entry statepublic void insertEntryState(java.lang.String entryStateUId, java.lang.String entryUId, java.lang.String entryType, java.lang.String previousEntryStateUId, EntryState entryState)
VSEntryStateDao
insertEntryState
in interface VSEntryStateDao
entryUId
- the entry identryType
- the entry typepreviousEntryStateUId
- the previous entry state identryState
- the entry statepublic void deleteAllEntryStatesOfVsPropertiesByParentUId(java.lang.String parentUId, java.lang.String parentType)
deleteAllEntryStatesOfVsPropertiesByParentUId
in interface VSEntryStateDao
protected InsertEntryStateBean buildInsertEntryStateBean(java.lang.String prefix, java.lang.String entryStateUId, java.lang.String entryUId, java.lang.String entryType, java.lang.String previousEntryStateUId, EntryState entryState)
prefix
- the prefixentryStateUId
- the entry state identryUId
- the entry identryType
- the entry typepreviousEntryStateUId
- the previous entry state identryState
- the entry statepublic java.util.List<LexGridSchemaVersion> doGetSupportedLgSchemaVersions()
AbstractBaseDao
doGetSupportedLgSchemaVersions
in class AbstractBaseDao
public void setIbatisRevisionDao(IbatisRevisionDao ibatisRevisionDao)
public void deleteAllEntryStatesOfValueSetDefinitionByUId(java.lang.String valueSetDefGuid)
deleteAllEntryStatesOfValueSetDefinitionByUId
in interface VSEntryStateDao
public void deleteAllEntryStateByEntryUIdAndType(java.lang.String valueSetDefGuid, java.lang.String entryType)
deleteAllEntryStateByEntryUIdAndType
in interface VSEntryStateDao
public void deleteAllEntryStateEntriesByEntryUId(java.lang.String entryUId)
deleteAllEntryStateEntriesByEntryUId
in interface VSEntryStateDao
public void deleteAllEntryStatesOfPickListDefinitionByUId(java.lang.String pickListUId)
deleteAllEntryStatesOfPickListDefinitionByUId
in interface VSEntryStateDao
public void deleteAllEntryStatesOfPLEntryNodeByUId(java.lang.String pickListEntryNodeUId)
deleteAllEntryStatesOfPLEntryNodeByUId
in interface VSEntryStateDao