public class UpdateAccountingLineEvent extends AttributedDocumentEventBase implements AccountingLineEvent
Constructor and Description |
---|
UpdateAccountingLineEvent(String errorPathPrefix,
org.kuali.rice.krad.document.Document document,
AccountingLine originalAccountingLine,
AccountingLine updatedAccountingLine)
Constructs an UpdateAccountingLineEvent with the given errorPathPrefix, document, and accountingLine.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanErrorMessages()
Logic to replace generic amount error messages, especially those where extraordinarily large amounts caused format errors
|
AccountingLine |
getAccountingLine() |
AccountingLine |
getOriginalAccountingLine() |
AccountingLine |
getUpdatedAccountingLine() |
boolean |
invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule rule) |
getAttribute, getIterationSubject, getRuleInterfaceClass, setAttribute, setIterationSubject
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString, validate
public UpdateAccountingLineEvent(String errorPathPrefix, org.kuali.rice.krad.document.Document document, AccountingLine originalAccountingLine, AccountingLine updatedAccountingLine)
errorPathPrefix
- document
- accountingLine
- newAccountingLine
- public AccountingLine getOriginalAccountingLine()
org.kuali.rice.krad.rule.event.AccountingLineEvent#getAccountingLine()
public AccountingLine getUpdatedAccountingLine()
public boolean invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule rule)
invokeRuleMethod
in interface org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent
invokeRuleMethod
in class AttributedDocumentEventBase
org.kuali.ole.sys.document.validation.event.AttributedDocumentEventBase#invokeRuleMethod(org.kuali.rice.krad.rule.BusinessRule)
public AccountingLine getAccountingLine()
getAccountingLine
in interface AccountingLineEvent
public void cleanErrorMessages()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.