Package org.kuali.rice.kns.rule
Interface PromptBeforeValidation
- All Superinterfaces:
BusinessRule
- All Known Implementing Classes:
PromptBeforeValidationBase
Deprecated.
Only used in KNS classes, use KRAD.
An interface for a class that provides the ability to prompt the user with a question prior to running a document action.
An implementation class of this interface may be specified in the document data dictionary file.
By default, unless KualiDocumentActionBase is overridden, the sole method will be invoked upon using the "approve", "blanketApprove",
"performRouteReport", and "route" methodToCalls.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanprocessPrompts(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, PromptBeforeValidationEvent event) Deprecated.Callback method from Maintenance action that allows checks to be done and response redirected via the PreRulesCheckEvent
-
Method Details
-
processPrompts
boolean processPrompts(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, PromptBeforeValidationEvent event) Deprecated.Callback method from Maintenance action that allows checks to be done and response redirected via the PreRulesCheckEvent- Parameters:
form-request-event- stores various information necessary to render the question prompt- Returns:
- boolean indicating whether the validation (and if validation successful, the action) should continue. If false, the values within the event parameter will determine how the struts action handler should proceed
-