public class CatalogFilter
extends java.lang.Object
All fields except catGroupChainMap are all fetched by catalog filter GET Service.
The field catGroupChainMap is a Map that contain the mapping between a catalog group id the corresponding catalog group chain, CatalogFilter instance will generate it just in time when the getter method is explicitly invoked. See CatalogGroupSelectionChain for more informations.
Constructor and Description |
---|
CatalogFilter() |
Modifier and Type | Method and Description |
---|---|
void | addCatGroupSelection(CatalogGroupSelection catGroupSelection)
Add a catalog group selection into list.
|
void | addExcludeProductSet(java.lang.Long productSetId)
Add a explicit exclude product set into list.
|
void | addImplicitExcludeProductSet(java.lang.Long productSetId)
Add a implicit product set into list.
|
void | addImplicitIncludeProductSet(java.lang.Long productSetId)
Add a implicit product set into list.
|
void | addIncludeProductSet(java.lang.Long productSetId)
Add a explicit include product set into list.
|
java.lang.Long | getCatalogFilterId()
Get Catalog Filter ID.
|
java.lang.Long | getCatalogId()
Get the catalog ID which this catalog filter belongs to
|
CatalogSelection | getCatalogSelection()
Get catalog selection from catalog filter.
|
java.util.Map<java.lang.Long,CatalogGroupSelectionChain> | getCatGroupChainMap()
Get the map between catalog group ID and catalog group selection chains.
|
java.util.List<CatalogGroupSelection> | getCatGroupSelectionList()
Get catalog group selection list.
|
java.util.List<java.lang.Long> | getExclusionProductSetList()
Get the explicitly specified exclusion product set list
|
java.lang.String | getIdentifier()
Get the catalog filter identifier
|
java.util.List<java.lang.Long> | getImplicitExclusionProductSetList()
Get the implicit exclusion product set list
|
java.util.List<java.lang.Long> | getImplicitInclusionProductSetList()
Get the implicit inclusion product set list
|
java.util.List<java.lang.Long> | getInclusionProductSetList()
Get the explicitly specified inclusion product set list
|
java.lang.String | getLongDescription()
Get the long description of the catalog filter.
|
java.lang.String | getShortDescription()
Get short description of the catalog filter.
|
java.lang.Integer | getStoreId()
Get the store ID which this catalog filter belongs to
|
java.lang.Short | getUsage()
Get the intent this catalog filter used for, the usage of this catalog filter as follows: 0 = For E-Site use. 1 = For contract use. 2 = For price use. 3 = For marketing use. 4 = for promotion use.
|
void | setCatalogFilterId(java.lang.Long catalogFilterId)
Set Catalog Filter ID
|
void | setCatalogId(java.lang.Long catalogId)
Set the catalog ID which this catalog filter belongs to
|
void | setCatalogSelection(CatalogSelection catalogSelection)
Set catalog selection for catalog filter
|
void | setCatGroupSelectionList(java.util.List<CatalogGroupSelection> catGroupSelectionList)
Set catalog group selection list.
|
void | setExclusionProductSetList(java.util.List<java.lang.Long> exclusionProductSetList)
Set the explicitly specified exclusion product set list
|
void | setIdentifier(java.lang.String identifier)
Set the catalog filter identifier
|
void | setImplicitExclusionProductSetList(java.util.List<java.lang.Long> exclusionImplicitProductSetList)
Set the implicit exclusion product set list
|
void | setImplicitInclusionProductSetList(java.util.List<java.lang.Long> inclusionImplicitProductSetList)
Set the implicit inclusion product set list
|
void | setInclusionProductSetList(java.util.List<java.lang.Long> inclusionProductSetList)
Set the explicitly specified inclusion product set list
|
void | setLongDescription(java.lang.String longDescription)
Set the long description for the catalog filter.
|
void | setShortDescription(java.lang.String shortDescription)
Set the short description for the catalog filter.
|
void | setStoreId(java.lang.Integer storeId)
Set the store ID which this catalog filter belongs to
|
void | setUsage(java.lang.Short usage)
Set the intent this catalog filter used for, the usage of this catalog filter as follows: 0 = For E-Site use. 1 = For contract use. 2 = For price use. 3 = For marketing use. 4 = for promotion use.
|
public java.lang.String getIdentifier()
public void setIdentifier(java.lang.String identifier)
public java.lang.Integer getStoreId()
public void setStoreId(java.lang.Integer storeId)
public java.lang.Long getCatalogId()
public void setCatalogId(java.lang.Long catalogId)
public java.util.List<java.lang.Long> getInclusionProductSetList()
public void setInclusionProductSetList(java.util.List<java.lang.Long> inclusionProductSetList)
public void addIncludeProductSet(java.lang.Long productSetId)
public java.util.List<java.lang.Long> getExclusionProductSetList()
public void setExclusionProductSetList(java.util.List<java.lang.Long> exclusionProductSetList)
public void addExcludeProductSet(java.lang.Long productSetId)
public java.util.List<java.lang.Long> getImplicitInclusionProductSetList()
public void setImplicitInclusionProductSetList(java.util.List<java.lang.Long> inclusionImplicitProductSetList)
public void addImplicitIncludeProductSet(java.lang.Long productSetId)
public java.util.List<java.lang.Long> getImplicitExclusionProductSetList()
public void setImplicitExclusionProductSetList(java.util.List<java.lang.Long> exclusionImplicitProductSetList)
public void addImplicitExcludeProductSet(java.lang.Long productSetId)
public java.lang.Short getUsage()
public void setUsage(java.lang.Short usage)
public CatalogSelection getCatalogSelection()
public void setCatalogSelection(CatalogSelection catalogSelection)
public java.util.List<CatalogGroupSelection> getCatGroupSelectionList()
public void setCatGroupSelectionList(java.util.List<CatalogGroupSelection> catGroupSelectionList)
public void addCatGroupSelection(CatalogGroupSelection catGroupSelection)
public java.util.Map<java.lang.Long,CatalogGroupSelectionChain> getCatGroupChainMap() throws ECException
public java.lang.Long getCatalogFilterId()
public void setCatalogFilterId(java.lang.Long catalogFilterId)
public java.lang.String getShortDescription()
public void setShortDescription(java.lang.String shortDescription)
public java.lang.String getLongDescription()
public void setLongDescription(java.lang.String longDescription)