Show TOC

processStateLogic(SmappStateProcessingContext, SmappStateProcessingAction) methodLocate this document in the navigation structure

Delegate method call by the processState(SmappStateProcessingContext, SmappStateProcessingAction).

Syntax
Syntax
protected abstract SmappState processStateLogic (
    SmappStateProcessingContext context,
    SmappStateProcessingAction action
) throws MwizProcessingException, DBException
Parameters
  • action SmappStateProcessingAction is used to communicate back to the processing engine how to proceed.
Exceptions
  • MwizProcessingException Any exceptions that warrant terminating the application
  • DBException Severe database exceptions that warrant terminating the application
Remarks

See processState(SmappStateProcessingContext, SmappStateProcessingAction) for details.

Helper methods are used to provide the follow-up transition, as follows:
  • continueOk()
  • continueFail()
  • continueFail(String)
  • continueDyn(String)
  • continueDyn(Integer)
  • continueDyn(Long)
If the SmappStateProcessingAction is used to communicate back to the processing engine on how to proceed, the return SmappState should be set to null. Otherwise, the returned SmappState (i.e., followUpTransition) will be used by in the processState(SmappStateProcessingContext, SmappStateProcessingAction) using the following: 
       action.continueProcessing(followUpTransition);