public interface RsqlCrudEntityService<P> extends CrudEntityService<P>
CrudEntityService
. Allows results to be further restricted
by an RSQL filter.Modifier and Type | Method and Description |
---|---|
List<P> |
readAll(cz.jirutka.rsql.parser.ast.Node filters,
ContextInfo context)
Retrieve all domain instances using a structured query string to drive the query criteria.
|
org.springframework.data.domain.Page<P> |
readAll(cz.jirutka.rsql.parser.ast.Node filters,
org.springframework.data.domain.Pageable pageable,
ContextInfo context)
Retrieve all domain instances using a structured query string to drive the query criteria.
|
List<P> |
readAll(cz.jirutka.rsql.parser.ast.Node filters,
org.springframework.data.domain.Sort sort,
ContextInfo context)
Retrieve all domain instances using a structured query string to drive the query criteria.
|
org.springframework.data.domain.Page<P> |
readAll(cz.jirutka.rsql.parser.ast.Node filters,
org.springframework.data.domain.Sort sort,
org.springframework.data.domain.Pageable pageable,
ContextInfo context)
Retrieve all domain instances using a structured query string to drive the query criteria.
|
create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort
List<P> readAll(@NonNull cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort, ContextInfo context)
FilterParser
for
more information.
This version also accepts a formatted sort string that declares the sorting characteristics
for the query. See SortParser
for more information.
filters
- the RSQL Node
used to restrict result, must not be nullsort
- The string containing the structured list of sorts to applycontext
- Request context information around sandbox and multitenant stateList<P> readAll(@NonNull cz.jirutka.rsql.parser.ast.Node filters, ContextInfo context)
FilterParser
for
more information.filters
- the RSQL Node
used to restrict result, must not be nullcontext
- Request context information around sandbox and multitenant stateorg.springframework.data.domain.Page<P> readAll(@NonNull cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort, @NonNull org.springframework.data.domain.Pageable pageable, ContextInfo context)
FilterParser
for
more information.
This version also accepts a Sort to apply to the result set
filters
- the RSQL Node
used to restrict result, must not be nullsort
- sort to apply to the querypageable
- may be Pageable.unpaged()
, must not be null.context
- Request context information around sandbox and multitenant stateorg.springframework.data.domain.Page<P> readAll(@NonNull cz.jirutka.rsql.parser.ast.Node filters, @NonNull org.springframework.data.domain.Pageable pageable, ContextInfo context)
FilterParser
for
more information.filters
- the RSQL Node
used to restrict result, must not be nullpageable
- may be Pageable.unpaged()
, must not be null.context
- Request context information around sandbox and multitenant stateCopyright © 2021. All rights reserved.