|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.dao.database.access.AbstractBaseDao
org.lexevs.dao.database.ibatis.AbstractIbatisDao
org.lexevs.dao.database.ibatis.valuesets.IbatisVSEntryStateDao
public class IbatisVSEntryStateDao
The Class IbatisVSEntryStateDao manages entrystate data to/fro database.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.lexevs.dao.database.access.LexGridSchemaVersionAwareDao |
---|
LexGridSchemaVersionAwareDao.IndividualDaoCallback<T> |
Field Summary | |
---|---|
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. |
Fields inherited from class org.lexevs.dao.database.ibatis.AbstractIbatisDao |
---|
VSENTRYSTATE_NAMESPACE |
Constructor Summary | |
---|---|
IbatisVSEntryStateDao()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.lexevs.dao.database.ibatis.AbstractIbatisDao |
---|
afterPropertiesSet, entryStateExists, executeInTransaction, getBatchTemplateInserter, getNonBatchTemplateInserter, getSqlMapClientTemplate, setNonBatchTemplateInserter, setSqlMapClientTemplate, vsEntryStateExists |
Methods inherited from class org.lexevs.dao.database.access.AbstractBaseDao |
---|
createRandomIdentifier, createUniqueId, getPrefixResolver, getPrimaryKeyIncrementer, setPrefixResolver, setPrimaryKeyIncrementer, supportsLgSchemaVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.lexevs.dao.database.access.LexGridSchemaVersionAwareDao |
---|
executeInTransaction, supportsLgSchemaVersion |
Field Detail |
---|
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
Constructor Detail |
---|
public IbatisVSEntryStateDao()
Method Detail |
---|
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 state
public 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
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |