public class DisbursementVoucherDocumentFieldValidation extends GenericValidation
Constructor and Description |
---|
DisbursementVoucherDocumentFieldValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute.
|
protected boolean |
hasNoNotes(DisbursementVoucherDocument document)
Return true if disbursement voucher does not have any notes
|
void |
setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public DisbursementVoucherDocumentFieldValidation()
public boolean validate(AttributedDocumentEvent event)
Validation
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
protected boolean hasNoNotes(DisbursementVoucherDocument document)
document
- submitted disbursement voucher documentpublic void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation
- The accountingDocumentForValidation to set.public AccountingDocument getAccountingDocumentForValidation()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.