public class PriceRangeNavigationStateProcessor
extends java.lang.Object
implements atg.endeca.assembler.navigation.NavigationStateProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string.
|
Constructor and Description |
---|
PriceRangeNavigationStateProcessor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRangeFilterPropertyName()
The range filter's property name to add dimension for.
|
java.lang.String |
getUserSegment()
Returns the user segment to set on the user state and used within Experience Manager to
control routing the user to the brand landing page instead of the search results page.
|
com.endeca.infront.content.UserState |
getUserState()
Returns the userState object used to hold the user segment for use within Experience Manager to
control routing the user to the brand landing page instead of the search results page.
|
boolean |
isRangeFilterApplied(com.endeca.infront.navigation.NavigationState pNavigationState)
Checks whether price range filter presents in the navigation state.
|
com.endeca.infront.navigation.NavigationState |
process(com.endeca.infront.navigation.NavigationState pNavigationState)
Add the NoPriceRange user segment.
|
void |
setRangeFilterPropertyName(java.lang.String pRangeFilterPropertyName)
Sets the range filter's property name to add dimension for.
|
void |
setUserSegment(java.lang.String pUserSegment)
Sets the user segment to set on the user state and used within Experience Manager to
control routing the user to the brand landing page instead of the search results page.
|
void |
setUserState(com.endeca.infront.content.UserState pUserState)
The userState object used to hold the user segment for use within Experience Manager to
control routing the user to the brand landing page instead of the search results page.
|
public static final java.lang.String CLASS_VERSION
public java.lang.String getRangeFilterPropertyName()
public void setRangeFilterPropertyName(java.lang.String pRangeFilterPropertyName)
pRangeFilterPropertyName
- - The range filter's property name to add dimension for.public void setUserState(com.endeca.infront.content.UserState pUserState)
pUserState
- - The userState object used to hold the user segment for use within Experience Manager to
control routing the user to the brand landing page instead of the search results page.public com.endeca.infront.content.UserState getUserState()
public void setUserSegment(java.lang.String pUserSegment)
pUserSegment
- - The user segment to set on the user state and used within Experience Manager to
control routing the user to the brand landing page instead of the search results page.public java.lang.String getUserSegment()
public com.endeca.infront.navigation.NavigationState process(com.endeca.infront.navigation.NavigationState pNavigationState)
process
in interface atg.endeca.assembler.navigation.NavigationStateProcessor
public boolean isRangeFilterApplied(com.endeca.infront.navigation.NavigationState pNavigationState)
pNavigationState
- - The NavigationState object that holds the current search/range filters.true
If price range filter presents in the navigation state.