| Modifier and Type | Method and Description |
|---|---|
EntityDetail |
OMRSMetadataCollectionBase.addEntity(String userId,
String entityTypeGUID,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus)
Create a new entity and put it in the requested state.
|
abstract EntityDetail |
OMRSMetadataCollection.addEntity(String userId,
String entityTypeGUID,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus)
Create a new entity and put it in the requested state.
|
protected TypeDef |
OMRSMetadataCollectionBase.addEntityParameterValidation(String userId,
String entityTypeGUID,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus)
Deprecated.
|
protected TypeDef |
OMRSMetadataCollectionBase.addEntityParameterValidation(String userId,
String entityTypeGUID,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus,
String methodName)
Validate that the parameters passed to addEntity are valid.
|
EntityDetail |
OMRSMetadataCollectionBase.addExternalEntity(String userId,
String entityTypeGUID,
String externalSourceGUID,
String externalSourceName,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus)
Save a new entity that is sourced from an external technology.
|
EntityDetail |
OMRSMetadataCollection.addExternalEntity(String userId,
String entityTypeGUID,
String externalSourceGUID,
String externalSourceName,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus)
Save a new entity that is sourced from an external technology.
|
protected TypeDef |
OMRSMetadataCollectionBase.addExternalEntityParameterValidation(String userId,
String entityTypeGUID,
String externalSourceGUID,
InstanceProperties initialProperties,
List<Classification> initialClassifications,
InstanceStatus initialStatus,
String methodName)
Validate parameters needed to save a new entity 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.
|
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.
|
protected TypeDef |
OMRSMetadataCollectionBase.addExternalRelationshipParameterValidation(String userId,
String relationshipTypeGUID,
String externalSourceGUID,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus,
String methodName)
Validate the parameters needed to save a new relationship that is sourced from an external technology.
|
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 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.
|
protected TypeDef |
OMRSMetadataCollectionBase.addRelationshipParameterValidation(String userId,
String relationshipTypeGUID,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus)
Deprecated.
|
protected TypeDef |
OMRSMetadataCollectionBase.addRelationshipParameterValidation(String userId,
String relationshipTypeGUID,
InstanceProperties initialProperties,
String entityOneGUID,
String entityTwoGUID,
InstanceStatus initialStatus,
String methodName)
Validate the parameters for adding a new relationship between two entities to the metadata collection.
|
void |
OMRSMetadataCollectionBase.deleteEntityReferenceCopy(String userId,
EntityDetail entity)
Remove a reference copy of the the entity from the local repository.
|
void |
OMRSMetadataCollection.deleteEntityReferenceCopy(String userId,
EntityDetail entity)
Remove a reference copy of the the entity from the local repository.
|
void |
OMRSMetadataCollectionBase.deleteRelationshipReferenceCopy(String userId,
Relationship relationship)
Remove the reference copy of the relationship from the local repository.
|
void |
OMRSMetadataCollection.deleteRelationshipReferenceCopy(String userId,
Relationship relationship)
Remove the reference copy of the relationship from the local repository.
|
List<EntityDetail> |
OMRSMetadataCollectionBase.findEntitiesByClassification(String userId,
String entityTypeGUID,
String classificationName,
InstanceProperties matchClassificationProperties,
MatchCriteria matchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of entities that have the requested type of classifications attached.
|
abstract List<EntityDetail> |
OMRSMetadataCollection.findEntitiesByClassification(String userId,
String entityTypeGUID,
String classificationName,
InstanceProperties matchClassificationProperties,
MatchCriteria matchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of entities that have the requested type of classifications attached.
|
protected void |
OMRSMetadataCollectionBase.findEntitiesByClassificationParameterValidation(String userId,
String entityTypeGUID,
String classificationName,
InstanceProperties matchClassificationProperties,
MatchCriteria matchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Validate the parameters for findEntitiesByClassification.
|
List<EntityDetail> |
OMRSMetadataCollectionBase.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)
Return a list of entities that match the supplied properties according to the match criteria.
|
abstract List<EntityDetail> |
OMRSMetadataCollection.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)
Return a list of entities that match the supplied properties according to the match criteria.
|
protected void |
OMRSMetadataCollectionBase.findEntitiesByPropertyParameterValidation(String userId,
String entityTypeGUID,
InstanceProperties matchProperties,
MatchCriteria matchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Validate the parameters for findEntitiesByProperty.
|
List<EntityDetail> |
OMRSMetadataCollectionBase.findEntitiesByPropertyValue(String userId,
String entityTypeGUID,
String searchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of entities whose string based property values match the search criteria.
|
abstract List<EntityDetail> |
OMRSMetadataCollection.findEntitiesByPropertyValue(String userId,
String entityTypeGUID,
String searchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of entities whose string based property values match the search criteria.
|
protected void |
OMRSMetadataCollectionBase.findEntitiesByPropertyValueParameterValidation(String userId,
String entityTypeGUID,
String searchCriteria,
int fromEntityElement,
List<InstanceStatus> limitResultsByStatus,
List<String> limitResultsByClassification,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Validate parameters passed to findEntitiesByPropertyValue.
|
List<Relationship> |
OMRSMetadataCollectionBase.findRelationshipsByProperty(String userId,
String relationshipTypeGUID,
InstanceProperties matchProperties,
MatchCriteria matchCriteria,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of relationships that match the requested properties by the matching criteria.
|
abstract List<Relationship> |
OMRSMetadataCollection.findRelationshipsByProperty(String userId,
String relationshipTypeGUID,
InstanceProperties matchProperties,
MatchCriteria matchCriteria,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of relationships that match the requested properties by the matching criteria.
|
protected void |
OMRSMetadataCollectionBase.findRelationshipsByPropertyParameterValidation(String userId,
String relationshipTypeGUID,
InstanceProperties matchProperties,
MatchCriteria matchCriteria,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Validate the parameters passed to findRelationshipsByProperty.
|
List<Relationship> |
OMRSMetadataCollectionBase.findRelationshipsByPropertyValue(String userId,
String relationshipTypeGUID,
String searchCriteria,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of relationships whose string based property values match the search criteria.
|
abstract List<Relationship> |
OMRSMetadataCollection.findRelationshipsByPropertyValue(String userId,
String relationshipTypeGUID,
String searchCriteria,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Return a list of relationships whose string based property values match the search criteria.
|
protected void |
OMRSMetadataCollectionBase.findRelationshipsByPropertyValueParameterValidation(String userId,
String relationshipTypeGUID,
String searchCriteria,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Validate the parameters passed to findRelationshipsByPropertyName.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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 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.
|
protected void |
OMRSMetadataCollectionBase.getRelationshipsForEntityParameterValidation(String userId,
String entityGUID,
String relationshipTypeGUID,
int fromRelationshipElement,
List<InstanceStatus> limitResultsByStatus,
Date asOfTime,
String sequencingProperty,
SequencingOrder sequencingOrder,
int pageSize)
Validate the parameters for getRelationshipsForEntity.
|
void |
OMRSMetadataCollectionBase.purgeEntityReferenceCopy(String userId,
EntityDetail entity)
Remove a reference copy of the the entity from the local repository.
|
void |
OMRSMetadataCollection.purgeEntityReferenceCopy(String userId,
EntityDetail entity)
Remove a reference copy of the the entity from the local repository.
|
void |
OMRSMetadataCollectionBase.purgeRelationshipReferenceCopy(String userId,
Relationship relationship)
Remove the reference copy of the relationship 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.
|
EntityDetail |
OMRSMetadataCollectionBase.reTypeEntity(String userId,
String entityGUID,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary)
Change the type of an existing entity.
|
abstract EntityDetail |
OMRSMetadataCollection.reTypeEntity(String userId,
String entityGUID,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary)
Change the type of an existing entity.
|
protected void |
OMRSMetadataCollectionBase.reTypeInstanceParameterValidation(String userId,
String instanceGUID,
String instanceParameterName,
TypeDefCategory expectedTypeDefCategory,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary,
String methodName)
Validate the parameters needed to reType an instance.
|
Relationship |
OMRSMetadataCollectionBase.reTypeRelationship(String userId,
String relationshipGUID,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary)
Change the type of an existing relationship.
|
abstract Relationship |
OMRSMetadataCollection.reTypeRelationship(String userId,
String relationshipGUID,
TypeDefSummary currentTypeDefSummary,
TypeDefSummary newTypeDefSummary)
Change the type of an existing relationship.
|
void |
OMRSMetadataCollectionBase.saveEntityReferenceCopy(String userId,
EntityDetail entity)
Save the entity as a reference copy.
|
abstract void |
OMRSMetadataCollection.saveEntityReferenceCopy(String userId,
EntityDetail entity)
Save the entity as a reference copy.
|
void |
OMRSMetadataCollection.saveInstanceReferenceCopies(String userId,
InstanceGraph instances)
Save the entities and relationships supplied in the instance graph as a reference copies.
|
void |
OMRSMetadataCollectionBase.saveRelationshipReferenceCopy(String userId,
Relationship relationship)
Save the relationship as a reference copy.
|
abstract void |
OMRSMetadataCollection.saveRelationshipReferenceCopy(String userId,
Relationship relationship)
Save the relationship as a reference copy.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeTypeDef |
OMRSRepositoryHelper.getAttributeTypeDef(String sourceName,
String attributeTypeDefGUID,
String methodName)
Return the AttributeTypeDef identified by the guid and name supplied by the caller.
|
AttributeTypeDef |
OMRSRepositoryHelper.getAttributeTypeDef(String sourceName,
String attributeTypeDefGUID,
String attributeTypeDefName,
String methodName)
Return the AttributeTypeDef identified by the guid and name supplied by the caller.
|
Classification |
OMRSRepositoryHelper.getNewClassification(String sourceName,
String userName,
String typeName,
String entityTypeName,
ClassificationOrigin classificationOrigin,
String classificationOriginGUID,
InstanceProperties properties)
Return a classification with the header and type information filled out.
|
EntityDetail |
OMRSRepositoryHelper.getNewEntity(String sourceName,
String metadataCollectionId,
InstanceProvenanceType provenanceType,
String userName,
String typeName,
InstanceProperties properties,
List<Classification> classifications)
Return a filled out entity.
|
EntityProxy |
OMRSRepositoryHelper.getNewEntityProxy(String sourceName,
String metadataCollectionId,
InstanceProvenanceType provenanceType,
String userName,
String typeName,
InstanceProperties properties,
List<Classification> classifications)
Return a filled out entity proxy.
|
InstanceType |
OMRSRepositoryHelper.getNewInstanceType(String sourceName,
TypeDefSummary typeDefSummary)
Return a relationship with the header and type information filled out.
|
Relationship |
OMRSRepositoryHelper.getNewRelationship(String sourceName,
String metadataCollectionId,
InstanceProvenanceType provenanceType,
String userName,
String typeName,
InstanceProperties properties)
Return a filled out relationship which just needs the entity proxies added.
|
Classification |
OMRSRepositoryHelper.getSkeletonClassification(String sourceName,
String userName,
String classificationTypeName,
String entityTypeName)
Return a classification with the header and type information filled out.
|
EntityDetail |
OMRSRepositoryHelper.getSkeletonEntity(String sourceName,
String metadataCollectionId,
InstanceProvenanceType provenanceType,
String userName,
String typeName)
Return an entity with the header and type information filled out.
|
EntitySummary |
OMRSRepositoryHelper.getSkeletonEntitySummary(String sourceName,
String metadataCollectionId,
InstanceProvenanceType provenanceType,
String userName,
String typeName)
Return an entity with the header and type information filled out.
|
Relationship |
OMRSRepositoryHelper.getSkeletonRelationship(String sourceName,
String metadataCollectionId,
InstanceProvenanceType provenanceType,
String userName,
String typeName)
Return a relationship with the header and type information filled out.
|
TypeDef |
OMRSRepositoryHelper.getTypeDef(String sourceName,
String parameterName,
String typeDefGUID,
String methodName)
Return the TypeDef identified by the guid supplied by the caller.
|
TypeDef |
OMRSRepositoryHelper.getTypeDef(String sourceName,
String guidParameterName,
String nameParameterName,
String typeDefGUID,
String typeDefName,
String methodName)
Return the TypeDef identified by the guid and name supplied by the caller.
|
void |
OMRSRepositoryValidator.validateActiveType(String sourceName,
String typeParameterName,
TypeDefSummary typeDefSummary,
TypeDefCategory category,
String methodName)
Validate that the supplied type is a valid active type.
|
void |
OMRSRepositoryValidator.validateClassificationList(String sourceName,
String parameterName,
List<Classification> classifications,
String entityTypeName,
String methodName)
Validate that a classification is valid for the entity.
|
void |
OMRSRepositoryValidator.validateInstanceType(String sourceName,
InstanceHeader instance,
String typeGUIDParameterName,
String typeNameParameterName,
String expectedTypeGUID,
String expectedTypeName)
Verify that the instance retrieved from the repository has a valid instance type that matches the
expected type.
|
void |
OMRSRepositoryValidator.validateInstanceTypeGUID(String sourceName,
String guidParameterName,
String guid,
String methodName)
Validate that if a type's identifier is passed then it is valid.
|
void |
OMRSRepositoryValidator.validateOptionalTypeGUID(String sourceName,
String guidParameterName,
String guid,
String methodName)
Validate that type's identifier is not null.
|
void |
OMRSRepositoryValidator.validatePropertiesForType(String sourceName,
String parameterName,
TypeDefSummary typeDefSummary,
InstanceProperties properties,
String methodName)
Validate that the properties for a metadata instance match its TypeDef
|
void |
OMRSRepositoryValidator.validateTypeDefForInstance(String sourceName,
String parameterName,
TypeDef typeDef,
String methodName)
Validate the content of a TypeDef associated with a metadata instance.
|
void |
OMRSRepositoryValidator.validateTypeGUID(String sourceName,
String guidParameterName,
String guid,
String methodName)
Validate that type's identifier is not null.
|
| Constructor and Description |
|---|
PatchErrorException(TypeErrorException error)
Deprecated.
|
TypeDefNotKnownException(TypeErrorException caughtException)
Deprecated.
|
Copyright © 2018–2020 ODPi. All rights reserved.