|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.controller.nav.SimpleNavigationFlow
public final class SimpleNavigationFlow
Implementation of a simple navigation flow.
Derechos Reservados
| Constructor Summary | |
|---|---|
SimpleNavigationFlow(NavigationStage stage)
Public constructor. |
|
| Method Summary | |
|---|---|
void |
clear(RequestContext context)
Clear the navigation structure. |
boolean |
clearUpTo(RequestContext context,
NavigationStage clearStage)
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 newStage)
Load a stage or stage group. |
java.lang.String |
toString()
|
void |
unloadStage(RequestContext context,
NavigationStage stage)
Unload ( delete from the flow ) a stage or stage group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleNavigationFlow(NavigationStage stage)
struct - A not-null valid NavigationStageImpl representing the default
navigation stage.| Method Detail |
|---|
public final void loadStage(RequestContext context,
NavigationStage newStage)
NavigationFlowThe 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.
loadStage in interface NavigationFlownewStage - A not-null NavigationStage instanceNavigationStage.performMatch(NavigationStage)
public final boolean clearUpTo(RequestContext context,
NavigationStage clearStage)
NavigationFlowThe 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.
clearUpTo in interface NavigationFlowNavigationStage.performMatch(NavigationStage)
public final void unloadStage(RequestContext context,
NavigationStage stage)
NavigationFlowThe 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.
unloadStage in interface NavigationFlowstage - A not-null NavigationStageImpl instanceNavigationStage.performMatch(NavigationStage)public final NavigationStage getCurrentStage()
NavigationFlow
getCurrentStage in interface NavigationFlowpublic final NavigationStage getPreviousStage()
NavigationFlow
getPreviousStage in interface NavigationFlowpublic final NavigationStage getRootStage()
NavigationFlow
getRootStage in interface NavigationFlowpublic final NavigationStage getCancelStage()
NavigationFlow
getCancelStage in interface NavigationFlowpublic final void clear(RequestContext context)
NavigationFlowThe 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.
clear in interface NavigationFlowpublic final java.util.Collection<NavigationStage> getStages()
NavigationFlow
getStages in interface NavigationFlowBreadcrumbTagpublic final java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||