public class AuxiliaryVoucherAccountingPeriodWithinGracePeriodValidation extends GenericValidation
| Constructor and Description |
|---|
AuxiliaryVoucherAccountingPeriodWithinGracePeriodValidation() |
| Modifier and Type | Method and Description |
|---|---|
AccountingPeriodService |
getAccountingPeriodService()
Gets the accountingPeriodService attribute.
|
AuxiliaryVoucherDocument |
getAuxiliaryVoucherDocumentForValidation()
Gets the auxiliaryVoucherDocumentForValidation attribute.
|
org.kuali.rice.coreservice.framework.parameter.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.coreservice.framework.parameter.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.
|
setQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiespublic AuxiliaryVoucherAccountingPeriodWithinGracePeriodValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.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.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService - The parameterService to set.Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.