Package formflow.library.config
Class ActionManager
java.lang.Object
formflow.library.config.ActionManager
Manages methods for handling actions. Action Manager methods allow for application logic to be run at specific points during
GET and POST processing.
-
Constructor Summary
ConstructorsConstructorDescriptionActionManager(List<Action> actionsList) Class Constructor generating a hashmap of action names and their corresponding action objects. -
Method Summary
Modifier and TypeMethodDescriptionGet an action by name, usually to run the action.voidhandleAfterSaveAction(ScreenNavigationConfiguration currentScreen, Submission submission) handleAfterSaveAction()invokes a method after a submission has been saved in the ScreenController.voidhandleAfterSaveAction(ScreenNavigationConfiguration currentScreen, Submission submission, String uuid) ThishandleAfterSaveAction()invokes a method after a subflow submission has been saved.voidhandleBeforeDisplayAction(ScreenNavigationConfiguration currentScreen, Submission submission) handleBeforeDisplayAction()invokes a method in the ScreenController.voidhandleBeforeDisplayAction(ScreenNavigationConfiguration currentScreen, Submission submission, String uuid) handleBeforeDisplayAction()invokes a method in the ScreenController.voidhandleBeforeSaveAction(ScreenNavigationConfiguration currentScreen, Submission submission) handleBeforeSaveAction()invokes a method in the ScreenController.voidhandleBeforeSaveAction(ScreenNavigationConfiguration currentScreen, Submission submission, String uuid) handleBeforeSaveAction()invokes a method in the ScreenController.handleCrossFieldValidationAction(ScreenNavigationConfiguration currentScreen, FormSubmission formSubmission, Submission submission) handleCrossFieldValidationAction()invokes a method in the ScreenController.voidhandleOnPostAction(ScreenNavigationConfiguration currentScreen, FormSubmission formSubmission, Submission submission) handleOnPostAction()invokes a method in the ScreenController.voidhandleOnPostAction(ScreenNavigationConfiguration currentScreen, FormSubmission formSubmission, Submission submission, String uuid) handleOnPostAction()invokes a method in the ScreenController.
-
Constructor Details
-
ActionManager
Class Constructor generating a hashmap of action names and their corresponding action objects.- Parameters:
actionsList- - a list of action objects.
-
-
Method Details
-
getAction
Get an action by name, usually to run the action.- Parameters:
name- The name of the action- Returns:
- The action from the action manager
-