public class DisbursementVoucherPrePaidTravelValidation extends GenericValidation
Constructor and Description |
---|
DisbursementVoucherPrePaidTravelValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute.
|
protected boolean |
isTravelPrepaidPaymentReason(DisbursementVoucherDocument disbursementVoucherDocument)
Returns whether the document's payment reason is for prepaid travel
|
void |
setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the parameterService attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public DisbursementVoucherPrePaidTravelValidation()
public boolean validate(AttributedDocumentEvent event)
Validation
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
protected boolean isTravelPrepaidPaymentReason(DisbursementVoucherDocument disbursementVoucherDocument)
disbursementVoucherDocument
- public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation
- The accountingDocumentForValidation to set.public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService
- The parameterService to set.public AccountingDocument getAccountingDocumentForValidation()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.