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 String |
GET |
static List<String> |
SCF_SELECTORS |
| Modifier and Type | Method and Description |
|---|---|
CollectionPagination |
getPagination()
Get the request paging specification
|
Map<String,String[]> |
getPredicates()
Get the query predicates.
|
String |
getQueryString()
Gets the query params.
|
List<String> |
getSortBy() |
List<Map.Entry<String,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(List<String> sortBy) |
void |
setSortFields(List<Map.Entry<String,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 String GET
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)
translation - request valueMap<String,String[]> getPredicates()
CollectionPagination getPagination()
void setPagination(CollectionPagination pagination)
pagination - the pagination setting.void setSortBy(List<String> sortBy)
a - list of indexes to use to sort the list byList<Map.Entry<String,Boolean>> getSortFields()
void setSortFields(List<Map.Entry<String,Boolean>> sortFields)
sortFields - the sort fieldsString getQueryString()
queryInfo - the query info@Deprecated void setSortOrder(CollectionSortedOrder order)
order - for the list@Deprecated CollectionSortedOrder getSortOrder()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"