public class OMRSAPIHelper extends Object
| Constructor and Description |
|---|
OMRSAPIHelper() |
public OMRSMetadataCollection getOMRSMetadataCollection() throws MetadataServerUncontactableException
public OMRSRepositoryHelper getOMRSRepositoryHelper()
public void setOMRSRepositoryConnector(OMRSRepositoryConnector connector) throws MetadataServerUncontactableException
public TypeDefGallery callGetAllTypes(String userId) throws UserNotAuthorizedException, MetadataServerUncontactableException
public TypeDef callGetTypeDefByName(String userId, String typeName) throws UserNotAuthorizedException, InvalidParameterException, MetadataServerUncontactableException
public EntityDetail callOMRSAddEntity(String userId, EntityDetail entityDetail) throws UserNotAuthorizedException, InvalidParameterException, ClassificationException, StatusNotSupportedException, MetadataServerUncontactableException
public EntityDetail callOMRSGetEntityByGuid(String userId, String entityGUID) throws UserNotAuthorizedException, InvalidParameterException, UnrecognizedGUIDException, MetadataServerUncontactableException
public List<EntityDetail> callFindEntitiesByProperty(String userId, String entityTypeGUID, InstanceProperties matchProperties, MatchCriteria matchCriteria, int fromEntityElement, List<InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws UserNotAuthorizedException, FunctionNotSupportedException, InvalidParameterException, MetadataServerUncontactableException
public EntityDetail callOMRSUpdateEntity(String userId, EntityDetail entityDetail) throws UserNotAuthorizedException, InvalidParameterException, UnrecognizedGUIDException, MetadataServerUncontactableException
public EntityDetail callOMRSDeleteEntity(String userId, String typeDefName, String typeDefGuid, String obsoleteGuid) throws UserNotAuthorizedException, FunctionNotSupportedException, InvalidParameterException, UnrecognizedGUIDException, MetadataServerUncontactableException
public void callOMRSPurgeEntity(String userId, String typeDefName, String typeDefGuid, String obsoleteGuid) throws UserNotAuthorizedException, MetadataServerUncontactableException, EntityNotDeletedException, InvalidParameterException, UnrecognizedGUIDException, GUIDNotPurgedException
public EntityDetail callOMRSClassifyEntity(String userId, String entityGUID, String classificationName, InstanceProperties instanceProperties) throws UserNotAuthorizedException, InvalidParameterException, ClassificationException, UnrecognizedGUIDException, MetadataServerUncontactableException
public EntityDetail callOMRSDeClassifyEntity(String userId, String entityGUID, String classificationName) throws UserNotAuthorizedException, InvalidParameterException, ClassificationException, UnrecognizedGUIDException, MetadataServerUncontactableException
public Relationship callOMRSAddRelationship(String userId, Relationship relationship) throws UserNotAuthorizedException, InvalidParameterException, UnrecognizedGUIDException, MetadataServerUncontactableException, StatusNotSupportedException
public Relationship callOMRSGetRelationshipByGuid(String userId, String relationshipGUID) throws UserNotAuthorizedException, InvalidParameterException, UnrecognizedGUIDException, MetadataServerUncontactableException
public Relationship callOMRSUpdateRelationship(String userId, Relationship relationship) throws UserNotAuthorizedException, MetadataServerUncontactableException, InvalidParameterException, StatusNotSupportedException, UnrecognizedGUIDException
public void callOMRSDeleteRelationship(String userId, String typeGuid, String typeName, String guid) throws UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, UnrecognizedGUIDException, MetadataServerUncontactableException
public void callOMRSPurgeRelationship(String userId, String typeGuid, String typeName, String guid) throws UserNotAuthorizedException, InvalidParameterException, GUIDNotPurgedException, UnrecognizedGUIDException, MetadataServerUncontactableException
public List<Relationship> callGetRelationshipsForEntity(String userId, String entityGUID) throws UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, UnrecognizedGUIDException, MetadataServerUncontactableException
public List<Relationship> callGetRelationshipsForEntity(String userId, String entityGUID, String relationshipTypeGUID, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws UserNotAuthorizedException, InvalidParameterException, FunctionNotSupportedException, UnrecognizedGUIDException, MetadataServerUncontactableException
public String callGetTypeGuid(String userId, String typeName) throws UserNotAuthorizedException, InvalidParameterException, MetadataServerUncontactableException
Copyright © 2018 ODPi. All rights reserved.