public class VersionableEventPickListDefinitionService extends AbstractDatabaseService implements PickListDefinitionService
Constructor and Description |
---|
VersionableEventPickListDefinitionService() |
Modifier and Type | Method and Description |
---|---|
PickListDefinition |
getPickListDefinitionByPickListId(java.lang.String pickListId)
Gets the pick list definition by pick list id.
|
java.util.List<java.lang.String> |
getPickListDefinitionIdForEntityReference(java.lang.String entityCode,
java.lang.String entityCodeNameSpace,
java.lang.String propertyId)
Gets the pick list definition id for entity reference.
|
java.util.List<java.lang.String> |
getPickListDefinitionIdForSupportedTagAndValue(java.lang.String supportedTag,
java.lang.String value)
Returns list of pick list definition IDs that contains supplied Supported Attribute Tag and Value.
|
java.util.List<java.lang.String> |
getPickListDefinitionIdForValueSetDefinitionUri(java.lang.String valueSetDefURI)
Gets the pick list definition id's by value set definition uri.
|
PickListEntryNodeService |
getPickListEntryNodeService()
Gets the pick list entry node service.
|
VSPropertyService |
getVsPropertyService()
Gets the vs property service.
|
void |
insertDependentChanges(PickListDefinition definition)
Insert dependent changes.
|
void |
insertPickListDefinition(PickListDefinition definition,
java.lang.String systemReleaseUri,
Mappings mappings)
Insert pick list definition.
|
void |
insertPickListDefinitions(PickListDefinitions definitions,
java.lang.String systemReleaseUri)
Insert pick list definitions.
|
java.util.List<java.lang.String> |
listPickListIds()
List pick list ids.
|
void |
removePickListDefinition(PickListDefinition definition)
Removes the pick list definition.
|
void |
removePickListDefinitionByPickListId(java.lang.String pickListId)
Removes the pick list definition by pick list id.
|
PickListDefinition |
resolvePickListDefinitionByDate(java.lang.String pickListId,
java.sql.Date date,
java.lang.Integer sortType)
Resolve pick list definition by date.
|
PickListDefinition |
resolvePickListDefinitionByRevision(java.lang.String pickListId,
java.lang.String revisionId,
java.lang.Integer sortType)
Resolve pick list definition by revision.
|
void |
revise(PickListDefinition pickListDefinition,
Mappings mapping,
java.lang.String releaseURI)
Revise.
|
void |
setPickListEntryNodeService(PickListEntryNodeService pickListEntryNodeService)
Sets the pick list entry node service.
|
void |
setVsPropertyService(VSPropertyService vsPropertyService)
Sets the vs property service.
|
void |
updatePickListDefinition(PickListDefinition definition)
Update pick list definition.
|
void |
updateVersionableAttributes(PickListDefinition definition)
Update versionable attributes.
|
getCodingSchemeUId, getDaoManager, getLogger, isChangeTypeDependent, isChangeTypeRemove, setDaoManager, setLogger
fireCodingSchemeInsertErrorEvent, fireCodingSchemeUpdateEvent, fireEntityReviseEvent, fireEntityUpdateEvent, firePostBatchEntityInsertEvent, firePostCodingSchemeInsertEvent, firePostEntityInsertEvent, firePostEntityRemoveEvent, firePostPropertyInsertEvent, firePostPropertyRemoveEvent, firePreBatchAssociationInsertEvent, firePreBatchEntityInsertEvent, firePreCodingSchemeInsertEvent, firePreEntityInsertEvent, firePreEntityRemoveEvent, firePropertyUpdateEvent, getListenerRegistry, setListenerRegistry
public VersionableEventPickListDefinitionService()
public PickListDefinition getPickListDefinitionByPickListId(java.lang.String pickListId)
PickListDefinitionService
getPickListDefinitionByPickListId
in interface PickListDefinitionService
pickListId
- the pick list idpublic java.util.List<java.lang.String> getPickListDefinitionIdForValueSetDefinitionUri(java.lang.String valueSetDefURI)
PickListDefinitionService
getPickListDefinitionIdForValueSetDefinitionUri
in interface PickListDefinitionService
valueSetDefURI
- the value set definition uripublic java.util.List<java.lang.String> getPickListDefinitionIdForEntityReference(java.lang.String entityCode, java.lang.String entityCodeNameSpace, java.lang.String propertyId)
PickListDefinitionService
getPickListDefinitionIdForEntityReference
in interface PickListDefinitionService
entityCode
- the entity codeentityCodeNameSpace
- the entity code name spacepropertyId
- the property id@Transactional public void insertPickListDefinition(PickListDefinition definition, java.lang.String systemReleaseUri, Mappings mappings) throws LBParameterException, LBException
PickListDefinitionService
insertPickListDefinition
in interface PickListDefinitionService
definition
- the definitionsystemReleaseUri
- the system release urimappings
- SupportedAttribute mappings of pick list definitionLBParameterException
- the LB parameter exceptionLBException
- the LB exception@Transactional public void insertPickListDefinitions(PickListDefinitions definitions, java.lang.String systemReleaseUri)
PickListDefinitionService
insertPickListDefinitions
in interface PickListDefinitionService
definitions
- the pick list definitionssystemReleaseUri
- the system release uripublic java.util.List<java.lang.String> listPickListIds()
PickListDefinitionService
listPickListIds
in interface PickListDefinitionService
public void removePickListDefinitionByPickListId(java.lang.String pickListId)
PickListDefinitionService
removePickListDefinitionByPickListId
in interface PickListDefinitionService
pickListId
- the pick list idpublic java.util.List<java.lang.String> getPickListDefinitionIdForSupportedTagAndValue(java.lang.String supportedTag, java.lang.String value)
PickListDefinitionService
getPickListDefinitionIdForSupportedTagAndValue
in interface PickListDefinitionService
supportedTag
- SupportedAttribute tag like SupportedCodingScheme, SupportedAssociation etc.value
- value of the supportedAttributepublic void removePickListDefinition(PickListDefinition definition)
PickListDefinitionService
removePickListDefinition
in interface PickListDefinitionService
definition
- the definitionpublic void updatePickListDefinition(PickListDefinition definition) throws LBException
PickListDefinitionService
updatePickListDefinition
in interface PickListDefinitionService
definition
- the definitionLBException
- the LB exceptionpublic void updateVersionableAttributes(PickListDefinition definition) throws LBException
PickListDefinitionService
updateVersionableAttributes
in interface PickListDefinitionService
definition
- the definitionLBException
- the LB exceptionpublic void insertDependentChanges(PickListDefinition definition) throws LBException
PickListDefinitionService
insertDependentChanges
in interface PickListDefinitionService
definition
- the definitionLBException
- the LB exceptionpublic void revise(PickListDefinition pickListDefinition, Mappings mapping, java.lang.String releaseURI) throws LBException
PickListDefinitionService
revise
in interface PickListDefinitionService
pickListDefinition
- the pick list definitionmapping
- the mappingreleaseURI
- the release uriLBException
- the LB exceptionpublic VSPropertyService getVsPropertyService()
public void setVsPropertyService(VSPropertyService vsPropertyService)
vsPropertyService
- the vsPropertyService to setpublic PickListEntryNodeService getPickListEntryNodeService()
public void setPickListEntryNodeService(PickListEntryNodeService pickListEntryNodeService)
pickListEntryNodeService
- the pickListEntryNodeService to setpublic PickListDefinition resolvePickListDefinitionByRevision(java.lang.String pickListId, java.lang.String revisionId, java.lang.Integer sortType) throws LBRevisionException
PickListDefinitionService
resolvePickListDefinitionByRevision
in interface PickListDefinitionService
pickListId
- the pick list idrevisionId
- the revision idsortType
- the sort typeLBRevisionException
- the LB revision exceptionpublic PickListDefinition resolvePickListDefinitionByDate(java.lang.String pickListId, java.sql.Date date, java.lang.Integer sortType) throws LBRevisionException
PickListDefinitionService
resolvePickListDefinitionByDate
in interface PickListDefinitionService
pickListId
- the pick list iddate
- the datesortType
- the sort typeLBRevisionException
- the LB revision exception