org.kuali.kfs.fp.document.validation.impl
Class NonCheckDisbursementDocumentPreRules
java.lang.Object
org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.kfs.fp.document.validation.impl.NonCheckDisbursementDocumentPreRules
- All Implemented Interfaces:
- org.kuali.rice.kns.rule.PromptBeforeValidation
public class NonCheckDisbursementDocumentPreRules
- extends org.kuali.rice.kns.rules.PromptBeforeValidationBase
Performs warning checks and prompts for NonCheckDisbursement.
| Nested classes/interfaces inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
org.kuali.rice.kns.rules.PromptBeforeValidationBase.ContextSession |
| Fields inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
buttonClicked, event, form, LOG, question |
|
Method Summary |
protected boolean |
checkBankCodeActive(NonCheckDisbursementDocument nonCheckDocument)
If bank specification is enabled, prompts user to use the continuation bank code when the
given bank code is inactive |
boolean |
doPrompts(org.kuali.rice.kns.document.Document document)
|
| Methods inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
abortRulesCheck, askOrAnalyzeYesNoQuestion, processPrompts |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonCheckDisbursementDocumentPreRules
public NonCheckDisbursementDocumentPreRules()
doPrompts
public boolean doPrompts(org.kuali.rice.kns.document.Document document)
- Specified by:
doPrompts in class org.kuali.rice.kns.rules.PromptBeforeValidationBase
checkBankCodeActive
protected boolean checkBankCodeActive(NonCheckDisbursementDocument nonCheckDocument)
- If bank specification is enabled, prompts user to use the continuation bank code when the
given bank code is inactive
- Parameters:
nonCheckDocument - document containing bank code
- Returns:
- true
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.