public class AuxiliaryVoucherAccountingPeriodOpenValidation extends GenericValidation
Constructor and Description |
---|
AuxiliaryVoucherAccountingPeriodOpenValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingPeriodService |
getAccountingPeriodService()
Gets the accountingPeriodService attribute.
|
AuxiliaryVoucherDocument |
getAuxliaryVoucherDocumentForValidation()
Gets the auxliaryVoucherDocumentForValidation attribute.
|
void |
setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
Sets the accountingPeriodService attribute value.
|
void |
setAuxliaryVoucherDocumentForValidation(AuxiliaryVoucherDocument auxliaryVoucherDocumentForValidation)
Sets the auxliaryVoucherDocumentForValidation attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Uses the accounting period service to get the accounting period for the document and checks that it's open
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public AuxiliaryVoucherAccountingPeriodOpenValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
public AccountingPeriodService getAccountingPeriodService()
public void setAccountingPeriodService(AccountingPeriodService accountingPeriodService)
accountingPeriodService
- The accountingPeriodService to set.public AuxiliaryVoucherDocument getAuxliaryVoucherDocumentForValidation()
public void setAuxliaryVoucherDocumentForValidation(AuxiliaryVoucherDocument auxliaryVoucherDocumentForValidation)
auxliaryVoucherDocumentForValidation
- The auxliaryVoucherDocumentForValidation to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.