public class OMRSAPIHelper extends Object
| Constructor and Description |
|---|
OMRSAPIHelper(String serviceName) |
public OMRSAPIHelper(String serviceName)
public OMRSMetadataCollection getOMRSMetadataCollection(String restAPIName) throws MetadataServerUncontactableException
public OMRSRepositoryHelper getOMRSRepositoryHelper()
public void setOMRSRepositoryConnector(OMRSRepositoryConnector connector, String restAPIName) throws MetadataServerUncontactableException
connector - connector cannot be nullrestAPIName - rest API nameMetadataServerUncontactableException - Metadata server not contactablepublic String getServiceName()
public SubjectAreaOMASAPIResponse callOMRSAddEntity(String restAPIName, String userId, EntityDetail entityDetail)
public SubjectAreaOMASAPIResponse callOMRSGetEntityByGuid(String restAPIName, String userId, String entityGUID)
public SubjectAreaOMASAPIResponse callFindEntitiesByPropertyValue(String restAPIName, String userId, String entityTypeGUID, String searchCriteria, int fromEntityElement, List<InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize)
public SubjectAreaOMASAPIResponse callGetEntitiesByType(String restAPIName, String userId, String entityTypeGUID, Date asOfTime, int fromEntityElement, int pageSize)
public SubjectAreaOMASAPIResponse callOMRSUpdateEntityProperties(String restAPIName, String userId, EntityDetail entityDetail)
public SubjectAreaOMASAPIResponse callOMRSDeleteEntity(String restAPIName, String userId, String typeDefName, String typeDefGuid, String obsoleteGuid)
public SubjectAreaOMASAPIResponse callOMRSPurgeEntity(String restAPIName, String userId, String typeDefName, String typeDefGuid, String obsoleteGuid)
public SubjectAreaOMASAPIResponse callOMRSRestoreEntity(String restAPIName, String userId, String guid)
public SubjectAreaOMASAPIResponse callOMRSClassifyEntity(String restAPIName, String userId, String entityGUID, String classificationName, InstanceProperties instanceProperties)
public SubjectAreaOMASAPIResponse callOMRSDeClassifyEntity(String restAPIName, String userId, String entityGUID, String classificationName)
public SubjectAreaOMASAPIResponse callOMRSAddRelationship(String restAPIName, String userId, Relationship relationship)
public SubjectAreaOMASAPIResponse callOMRSGetRelationshipByGuid(String restAPIName, String userId, String relationshipGUID)
public SubjectAreaOMASAPIResponse callOMRSUpdateRelationship(String restAPIName, String userId, Relationship relationship)
public SubjectAreaOMASAPIResponse callOMRSDeleteRelationship(String restAPIName, String userId, String typeGuid, String typeName, String guid)
public SubjectAreaOMASAPIResponse callOMRSRestoreRelationship(String restAPIName, String userId, String guid)
public SubjectAreaOMASAPIResponse callOMRSPurgeRelationship(String restAPIName, String userId, String typeGuid, String typeName, String guid)
public SubjectAreaOMASAPIResponse callGetRelationshipsForEntity(String restAPIName, String userId, String entityGUID, String relationshipTypeGuid, int fromRelationshipElement, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize)
public SubjectAreaOMASAPIResponse callGetRelationshipsForEntity(String restAPIName, String userId, String entityGUID, String relationshipTypeGUID, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize)
public SubjectAreaOMASAPIResponse callGetEntityNeighbourhood(String restAPIName, String userId, String entityGUID, List<String> entityTypeGUIDs, List<String> relationshipTypeGUIDs, List<InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, int level)
public SubjectAreaOMASAPIResponse findEntitiesByPropertyValue(String restAPIName, String userId, String typeName, String searchCriteria, Date asOfTime, Integer offset, Integer pageSize, SequencingOrder sequencingOrder, String sequencingProperty, String methodName)
public SubjectAreaOMASAPIResponse getEntitiesByType(OMRSAPIHelper oMRSAPIHelper, String restAPIName, String userId, String typeName, Date asOfTime, Integer offset, Integer pageSize)
Copyright © 2018–2019 ODPi. All rights reserved.