org.kuali.kfs.fp.document.validation.impl
Class NonCheckDisbursementDocumentPreRules

java.lang.Object
  extended by org.kuali.rice.kns.rules.PromptBeforeValidationBase
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.rice.kns.rules.PromptBeforeValidationBase.ContextSession
 
Field Summary
 
Fields inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase
buttonClicked, event, form, LOG, question
 
Constructor Summary
NonCheckDisbursementDocumentPreRules()
           
 
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
 

Constructor Detail

NonCheckDisbursementDocumentPreRules

public NonCheckDisbursementDocumentPreRules()
Method Detail

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.