public class VendorCreditMemoInitTabRequiredFieldsValidation extends GenericValidation
Constructor and Description |
---|
VendorCreditMemoInitTabRequiredFieldsValidation() |
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService() |
PaymentRequestService |
getPaymentRequestService() |
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService) |
void |
setPaymentRequestService(PaymentRequestService paymentRequestService) |
boolean |
validate(AttributedDocumentEvent event)
Validates the necessary fields on the init tab were given and credit memo date is valid.
|
protected boolean |
validateRequiredField(org.kuali.rice.krad.bo.BusinessObject businessObject,
String fieldName)
Helper method to perform required field checks add error messages if the validation fails.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public VendorCreditMemoInitTabRequiredFieldsValidation()
public boolean validate(AttributedDocumentEvent event)
protected boolean validateRequiredField(org.kuali.rice.krad.bo.BusinessObject businessObject, String fieldName)
businessObject
- - Business object to check for valuefieldName
- - Name of the property in the business objectpublic org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
public PaymentRequestService getPaymentRequestService()
public void setPaymentRequestService(PaymentRequestService paymentRequestService)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.