|
||||||||||
| 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.AuxiliaryVoucherAccountingPeriodOpenValidation
public class AuxiliaryVoucherAccountingPeriodOpenValidation
Validates that the accounting period given by the document is currently open
| Constructor Summary | |
|---|---|
AuxiliaryVoucherAccountingPeriodOpenValidation()
|
|
| Method Summary | |
|---|---|
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 |
| 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 AuxiliaryVoucherAccountingPeriodOpenValidation()
| Method Detail |
|---|
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.kfs.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||