Interface PromptBeforeValidation

All Superinterfaces:
org.kuali.rice.krad.rules.rule.BusinessRule
All Known Implementing Classes:
PromptBeforeValidationBase

@Deprecated public interface PromptBeforeValidation extends org.kuali.rice.krad.rules.rule.BusinessRule
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 Type
    Method
    Description
    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
  • 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