public class CashReceiptCashTotalsValidation extends GenericValidation
Constructor and Description |
---|
CashReceiptCashTotalsValidation() |
Modifier and Type | Method and Description |
---|---|
CashReceiptDocument |
getCashReceiptDocumentForValidation()
Gets the cashReceiptDocumentForValidation attribute.
|
CashReceiptService |
getCashReceiptService()
Gets the cashReceiptService attribute.
|
void |
setCashReceiptDocumentForValidation(CashReceiptDocument cashReceiptDocumentForValidation)
Sets the cashReceiptDocumentForValidation attribute value.
|
void |
setCashReceiptService(CashReceiptService cashReceiptService)
Sets the cashReceiptService attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Uses the CashReceiptService.areCashTotalsInvalid method to check the cash totals.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public CashReceiptCashTotalsValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
public CashReceiptDocument getCashReceiptDocumentForValidation()
public void setCashReceiptDocumentForValidation(CashReceiptDocument cashReceiptDocumentForValidation)
cashReceiptDocumentForValidation
- The cashReceiptDocumentForValidation to set.public CashReceiptService getCashReceiptService()
public void setCashReceiptService(CashReceiptService cashReceiptService)
cashReceiptService
- The cashReceiptService to set.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.