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
Class Summary Class Description DuplicateEntityIteratorDuplicateEntityIterator retrieves the list of entities that need to be processed for a specific entity. RelationshipAccumulatorAccumulates relationships from multiple retrieval requests. RepositoryEntitiesIteratorRepositoryEntitiesIterator is an iterator class for iteratively retrieving entities (possibly restricting the type of entities returned). RepositoryErrorHandlerRepositoryErrorHandler provides common validation routines for the other handler classes RepositoryFindEntitiesIteratorRepositoryFindEntitiesIterator is an iterator class for iteratively retrieving entities based on a search criteria. RepositoryFindRelationshipsIteratorRepositoryFindEntitiesIterator is an iterator class for iteratively retrieving relationships based on a search criteria. RepositoryHandlerRepositoryHandler issues common calls to the open metadata repository to retrieve and store metadata. RepositoryIteratorRepositoryIterator is the shared interface of all repository helper iterators that retrieve entity or relationship details from the repository. RepositoryIteratorForEntitiesRepositoryIteratorForEntities is the shared interface of all repository helper iterators that retrieve entity details from the repository. RepositoryRelatedEntitiesIteratorRepositoryRelatedEntitiesIterator 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. RepositoryRelationshipsIteratorRepositoryRelationshipsIterator is an iterator class for iteratively retrieving relationships for a starting entity (possibly restricting the type of relationships returned). RepositorySelectedEntitiesIteratorRepositorySelectedEntitiesIterator is an iterator class for iteratively retrieving entities based on a search criteria.
Enum Summary Enum Description RepositoryHandlerAuditCodeThe RepositoryHandlerAuditCode is used to define the message content for the OMRS Audit Log. RepositoryHandlerErrorCodeThe RepositoryHandlerErrorCode is used to define first failure data capture (FFDC) for errors that occur when working with the Repository Handler Services.