public interface PropertyDao extends LexGridSchemaVersionAwareDao
Modifier and Type | Interface and Description |
---|---|
static class |
PropertyDao.PropertyType
The Enum PropertyType.
|
LexGridSchemaVersionAwareDao.IndividualDaoCallback<T>
Modifier and Type | Method and Description |
---|---|
void |
deleteAllCodingSchemePropertiesOfCodingScheme(java.lang.String codingSchemeUId)
Delete all coding scheme properties of coding scheme.
|
void |
deleteAllEntityPropertiesOfCodingScheme(java.lang.String codingSchemeUId)
Delete all entity properties of coding scheme.
|
void |
deleteAllPropertiesOfParent(java.lang.String codingSchemeUId,
java.lang.String parentUId,
PropertyDao.PropertyType parentType)
Delete all entity properties of coding scheme.
|
void |
deleteAllRelationPropertiesOfCodingScheme(java.lang.String codingSchemeUId)
Delete all relation properties of coding scheme.
|
boolean |
entryStateExists(java.lang.String codingSchemeUId,
java.lang.String entryStateUId) |
java.util.List<java.lang.String> |
getAllHistoryPropertyUidsOfParentByRevisionId(java.lang.String codingSchemeId,
java.lang.String parentId,
java.lang.String revisionId) |
java.util.List<Property> |
getAllPropertiesOfParent(java.lang.String codingSchemeId,
java.lang.String parentId,
PropertyDao.PropertyType type)
Gets the all properties of parent.
|
java.lang.String |
getEntryStateUId(java.lang.String codingSchemeUId,
java.lang.String propertyUId) |
Property |
getHistoryPropertyByRevisionId(java.lang.String codingSchemeId,
java.lang.String propertyUid,
java.lang.String revisionId) |
java.lang.String |
getLatestRevision(java.lang.String csUId,
java.lang.String propertyUId) |
java.util.List<Property> |
getPropertiesOfParents(java.lang.String codingSchemeId,
java.util.List<java.lang.String> parentUids) |
java.util.List<Property> |
getPropertiesOfParents(java.lang.String codingSchemeId,
java.util.List<java.lang.String> propertyNames,
java.util.List<java.lang.String> propertyTypes,
java.util.List<java.lang.String> parentUids) |
Property |
getPropertyByUid(java.lang.String codingSchemeId,
java.lang.String propertyUid) |
java.lang.String |
getPropertyUIdByPropertyIdAndName(java.lang.String codingSchemeUId,
java.lang.String referenceUId,
java.lang.String propertyId,
java.lang.String propertyName) |
void |
insertBatchProperties(java.lang.String codingSchemeId,
PropertyDao.PropertyType type,
java.util.List<PropertyBatchInsertItem> batch)
Insert batch properties.
|
java.lang.String |
insertHistoryProperty(java.lang.String codingSchemeUId,
java.lang.String propertyUId,
Property property)
insert property data into history.
|
java.lang.String |
insertProperty(java.lang.String codingSchemeUId,
java.lang.String parentUId,
PropertyDao.PropertyType type,
Property property)
Insert property.
|
void |
insertPropertyLink(java.lang.String codingSchemeUId,
java.lang.String parentUId,
PropertyLink propertyLink)
Insert property link.
|
void |
insertPropertyQualifier(java.lang.String codingSchemeId,
java.lang.String propertyId,
PropertyQualifier qualifier)
Insert property qualifier.
|
void |
insertPropertySource(java.lang.String codingSchemeId,
java.lang.String propertyId,
Source source)
Insert property source.
|
void |
insertPropertyUsageContext(java.lang.String codingSchemeId,
java.lang.String propertyId,
java.lang.String usageContext)
Insert property usage context.
|
void |
removePropertyByUId(java.lang.String codingSchemeUId,
java.lang.String propertyUId) |
java.lang.String |
updateProperty(java.lang.String codingSchemeUId,
java.lang.String parentUId,
java.lang.String propertyUId,
PropertyDao.PropertyType type,
Property property)
Update property.
|
java.lang.String |
updatePropertyVersionableAttrib(java.lang.String codingSchemeUId,
java.lang.String propertyUId,
Property property) |
executeInTransaction, supportsLgSchemaVersion
java.util.List<Property> getAllPropertiesOfParent(java.lang.String codingSchemeId, java.lang.String parentId, PropertyDao.PropertyType type)
codingSchemeId
- the coding scheme idparentId
- the parent idtype
- the typejava.util.List<java.lang.String> getAllHistoryPropertyUidsOfParentByRevisionId(java.lang.String codingSchemeId, java.lang.String parentId, java.lang.String revisionId)
Property getHistoryPropertyByRevisionId(java.lang.String codingSchemeId, java.lang.String propertyUid, java.lang.String revisionId)
java.util.List<Property> getPropertiesOfParents(java.lang.String codingSchemeId, java.util.List<java.lang.String> parentUids)
java.util.List<Property> getPropertiesOfParents(java.lang.String codingSchemeId, java.util.List<java.lang.String> propertyNames, java.util.List<java.lang.String> propertyTypes, java.util.List<java.lang.String> parentUids)
Property getPropertyByUid(java.lang.String codingSchemeId, java.lang.String propertyUid)
void insertPropertyQualifier(java.lang.String codingSchemeId, java.lang.String propertyId, PropertyQualifier qualifier)
codingSchemeId
- the coding scheme idpropertyId
- the property idqualifier
- the qualifierjava.lang.String insertProperty(java.lang.String codingSchemeUId, java.lang.String parentUId, PropertyDao.PropertyType type, Property property)
codingSchemeUId
- the coding scheme idparentUId
- the parent idtype
- the typeproperty
- the propertyjava.lang.String insertHistoryProperty(java.lang.String codingSchemeUId, java.lang.String propertyUId, Property property)
codingSchemeUId
- propertyUId
- type
- property
- void insertPropertySource(java.lang.String codingSchemeId, java.lang.String propertyId, Source source)
codingSchemeId
- the coding scheme idpropertyId
- the property idsource
- the sourcevoid insertPropertyUsageContext(java.lang.String codingSchemeId, java.lang.String propertyId, java.lang.String usageContext)
codingSchemeId
- the coding scheme idpropertyId
- the property idusageContext
- the usage contextvoid deleteAllCodingSchemePropertiesOfCodingScheme(java.lang.String codingSchemeUId)
codingSchemeUId
- the coding scheme id.void deleteAllEntityPropertiesOfCodingScheme(java.lang.String codingSchemeUId)
codingSchemeUId
- the coding scheme idvoid deleteAllRelationPropertiesOfCodingScheme(java.lang.String codingSchemeUId)
codingSchemeUId
- the coding scheme idvoid deleteAllPropertiesOfParent(java.lang.String codingSchemeUId, java.lang.String parentUId, PropertyDao.PropertyType parentType)
codingSchemeUId
- the coding scheme uid.parentUId
- the parent uid.parentType
- the parent typevoid insertBatchProperties(java.lang.String codingSchemeId, PropertyDao.PropertyType type, java.util.List<PropertyBatchInsertItem> batch)
codingSchemeId
- the coding scheme idtype
- the typebatch
- the batchvoid insertPropertyLink(java.lang.String codingSchemeUId, java.lang.String parentUId, PropertyLink propertyLink)
codingSchemeUId
- the coding scheme idpropertyId
- the property idpropertyLink
- the property linkjava.lang.String updateProperty(java.lang.String codingSchemeUId, java.lang.String parentUId, java.lang.String propertyUId, PropertyDao.PropertyType type, Property property)
codingSchemeUId
- the coding scheme idparentUId
- the parent idpropertyUId
- the property idtype
- the typeproperty
- the propertyjava.lang.String updatePropertyVersionableAttrib(java.lang.String codingSchemeUId, java.lang.String propertyUId, Property property)
boolean entryStateExists(java.lang.String codingSchemeUId, java.lang.String entryStateUId)
java.lang.String getPropertyUIdByPropertyIdAndName(java.lang.String codingSchemeUId, java.lang.String referenceUId, java.lang.String propertyId, java.lang.String propertyName)
void removePropertyByUId(java.lang.String codingSchemeUId, java.lang.String propertyUId)
java.lang.String getLatestRevision(java.lang.String csUId, java.lang.String propertyUId)
java.lang.String getEntryStateUId(java.lang.String codingSchemeUId, java.lang.String propertyUId)