com.acsinet_solutions.cetia4.controller.nav
Interface NavigationStageGroup

All Superinterfaces:
NavigationStage
All Known Implementing Classes:
NavigationStageGroupImpl

public interface NavigationStageGroup
extends NavigationStage

Interface for navigation stage groups. A stage within the group is always selected. The getCurrentStage(), getLink() and getAttributeInfo() methods of NavigationStage will operate on the currently selected stage within a group.

Author:
Santiago Arriaga - santiago.arriaga@acsinet-solutions.com

Method Summary
 NavigationStage getPreviousStage()
          Return the previous navigation stage if any.
 int getSelectedIndex()
          Get the selected index of the current group.
 java.util.List<NavigationStage> getStages()
          Return a read-only list of loaded stages.
 boolean performMatch(NavigationStage other)
          Check whether the current entry corresponds to another.
 
Methods inherited from interface com.acsinet_solutions.cetia4.controller.nav.NavigationStage
getAttributeInfo, getCurrentStage, getLink, getName
 

Method Detail

performMatch

boolean performMatch(NavigationStage other)
Check whether the current entry corresponds to another. This is used in navigation flows to find NavigationStages that correspond with each others.

Calling this method will also select the current stage within a group.

Specified by:
performMatch in interface NavigationStage

getPreviousStage

NavigationStage getPreviousStage()
Return the previous navigation stage if any. If the current index is 0, this method will return null.


getSelectedIndex

int getSelectedIndex()
Get the selected index of the current group.


getStages

java.util.List<NavigationStage> getStages()
Return a read-only list of loaded stages.