| 
 | |||||||||
| 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_VERSIONClass version string | 
| Fields inherited from class atg.commerce.search.refinement.CommerceFacetSearchTools | 
|---|
| SEARCH_TESTING_RC_NAME_PREFIX | 
| Fields inherited from class atg.repository.search.refinement.FacetSearchTools | 
|---|
| DOLLAR_MAP | 
| 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()Logic here is that if the queryByCatalog property is false then we don't include create any catalog constraints. | 
|  java.lang.String[] | getAdditionalConstraints(QueryRequest pRequest)get any additional constraints | 
|  java.lang.String | getCatalogConstraintFormat() | 
|  java.lang.String | getCatalogId() | 
|  java.lang.String[] | getCatalogIds() | 
| protected  java.lang.String[] | getCatalogIds(QueryRequest pRequest) | 
|  RefinementConfiguration | getCatalogRefineConfig(FacetTrail pTrail,
                       QueryRequest pRequest)get the refine config | 
|  atg.commerce.search.producer.CustomCatalogCategoriesPropertyAccessor | getCatalogSpecificIdPropertyAccessor() | 
|  java.lang.String | getCatalogSpecificIdPropertyName() | 
| protected  java.lang.String | getDefaultCatalogRepositoryId() | 
| protected  java.util.List | getDerivedRefineElements(RepositoryItem pCategory)Gets the total collection of refine elements for the given category. | 
|  atg.search.routing.DynamicTargetGenerator | getDynamicTargetGenerator() | 
| protected  java.lang.String | getIdForDocSetPath(FacetTrail pTrail) | 
| protected  java.lang.String | getIdPropertyNameForDocSetPath() | 
|  boolean | getQueryByCatalog() | 
|  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 | setCatalogIds(java.lang.String[] pCatalogIds) | 
|  void | setCatalogSpecificIdPropertyAccessor(atg.commerce.search.producer.CustomCatalogCategoriesPropertyAccessor catalogSpecificIdPropertyAccessor) | 
|  void | setCatalogSpecificIdPropertyName(java.lang.String pCatalogSpecificPropertyId) | 
|  void | setCategoryId(java.lang.String pCategoryId) | 
|  void | setDynamicTargetGenerator(atg.search.routing.DynamicTargetGenerator pDynamicTargetGenerator) | 
|  void | setQueryByCatalog(boolean pQueryByCatalog) | 
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl | 
|---|
| vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 CommerceFacetSearchToolspublic java.lang.String[] getCatalogIds()
public void setCatalogIds(java.lang.String[] pCatalogIds)
public boolean getQueryByCatalog()
public void setQueryByCatalog(boolean pQueryByCatalog)
public atg.search.routing.DynamicTargetGenerator getDynamicTargetGenerator()
public void setDynamicTargetGenerator(atg.search.routing.DynamicTargetGenerator pDynamicTargetGenerator)
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()
getAdditionalConstraints in class FacetSearchToolspublic java.lang.String[] getAdditionalConstraints(QueryRequest pRequest)
FacetSearchTools
getAdditionalConstraints in class FacetSearchToolsprotected java.lang.String[] getCatalogIds(QueryRequest pRequest)
pRequest - - QueryRequest for this search request
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 CommerceFacetSearchToolsprotected java.lang.String getDefaultCatalogRepositoryId()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||