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

java.lang.Object
  extended by org.kuali.rice.kns.rules.PromptBeforeValidationBase
      extended by 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 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
AdvanceDepositDocumentPreRules()
           
 
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
 

Constructor Detail

AdvanceDepositDocumentPreRules

public AdvanceDepositDocumentPreRules()
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(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.