|
||||||||||
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.AuxiliaryVoucherAccountingPeriodWithinGracePeriodValidation
public class AuxiliaryVoucherAccountingPeriodWithinGracePeriodValidation
Validation for Auxiliary Voucher documents that tests whether the accounting period for the document is within the defined grace period.
Constructor Summary | |
---|---|
AuxiliaryVoucherAccountingPeriodWithinGracePeriodValidation()
|
Method Summary | |
---|---|
AccountingPeriodService |
getAccountingPeriodService()
Gets the accountingPeriodService attribute. |
AuxiliaryVoucherDocument |
getAuxiliaryVoucherDocumentForValidation()
Gets the auxiliaryVoucherDocumentForValidation attribute. |
org.kuali.rice.kns.service.ParameterService |
getParameterService()
Gets the parameterService attribute. |
UniversityDateService |
getUniversityDateService()
Gets the universityDateService attribute. |
void |
setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
Sets the accountingPeriodService attribute value. |
void |
setAuxiliaryVoucherDocumentForValidation(AuxiliaryVoucherDocument accountingDocumentForValidation)
Sets the auxiliaryVoucherDocumentForValidation attribute value. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
void |
setUniversityDateService(UniversityDateService universityDateService)
Sets the universityDateService attribute value. |
boolean |
validate(AttributedDocumentEvent event)
A validation to check if the given accounting period is within the "grace period" of the AV doc, defined in JIRA KULRNE-4634. |
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 AuxiliaryVoucherAccountingPeriodWithinGracePeriodValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
public AuxiliaryVoucherDocument getAuxiliaryVoucherDocumentForValidation()
public void setAuxiliaryVoucherDocumentForValidation(AuxiliaryVoucherDocument accountingDocumentForValidation)
auxiliaryVoucherDocumentForValidation
- The auxiliaryVoucherDocumentForValidation to set.public AccountingPeriodService getAccountingPeriodService()
public void setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
accountingPeriodService
- The accountingPeriodService to set.public UniversityDateService getUniversityDateService()
public void setUniversityDateService(UniversityDateService universityDateService)
universityDateService
- The universityDateService to set.public org.kuali.rice.kns.service.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService
- The parameterService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |