Class AbstractSearchRequest
java.lang.Object
ch.tocco.nice2.rest.entity.spi.search.AbstractSearchRequest
- All Implemented Interfaces:
SearchRequest
- Direct Known Subclasses:
PathSearchRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.rest.entity.spi.search.SearchRequest
SearchRequest.Base, SearchRequest.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalCondition
(Condition condition) getBase()
getLimit()
getPaths()
getSort()
boolean
If set to true, the request returns the key path only and the whole result set without pagingvoid
setAllKeys
(boolean allKeys) void
setBase
(SearchRequest.Base base) void
void
void
setPaths
(@Nullable RequestedPaths paths) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.rest.entity.spi.search.SearchRequest
createEntityBeanListFactory
-
Constructor Details
-
AbstractSearchRequest
public AbstractSearchRequest()
-
-
Method Details
-
getBase
- Specified by:
getBase
in interfaceSearchRequest
-
setBase
- Specified by:
setBase
in interfaceSearchRequest
-
getOffset
- Specified by:
getOffset
in interfaceSearchRequest
-
setOffset
- Specified by:
setOffset
in interfaceSearchRequest
-
getLimit
- Specified by:
getLimit
in interfaceSearchRequest
-
setLimit
- Specified by:
setLimit
in interfaceSearchRequest
-
getSort
- Specified by:
getSort
in interfaceSearchRequest
-
setPaths
- Specified by:
setPaths
in interfaceSearchRequest
-
getPaths
- Specified by:
getPaths
in interfaceSearchRequest
-
setSort
- Specified by:
setSort
in interfaceSearchRequest
-
getQueryParameters
- Specified by:
getQueryParameters
in interfaceSearchRequest
-
getAdditionalConditions
- Specified by:
getAdditionalConditions
in interfaceSearchRequest
-
addAdditionalCondition
- Specified by:
addAdditionalCondition
in interfaceSearchRequest
-
setAllKeys
public void setAllKeys(boolean allKeys) - Specified by:
setAllKeys
in interfaceSearchRequest
-
isAllKeys
public boolean isAllKeys()Description copied from interface:SearchRequest
If set to true, the request returns the key path only and the whole result set without paging- Specified by:
isAllKeys
in interfaceSearchRequest
-