public class SubjectAreaMapper extends ClassificationMapping
| Modifier and Type | Method and Description |
|---|---|
EntityDetail |
addClassificationToIGCAsset(IGCOMRSRepositoryConnector igcomrsRepositoryConnector,
Reference igcEntity,
String entityGUID,
InstanceProperties initialProperties,
String userId)
Implement this method to define how to add an OMRS classification to an existing IGC asset.
|
void |
addMappedOMRSClassifications(IGCOMRSRepositoryConnector igcomrsRepositoryConnector,
List<Classification> classifications,
Reference fromIgcObject,
String userId)
Implements the SubjectArea classification for IGC 'category' assets.
|
IGCSearchConditionSet |
getIGCSearchCriteria(InstanceProperties matchClassificationProperties)
Search for SubjectArea by looking at ancestral categories of the term being under a "Subject Area" category.
|
static SubjectAreaMapper |
getInstance() |
addExcludedIgcAssetType, addIgcRelationshipProperty, addMappedOmrsProperty, addSupportedStatus, getIgcAssetType, getIgcRelationshipProperties, getMappedClassification, getMappedOmrsPropertyNames, getOmrsClassificationType, getSupportedStatuses, matchesAssetTypepublic static SubjectAreaMapper getInstance()
public void addMappedOMRSClassifications(IGCOMRSRepositoryConnector igcomrsRepositoryConnector, List<Classification> classifications, Reference fromIgcObject, String userId)
addMappedOMRSClassifications in class ClassificationMappingigcomrsRepositoryConnector - classifications - fromIgcObject - userId - public IGCSearchConditionSet getIGCSearchCriteria(InstanceProperties matchClassificationProperties)
getIGCSearchCriteria in class ClassificationMappingmatchClassificationProperties - the criteria to use when searching for the classificationpublic EntityDetail addClassificationToIGCAsset(IGCOMRSRepositoryConnector igcomrsRepositoryConnector, Reference igcEntity, String entityGUID, InstanceProperties initialProperties, String userId) throws RepositoryErrorException, EntityNotKnownException
addClassificationToIGCAsset in class ClassificationMappingigcomrsRepositoryConnector - connectivity to the IGC repository via OMRS connectorigcEntity - the IGC object to which to add the OMRS classificationentityGUID - the GUID of the OMRS entity (ie. including any prefix)initialProperties - the set of classification-specific properties to add to the classificationuserId - the user requesting the classification to be added (currently unused)RepositoryErrorExceptionEntityNotKnownExceptionCopyright © 2018–2019 ODPi. All rights reserved.