public class CatalogFacet
extends atg.repository.search.refinement.RefinementFacet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected java.lang.String |
mCatalogId |
protected RepositoryItem |
mCatalogItem |
protected CustomCatalogTools |
mCatalogTools |
Constructor and Description |
---|
CatalogFacet(RepositoryItem pItem,
FacetManager pFacetManager)
Constructor method that can be used when we already have the repository
item for the facet.
|
CatalogFacet(java.lang.String pId,
FacetManager pFacetManager)
Constructor method
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogId() |
RepositoryItem |
getCatalogItem()
Gets the catalog's repository item, retrieving this from the product
catalog if we don't already have this.
|
CustomCatalogTools |
getCatalogTools() |
void |
setCatalogId(java.lang.String pCatalogId) |
void |
setCatalogItem(RepositoryItem pCatalogItem) |
void |
setCatalogTools(CustomCatalogTools pCatalogTools) |
public static java.lang.String CLASS_VERSION
protected RepositoryItem mCatalogItem
protected java.lang.String mCatalogId
protected CustomCatalogTools mCatalogTools
public CatalogFacet(java.lang.String pId, FacetManager pFacetManager)
pId
- The ID of the refineElement RepositoryItempFacetManager
- The FacetManager instance used to query the
repository.public CatalogFacet(RepositoryItem pItem, FacetManager pFacetManager) throws atg.repository.search.refinement.FacetException
pItem
- refineElement Repository ItempFacetManager
- The FacetManager instance used to query the
repository.atg.repository.search.refinement.FacetException
- for problems getting the RefinementElementpublic RepositoryItem getCatalogItem() throws atg.repository.search.refinement.FacetException
atg.repository.search.refinement.FacetException
public void setCatalogItem(RepositoryItem pCatalogItem)
public java.lang.String getCatalogId()
public void setCatalogId(java.lang.String pCatalogId)
public CustomCatalogTools getCatalogTools()
public void setCatalogTools(CustomCatalogTools pCatalogTools)