| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.repository.search.refinement.FacetSearchTools
atg.commerce.search.refinement.CommerceFacetSearchTools
atg.commerce.search.refinement.custom.CustomCatalogFacetSearchTools
public class CustomCatalogFacetSearchTools
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
| Fields inherited from class atg.commerce.search.refinement.CommerceFacetSearchTools | 
|---|
SEARCH_TESTING_RC_NAME_PREFIX | 
| Fields inherited from class atg.nucleus.GenericService | 
|---|
SERVICE_INFO_KEY | 
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging | 
|---|
DEFAULT_LOG_TRACE_STATUS | 
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging | 
|---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS | 
| Constructor Summary | |
|---|---|
CustomCatalogFacetSearchTools()
Constructs an instanceof CustomCatalogFacetSearchTools  | 
|
| Method Summary | |
|---|---|
 RepositoryItem | 
findCategory(java.lang.String pCategoryId)
find a category by id.  | 
 java.lang.String[] | 
getAdditionalConstraints()
get any additional constraints  | 
 java.lang.String | 
getCatalogConstraintFormat()
 | 
 java.lang.String | 
getCatalogId()
 | 
 RefinementConfiguration | 
getCatalogRefineConfig(FacetTrail pTrail,
                       QueryRequest pRequest)
get the refine config  | 
 atg.commerce.search.producer.CustomCatalogCategoriesPropertyAccessor | 
getCatalogSpecificIdPropertyAccessor()
 | 
 java.lang.String | 
getCatalogSpecificIdPropertyName()
 | 
protected  java.util.List | 
getDerivedRefineElements(RepositoryItem pCategory)
Gets the total collection of refine elements for the given category.  | 
protected  java.lang.String | 
getIdForDocSetPath(FacetTrail pTrail)
 | 
protected  java.lang.String | 
getIdPropertyNameForDocSetPath()
 | 
 RefinementConfiguration | 
getRefineConfig(RepositoryItem pCategoryItem)
Gets the refine config for the given category based on the current catalog.  | 
protected  java.lang.String | 
getSearchTestingRefineConfigName(RepositoryItem pSourceItem,
                                 java.lang.String pPrefix)
Generate refine-config name for search query executed from Search Testing UI.  | 
protected  RepositoryItem | 
getSourceItem(RepositoryItem pCategory)
Gets the source item for a refine config.  | 
 java.util.List<java.lang.String> | 
reorderCategories(java.util.List<java.lang.String> pCategoryIds)
 | 
 void | 
setCatalogConstraintFormat(java.lang.String pCatalogConstraintFormat)
 | 
 void | 
setCatalogId(java.lang.String catalogId)
 | 
 void | 
setCatalogSpecificIdPropertyAccessor(atg.commerce.search.producer.CustomCatalogCategoriesPropertyAccessor catalogSpecificIdPropertyAccessor)
 | 
 void | 
setCatalogSpecificIdPropertyName(java.lang.String pCatalogSpecificPropertyId)
 | 
 void | 
setCategoryId(java.lang.String pCategoryId)
 | 
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl | 
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public CustomCatalogFacetSearchTools()
| Method Detail | 
|---|
public void setCatalogConstraintFormat(java.lang.String pCatalogConstraintFormat)
public java.lang.String getCatalogConstraintFormat()
public atg.commerce.search.producer.CustomCatalogCategoriesPropertyAccessor getCatalogSpecificIdPropertyAccessor()
public void setCatalogSpecificIdPropertyAccessor(atg.commerce.search.producer.CustomCatalogCategoriesPropertyAccessor catalogSpecificIdPropertyAccessor)
public java.lang.String getCatalogId()
public void setCatalogId(java.lang.String catalogId)
public java.lang.String getCatalogSpecificIdPropertyName()
public void setCatalogSpecificIdPropertyName(java.lang.String pCatalogSpecificPropertyId)
public void setCategoryId(java.lang.String pCategoryId)
setCategoryId in class CommerceFacetSearchTools
public RefinementConfiguration getCatalogRefineConfig(FacetTrail pTrail,
                                                      QueryRequest pRequest)
getCatalogRefineConfig in class CommerceFacetSearchToolspublic RefinementConfiguration getRefineConfig(RepositoryItem pCategoryItem)
getRefineConfig in class CommerceFacetSearchToolspCategoryItem - The category item to retrieve the refine config for.
CommerceFacetSearchToolspublic java.lang.String[] getAdditionalConstraints()
FacetSearchTools
getAdditionalConstraints in class FacetSearchToolsReturns an array of additional constraints, one of which will be a constraint 
 on the current user's catalog.protected RepositoryItem getSourceItem(RepositoryItem pCategory)
getSourceItem in class CommerceFacetSearchToolspCategory - RepositoryItem category
protected java.util.List getDerivedRefineElements(RepositoryItem pCategory)
getDerivedRefineElements in class CommerceFacetSearchToolspCategory - RepositoryItem category to use
public RepositoryItem findCategory(java.lang.String pCategoryId)
                            throws RepositoryException
findCategory in class CommerceFacetSearchToolsRepositoryExceptionprotected java.lang.String getIdPropertyNameForDocSetPath()
getIdPropertyNameForDocSetPath in class CommerceFacetSearchToolsprotected java.lang.String getIdForDocSetPath(FacetTrail pTrail)
getIdForDocSetPath in class CommerceFacetSearchToolspublic java.util.List<java.lang.String> reorderCategories(java.util.List<java.lang.String> pCategoryIds)
reorderCategories in class CommerceFacetSearchTools
protected java.lang.String getSearchTestingRefineConfigName(RepositoryItem pSourceItem,
                                                            java.lang.String pPrefix)
CommerceFacetSearchTools
getSearchTestingRefineConfigName in class CommerceFacetSearchTools
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||