org.kuali.kfs.fp.document.validation.impl
Class AdvanceDepositDocumentPreRules
java.lang.Object
org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.kfs.fp.document.validation.impl.AdvanceDepositDocumentPreRules
- All Implemented Interfaces:
- org.kuali.rice.kns.rule.PromptBeforeValidation
public class AdvanceDepositDocumentPreRules
- extends org.kuali.rice.kns.rules.PromptBeforeValidationBase
Performs warning checks and prompts for AdvanceDeposit.
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(AdvanceDepositDocument adDocument)
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 |
AdvanceDepositDocumentPreRules
public AdvanceDepositDocumentPreRules()
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(AdvanceDepositDocument adDocument)
- If bank specification is enabled, prompts user to use the continuation bank code when the given bank code is inactive
- Parameters:
adDocument
- document containing bank code
- Returns:
- true
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.