Implementing State Logic
If you extend the SmappStatePlugin class, implement state logic in the processStateLogic method. If you extend the AbstractDynamicMenu class, the abstract class implements the state logic.
At runtime, the processing engine calls a state's processState method, which in turn calls processStateLogic. The processState method is implemented by the SmappStatePlugin abstract class.
protected SmappState processStateLogic( SmappStateProcessingContext context, SmappStateProcessingAction action) throws MwizProcessingException, DBException;
- SmappStateProcessingContext – provides access to resources, such as data-access objects for session variables.
- SmappStateProcessingAction – signals to the processing engine that there is to be additional processing.