public class IbatisSourceAssertedValueSetDao extends AbstractIbatisDao implements SourceAssertedValueSetDao
LexGridSchemaVersionAwareDao.IndividualDaoCallback<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASSOCIATION_NAMESPACE |
static java.lang.String |
ENTITY_NAMESPACE |
static java.lang.String |
VS_PROPERTY |
VERSIONS_NAMESPACE, VSENTRYSTATE_NAMESPACE
Constructor and Description |
---|
IbatisSourceAssertedValueSetDao() |
Modifier and Type | Method and Description |
---|---|
java.util.List<LexGridSchemaVersion> |
doGetSupportedLgSchemaVersions()
Do get supported lg schema versions.
|
java.util.List<DefinedNode> |
getAllValidValueSetTopNodeCodes(java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String predUid,
java.lang.String csUID)
Returns a set of Nodes that also provide a description of the top node.
|
java.util.List<Entity> |
getPagedValueSetEntities(java.lang.String matchCode,
java.lang.String csUID,
java.lang.String predicateUID,
int start,
int pageSize)
Paging capable method for value set members defined by a unique identifier passed in as the string
mathchCode parameter.
|
java.util.List<Entity> |
getSourceAssertedValueSetEntitiesForEntityCode(java.lang.String matchCode,
java.lang.String assertedRelation,
java.lang.String predicateUID,
java.lang.String csUID)
Returns list of entities for top node entity code exact match.
|
java.util.List<Entity> |
getSourceAssertedValueSetsForVSMemberEntityCode(java.lang.String matchCode,
java.lang.String assertedValueSetRelation,
java.lang.String predUid,
java.lang.String csUID)
A list of value set top nodes represented as Entity objects which are related to this the concept
defined by the exact match of the unique identifier.
|
java.util.List<Entity> |
getSourceAssertedValueSetTopNodeForEntityCode(java.lang.String matchCode,
java.lang.String codingSchemeUID)
A list of value set top nodes represented as Entity objects which are related to this the concept
defined by the exact match of the unique identifier.
|
int |
getValueSetEntityCount(java.lang.String matchCode,
java.lang.String csUID,
java.lang.String predicateUID)
Returns the total number of values in a given value set determined by the top node
unique identifier which must be an exact match
|
java.util.List<Property> |
getValueSetEntityProperties(java.lang.String entityCode,
java.lang.String csUid)
Returns a list of entity properties useful in defining the meta data of a value set
expressed as a coding scheme.
|
java.util.List<java.lang.String> |
getValueSetEntityUidForTopNodeEntityCode(java.lang.String codingSchemeUid,
java.lang.String predUid,
java.lang.String code,
int start,
int pageSize)
Returns all value set member unique identifiers defined in the database and
only used as query options for other database calls.
|
java.util.List<java.lang.String> |
getValueSetEntityUids(java.lang.String codingSchemeUid,
java.lang.String predUid,
int start,
int pageSize)
Returns all value set unique identifiers defined in the database
and only used as query options for other database calls
This is a utility method for other methods.
|
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 final java.lang.String ENTITY_NAMESPACE
public static final java.lang.String ASSOCIATION_NAMESPACE
public static final java.lang.String VS_PROPERTY
public java.util.List<LexGridSchemaVersion> doGetSupportedLgSchemaVersions()
AbstractBaseDao
doGetSupportedLgSchemaVersions
in class AbstractBaseDao
public java.util.List<Entity> getSourceAssertedValueSetEntitiesForEntityCode(java.lang.String matchCode, java.lang.String assertedRelation, java.lang.String predicateUID, java.lang.String csUID)
SourceAssertedValueSetDao
getSourceAssertedValueSetEntitiesForEntityCode
in interface SourceAssertedValueSetDao
matchCode
- - code to match for value set top nodeassertedRelation
- - can be nullcsUID
- - database specific coding scheme identifier must be pulled from dbpublic java.util.List<Entity> getSourceAssertedValueSetTopNodeForEntityCode(java.lang.String matchCode, java.lang.String codingSchemeUID)
SourceAssertedValueSetDao
getSourceAssertedValueSetTopNodeForEntityCode
in interface SourceAssertedValueSetDao
matchCode
- - code to match to retrieve top node entitycodingSchemeUID
- - database specific coding scheme identifier must be pulled from dbpublic java.util.List<java.lang.String> getValueSetEntityUids(java.lang.String codingSchemeUid, java.lang.String predUid, int start, int pageSize)
SourceAssertedValueSetDao
getValueSetEntityUids
in interface SourceAssertedValueSetDao
codingSchemeUid
- - database specific coding scheme identifier must be pulled from dbpredUid
- - database specific association identifier must be pulled from dbstart
- - paging cursorpageSize
- - result set sizepublic java.util.List<java.lang.String> getValueSetEntityUidForTopNodeEntityCode(java.lang.String codingSchemeUid, java.lang.String predUid, java.lang.String code, int start, int pageSize)
SourceAssertedValueSetDao
getValueSetEntityUidForTopNodeEntityCode
in interface SourceAssertedValueSetDao
codingSchemeUid
- - database specific coding scheme identifier must be pulled from dbpredUid
- - database specific association identifier must be pulled from dbcode
- - A string representation of the top node unique identifier. Requires exact match.start
- - paging cursorpageSize
- - result set sizepublic java.util.List<Entity> getPagedValueSetEntities(java.lang.String matchCode, java.lang.String csUID, java.lang.String predicateUID, int start, int pageSize)
SourceAssertedValueSetDao
getPagedValueSetEntities
in interface SourceAssertedValueSetDao
matchCode
- - A string representation of the top node unique identifiercsUID
- - database specific coding scheme identifier must be pulled from dbpredicateUID
- - database specific association identifier must be pulled from dbstart
- - paging cursorpageSize
- - result set sizepublic int getValueSetEntityCount(java.lang.String matchCode, java.lang.String csUID, java.lang.String predicateUID)
SourceAssertedValueSetDao
getValueSetEntityCount
in interface SourceAssertedValueSetDao
matchCode
- - A string representation of the top node unique identifiercsUID
- - database specific coding scheme identifier must be pulled from dbpredicateUID
- - database specific association identifier must be pulled from dbpublic java.util.List<Entity> getSourceAssertedValueSetsForVSMemberEntityCode(java.lang.String matchCode, java.lang.String assertedValueSetRelation, java.lang.String predUid, java.lang.String csUID)
SourceAssertedValueSetDao
getSourceAssertedValueSetsForVSMemberEntityCode
in interface SourceAssertedValueSetDao
matchCode
- - A string representation of the top node unique identifierassertedValueSetRelation
- - value set relation identifier -- can be nullpredUid
- - database specific association identifier must be pulled from dbcsUID
- - database specific coding scheme identifier must be pulled from dbpublic java.util.List<DefinedNode> getAllValidValueSetTopNodeCodes(java.lang.String propertyName, java.lang.String propertyValue, java.lang.String predUid, java.lang.String csUID)
SourceAssertedValueSetDao
getAllValidValueSetTopNodeCodes
in interface SourceAssertedValueSetDao
propertyName
- - Name of property that defines value set publish-able flagpropertyValue
- - Value set publish-able flag valuepredUid
- - database specific association identifier must be pulled from dbcsUID
- - database specific coding scheme identifier must be pulled from dbpublic java.util.List<Property> getValueSetEntityProperties(java.lang.String entityCode, java.lang.String csUid)
SourceAssertedValueSetDao
getValueSetEntityProperties
in interface SourceAssertedValueSetDao
entityCode
- - Should be a top node, defining a value set