Package org.odpi.openmetadata.commonservices.repositoryhandler


package org.odpi.openmetadata.commonservices.repositoryhandler
The RepositoryHandler provides object-like interfaces over the Open Metadata Repository Services (OMRS) repository connector. It supports the following abstractions:
  • Conversion of repository services exceptions into common exceptions.
  • Creation of the correct type of instances dependant on the setting of the external source GUID. This means that the correct provenance information is added to the instance.
  • Validation of an instance's provenance information when an update is made. This means that external instances can only be updated by processes that represent the external source of the instance.
  • Verification that instances received from the repositories have the appropriate effectivity date
The aim is to reduce the coding needed in the specific handlers used by the Open Metadata Access Services (OMASs) and ensure external entities and effectivity dates are managed correctly.
  • Class
    Description
    DuplicateEntityIterator retrieves the list of entities that need to be processed for a specific entity.
    Accumulates relationships from multiple retrieval requests.
    RepositoryEntitiesIterator is an iterator class for iteratively retrieving entities (possibly restricting the type of entities returned).
    RepositoryErrorHandler provides common validation routines for the other handler classes
    RepositoryFindEntitiesIterator is an iterator class for iteratively retrieving entities based on a search criteria.
    RepositoryFindEntitiesIterator is an iterator class for iteratively retrieving relationships based on a search criteria.
    RepositoryHandler issues common calls to the open metadata repository to retrieve and store metadata.
    The RepositoryHandlerAuditCode is used to define the message content for the OMRS Audit Log.
    The RepositoryHandlerErrorCode is used to define first failure data capture (FFDC) for errors that occur when working with the Repository Handler Services.
    RepositoryIterator is the shared interface of all repository helper iterators that retrieve entity or relationship details from the repository.
    RepositoryIteratorForEntities is the shared interface of all repository helper iterators that retrieve entity details from the repository.
    RepositoryRelatedEntitiesIterator is an iterator class for iteratively retrieving relationships for a starting entity (possibly restricting the type of relationships returned) and returning the entity at the other end.
    RepositoryRelationshipsIterator is an iterator class for iteratively retrieving relationships for a starting entity (possibly restricting the type of relationships returned).
    RepositorySelectedEntitiesIterator is an iterator class for iteratively retrieving entities based on a search criteria.