public class GraphOMRSMetadataCollection extends OMRSDynamicTypeMetadataCollectionBase
auditLog, metadataCollectionId, metadataCollectionName, parentConnector, repositoryHelper, repositoryName, repositoryValidator| Modifier and Type | Method and Description |
|---|---|
EntityDetail |
addEntity(String userId,
String entityTypeGUID,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus) |
void |
addEntityProxy(String userId,
EntityProxy entityProxy) |
EntityDetail |
addExternalEntity(String userId,
String entityTypeGUID,
String externalSourceGUID,
String externalSourceName,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus) |
Relationship |
addExternalRelationship(String userId,
String relationshipTypeGUID,
String externalSourceGUID,
String externalSourceName,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus) |
Relationship |
addRelationship(String userId,
String relationshipTypeGUID,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus) |
EntityDetail |
classifyEntity(String userId,
String entityGUID,
String classificationName,
InstanceProperties classificationProperties) |
EntityDetail |
classifyEntity(String userId,
String entityGUID,
String classificationName,
String externalSourceGUID,
String externalSourceName,
ClassificationOrigin classificationOrigin,
String classificationOriginGUID,
InstanceProperties classificationProperties) |
EntityDetail |
declassifyEntity(String userId,
String entityGUID,
String classificationName) |
EntityDetail |
deleteEntity(String userId,
String typeDefGUID,
String typeDefName,
String obsoleteEntityGUID) |
Relationship |
deleteRelationship(String userId,
String typeDefGUID,
String typeDefName,
String obsoleteRelationshipGUID) |
List<EntityDetail> |
findEntities(String userId,
String entityTypeGUID,
List<String> entitySubtypeGUIDs,
SearchProperties matchProperties,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
SearchClassifications matchClassifications,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of entities that match the supplied criteria.
|
List<EntityDetail> |
findEntitiesByClassification(String userId,
String entityTypeGUID,
String classificationName,
InstanceProperties matchClassificationProperties,
MatchCriteria matchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize) |
List<EntityDetail> |
findEntitiesByProperty(String userId,
String entityTypeGUID,
InstanceProperties matchProperties,
MatchCriteria matchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize) |
List<EntityDetail> |
findEntitiesByPropertyValue(String userId,
String entityTypeGUID,
String searchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize) |
List<Relationship> |
findRelationships(String userId,
String relationshipTypeGUID,
List<String> relationshipSubtypeGUIDs,
SearchProperties matchProperties,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of relationships that match the requested conditions.
|
List<Relationship> |
findRelationshipsByProperty(String userId,
String relationshipTypeGUID,
InstanceProperties matchProperties,
MatchCriteria matchCriteria,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize) |
List<Relationship> |
findRelationshipsByPropertyValue(String userId,
String relationshipTypeGUID,
String searchCriteria,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize) |
EntityDetail |
getEntityDetail(String userId,
String guid) |
InstanceGraph |
getEntityNeighborhood(String userId,
String entityGUID,
List<String> entityTypeGUIDs,
List<String> relationshipTypeGUIDs,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
int level) |
EntitySummary |
getEntitySummary(String userId,
String guid) |
List<Classification> |
getHomeClassifications(String userId,
String entityGUID) |
InstanceGraph |
getLinkingEntities(String userId,
String startEntityGUID,
String endEntityGUID,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime) |
List<EntityDetail> |
getRelatedEntities(String userId,
String startEntityGUID,
List<String> entityTypeGUIDs,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize) |
Relationship |
getRelationship(String userId,
String guid) |
List<Relationship> |
getRelationshipsForEntity(String userId,
String entityGUID,
String relationshipTypeGUID,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize) |
EntityDetail |
isEntityKnown(String userId,
String guid) |
Relationship |
isRelationshipKnown(String userId,
String guid) |
void |
purgeClassificationReferenceCopy(String userId,
EntityDetail entity,
Classification classification) |
void |
purgeEntity(String userId,
String typeDefGUID,
String typeDefName,
String deletedEntityGUID) |
void |
purgeEntityReferenceCopy(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId) |
void |
purgeRelationship(String userId,
String typeDefGUID,
String typeDefName,
String deletedRelationshipGUID) |
void |
purgeRelationshipReferenceCopy(String userId,
String relationshipGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId) |
EntityDetail |
reHomeEntity(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId,
String newHomeMetadataCollectionId,
String newHomeMetadataCollectionName) |
Relationship |
reHomeRelationship(String userId,
String relationshipGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId,
String newHomeMetadataCollectionId,
String newHomeMetadataCollectionName) |
EntityDetail |
reIdentifyEntity(String userId,
String typeDefGUID,
String typeDefName,
String entityGUID,
String newEntityGUID) |
Relationship |
reIdentifyRelationship(String userId,
String typeDefGUID,
String typeDefName,
String relationshipGUID,
String newRelationshipGUID) |
EntityDetail |
restoreEntity(String userId,
String deletedEntityGUID) |
Relationship |
restoreRelationship(String userId,
String deletedRelationshipGUID) |
EntityDetail |
reTypeEntity(String userId,
String entityGUID,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary) |
Relationship |
reTypeRelationship(String userId,
String relationshipGUID,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary) |
void |
saveClassificationReferenceCopy(String userId,
EntityDetail entity,
Classification classification) |
void |
saveEntityReferenceCopy(String userId,
EntityDetail entity) |
void |
saveRelationshipReferenceCopy(String userId,
Relationship relationship) |
EntityDetail |
updateEntityClassification(String userId,
String entityGUID,
String classificationName,
InstanceProperties properties) |
EntityDetail |
updateEntityProperties(String userId,
String entityGUID,
InstanceProperties properties) |
EntityDetail |
updateEntityStatus(String userId,
String entityGUID,
InstanceStatus newStatus) |
Relationship |
updateRelationshipProperties(String userId,
String relationshipGUID,
InstanceProperties properties)
Update the properties of a specific relationship.
|
Relationship |
updateRelationshipStatus(String userId,
String relationshipGUID,
InstanceStatus newStatus) |
void |
validateTypeGUID(String sourceName,
String guidParameterName,
String guid,
String methodName) |
boolean |
verifyTypeDef(String userId,
TypeDef typeDef) |
addAttributeTypeDef, addTypeDef, deleteAttributeTypeDef, deleteTypeDef, getHomeClassifications, reIdentifyAttributeTypeDef, reIdentifyTypeDef, updateTypeDef, verifyAttributeTypeDefaddEntityParameterValidation, addEntityParameterValidation, addEntityProxyParameterValidation, addExternalEntityParameterValidation, addExternalRelationshipParameterValidation, addRelationshipParameterValidation, addRelationshipParameterValidation, addTypeDefGallery, attributeTypeDefCategoryParameterValidation, attributeTypeDefParameterValidation, classifyEntityParameterValidation, classifyEntityParameterValidation, declassifyEntityParameterValidation, declassifyEntityParameterValidation, deleteEntityReferenceCopy, deleteRelationshipReferenceCopy, filterAttributeTypeDefsByCategory, filterAttributeTypeDefsByGUID, filterAttributeTypeDefsByName, filterTypeDefsByCategory, filterTypeDefsByGUID, filterTypeDefsByName, filterTypeDefsByProperty, filterTypeDefsBySearchCriteria, filterTypesByExternalID, filterTypesByWildCardName, findAttributeTypeDefsByCategory, findEntitiesByClassificationParameterValidation, findEntitiesByPropertyParameterValidation, findEntitiesByPropertyValueParameterValidation, findEntitiesParameterValidation, findRelationshipsByPropertyParameterValidation, findRelationshipsByPropertyValueParameterValidation, findRelationshipsParameterValidation, findTypeDefsByCategory, findTypeDefsByProperty, findTypesByExternalID, findTypesByName, getAllTypes, getAttributeTypeDefByGUID, getAttributeTypeDefByName, getEntityDetail, getEntityNeighborhoodParameterValidation, getEntityProxy, getInstanceParameterValidation, getInstanceParameterValidation, getLinkingEntitiesParameterValidation, getMetadataCollectionId, getRelatedEntitiesParameterValidation, getRelationship, getRelationshipsForEntityParameterValidation, getTypeDefByGUID, getTypeDefByName, getTypeDefForInstance, manageAttributeTypeDefParameterValidation, manageInstanceParameterValidation, manageInstanceParameterValidation, manageInstanceParameterValidation, manageReferenceInstanceParameterValidation, manageTypeDefParameterValidation, newAttributeTypeDefParameterValidation, newTypeDefParameterValidation, purgeEntityReferenceCopy, purgeRelationshipReferenceCopy, referenceInstanceParameterValidation, refreshEntityReferenceCopy, refreshRelationshipReferenceCopy, reHomeInstanceParameterValidation, reIdentifyInstanceParameterValidation, removeInstanceParameterValidation, reportEntityNotKnown, reportEntityProxyOnly, reportRelationshipNotKnown, reportTypeDefAlreadyDefined, reportTypeDefConflict, reportTypeDefInUse, reportTypeDefNotSupported, reportUnknownTypeGUID, reportUnknownTypeName, reportUnsupportedAsOfTimeFunction, reportUnsupportedOptionalFunction, reTypeInstanceParameterValidation, searchForTypeDefs, typeDefCategoryParameterValidation, typeDefExternalIDParameterValidation, typeDefParameterValidation, typeDefPropertyParameterValidation, typeDefSearchParameterValidation, typeGUIDParameterValidation, typeNameParameterValidation, undoEntityUpdate, undoRelationshipUpdate, updateEntityClassificationParameterValidation, updateInstancePropertiesPropertyValidation, updateInstanceStatusParameterValidation, updateTypeDefParameterValidationbasicRequestValidation, getMetadataCollectionId, reHomeEntity, reHomeRelationship, saveInstanceReferenceCopies, setAuditLog, validateRepositoryConnectorpublic boolean verifyTypeDef(String userId, TypeDef typeDef) throws InvalidParameterException, RepositoryErrorException, TypeDefConflictException, InvalidTypeDefException, UserNotAuthorizedException
public EntityDetail addEntity(String userId, String entityTypeGUID, InstanceProperties initialProperties, List<Classification> initialClassifications, InstanceStatus initialStatus) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, ClassificationErrorException, StatusNotSupportedException, UserNotAuthorizedException
public EntityDetail addExternalEntity(String userId, String entityTypeGUID, String externalSourceGUID, String externalSourceName, InstanceProperties initialProperties, List<Classification> initialClassifications, InstanceStatus initialStatus) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, ClassificationErrorException, StatusNotSupportedException, UserNotAuthorizedException
public void addEntityProxy(String userId, EntityProxy entityProxy) throws InvalidParameterException, RepositoryErrorException, UserNotAuthorizedException
addEntityProxy in class OMRSMetadataCollectionBaseInvalidParameterExceptionRepositoryErrorExceptionUserNotAuthorizedExceptionpublic EntityDetail isEntityKnown(String userId, String guid) throws InvalidParameterException, RepositoryErrorException, UserNotAuthorizedException
isEntityKnown in class OMRSMetadataCollectionBaseInvalidParameterExceptionRepositoryErrorExceptionUserNotAuthorizedExceptionpublic Relationship isRelationshipKnown(String userId, String guid) throws InvalidParameterException, RepositoryErrorException, UserNotAuthorizedException
isRelationshipKnown in class OMRSMetadataCollectionBaseInvalidParameterExceptionRepositoryErrorExceptionUserNotAuthorizedExceptionpublic EntitySummary getEntitySummary(String userId, String guid) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, UserNotAuthorizedException
public EntityDetail getEntityDetail(String userId, String guid) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, EntityProxyOnlyException, UserNotAuthorizedException
public Relationship addRelationship(String userId, String relationshipTypeGUID, InstanceProperties initialProperties, String entityOneGUID, String entityTwoGUID, InstanceStatus initialStatus) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, EntityNotKnownException, StatusNotSupportedException, UserNotAuthorizedException
public Relationship addExternalRelationship(String userId, String relationshipTypeGUID, String externalSourceGUID, String externalSourceName, InstanceProperties initialProperties, String entityOneGUID, String entityTwoGUID, InstanceStatus initialStatus) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, EntityNotKnownException, StatusNotSupportedException, UserNotAuthorizedException
public Relationship getRelationship(String userId, String guid) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, UserNotAuthorizedException
public EntityDetail updateEntityStatus(String userId, String entityGUID, InstanceStatus newStatus) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, StatusNotSupportedException, UserNotAuthorizedException
public EntityDetail updateEntityProperties(String userId, String entityGUID, InstanceProperties properties) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, PropertyErrorException, UserNotAuthorizedException
public Relationship updateRelationshipStatus(String userId, String relationshipGUID, InstanceStatus newStatus) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, StatusNotSupportedException, UserNotAuthorizedException
public Relationship updateRelationshipProperties(String userId, String relationshipGUID, InstanceProperties properties) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, PropertyErrorException, UserNotAuthorizedException
updateRelationshipProperties in class OMRSMetadataCollectionBaseuserId - unique identifier for requesting user.relationshipGUID - String unique identifier (guid) for the relationship.properties - list of the properties to update.InvalidParameterException - one of the parameters is invalid or null.RepositoryErrorException - there is a problem communicating with the metadata repository where
the metadata collection is stored.RelationshipNotKnownException - the requested relationship is not known in the metadata collection.PropertyErrorException - one or more of the requested properties are not defined, or have different
characteristics in the TypeDef for this relationship's type.UserNotAuthorizedException - the userId is not permitted to perform this operation.public void purgeEntity(String userId, String typeDefGUID, String typeDefName, String deletedEntityGUID) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, EntityNotDeletedException, UserNotAuthorizedException
public void purgeRelationship(String userId, String typeDefGUID, String typeDefName, String deletedRelationshipGUID) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, RelationshipNotDeletedException, UserNotAuthorizedException
public List<Relationship> getRelationshipsForEntity(String userId, String entityGUID, String relationshipTypeGUID, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws InvalidParameterException, TypeErrorException, RepositoryErrorException, EntityNotKnownException, PropertyErrorException, PagingErrorException, UserNotAuthorizedException, FunctionNotSupportedException
public List<EntityDetail> findEntitiesByProperty(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 InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, PagingErrorException, FunctionNotSupportedException, UserNotAuthorizedException
public List<Relationship> findRelationshipsByProperty(String userId, String relationshipTypeGUID, InstanceProperties matchProperties, MatchCriteria matchCriteria, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws InvalidParameterException, TypeErrorException, RepositoryErrorException, PropertyErrorException, PagingErrorException, FunctionNotSupportedException, UserNotAuthorizedException
public void validateTypeGUID(String sourceName, String guidParameterName, String guid, String methodName) throws TypeErrorException
TypeErrorExceptionpublic List<EntityDetail> findEntitiesByPropertyValue(String userId, String entityTypeGUID, String searchCriteria, int fromEntityElement, List<InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws InvalidParameterException, TypeErrorException, RepositoryErrorException, PropertyErrorException, PagingErrorException, FunctionNotSupportedException, UserNotAuthorizedException
public List<Relationship> findRelationshipsByPropertyValue(String userId, String relationshipTypeGUID, String searchCriteria, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws InvalidParameterException, TypeErrorException, RepositoryErrorException, PropertyErrorException, PagingErrorException, FunctionNotSupportedException, UserNotAuthorizedException
public List<EntityDetail> findEntities(String userId, String entityTypeGUID, List<String> entitySubtypeGUIDs, SearchProperties matchProperties, int fromEntityElement, List<InstanceStatus> limitResultsByStatus, SearchClassifications matchClassifications, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, PagingErrorException, UserNotAuthorizedException, FunctionNotSupportedException
findEntities in class OMRSMetadataCollectionBaseuserId - unique identifier for requesting user.entityTypeGUID - String unique identifier for the entity type of interest (null means any entity type).entitySubtypeGUIDs - optional list of the unique identifiers (guids) for subtypes of the entityTypeGUID to
include in the search results. Null means all subtypes.matchProperties - Optional list of entity property conditions to match.fromEntityElement - the starting element number of the entities to return.
This is used when retrieving elements
beyond the first page of results. Zero means start from the first element.limitResultsByStatus - By default, entities in all statuses are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all
status values.matchClassifications - Optional list of entity classifications to match.asOfTime - Requests a historical query of the entity. Null means return the present values.sequencingProperty - String name of the entity property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.pageSize - the maximum number of result entities that can be returned on this request. Zero means
unrestricted return results size.InvalidParameterException - a parameter is invalid or null.TypeErrorException - the type guid passed on the request is not known by the
metadata collection.RepositoryErrorException - there is a problem communicating with the metadata repository where
the metadata collection is stored.PropertyErrorException - the properties specified are not valid for any of the requested types of
entity.PagingErrorException - the paging/sequencing parameters are set up incorrectly.UserNotAuthorizedException - the userId is not permitted to perform this operation.FunctionNotSupportedExceptionpublic List<Relationship> findRelationships(String userId, String relationshipTypeGUID, List<String> relationshipSubtypeGUIDs, SearchProperties matchProperties, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws InvalidParameterException, TypeErrorException, RepositoryErrorException, PropertyErrorException, PagingErrorException, FunctionNotSupportedException, UserNotAuthorizedException
findRelationships in class OMRSMetadataCollectionBaseuserId - unique identifier for requesting user.relationshipTypeGUID - unique identifier (guid) for the relationship's type. Null means all types
(but may be slow so not recommended).relationshipSubtypeGUIDs - optional list of the unique identifiers (guids) for subtypes of the
relationshipTypeGUID to include in the search results. Null means all subtypes.matchProperties - Optional list of relationship property conditions to match.fromRelationshipElement - the starting element number of the entities to return.
This is used when retrieving elements
beyond the first page of results. Zero means start from the first element.limitResultsByStatus - By default, relationships in all statuses are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all
status values.asOfTime - Requests a historical query of the relationships for the entity. Null means return the
present values.sequencingProperty - String name of the property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.pageSize - the maximum number of result relationships that can be returned on this request. Zero means
unrestricted return results size.InvalidParameterException - one of the parameters is invalid or null.TypeErrorException - the type guid passed on the request is not known by the
metadata collection.RepositoryErrorException - there is a problem communicating with the metadata repository where
the metadata collection is stored.PropertyErrorException - the properties specified are not valid for any of the requested types of
relationships.PagingErrorException - the paging/sequencing parameters are set up incorrectly.FunctionNotSupportedException - the repository does not support one of the provided parameters.UserNotAuthorizedException - the userId is not permitted to perform this operation.OMRSRepositoryHelper.getExactMatchRegex(String)public EntityDetail classifyEntity(String userId, String entityGUID, String classificationName, InstanceProperties classificationProperties) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, ClassificationErrorException, PropertyErrorException, UserNotAuthorizedException
public EntityDetail classifyEntity(String userId, String entityGUID, String classificationName, String externalSourceGUID, String externalSourceName, ClassificationOrigin classificationOrigin, String classificationOriginGUID, InstanceProperties classificationProperties) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, ClassificationErrorException, PropertyErrorException, UserNotAuthorizedException, FunctionNotSupportedException
public EntityDetail declassifyEntity(String userId, String entityGUID, String classificationName) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, ClassificationErrorException, UserNotAuthorizedException
public List<EntityDetail> findEntitiesByClassification(String userId, String entityTypeGUID, String classificationName, InstanceProperties matchClassificationProperties, MatchCriteria matchCriteria, int fromEntityElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws InvalidParameterException, TypeErrorException, RepositoryErrorException, ClassificationErrorException, FunctionNotSupportedException, PropertyErrorException, PagingErrorException, UserNotAuthorizedException
public EntityDetail deleteEntity(String userId, String typeDefGUID, String typeDefName, String obsoleteEntityGUID) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, UserNotAuthorizedException
public EntityDetail restoreEntity(String userId, String deletedEntityGUID) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, EntityNotDeletedException, UserNotAuthorizedException
public Relationship deleteRelationship(String userId, String typeDefGUID, String typeDefName, String obsoleteRelationshipGUID) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, UserNotAuthorizedException
public Relationship restoreRelationship(String userId, String deletedRelationshipGUID) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, RelationshipNotDeletedException, UserNotAuthorizedException
public EntityDetail reIdentifyEntity(String userId, String typeDefGUID, String typeDefName, String entityGUID, String newEntityGUID) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, UserNotAuthorizedException
public EntityDetail reHomeEntity(String userId, String entityGUID, String typeDefGUID, String typeDefName, String homeMetadataCollectionId, String newHomeMetadataCollectionId, String newHomeMetadataCollectionName) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, UserNotAuthorizedException
public EntityDetail reTypeEntity(String userId, String entityGUID, TypeDefSummary currentTypeDefSummary, TypeDefSummary newTypeDefSummary) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, ClassificationErrorException, EntityNotKnownException, UserNotAuthorizedException
public Relationship reIdentifyRelationship(String userId, String typeDefGUID, String typeDefName, String relationshipGUID, String newRelationshipGUID) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, UserNotAuthorizedException
public Relationship reTypeRelationship(String userId, String relationshipGUID, TypeDefSummary currentTypeDefSummary, TypeDefSummary newTypeDefSummary) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, RelationshipNotKnownException, UserNotAuthorizedException
public Relationship reHomeRelationship(String userId, String relationshipGUID, String typeDefGUID, String typeDefName, String homeMetadataCollectionId, String newHomeMetadataCollectionId, String newHomeMetadataCollectionName) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, UserNotAuthorizedException
public EntityDetail updateEntityClassification(String userId, String entityGUID, String classificationName, InstanceProperties properties) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, ClassificationErrorException, PropertyErrorException, UserNotAuthorizedException
public void saveEntityReferenceCopy(String userId, EntityDetail entity) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, PropertyErrorException, HomeEntityException, EntityConflictException, InvalidEntityException, UserNotAuthorizedException
public List<Classification> getHomeClassifications(String userId, String entityGUID) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, UserNotAuthorizedException, FunctionNotSupportedException
public void purgeEntityReferenceCopy(String userId, String entityGUID, String typeDefGUID, String typeDefName, String homeMetadataCollectionId) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, HomeEntityException, UserNotAuthorizedException
public void saveClassificationReferenceCopy(String userId, EntityDetail entity, Classification classification) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, EntityConflictException, InvalidEntityException, PropertyErrorException, UserNotAuthorizedException, FunctionNotSupportedException
public void purgeClassificationReferenceCopy(String userId, EntityDetail entity, Classification classification) throws InvalidParameterException, TypeErrorException, PropertyErrorException, EntityConflictException, InvalidEntityException, RepositoryErrorException, UserNotAuthorizedException, FunctionNotSupportedException
public void saveRelationshipReferenceCopy(String userId, Relationship relationship) throws InvalidParameterException, RepositoryErrorException, TypeErrorException, EntityNotKnownException, PropertyErrorException, HomeRelationshipException, RelationshipConflictException, InvalidRelationshipException, UserNotAuthorizedException
saveRelationshipReferenceCopy in class OMRSMetadataCollectionBaseInvalidParameterExceptionRepositoryErrorExceptionTypeErrorExceptionEntityNotKnownExceptionPropertyErrorExceptionHomeRelationshipExceptionRelationshipConflictExceptionInvalidRelationshipExceptionUserNotAuthorizedExceptionpublic void purgeRelationshipReferenceCopy(String userId, String relationshipGUID, String typeDefGUID, String typeDefName, String homeMetadataCollectionId) throws InvalidParameterException, RepositoryErrorException, RelationshipNotKnownException, HomeRelationshipException, UserNotAuthorizedException
public InstanceGraph getEntityNeighborhood(String userId, String entityGUID, List<String> entityTypeGUIDs, List<String> relationshipTypeGUIDs, List<InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, int level) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, TypeErrorException, PropertyErrorException, FunctionNotSupportedException, UserNotAuthorizedException
public List<EntityDetail> getRelatedEntities(String userId, String startEntityGUID, List<String> entityTypeGUIDs, int fromEntityElement, List<InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize) throws InvalidParameterException, TypeErrorException, RepositoryErrorException, EntityNotKnownException, PropertyErrorException, PagingErrorException, FunctionNotSupportedException, UserNotAuthorizedException
public InstanceGraph getLinkingEntities(String userId, String startEntityGUID, String endEntityGUID, List<InstanceStatus> limitResultsByStatus, Date asOfTime) throws InvalidParameterException, RepositoryErrorException, EntityNotKnownException, PropertyErrorException, FunctionNotSupportedException, UserNotAuthorizedException
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.