org.kuali.kfs.sys.document.validation.event
Class AddAccountingLineEvent

java.lang.Object
  extended by org.kuali.rice.kns.rule.event.KualiDocumentEventBase
      extended by org.kuali.kfs.sys.document.validation.event.AttributedDocumentEventBase
          extended by org.kuali.kfs.sys.document.validation.event.AddAccountingLineEvent
All Implemented Interfaces:
AccountingLineEvent, AttributedDocumentEvent, org.kuali.rice.kns.rule.event.KualiDocumentEvent

public class AddAccountingLineEvent
extends AttributedDocumentEventBase
implements AccountingLineEvent


Field Summary
 
Fields inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
document
 
Constructor Summary
AddAccountingLineEvent(String errorPathPrefix, org.kuali.rice.kns.document.Document document, AccountingLine accountingLine)
          Constructs an AddAccountingLineEvent with the given errorPathPrefix, document, and accountingLine.
 
Method Summary
 void cleanErrorMessages()
          Logic to replace generic amount error messages, especially those where extraordinarily large amounts caused format errors
 AccountingLine getAccountingLine()
           
 boolean invokeRuleMethod(org.kuali.rice.kns.rule.BusinessRule rule)
          Overridden to call parent and then clean up the error messages.
 
Methods inherited from class org.kuali.kfs.sys.document.validation.event.AttributedDocumentEventBase
getAttribute, getIterationSubject, getRuleInterfaceClass, setAttribute, setIterationSubject
 
Methods inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.rule.event.KualiDocumentEvent
generateEvents, getDescription, getDocument, getErrorPathPrefix, getName, getRuleInterfaceClass, validate
 

Constructor Detail

AddAccountingLineEvent

public AddAccountingLineEvent(String errorPathPrefix,
                              org.kuali.rice.kns.document.Document document,
                              AccountingLine accountingLine)
Constructs an AddAccountingLineEvent with the given errorPathPrefix, document, and accountingLine.

Parameters:
errorPathPrefix -
document -
accountingLine -
Method Detail

getAccountingLine

public AccountingLine getAccountingLine()
Specified by:
getAccountingLine in interface AccountingLineEvent
Returns:
accountingLine associated with this event
See Also:
org.kuali.rice.kns.rule.event.AccountingLineEvent#getAccountingLine()

invokeRuleMethod

public boolean invokeRuleMethod(org.kuali.rice.kns.rule.BusinessRule rule)
Overridden to call parent and then clean up the error messages.

Specified by:
invokeRuleMethod in interface org.kuali.rice.kns.rule.event.KualiDocumentEvent
Overrides:
invokeRuleMethod in class AttributedDocumentEventBase
See Also:
AttributedDocumentEventBase.invokeRuleMethod(org.kuali.rice.kns.rule.BusinessRule)

cleanErrorMessages

public void cleanErrorMessages()
Logic to replace generic amount error messages, especially those where extraordinarily large amounts caused format errors



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