public class BudgetAdjustmentAccountingLineTotalsUnchangedValidation extends AccountingLineGroupTotalsUnchangedValidation
| 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, setAccountingDocumentForValidationsetQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiespublic BudgetAdjustmentAccountingLineTotalsUnchangedValidation()
public boolean validate(AttributedDocumentEvent event)
validate in interface Validationvalidate in class AccountingLineGroupTotalsUnchangedValidationValidation.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–2015 The Kuali Foundation. All rights reserved.