|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.infront.cartridge.model.Action com.endeca.infront.cartridge.model.NavigationAction
public class NavigationAction
An Action which represents a change to the current navigation state (e.g., selecting a refinement, performing a search, or paging through results).
Constructor Summary | |
---|---|
NavigationAction()
Default constructor. |
|
NavigationAction(String navigationState)
Constructs a NavigationAction with the give navigation state. |
|
NavigationAction(String navigationState,
String label)
Constructs a NavigationAction with the give navigation state and label. |
|
NavigationAction(String navigationState,
String label,
String siteRootPath,
String contentPath)
Constructs a navigation action with the given navigation state, label, site root path and content path. |
Method Summary | |
---|---|
String |
getNavigationState()
|
void |
setNavigationState(String navigationState)
Sets the navigation state for this Action . |
Methods inherited from class com.endeca.infront.cartridge.model.Action |
---|
getContentPath, getLabel, getSiteRootPath, setContentPath, setLabel, setSiteRootPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NavigationAction()
public NavigationAction(String navigationState)
NavigationAction
with the give navigation state.
navigationState
- the string representing the navigation statepublic NavigationAction(String navigationState, String label)
NavigationAction
with the give navigation state and label.
navigationState
- the string representing the navigation statelabel
- the label with the user-visible textpublic NavigationAction(String navigationState, String label, String siteRootPath, String contentPath)
navigationState
- the string representing the navigation statelabel
- the label with the user-visible textsiteRootPath
- the site root pathcontentPath
- the content pathMethod Detail |
---|
public String getNavigationState()
NavigationState
that corresponds
to this action. A NavigationState
is serialized by calling
its NavigationState#toString()
method.public void setNavigationState(String navigationState)
Action
. Example: "/cameras/_/N-25y6?Ntt=camera", "N=1234", "Ntt=camera"
navigationState
- the string representing the navigation stategetNavigationState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |