public class OleDisbursementAccountPercentEvent extends AttributedDocumentEventBase implements org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent
Constructor and Description |
---|
OleDisbursementAccountPercentEvent(String errorPathPrefix,
org.kuali.rice.krad.document.Document document,
List<OleDisbursementVoucherAccountingLine> accountingDocument)
Constructs an AddAccountingLineEvent 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
|
List<OleDisbursementVoucherAccountingLine> |
getAccountingDocument() |
boolean |
invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule rule)
Overridden to call parent and then clean up the error messages.
|
getAttribute, getIterationSubject, getRuleInterfaceClass, setAttribute, setIterationSubject
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString, validate
public OleDisbursementAccountPercentEvent(String errorPathPrefix, org.kuali.rice.krad.document.Document document, List<OleDisbursementVoucherAccountingLine> accountingDocument)
errorPathPrefix
- document
- accountingLine
- public List<OleDisbursementVoucherAccountingLine> getAccountingDocument()
org.kuali.rice.kns.rule.event.AccountingLineEvent#getAccountingLine()
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.kns.rule.BusinessRule)
public void cleanErrorMessages()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.