Class PathSearchRequest
java.lang.Object
ch.tocco.nice2.rest.entity.spi.search.AbstractSearchRequest
ch.tocco.nice2.rest.entity.impl.search.PathSearchRequest
- All Implemented Interfaces:
SearchRequest
An implementation of
SearchRequest
that uses a CustomSelection to resolve the _paths directly
using the CriteriaQueryBuilder
instead of using Entity.resolve(String)
.
This strategy is much more efficient.-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.rest.entity.spi.search.AbstractSearchRequest
AbstractSearchRequest.AbstractBuilder
Nested classes/interfaces inherited from interface ch.tocco.nice2.rest.entity.spi.search.SearchRequest
SearchRequest.Base
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEvaluatePermissions
(boolean evaluatePermissions) Methods inherited from class ch.tocco.nice2.rest.entity.spi.search.AbstractSearchRequest
addAdditionalCondition, getAdditionalConditions, getBase, getLimit, getOffset, getPaths, getQueryParameters, getSort, isAllKeys, setAllKeys, setBase, setLimit, setOffset, setPaths, setSort
-
Constructor Details
-
PathSearchRequest
-
-
Method Details
-
setEvaluatePermissions
public void setEvaluatePermissions(boolean evaluatePermissions) -
isEvaluatePermissions
public boolean isEvaluatePermissions() -
createEntityBeanListFactory
-