public class ProductFetch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
OP_FILTER
Constant that defines the type of operation - Filter an existing result set with more
constraints
|
static int |
OP_GET
Constant that defines the type of operation - Fetch a new result set
|
static int |
OP_NAVIGATE
Constant that defines the type of operation - Navigate (page) an existing result set
|
static int |
OP_SORT
Constant that defines the type of operation - Sort an existing result set
|
Constructor and Description |
---|
ProductFetch()
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getOperation()
The type of operation.
|
boolean |
isGetSpecials()
When set to true the engine is called with getSpecialsPerCategory() rather than
searchForProductsWithOptions()
|
boolean |
isSetCustomFacets()
If true, then the customFacets retrieved from Solr are used to create a new list of
currentTagGroups.
|
void |
setGetSpecials(boolean getSpecials)
When set to true the engine is called with getSpecialsPerCategory() rather than
searchForProductsWithOptions()
|
void |
setOperation(int operation)
The type of operation.
|
void |
setSetCustomFacets(boolean setCustomFacets)
If true, then the customFacets retrieved from Solr are used to create a new list of
currentTagGroups.
|
public static final int OP_GET
public static final int OP_NAVIGATE
public static final int OP_FILTER
public static final int OP_SORT
public int getOperation()
public void setOperation(int operation)
operation
- the operation to setpublic boolean isGetSpecials()
public void setGetSpecials(boolean getSpecials)
getSpecials
- the getSpecials to setpublic boolean isSetCustomFacets()
public void setSetCustomFacets(boolean setCustomFacets)
setCustomFacets
- the setCustomFacets to setCopyright © 2018 DS Data Systems UK Ltd.