|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.projects.store.assembler.cartridge.StoreCartridgeTools
public class StoreCartridgeTools
This is the helper class containing reusable methods for obtaining user's navigation information.
Field Summary | |
---|---|
protected static java.lang.String |
CLASS_VERSION
Class version string. |
Constructor Summary | |
---|---|
StoreCartridgeTools()
|
Method Summary | |
---|---|
CatalogNavigationService |
getCatalogNavigation()
Returns the component used to track users catalog navigation. |
java.lang.String |
getCategoryNavigationUserSegment()
Returns the user segment name used to determine whether the user is on the category page. |
java.lang.String |
getCurrentCategoryId()
Returns the category ID user is currently viewing. |
com.endeca.infront.navigation.UserState |
getUserState()
Returns the UserState object holding user segments. |
boolean |
isUserOnCategoryPage()
Determines whether the user is currently on the category page. |
void |
setCatalogNavigation(CatalogNavigationService pCatalogNavigation)
Sets the component used to track users catalog navigation. |
void |
setCategoryNavigationUserSegment(java.lang.String pCategoryNavigationUserSegment)
Sets user segment name used to determine whether the user is on the category page. |
void |
setUserState(com.endeca.infront.navigation.UserState pUserState)
Sets the UserState object holding user segments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public StoreCartridgeTools()
Method Detail |
---|
public void setCategoryNavigationUserSegment(java.lang.String pCategoryNavigationUserSegment)
pCategoryNavigationUserSegment
- The user segment name used to determine whether the user is on the category page.public java.lang.String getCategoryNavigationUserSegment()
public void setUserState(com.endeca.infront.navigation.UserState pUserState)
pUserState
- The UserState object holding user segments.public com.endeca.infront.navigation.UserState getUserState()
public void setCatalogNavigation(CatalogNavigationService pCatalogNavigation)
pCatalogNavigation
- The component used to track users catalog navigation.public CatalogNavigationService getCatalogNavigation()
public java.lang.String getCurrentCategoryId()
public boolean isUserOnCategoryPage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |