@Deprecated public abstract class PromptBeforeValidationBase extends Object implements PromptBeforeValidation
| Modifier and Type | Class and Description |
|---|---|
class |
PromptBeforeValidationBase.ContextSession
Deprecated.
This is a description of what this class does - wliang don't forget to fill this in.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
buttonClicked
Deprecated.
|
protected PromptBeforeValidationEvent |
event
Deprecated.
|
protected KualiForm |
form
Deprecated.
|
protected static org.apache.log4j.Logger |
LOG
Deprecated.
|
protected String |
question
Deprecated.
|
| Constructor and Description |
|---|
PromptBeforeValidationBase()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abortRulesCheck()
Deprecated.
This bounces the user back to the document as if they had never tried to routed it.
|
boolean |
askOrAnalyzeYesNoQuestion(String id,
String text)
Deprecated.
This method poses a Y/N question to the user.
|
abstract boolean |
doPrompts(Document document)
Deprecated.
Implementations will override this method to do perform the actual prompting and/or logic
They are able to utilize the following methods:
abortRulesCheck()
askOrAnalyzeYesNoQuestion(String, String)
#hasAsked(String) |
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
|
protected static org.apache.log4j.Logger LOG
protected String buttonClicked
protected PromptBeforeValidationEvent event
public PromptBeforeValidationBase()
public abstract boolean doPrompts(Document document)
abortRulesCheck()
askOrAnalyzeYesNoQuestion(String, String)
#hasAsked(String)document - public boolean processPrompts(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, PromptBeforeValidationEvent event)
PromptBeforeValidationprocessPrompts in interface PromptBeforeValidationevent - stores various information necessary to render the question promptpublic void abortRulesCheck()
public boolean askOrAnalyzeYesNoQuestion(String id, String text) throws org.kuali.rice.kns.rules.PromptBeforeValidationBase.IsAskingException
id - an ID for the questiontext - the text of the question, to be displayed on the screenIsAskingException - if the user needs to be prompted the questionorg.kuali.rice.kns.rules.PromptBeforeValidationBase.IsAskingExceptionCopyright © 2005–2014 The Kuali Foundation. All rights reserved.