public class AuxiliaryVoucherAccountingPeriodAllowedByParameterValidation extends GenericValidation
Constructor and Description |
---|
AuxiliaryVoucherAccountingPeriodAllowedByParameterValidation() |
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.
|
void |
setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
Sets the accountingPeriodService attribute value.
|
void |
setAuxiliaryVoucherDocumentForValidation(AuxiliaryVoucherDocument auxiliaryVoucherDocumentForValidation)
Sets the auxiliaryVoucherDocumentForValidation attribute value.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the parameterService attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Using the OLE-FP / AuxiliaryVoucherDocument / RestrictedPeriodCodes parameter, checks that the accounting period specified on the document is valid.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public AuxiliaryVoucherAccountingPeriodAllowedByParameterValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
public AuxiliaryVoucherDocument getAuxiliaryVoucherDocumentForValidation()
public void setAuxiliaryVoucherDocumentForValidation(AuxiliaryVoucherDocument auxiliaryVoucherDocumentForValidation)
auxiliaryVoucherDocumentForValidation
- The auxiliaryVoucherDocumentForValidation 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.public AccountingPeriodService getAccountingPeriodService()
public void setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
accountingPeriodService
- The accountingPeriodService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.