|
||||||||||
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.module.ld.document.validation.impl.LaborJournalVoucherEmployeeIDExistenceCheckValidation
public class LaborJournalVoucherEmployeeIDExistenceCheckValidation
Validates that a labor journal voucher document's accounting lines have valid Employee ID
Constructor Summary | |
---|---|
LaborJournalVoucherEmployeeIDExistenceCheckValidation()
|
Method Summary | |
---|---|
protected boolean |
employeeIDExistenceCheck(String employeeid)
Checks whether employee id exists |
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute. |
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value. |
boolean |
validate(AttributedDocumentEvent event)
Validates that the accounting line in the labor journal voucher document have an existing employee id |
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 LaborJournalVoucherEmployeeIDExistenceCheckValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
org.kuali.kfs.validation.Validation#validate(java.lang.Object[])
protected boolean employeeIDExistenceCheck(String employeeid)
employeeid
- employee id is checked against the collection of universal users
public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingLineForValidation
- The accountingLineForValidation to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |