|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object DimensionSearchResultsHandler atg.commerce.endeca.assembler.cartridge.handler.DimensionValueCacheRefreshHandler
public class DimensionValueCacheRefreshHandler
A cartridge handler used to query for every dimension value stored in the MDEX for a particular dimension. The results are then used to build a cache of ATG repository ids to dimension values (and other optional information).
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
DimensionValueCacheRefreshHandler()
|
Method Summary | |
---|---|
protected DimensionSearchGroup |
getDimension(DimensionSearchResults pDimensionSearchResults)
Loops through all dimensions for the dimension specified by the dimensionName. |
java.lang.String |
getDimensionName()
|
protected SearchFilter |
getDimensionSearchFilter(NavigationState navigationState)
Gets the SearchFilter used for the dimension search. |
DimensionValueCacheTools |
getDimensionValueCacheTools()
|
NavigationStateBuilder |
getNavigationStateBuilder()
|
java.lang.String |
getRepositoryIdProperty()
|
protected java.lang.String |
parseDimvalId(java.lang.String pNavState)
Dimension values returned don't contain their dimval id so we need to parse it from the nav state. |
DimensionSearchResults |
process(DimensionSearchResultsConfig pConfig)
An override of the DimensionSearchResultsHandlers process method. |
void |
setDimensionName(java.lang.String pDimensionName)
|
void |
setDimensionValueCacheTools(DimensionValueCacheTools pDimensionValueCacheTools)
|
void |
setNavigationStateBuilder(NavigationStateBuilder pNavigationStateBuilder)
|
void |
setRepositoryIdProperty(java.lang.String pRepositoryIdProperty)
|
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 DimensionValueCacheRefreshHandler()
Method Detail |
---|
public java.lang.String getDimensionName()
public void setDimensionName(java.lang.String pDimensionName)
mDimensionName
- the mDimensionName to setpublic java.lang.String getRepositoryIdProperty()
public void setRepositoryIdProperty(java.lang.String pRepositoryIdProperty)
mRepositoryIdProperty
- the mRepositoryIdProperty to
set.public DimensionValueCacheTools getDimensionValueCacheTools()
public void setDimensionValueCacheTools(DimensionValueCacheTools pDimensionValueCacheTools)
mDimensionValueCacheTools
- the mDimensionValueCacheTools to set.public NavigationStateBuilder getNavigationStateBuilder()
public void setNavigationStateBuilder(NavigationStateBuilder pNavigationStateBuilder)
pNavigationStateBuilder
- Set the navigationStateBuilderpublic DimensionSearchResults process(DimensionSearchResultsConfig pConfig) throws CartridgeHandlerException
CartridgeHandlerException
protected java.lang.String parseDimvalId(java.lang.String pNavState)
pNavState
-
protected SearchFilter getDimensionSearchFilter(NavigationState navigationState)
navigationState
- the global NavigationState objectprotected DimensionSearchGroup getDimension(DimensionSearchResults pDimensionSearchResults)
pDimensionSearchResults
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |