org.kuali.kfs.module.ar.document.validation.impl
Class CustomerCreditMemoDocumentPreRules

java.lang.Object
  extended by org.kuali.rice.kns.rules.PromptBeforeValidationBase
      extended by org.kuali.kfs.module.ar.document.validation.impl.CustomerCreditMemoDocumentPreRules
All Implemented Interfaces:
org.kuali.rice.kns.rule.PromptBeforeValidation

public class CustomerCreditMemoDocumentPreRules
extends org.kuali.rice.kns.rules.PromptBeforeValidationBase


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
CustomerCreditMemoDocumentPreRules()
           
 
Method Summary
protected  boolean conditionallyAskQuestion(org.kuali.rice.kns.document.Document document)
          This method checks if there is at least one discount applied to the invoice and generates yes/no question
 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

CustomerCreditMemoDocumentPreRules

public CustomerCreditMemoDocumentPreRules()
Method Detail

doPrompts

public boolean doPrompts(org.kuali.rice.kns.document.Document document)
Specified by:
doPrompts in class org.kuali.rice.kns.rules.PromptBeforeValidationBase
See Also:
org.kuali.rice.kns.rules.PromptBeforeValidationBase#doRules(org.kuali.rice.kns.document.Document)

conditionallyAskQuestion

protected boolean conditionallyAskQuestion(org.kuali.rice.kns.document.Document document)
This method checks if there is at least one discount applied to the invoice and generates yes/no question

Parameters:
document - the maintenance document
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.