Interface RepositoryOptionsPicker<A extends AggregateRoot<I>,I>
-
- Type Parameters:
A- the aggregate root type that is paginated.I- the aggregate root identifier type.
- All Superinterfaces:
PaginationTypePicker<A>,SlicePaginationPicker<A>
public interface RepositoryOptionsPicker<A extends AggregateRoot<I>,I> extends PaginationTypePicker<A>
An element of thePaginatorDSL allowing to specify repository options.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PaginationTypePicker<A>withOptions(Repository.Option... options)Allows to specify the repository options used when invoking the repositoryRepository.get(org.seedstack.business.specification.Specification, Repository.Option...)method.-
Methods inherited from interface org.seedstack.business.pagination.dsl.PaginationTypePicker
byPage
-
Methods inherited from interface org.seedstack.business.pagination.dsl.SlicePaginationPicker
byAttribute, byOffset
-
-
-
-
Method Detail
-
withOptions
PaginationTypePicker<A> withOptions(Repository.Option... options)
Allows to specify the repository options used when invoking the repositoryRepository.get(org.seedstack.business.specification.Specification, Repository.Option...)method.- Parameters:
options- the options to use.- Returns:
- the next operation of the paginator DSL, allowing to specify the pagination type.
-
-