|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.projects.store.assembler.navigation.PriceRangeNavigationStateProcessor
public class PriceRangeNavigationStateProcessor
This navigation state processor determines whether price range is applied to the current search request and if not, adds NoPriceRange user segment to the navigation state. The NoPriceRange user segment allows us to configure brand landing page in XM to be displayed only when no other dimensions or price range are selected by the user.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
Constructor Summary | |
---|---|
PriceRangeNavigationStateProcessor()
|
Method Summary | |
---|---|
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.navigation.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. |
void |
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.navigation.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. |
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
Constructor Detail |
---|
public PriceRangeNavigationStateProcessor()
Method Detail |
---|
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.navigation.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.navigation.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 void 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |