| 
 | |||||||||
| 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.search.query.config.SearchConfigNameService
public class SearchConfigNameService
This service perform traversing the dimension tree to find a search config item based on the customers details stored in the DynamoHttpServletRequest object.
| Field Summary | |
|---|---|
| static java.lang.String | APPLICATION_PROP | 
| static java.lang.String | CLASS_VERSION | 
| 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 | |
|---|---|
| SearchConfigNameService() | |
| Method Summary | |
|---|---|
|  java.lang.String | getApplication()Returns application name. | 
|  Repository | getRefinementRepository()Returns refinement repository. | 
| protected  RepositoryItem | getRootTreeNode() | 
|  atg.repository.search.testing.SearchAssetTools | getSearchAssetTools()Returns SearchAssetTools that is used to handle assets. | 
|  java.lang.String | getSearchConfigName(DynamoHttpServletRequest pRequest)Returns search config name. | 
|  java.util.Map<java.lang.String,java.lang.String> | getSearchConfigurationDimensionValues(RepositoryItem pSearchConfig,
                                      boolean pUseDeployedOnlyAssets)Gets a map of dimension service name to dimension value for a given search configuration. | 
|  SearchConfigurationPropertyManager | getSearchConfigurationPropertyManager()Returns SearchConfigurationPropertyMananger that provides getters and setters for refinement repository items | 
|  SearchDimensionManagerService | getSearchDimensionManagerService()Returns SearchDimensionManagerService that is used to obtain references to the dimension services. | 
|  boolean | isSearchDimensionTreeContainsService(java.lang.String pDimensionServiceName)Return true if Search Dimension Tree contains Dimension Service, otherwise return false | 
| protected  void | populateMapForDimensionNode(java.util.Map<java.lang.String,java.lang.String> pMap,
                            RepositoryItem pNode)Recursive method to traverse back up the tree collection dimension service to values. | 
|  void | setApplication(java.lang.String pApplication)Sets new application name. | 
|  void | setRefinementRepository(Repository pRefinementRepository)Sets refinement repository. | 
|  void | setSearchAssetTools(atg.repository.search.testing.SearchAssetTools pSearchAssetTools)Sets new SearchAssetTools. | 
|  void | setSearchConfigurationPropertyManager(SearchConfigurationPropertyManager pSearchConfigurationPropertyManager)Sets SearchConfigurationPropertyManager. | 
|  void | setSearchDimensionManagerService(SearchDimensionManagerService pSearchDimensionManagerService)Sets new SearchDimensionManagerService. | 
|  java.util.List<VisitedSearchDimensionNode> | traverseSearchDimensionTree(RepositoryItem pProfile,
                            java.util.HashMap<java.lang.String,java.lang.String> pDimensionValueMap,
                            boolean pForceDeployedAssetsOnly)Method to traverse down the dimension tree to try and find a matching search config based on the given profile and dimension values. | 
| 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 final java.lang.String CLASS_VERSION
public static final java.lang.String APPLICATION_PROP
| Constructor Detail | 
|---|
public SearchConfigNameService()
| Method Detail | 
|---|
public java.lang.String getApplication()
public void setApplication(java.lang.String pApplication)
pApplication - Application namepublic Repository getRefinementRepository()
public void setRefinementRepository(Repository pRefinementRepository)
pRefinementRepository - Repositorypublic SearchConfigurationPropertyManager getSearchConfigurationPropertyManager()
public void setSearchConfigurationPropertyManager(SearchConfigurationPropertyManager pSearchConfigurationPropertyManager)
pSearchConfigurationPropertyManager - new SearchConfigurationPropertyManagerpublic SearchDimensionManagerService getSearchDimensionManagerService()
public void setSearchDimensionManagerService(SearchDimensionManagerService pSearchDimensionManagerService)
pSearchDimensionManagerService - SearchDimensionManagerServicepublic atg.repository.search.testing.SearchAssetTools getSearchAssetTools()
public void setSearchAssetTools(atg.repository.search.testing.SearchAssetTools pSearchAssetTools)
pSearchAssetTools - SearchAssetToolspublic java.lang.String getSearchConfigName(DynamoHttpServletRequest pRequest)
pRequest - current DynamoHttpServletRequest
public java.util.Map<java.lang.String,java.lang.String> getSearchConfigurationDimensionValues(RepositoryItem pSearchConfig,
                                                                                              boolean pUseDeployedOnlyAssets)
pSearchConfig - RepositoryItem search configpUseDeployedOnlyAssets - true if only deployed assets should be used
public java.util.List<VisitedSearchDimensionNode> traverseSearchDimensionTree(RepositoryItem pProfile,
                                                                              java.util.HashMap<java.lang.String,java.lang.String> pDimensionValueMap,
                                                                              boolean pForceDeployedAssetsOnly)
pProfile - RepositoryItem profile to usepDimensionValueMap - HashMap of dimension service name to value to usepForceDeployedAssetsOnly - true to only use deployed assets
public boolean isSearchDimensionTreeContainsService(java.lang.String pDimensionServiceName)
pDimensionServiceName - Dimension Service Name
protected void populateMapForDimensionNode(java.util.Map<java.lang.String,java.lang.String> pMap,
                                           RepositoryItem pNode)
pMap - Map of service name to value to populatepNode - Current dimensionNode RepositoryItemprotected RepositoryItem getRootTreeNode()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||