public class GetRelationshipsForEntity extends AbstractRelationshipSearchOperation
Implements the 'getRelationshipsForEntity' operation of the OMRS metadata collection interface.
  • Constructor Details

    • GetRelationshipsForEntity

      public GetRelationshipsForEntity(XTDBOMRSRepositoryConnector xtdb, String entityGUID, String relationshipTypeGUID, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, xtdb.api.IXtdbDatasource existingDB, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize, String userId)
      Create a new 'getRelationshipsForEntity' executable.
      Parameters:
      xtdb - connectivity to XTDB
      entityGUID - of the entity for which to find relationships
      relationshipTypeGUID - to limit the relationship types to retrieve (optional)
      fromRelationshipElement - starting element for paging
      limitResultsByStatus - by which to limit results (optional)
      existingDB - already-opened datasource against which to do the retrievals
      sequencingProperty - by which to order the results (required if sequencingOrder involves a property)
      sequencingOrder - by which to order results (optional, will default to GUID)
      pageSize - maximum number of results per page
      userId - of the user running the query
  • Method Details