@ProviderType
public class CommerceQuery
extends java.lang.Object
CommerceQuery.Builder
to create instances of this.Modifier and Type | Class and Description |
---|---|
static class |
CommerceQuery.Builder
A generic builder for queries executed via
CommerceService.search(CommerceQuery) . |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_PAGE |
static java.lang.String |
PARAM_PAGESIZE |
static java.lang.String |
PARAM_QUERYTEXT |
static java.lang.String |
PARAM_SORTID |
Constructor and Description |
---|
CommerceQuery(HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getFacets()
Get the list of facets applicable to current search.
|
int |
getPage()
Get the result page's index.
|
int |
getPageSize()
Get the page size.
|
java.lang.String |
getQueryText()
Get the query string.
|
java.lang.String |
getSortId()
Get the sort type's identifier.
|
public static final java.lang.String PARAM_QUERYTEXT
public static final java.lang.String PARAM_PAGE
public static final java.lang.String PARAM_PAGESIZE
public static final java.lang.String PARAM_SORTID
public CommerceQuery(HttpServletRequest request)
public java.lang.String getQueryText()
public int getPage()
public int getPageSize()
public java.lang.String getSortId()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getFacets()
Copyright © 2010 - 2020 Adobe. All Rights Reserved