Allow the subclass to perform all the necessary initialization including constructing the menu list.
Syntax
abstract SmappState
init
(
SmappStateProcessingAction
action
) throws DBException
Parameters
-
action –
Processing action object, is used as a mechanism to communicate to the processing engine the desired processing action
Returns
follow-up transition, if necessary. In the normal circumstances, null will be returned. Otherwise, the processing will be interrupted by this follow-up transition.
Exceptions
-
DBException –
Exception when accessing or saving the session variable from database
Usage
Typically initialization includes: getting the menu list from the datasource, such as web service.
follow-up transition, if necessary. In the normal circumstances, null will be returned. Otherwise, the processing will be interrupted by this follow-up transition.