|
|||||||||
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
public abstract class AbstractIbatisDao
The Class AbstractIbatisDao.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.lexevs.dao.database.access.LexGridSchemaVersionAwareDao |
---|
LexGridSchemaVersionAwareDao.IndividualDaoCallback<T> |
Field Summary | |
---|---|
static java.lang.String |
VERSIONS_NAMESPACE
The VERSION s_ namespace. |
static java.lang.String |
VSENTRYSTATE_NAMESPACE
The VERSION s_ namespace. |
Constructor Summary | |
---|---|
AbstractIbatisDao()
|
Method Summary | ||
---|---|---|
void |
afterPropertiesSet()
|
|
boolean |
entryStateExists(java.lang.String prefix,
java.lang.String entryStateUId)
Method finds if the given entryState already exists. |
|
|
executeInTransaction(LexGridSchemaVersionAwareDao.IndividualDaoCallback<T> callback)
Execute in transaction. |
|
BatchInserter |
getBatchTemplateInserter(com.ibatis.sqlmap.client.SqlMapExecutor executor)
|
|
Inserter |
getNonBatchTemplateInserter()
Gets the non batch template inserter. |
|
org.springframework.orm.ibatis.SqlMapClientTemplate |
getSqlMapClientTemplate()
Gets the sql map client template. |
|
void |
setNonBatchTemplateInserter(Inserter nonBatchTemplateInserter)
Sets the non batch template inserter. |
|
void |
setSqlMapClientTemplate(org.springframework.orm.ibatis.SqlMapClientTemplate sqlMapClientTemplate)
Sets the sql map client template. |
|
boolean |
vsEntryStateExists(java.lang.String prefix,
java.lang.String entryStateUId)
Method finds if the given entryState already exists. |
Methods inherited from class org.lexevs.dao.database.access.AbstractBaseDao |
---|
createRandomIdentifier, createUniqueId, doGetSupportedLgSchemaVersions, getPrefixResolver, getPrimaryKeyIncrementer, setPrefixResolver, setPrimaryKeyIncrementer, supportsLgSchemaVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String VERSIONS_NAMESPACE
public static java.lang.String VSENTRYSTATE_NAMESPACE
Constructor Detail |
---|
public AbstractIbatisDao()
Method Detail |
---|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
@Transactional public <T> T executeInTransaction(LexGridSchemaVersionAwareDao.IndividualDaoCallback<T> callback)
LexGridSchemaVersionAwareDao
executeInTransaction
in interface LexGridSchemaVersionAwareDao
callback
- the callback
public void setSqlMapClientTemplate(org.springframework.orm.ibatis.SqlMapClientTemplate sqlMapClientTemplate)
sqlMapClientTemplate
- the new sql map client templatepublic org.springframework.orm.ibatis.SqlMapClientTemplate getSqlMapClientTemplate()
public BatchInserter getBatchTemplateInserter(com.ibatis.sqlmap.client.SqlMapExecutor executor)
public void setNonBatchTemplateInserter(Inserter nonBatchTemplateInserter)
nonBatchTemplateInserter
- the new non batch template inserterpublic Inserter getNonBatchTemplateInserter()
public boolean entryStateExists(java.lang.String prefix, java.lang.String entryStateUId)
entryStateUId
-
public boolean vsEntryStateExists(java.lang.String prefix, java.lang.String entryStateUId)
entryStateUId
-
|
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 |