| Modifier and Type | Method and Description |
|---|---|
Relationship |
OMRSMetadataCollection.addExternalRelationship(String userId,
String relationshipTypeGUID,
String externalSourceGUID,
String externalSourceName,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus)
Save a new relationship that is sourced from an external technology.
|
Relationship |
OMRSMetadataCollectionBase.addExternalRelationship(String userId,
String relationshipTypeGUID,
String externalSourceGUID,
String externalSourceName,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus)
Save a new relationship that is sourced from an external technology.
|
abstract Relationship |
OMRSMetadataCollection.addRelationship(String userId,
String relationshipTypeGUID,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus)
Add a new relationship between two entities to the metadata collection.
|
Relationship |
OMRSMetadataCollectionBase.addRelationship(String userId,
String relationshipTypeGUID,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus)
Add a new relationship between two entities to the metadata collection.
|
abstract EntityDetail |
OMRSMetadataCollection.classifyEntity(String userId,
String entityGUID,
String classificationName,
InstanceProperties classificationProperties)
Add the requested classification to a specific entity.
|
EntityDetail |
OMRSMetadataCollectionBase.classifyEntity(String userId,
String entityGUID,
String classificationName,
InstanceProperties classificationProperties)
Add the requested classification to a specific entity.
|
EntityDetail |
OMRSMetadataCollection.classifyEntity(String userId,
String entityGUID,
String classificationName,
String externalSourceGUID,
String externalSourceName,
ClassificationOrigin classificationOrigin,
String classificationOriginGUID,
InstanceProperties classificationProperties)
Add the requested classification to a specific entity.
|
EntityDetail |
OMRSMetadataCollectionBase.classifyEntity(String userId,
String entityGUID,
String classificationName,
String externalSourceGUID,
String externalSourceName,
ClassificationOrigin classificationOrigin,
String classificationOriginGUID,
InstanceProperties classificationProperties)
Add the requested classification to a specific entity.
|
abstract EntityDetail |
OMRSMetadataCollection.declassifyEntity(String userId,
String entityGUID,
String classificationName)
Remove a specific classification from an entity.
|
EntityDetail |
OMRSMetadataCollectionBase.declassifyEntity(String userId,
String entityGUID,
String classificationName)
Remove a specific classification from an entity.
|
abstract EntityDetail |
OMRSMetadataCollection.deleteEntity(String userId,
String typeDefGUID,
String typeDefName,
String obsoleteEntityGUID)
Delete an entity.
|
EntityDetail |
OMRSMetadataCollectionBase.deleteEntity(String userId,
String typeDefGUID,
String typeDefName,
String obsoleteEntityGUID)
Delete an entity.
|
void |
OMRSMetadataCollection.deleteRelationshipReferenceCopy(String userId,
Relationship relationship)
Remove the reference copy of the relationship from the local repository.
|
void |
OMRSMetadataCollectionBase.deleteRelationshipReferenceCopy(String userId,
Relationship relationship)
Remove the reference copy of the relationship from the local repository.
|
abstract EntityDetail |
OMRSMetadataCollection.getEntityDetail(String userId,
String guid)
Return the header, classifications and properties of a specific entity.
|
EntityDetail |
OMRSMetadataCollectionBase.getEntityDetail(String userId,
String guid)
Return the header, classifications and properties of a specific entity.
|
abstract EntityDetail |
OMRSMetadataCollection.getEntityDetail(String userId,
String guid,
Date asOfTime)
Return a historical version of an entity.
|
EntityDetail |
OMRSMetadataCollectionBase.getEntityDetail(String userId,
String guid,
Date asOfTime)
Return a historical version of an entity.
|
abstract List<EntityDetail> |
OMRSMetadataCollection.getEntityDetailHistory(String userId,
String guid,
Date fromTime,
Date toTime,
int startFromElement,
int pageSize,
HistorySequencingOrder sequencingOrder)
Return all historical versions of an entity within the bounds of the provided timestamps.
|
List<EntityDetail> |
OMRSMetadataCollectionBase.getEntityDetailHistory(String userId,
String guid,
Date fromTime,
Date toTime,
int startFromElement,
int pageSize,
HistorySequencingOrder sequencingOrder)
Return all historical versions of an entity within the bounds of the provided timestamps.
|
abstract InstanceGraph |
OMRSMetadataCollection.getEntityNeighborhood(String userId,
String entityGUID,
List<String> entityTypeGUIDs,
List<String> relationshipTypeGUIDs,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
int level)
Return the entities and relationships that radiate out from the supplied entity GUID.
|
InstanceGraph |
OMRSMetadataCollectionBase.getEntityNeighborhood(String userId,
String entityGUID,
List<String> entityTypeGUIDs,
List<String> relationshipTypeGUIDs,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
int level)
Return the entities and relationships that radiate out from the supplied entity GUID.
|
protected void |
OMRSMetadataCollectionBase.getEntityNeighborhoodParameterValidation(String userId,
String entityGUID,
List<String> entityTypeGUIDs,
List<String> relationshipTypeGUIDs,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
int level)
Return the entities and relationships that radiate out from the supplied entity GUID.
|
protected EntityProxy |
OMRSMetadataCollectionBase.getEntityProxy(String userId,
String entityGUID,
String methodName)
Retrieve an entity proxy
|
abstract EntitySummary |
OMRSMetadataCollection.getEntitySummary(String userId,
String guid)
Return the header and classifications for a specific entity.
|
EntitySummary |
OMRSMetadataCollectionBase.getEntitySummary(String userId,
String guid)
Return the header and classifications for a specific entity.
|
List<Classification> |
OMRSMetadataCollection.getHomeClassifications(String userId,
String entityGUID)
Retrieve any locally homed classifications assigned to the requested entity.
|
List<Classification> |
OMRSMetadataCollectionBase.getHomeClassifications(String userId,
String entityGUID)
Retrieve any locally homed classifications assigned to the requested entity.
|
List<Classification> |
OMRSDynamicTypeMetadataCollectionBase.getHomeClassifications(String userId,
String entityGUID)
Retrieve any locally homed classifications assigned to the requested entity.
|
List<Classification> |
OMRSMetadataCollection.getHomeClassifications(String userId,
String entityGUID,
Date asOfTime)
Retrieve any locally homed classifications assigned to the requested entity.
|
List<Classification> |
OMRSMetadataCollectionBase.getHomeClassifications(String userId,
String entityGUID,
Date asOfTime)
Retrieve any locally homed classifications assigned to the requested entity.
|
List<Classification> |
OMRSDynamicTypeMetadataCollectionBase.getHomeClassifications(String userId,
String entityGUID,
Date asOfTime)
Retrieve any locally homed classifications assigned to the requested entity.
|
abstract InstanceGraph |
OMRSMetadataCollection.getLinkingEntities(String userId,
String startEntityGUID,
String endEntityGUID,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime)
Return all of the relationships and intermediate entities that connect the startEntity with the endEntity.
|
InstanceGraph |
OMRSMetadataCollectionBase.getLinkingEntities(String userId,
String startEntityGUID,
String endEntityGUID,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime)
Return all of the relationships and intermediate entities that connect the startEntity with the endEntity.
|
abstract List<EntityDetail> |
OMRSMetadataCollection.getRelatedEntities(String userId,
String startEntityGUID,
List<String> entityTypeGUIDs,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return the list of entities that are of the types listed in entityTypeGUIDs and are connected, either directly or
indirectly to the entity identified by startEntityGUID.
|
List<EntityDetail> |
OMRSMetadataCollectionBase.getRelatedEntities(String userId,
String startEntityGUID,
List<String> entityTypeGUIDs,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return the list of entities that are of the types listed in entityTypeGUIDs and are connected, either directly or
indirectly to the entity identified by startEntityGUID.
|
protected void |
OMRSMetadataCollectionBase.getRelatedEntitiesParameterValidation(String userId,
String startEntityGUID,
List<String> entityTypeGUIDs,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Validate the parameters passed to the getRelatedEntities.
|
abstract List<Relationship> |
OMRSMetadataCollection.getRelationshipsForEntity(String userId,
String entityGUID,
String relationshipTypeGUID,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return the relationships for a specific entity.
|
List<Relationship> |
OMRSMetadataCollectionBase.getRelationshipsForEntity(String userId,
String entityGUID,
String relationshipTypeGUID,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return the relationships for a specific entity.
|
abstract void |
OMRSMetadataCollection.purgeEntity(String userId,
String typeDefGUID,
String typeDefName,
String deletedEntityGUID)
Permanently removes a deleted entity from the metadata collection.
|
void |
OMRSMetadataCollectionBase.purgeEntity(String userId,
String typeDefGUID,
String typeDefName,
String deletedEntityGUID)
Permanently removes a deleted entity from the metadata collection.
|
abstract void |
OMRSMetadataCollection.purgeEntityReferenceCopy(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId)
Remove a reference copy of the the entity from the local repository.
|
void |
OMRSMetadataCollectionBase.purgeEntityReferenceCopy(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId)
Remove a reference copy of the the entity from the local repository.
|
void |
OMRSMetadataCollection.purgeRelationshipReferenceCopy(String userId,
Relationship relationship)
This method is called when a remote repository calls the variant of purgeRelationship that
passes the relationship object.
|
void |
OMRSMetadataCollectionBase.purgeRelationshipReferenceCopy(String userId,
Relationship relationship)
Remove the reference copy of the relationship from the local repository.
|
abstract void |
OMRSMetadataCollection.refreshEntityReferenceCopy(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId)
The local repository has requested that the repository that hosts the home metadata collection for the
specified entity sends out the details of this entity so the local repository can create a reference copy.
|
void |
OMRSMetadataCollectionBase.refreshEntityReferenceCopy(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId)
The local repository has requested that the repository that hosts the home metadata collection for the
specified entity sends out the details of this entity so the local repository can create a reference copy.
|
EntityDetail |
OMRSMetadataCollection.reHomeEntity(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId,
String newHomeMetadataCollectionId)
Deprecated.
|
EntityDetail |
OMRSMetadataCollection.reHomeEntity(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId,
String newHomeMetadataCollectionId,
String newHomeMetadataCollectionName)
Change the home of an existing entity.
|
EntityDetail |
OMRSMetadataCollectionBase.reHomeEntity(String userId,
String entityGUID,
String typeDefGUID,
String typeDefName,
String homeMetadataCollectionId,
String newHomeMetadataCollectionId,
String newHomeMetadataCollectionName)
Change the home of an existing entity.
|
abstract EntityDetail |
OMRSMetadataCollection.reIdentifyEntity(String userId,
String typeDefGUID,
String typeDefName,
String entityGUID,
String newEntityGUID)
Change the guid of an existing entity to a new value.
|
EntityDetail |
OMRSMetadataCollectionBase.reIdentifyEntity(String userId,
String typeDefGUID,
String typeDefName,
String entityGUID,
String newEntityGUID)
Change the guid of an existing entity to a new value.
|
protected void |
OMRSMetadataCollectionBase.reportEntityNotKnown(String entityGUID,
String methodName)
Throw exception to indicate that an entity unique identifier is not recognized.
|
abstract EntityDetail |
OMRSMetadataCollection.restoreEntity(String userId,
String deletedEntityGUID)
Restore the requested entity to the state it was before it was deleted.
|
EntityDetail |
OMRSMetadataCollectionBase.restoreEntity(String userId,
String deletedEntityGUID)
Restore the requested entity to the state it was before it was deleted.
|
abstract EntityDetail |
OMRSMetadataCollection.reTypeEntity(String userId,
String entityGUID,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary)
Change the type of an existing entity.
|
EntityDetail |
OMRSMetadataCollectionBase.reTypeEntity(String userId,
String entityGUID,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary)
Change the type of an existing entity.
|
void |
OMRSMetadataCollection.saveInstanceReferenceCopies(String userId,
InstanceGraph instances)
Save the entities and relationships supplied in the instance graph as a reference copies.
|
abstract void |
OMRSMetadataCollection.saveRelationshipReferenceCopy(String userId,
Relationship relationship)
Save the relationship as a reference copy.
|
void |
OMRSMetadataCollectionBase.saveRelationshipReferenceCopy(String userId,
Relationship relationship)
Save the relationship as a reference copy.
|
abstract EntityDetail |
OMRSMetadataCollection.undoEntityUpdate(String userId,
String entityGUID)
Undo the last update to an entity and return the previous content.
|
EntityDetail |
OMRSMetadataCollectionBase.undoEntityUpdate(String userId,
String entityGUID)
Undo the last update to an entity and return the previous content.
|
abstract EntityDetail |
OMRSMetadataCollection.updateEntityClassification(String userId,
String entityGUID,
String classificationName,
InstanceProperties properties)
Update one or more properties in one of an entity's classifications.
|
EntityDetail |
OMRSMetadataCollectionBase.updateEntityClassification(String userId,
String entityGUID,
String classificationName,
InstanceProperties properties)
Update one or more properties in one of an entity's classifications.
|
abstract EntityDetail |
OMRSMetadataCollection.updateEntityProperties(String userId,
String entityGUID,
InstanceProperties properties)
Update selected properties in an entity.
|
EntityDetail |
OMRSMetadataCollectionBase.updateEntityProperties(String userId,
String entityGUID,
InstanceProperties properties)
Update selected properties in an entity.
|
abstract EntityDetail |
OMRSMetadataCollection.updateEntityStatus(String userId,
String entityGUID,
InstanceStatus newStatus)
Update the status for a specific entity.
|
EntityDetail |
OMRSMetadataCollectionBase.updateEntityStatus(String userId,
String entityGUID,
InstanceStatus newStatus)
Update the status for a specific entity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OMRSRepositoryValidator.validateEntityFromStore(String sourceName,
String guid,
EntityDetail entity,
String methodName)
Verify that an entity has been successfully retrieved from the repository and has valid contents.
|
void |
OMRSRepositoryValidator.validateEntityFromStore(String sourceName,
String guid,
EntitySummary entity,
String methodName)
Verify that an entity has been successfully retrieved from the repository and has valid contents.
|
void |
OMRSRepositoryValidator.validateEntityIsNotDeleted(String sourceName,
InstanceHeader instance,
String methodName)
Verify the status of an entity to check it has not been deleted.
|
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.