public interface QueryRequestInfo
Modifier and Type | Interface and Description |
---|---|
static interface |
QueryRequestInfo.QueryRequestInfoFactory |
Modifier and Type | Field and Description |
---|---|
static QueryRequestInfo.QueryRequestInfoFactory |
DEFAULT_QUERY_INFO_FACTORY |
static java.lang.String |
GET |
static java.util.List<java.lang.String> |
SCF_SELECTORS |
Modifier and Type | Method and Description |
---|---|
CollectionPagination |
getPagination()
Get the request paging specification
|
java.util.Map<java.lang.String,java.lang.String[]> |
getPredicates()
Get the query predicates.
|
java.lang.String |
getQueryString()
Gets the query params.
|
java.util.List<java.lang.String> |
getSortBy() |
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Boolean>> |
getSortFields()
Gets the sort fields.
|
CollectionSortedOrder |
getSortOrder()
Deprecated.
|
boolean |
isQuery()
Is the request a query request
|
boolean |
isSortRequest()
Is the request a sort request
|
boolean |
isTranslationRequest()
Is the request a translate request
|
void |
setPagination(CollectionPagination pagination)
Set the pagination
|
void |
setSortBy(java.util.List<java.lang.String> sortBy) |
void |
setSortFields(java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Boolean>> sortFields)
Sets the sort fields.
|
void |
setSortOrder(CollectionSortedOrder order)
Deprecated.
|
void |
setSortRequest(boolean isSortRequest)
Sets the property that identifies if the QueryRequest is a sort request.
|
void |
setTranslationRequest(boolean isTranslationRequest)
Set the translation request
|
static final java.lang.String GET
static final java.util.List<java.lang.String> SCF_SELECTORS
static final QueryRequestInfo.QueryRequestInfoFactory DEFAULT_QUERY_INFO_FACTORY
boolean isQuery()
boolean isTranslationRequest()
boolean isSortRequest()
void setSortRequest(boolean isSortRequest)
isSortRequest
- the new sort requestvoid setTranslationRequest(boolean isTranslationRequest)
isTranslationRequest
- request valuejava.util.Map<java.lang.String,java.lang.String[]> getPredicates()
CollectionPagination getPagination()
void setPagination(CollectionPagination pagination)
pagination
- the pagination setting.void setSortBy(java.util.List<java.lang.String> sortBy)
sortBy
- list of indexes to use to sort the list byjava.util.List<java.lang.String> getSortBy()
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Boolean>> getSortFields()
void setSortFields(java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Boolean>> sortFields)
sortFields
- the sort fieldsjava.lang.String getQueryString()
@Deprecated void setSortOrder(CollectionSortedOrder order)
order
- for the list@Deprecated CollectionSortedOrder getSortOrder()
Copyright © 2010 - 2020 Adobe. All Rights Reserved