|
||||||||||
| 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.DisbursementVoucherVendorInformationValidation
public class DisbursementVoucherVendorInformationValidation
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.kuali.kfs.fp.document.DisbursementVoucherConstants |
|---|
DisbursementVoucherConstants.DocumentStatusCodes, DisbursementVoucherConstants.DvPdpExtractGroup, DisbursementVoucherConstants.PaymentReasonCodes, DisbursementVoucherConstants.RouteLevelNames, DisbursementVoucherConstants.TabByReasonCode, DisbursementVoucherConstants.TabKey |
| Field Summary | |
|---|---|
static String |
DV_PAYEE_ID_NUMBER_PROPERTY_PATH
|
| Constructor Summary | |
|---|---|
DisbursementVoucherVendorInformationValidation()
|
|
| Method Summary | |
|---|---|
AccountingDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute. |
protected boolean |
isActiveEmployeeSSN(String ssnNumber)
Performs a lookup on universal users for the given ssn number. |
protected boolean |
isEmployeeSSN(String ssnNumber)
Confirms that the SSN provided is associated with an employee. |
protected org.kuali.rice.kim.bo.Person |
retrieveEmployeeBySSN(String ssnNumber)
Retrieves Person from SSN |
protected VendorDetail |
retrieveVendorDetail(Integer vendorIdNumber,
Integer vendorDetailIdNumber)
Retrieves the VendorDetail object from the vendor id number. |
void |
setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters |
| 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 |
| Field Detail |
|---|
public static final String DV_PAYEE_ID_NUMBER_PROPERTY_PATH
| Constructor Detail |
|---|
public DisbursementVoucherVendorInformationValidation()
| Method Detail |
|---|
public boolean validate(AttributedDocumentEvent event)
Validation
validate in interface ValidationValidation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
protected VendorDetail retrieveVendorDetail(Integer vendorIdNumber,
Integer vendorDetailIdNumber)
vendorIdNumber - vendor ID numbervendorDetailIdNumber - vendor detail ID number
VendorDetailprotected org.kuali.rice.kim.bo.Person retrieveEmployeeBySSN(String ssnNumber)
ssnNumber - social security number
Personprotected boolean isEmployeeSSN(String ssnNumber)
ssnNumber - social security number
protected boolean isActiveEmployeeSSN(String ssnNumber)
ssnNumber - social security number
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation - The accountingDocumentForValidation to set.public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService - The parameterService to set.public AccountingDocument getAccountingDocumentForValidation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||