Interface RelationService.RelatableFinder<R extends Relatable>

Enclosing interface:
RelationService

public static interface RelationService.RelatableFinder<R extends Relatable>
Finder, which is used to perform basic relation operations, such as fetching source or target entities of particular relation, get total number of related entities etc.
  • Method Details

    • fetchMany

      PageResponse<R> fetchMany(PageRequest pageRequest, Expansion... expansions) throws ServiceException
      Parameters:
      pageRequest - the size of the page of results to return
      expansions - the properties to expand on all of the returned entities
      Returns:
      a page of results that have the given relation
      Throws:
      ServiceException
    • fetchCount

      int fetchCount()
      Get total number of related entities
      Returns:
      total number of related entities