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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intfetchCount()Get total number of related entitiesPageResponse<R>fetchMany(PageRequest pageRequest, Expansion... expansions) 
 - 
 
- 
- 
Method Detail
- 
fetchMany
PageResponse<R> fetchMany(PageRequest pageRequest, Expansion... expansions) throws ServiceException
- Parameters:
 pageRequest- the size of the page of results to returnexpansions- 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
 
 
 - 
 
 -