|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.fp.document.validation.impl.DisbursementVoucherNonEmployeeTravelValidation
public class DisbursementVoucherNonEmployeeTravelValidation
Constructor Summary | |
---|---|
DisbursementVoucherNonEmployeeTravelValidation()
|
Method Summary | |
---|---|
AccountingDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute. |
org.kuali.rice.kns.service.DictionaryValidationService |
getDictionaryValidationService()
Gets the dictionaryValidationService attribute. |
DisbursementVoucherTaxService |
getDisbursementVoucherTaxService()
Gets the disbursementVoucherTaxService attribute. |
DisbursementVoucherTravelService |
getDisbursementVoucherTravelService()
Gets the disbursementVoucherTravelService attribute. |
protected boolean |
hasIncomeClassCode(DisbursementVoucherDocument document)
Determines if the given document has an income for tax |
protected boolean |
isGrossUp(DisbursementVoucherDocument document)
Determines if the tax on the document was gross up |
void |
setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value. |
void |
setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
Sets the dictionaryValidationService attribute value. |
void |
setDisbursementVoucherTaxService(DisbursementVoucherTaxService disbursementVoucherTaxService)
Sets the disbursementVoucherTaxService attribute value. |
void |
setDisbursementVoucherTravelService(DisbursementVoucherTravelService disbursementVoucherTravelService)
Sets the disbursementVoucherTravelService attribute value. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters |
protected boolean |
validateTravelAmount(DisbursementVoucherDocument document)
Determines if tax should be taken into consideration when checking the total travel amount, and validates that it matches the paid amount |
Methods inherited from class org.kuali.kfs.sys.document.validation.GenericValidation |
---|
setQuitOnFail, shouldQuitOnFail, stageValidation |
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation |
---|
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisbursementVoucherNonEmployeeTravelValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
Validation
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
protected boolean hasIncomeClassCode(DisbursementVoucherDocument document)
document
- document to check
protected boolean isGrossUp(DisbursementVoucherDocument document)
document
- the document to check
protected boolean validateTravelAmount(DisbursementVoucherDocument document)
document
- the document to validate the non-employee total travel amount of
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation
- The accountingDocumentForValidation to set.public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService
- The parameterService to set.public AccountingDocument getAccountingDocumentForValidation()
public DisbursementVoucherTaxService getDisbursementVoucherTaxService()
public void setDisbursementVoucherTaxService(DisbursementVoucherTaxService disbursementVoucherTaxService)
disbursementVoucherTaxService
- The disbursementVoucherTaxService to set.public DisbursementVoucherTravelService getDisbursementVoucherTravelService()
public void setDisbursementVoucherTravelService(DisbursementVoucherTravelService disbursementVoucherTravelService)
disbursementVoucherTravelService
- The disbursementVoucherTravelService to set.public org.kuali.rice.kns.service.DictionaryValidationService getDictionaryValidationService()
public void setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
dictionaryValidationService
- The dictionaryValidationService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |