public class OleRequisitionDocumentPreRules extends RequisitionDocumentPreRules
Constructor and Description |
---|
OleRequisitionDocumentPreRules()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
askForConfirmation(String questionType,
String messageConstant,
StringBuilder accountNumbers)
Prompts user to confirm with a Yes or No to a question being asked.
|
boolean |
doPrompts(org.kuali.rice.krad.document.Document document)
Main hook point to perform rules check.
|
protected String |
prepareQuestionText(String questionType,
String questionText,
StringBuilder accountNumbers)
Creates the actual text of the question, replacing place holders like pay date threshold with an actual constant value.
|
checkCAMSWarningStatus
checkForTaxRecalculation
confirmFixCapitalAssetWarningConditions
public OleRequisitionDocumentPreRules()
public boolean doPrompts(org.kuali.rice.krad.document.Document document)
doPrompts
in class RequisitionDocumentPreRules
org.kuali.rice.kns.rules.PromptBeforeValidationBase#doRules(org.kuali.rice.krad.document.Document)
protected boolean askForConfirmation(String questionType, String messageConstant, StringBuilder accountNumbers)
questionType
- - type of questionmessageConstant
- - key to retrieve messageprotected String prepareQuestionText(String questionType, String questionText, StringBuilder accountNumbers)
questionType
- - type of questionquestionText
- - actual text of question pulled from resource fileCopyright © 2004–2015 The Kuali Foundation. All rights reserved.