|
||||||||||
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.JournalVoucherAccountingPeriodValidation
public class JournalVoucherAccountingPeriodValidation
Validation of the accounting period on a Journal Voucher document.
Constructor Summary | |
---|---|
JournalVoucherAccountingPeriodValidation()
|
Method Summary | |
---|---|
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
Gets the dataDictionaryService attribute. |
JournalVoucherDocument |
getJournalVoucherForValidation()
Gets the journalVoucherForValidation attribute. |
protected String |
getLabelFromDataDictionary(Class entryClass,
String attributeName)
Looks up a label from the data dictionary |
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value. |
void |
setJournalVoucherForValidation(JournalVoucherDocument journalVoucherForValidation)
Sets the journalVoucherForValidation attribute value. |
boolean |
validate(AttributedDocumentEvent event)
Checks that the accounting period for a journal voucher is present in the persistence store and currently 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 JournalVoucherAccountingPeriodValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
protected String getLabelFromDataDictionary(Class entryClass, String attributeName)
entryClass
- the class of the attribute to lookup the label forattributeName
- the attribute to look up the label for
public JournalVoucherDocument getJournalVoucherForValidation()
public void setJournalVoucherForValidation(JournalVoucherDocument journalVoucherForValidation)
journalVoucherForValidation
- The journalVoucherForValidation to set.public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
dataDictionaryService
- The dataDictionaryService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |