|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NavigationFlow
Navigation Flow interface. Defines the methods for a structure that manages the navigation flow of a user within a web application. A navigation flow is compound internally of instances of NavigationStage and it's subinterface NavigationStageGroup.
Instances of this type will be stored at session level, so they MUST be serializable.
NavigationStage,
NavigationStageGroup| Method Summary | |
|---|---|
void |
clear(RequestContext context)
Clear the navigation structure. |
boolean |
clearUpTo(RequestContext context,
NavigationStage stage)
Clear up to the path given by the provided stage, that is - all the following stages to the stage in the flow corresponding to the argument stage will be deleted. |
NavigationStage |
getCancelStage()
Get the cancel stage. |
NavigationStage |
getCurrentStage()
Get the current stage. |
NavigationStage |
getPreviousStage()
Get the previous stage. |
NavigationStage |
getRootStage()
Get the root stage. |
java.util.Collection<NavigationStage> |
getStages()
Get an ordered collection with all the stages in the current flow. |
void |
loadStage(RequestContext context,
NavigationStage stage)
Load a stage or stage group. |
void |
unloadStage(RequestContext context,
NavigationStage stage)
Unload ( delete from the flow ) a stage or stage group. |
| Method Detail |
|---|
void loadStage(RequestContext context,
NavigationStage stage)
The request context reference is needed in this and other methods. to perform attribute management when unloading stages.
If the RequestContext reference is null, no attribute management will be performed.
stage - A not-null NavigationStage instanceNavigationStage.performMatch(NavigationStage)
void unloadStage(RequestContext context,
NavigationStage stage)
The request context reference is needed in this and other methods. to perform attribute management when unloading stages.
If the RequestContext reference is null, no attribute management will be performed.
stage - A not-null NavigationStageImpl instanceNavigationStage.performMatch(NavigationStage)
boolean clearUpTo(RequestContext context,
NavigationStage stage)
The request context reference is needed in this and other methods. to perform attribute management when unloading stages.
If the RequestContext reference is null, no attribute management will be performed.
NavigationStage.performMatch(NavigationStage)void clear(RequestContext context)
The request context reference is needed in this and other methods. to perform attribute management when unloading stages.
If the RequestContext reference is null, no attribute management will be performed.
NavigationStage getCurrentStage()
NavigationStage getPreviousStage()
NavigationStage getRootStage()
NavigationStage getCancelStage()
java.util.Collection<NavigationStage> getStages()
BreadcrumbTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||