Class MetadataCollection
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollection
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase
-
- org.odpi.openmetadata.connector.sas.repository.connector.MetadataCollection
-
- All Implemented Interfaces:
org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent
public class MetadataCollection extends org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase
-
-
Constructor Summary
Constructors Constructor Description MetadataCollection(RepositoryConnector parentConnector, java.lang.String repositoryName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryValidator repositoryValidator, java.lang.String metadataCollectionId)Constructor ensures the metadata collection is linked to its connector and knows its metadata collection Id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTypeDef(java.lang.String userId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDef newTypeDef)org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefGallerygetAllTypes(java.lang.String userId)org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetailgetEntityDetail(java.lang.String userId, java.lang.String guid)org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntitySummarygetEntitySummary(java.lang.String userId, java.lang.String guid)RepositoryEventMappergetEventMapper()org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.RelationshipgetRelationship(java.lang.String userId, java.lang.String guid)java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship>getRelationshipsForEntity(java.lang.String userId, java.lang.String entityGUID, java.lang.String relationshipTypeGUID, int fromRelationshipElement, java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, java.util.Date asOfTime, java.lang.String sequencingProperty, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequencingOrder, int pageSize)TypeDefStoregetTypeDefStore()org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetailisEntityKnown(java.lang.String userId, java.lang.String guid)voidsetEventMapper(RepositoryEventMapper RepositoryEventMapper)booleanverifyTypeDef(java.lang.String userId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDef typeDef)-
Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase
addAttributeTypeDef, addEntity, addEntityParameterValidation, addEntityParameterValidation, addEntityProxy, addEntityProxyParameterValidation, addExternalEntity, addExternalEntityParameterValidation, addExternalRelationship, addExternalRelationshipParameterValidation, addRelationship, addRelationshipParameterValidation, addRelationshipParameterValidation, addTypeDefGallery, attributeTypeDefCategoryParameterValidation, attributeTypeDefParameterValidation, classifyEntity, classifyEntity, classifyEntityParameterValidation, classifyEntityParameterValidation, declassifyEntity, declassifyEntityParameterValidation, declassifyEntityParameterValidation, deleteAttributeTypeDef, deleteEntity, deleteEntityReferenceCopy, deleteRelationship, deleteRelationshipReferenceCopy, deleteTypeDef, filterAttributeTypeDefsByCategory, filterAttributeTypeDefsByGUID, filterAttributeTypeDefsByName, filterTypeDefsByCategory, filterTypeDefsByGUID, filterTypeDefsByName, filterTypeDefsByProperty, filterTypeDefsBySearchCriteria, filterTypesByExternalID, filterTypesByWildCardName, findAttributeTypeDefsByCategory, findEntities, findEntitiesByClassification, findEntitiesByClassificationParameterValidation, findEntitiesByProperty, findEntitiesByPropertyParameterValidation, findEntitiesByPropertyValue, findEntitiesByPropertyValueParameterValidation, findEntitiesParameterValidation, findRelationships, findRelationshipsByProperty, findRelationshipsByPropertyParameterValidation, findRelationshipsByPropertyValue, findRelationshipsByPropertyValueParameterValidation, findRelationshipsParameterValidation, findTypeDefsByCategory, findTypeDefsByProperty, findTypesByExternalID, findTypesByName, getAttributeTypeDefByGUID, getAttributeTypeDefByName, getEntityDetail, getEntityDetailHistory, getEntityNeighborhood, getEntityNeighborhoodParameterValidation, getEntityProxy, getHomeClassifications, getHomeClassifications, getInstanceHistoryParameterValidation, getInstanceParameterValidation, getInstanceParameterValidation, getLinkingEntities, getLinkingEntitiesParameterValidation, getMetadataCollectionId, getRelatedEntities, getRelatedEntitiesParameterValidation, getRelationship, getRelationshipHistory, getRelationshipsForEntityParameterValidation, getTypeDefByGUID, getTypeDefByName, getTypeDefForInstance, isRelationshipKnown, manageAttributeTypeDefParameterValidation, manageInstanceParameterValidation, manageInstanceParameterValidation, manageInstanceParameterValidation, manageReferenceInstanceParameterValidation, manageTypeDefParameterValidation, newAttributeTypeDefParameterValidation, newTypeDefParameterValidation, purgeClassificationReferenceCopy, purgeEntity, purgeEntityReferenceCopy, purgeEntityReferenceCopy, purgeRelationship, purgeRelationshipReferenceCopy, purgeRelationshipReferenceCopy, referenceInstanceParameterValidation, refreshEntityReferenceCopy, refreshRelationshipReferenceCopy, reHomeEntity, reHomeInstanceParameterValidation, reHomeRelationship, reIdentifyAttributeTypeDef, reIdentifyEntity, reIdentifyInstanceParameterValidation, reIdentifyRelationship, reIdentifyTypeDef, removeInstanceParameterValidation, reportEntityNotKnown, reportEntityProxyOnly, reportRelationshipNotKnown, reportTypeDefAlreadyDefined, reportTypeDefConflict, reportTypeDefInUse, reportTypeDefNotSupported, reportUnknownTypeGUID, reportUnknownTypeName, reportUnsupportedAsOfTimeFunction, reportUnsupportedOptionalFunction, restoreEntity, restoreRelationship, reTypeEntity, reTypeInstanceParameterValidation, reTypeRelationship, saveClassificationReferenceCopy, saveEntityReferenceCopy, saveRelationshipReferenceCopy, searchForTypeDefs, typeDefCategoryParameterValidation, typeDefExternalIDParameterValidation, typeDefParameterValidation, typeDefPropertyParameterValidation, typeDefSearchParameterValidation, typeGUIDParameterValidation, typeNameParameterValidation, undoEntityUpdate, undoRelationshipUpdate, updateEntityClassification, updateEntityClassificationParameterValidation, updateEntityProperties, updateEntityStatus, updateInstancePropertiesPropertyValidation, updateInstanceStatusParameterValidation, updateRelationshipProperties, updateRelationshipStatus, updateTypeDef, updateTypeDefParameterValidation, verifyAttributeTypeDef
-
-
-
-
Constructor Detail
-
MetadataCollection
public MetadataCollection(RepositoryConnector parentConnector, java.lang.String repositoryName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryValidator repositoryValidator, java.lang.String metadataCollectionId)
Constructor ensures the metadata collection is linked to its connector and knows its metadata collection Id.- Parameters:
parentConnector- connector that this metadata collection supports. The connector has the information to call the metadata repository.repositoryName- name of this repository.repositoryHelper- helper class for building types and instancesrepositoryValidator- validator class for checking open metadata repository objects and parameters.metadataCollectionId- unique identifier of the metadata collection Id.
-
-
Method Detail
-
getAllTypes
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefGallery getAllTypes(java.lang.String userId) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException- Overrides:
getAllTypesin classorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException
-
addTypeDef
public void addTypeDef(java.lang.String userId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDef newTypeDef) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotSupportedException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefKnownException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefConflictException, org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidTypeDefException- Overrides:
addTypeDefin classorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotSupportedExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefKnownExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefConflictExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidTypeDefException
-
verifyTypeDef
public boolean verifyTypeDef(java.lang.String userId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDef typeDef) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotSupportedException, org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidTypeDefException- Overrides:
verifyTypeDefin classorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeDefNotSupportedExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidTypeDefException
-
isEntityKnown
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail isEntityKnown(java.lang.String userId, java.lang.String guid) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException- Overrides:
isEntityKnownin classorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException
-
getEntitySummary
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntitySummary getEntitySummary(java.lang.String userId, java.lang.String guid) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException- Overrides:
getEntitySummaryin classorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException
-
getEntityDetail
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail getEntityDetail(java.lang.String userId, java.lang.String guid) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException- Overrides:
getEntityDetailin classorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException
-
getRelationshipsForEntity
public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> getRelationshipsForEntity(java.lang.String userId, java.lang.String entityGUID, java.lang.String relationshipTypeGUID, int fromRelationshipElement, java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, java.util.Date asOfTime, java.lang.String sequencingProperty, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequencingOrder, int pageSize) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException, org.odpi.openmetadata.repositoryservices.ffdc.exception.PagingErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.FunctionNotSupportedException, org.odpi.openmetadata.repositoryservices.ffdc.exception.UserNotAuthorizedException- Overrides:
getRelationshipsForEntityin classorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.PagingErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.FunctionNotSupportedExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.UserNotAuthorizedException
-
getRelationship
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship getRelationship(java.lang.String userId, java.lang.String guid) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RelationshipNotKnownException- Overrides:
getRelationshipin classorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.OMRSMetadataCollectionBase- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionorg.odpi.openmetadata.repositoryservices.ffdc.exception.RelationshipNotKnownException
-
getTypeDefStore
public TypeDefStore getTypeDefStore()
-
setEventMapper
public void setEventMapper(RepositoryEventMapper RepositoryEventMapper)
-
getEventMapper
public RepositoryEventMapper getEventMapper()
-
-