public class BudgetAdjustmentAccountingLineTotalsUnchangedValidation extends OLEAccountingLineGroupTotalsUnchangedValidation
Constructor and Description |
---|
BudgetAdjustmentAccountingLineTotalsUnchangedValidation() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildTotalChangeErrorMessage(String propertyName,
String sectionTitle,
org.kuali.rice.core.api.util.type.KualiDecimal persistedSourceLineTotal,
org.kuali.rice.core.api.util.type.KualiDecimal currentSourceLineTotal)
Builds the error message for when totals have changed.
|
boolean |
validate(AttributedDocumentEvent event)
Returns true if account line totals remains unchanged from what was entered and what was persisted before; takes into account all adjustment totals
|
buildTotalChangeErrorMessage, getAccountingDocumentForValidation, handleNonExistentDocumentWhenApproving, retrievePersistedDocument, setAccountingDocumentForValidation
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public BudgetAdjustmentAccountingLineTotalsUnchangedValidation()
public boolean validate(AttributedDocumentEvent event)
validate
in interface Validation
validate
in class OLEAccountingLineGroupTotalsUnchangedValidation
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
protected void buildTotalChangeErrorMessage(String propertyName, String sectionTitle, org.kuali.rice.core.api.util.type.KualiDecimal persistedSourceLineTotal, org.kuali.rice.core.api.util.type.KualiDecimal currentSourceLineTotal)
propertyName
- name of propertysectionTitle
- title of sectionpersistedSourceLineTotal
- previously persisted source line totalcurrentSourceLineTotal
- current entered source line totalCopyright © 2004–2014 The Kuali Foundation. All rights reserved.