atg.commerce.search.refinement
Class CategoryFacetValue
java.lang.Object
   atg.repository.search.refinement.FacetValue
atg.repository.search.refinement.FacetValue
       atg.commerce.search.refinement.CategoryFacetValue
atg.commerce.search.refinement.CategoryFacetValue
- All Implemented Interfaces: 
- java.lang.Cloneable
- public class CategoryFacetValue 
- extends FacetValue
Represents a category-specific refinement element. 
 For example, a Screen Size facet that is assigned to a TV category. 
 Extends the RefinementFacet by providing a lazy lookup method to retrieve the 
 category's repository item.
 Users of this class should call the setCatalogTools() and setCategoryId()
 or setCategoryItem() methods.
 
 
| Constructor Summary | 
| CategoryFacetValue(atg.repository.search.refinement.Facet pFacet,
                   java.lang.String pValue,
                   java.lang.String pSeparator,
                   CommerceFacetManager pFacetManager)Constructor method
 | 
 
 
| Methods inherited from class atg.repository.search.refinement.FacetValue | 
| clone, equals, getDebug, getFacet, getMatchingDocsCount, getRefinementValue, getScore, getSeparator, getTrailString, getValue, hashCode, setFacet, setMatchingDocsCount, setRefinementValue, setScore, setSeparator, setValue, toString | 
 
| Methods inherited from class java.lang.Object | 
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
 
 
mCategoryItem
protected RepositoryItem mCategoryItem
mCategoryId
protected java.lang.String mCategoryId
mFacetManager
protected CommerceFacetManager mFacetManager
CategoryFacetValue
public CategoryFacetValue(atg.repository.search.refinement.Facet pFacet,
                          java.lang.String pValue,
                          java.lang.String pSeparator,
                          CommerceFacetManager pFacetManager)
- Constructor method
 
- Parameters:
- pFacet- Facet
- pValue- String value
- pSeparator- String trail separator
 
getCategoryItem
public RepositoryItem getCategoryItem()
                               throws atg.repository.search.refinement.FacetException
- Gets the category's repository item, retrieving this from the product
 catalog if we don't already have this.
 
- 
- Returns:
- RepositoryItem for this category
- Throws:
- atg.repository.search.refinement.FacetException
 
setCategoryItem
public void setCategoryItem(RepositoryItem pCategoryItem)
- 
 
getCategoryId
public java.lang.String getCategoryId()
- 
 
setCategoryId
public void setCategoryId(java.lang.String pCategoryId)
- 
 
getCommerceFacetManager
public CommerceFacetManager getCommerceFacetManager()
- 
 
setCommerceFacetManager
public void setCommerceFacetManager(CommerceFacetManager pFacetManager)
-