public class PaymentRequestPayDateNotPastValidation extends GenericValidation
Constructor and Description |
---|
PaymentRequestPayDateNotPastValidation() |
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
org.kuali.rice.krad.service.PersistenceService |
getPersistenceService() |
PurapService |
getPurapService() |
protected PaymentRequestDocument |
retrievePaymentRequestDocumentFromDatabase(PaymentRequestDocument document)
Retrieves the payment request document from the database.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setPersistenceService(org.kuali.rice.krad.service.PersistenceService persistenceService) |
void |
setPurapService(PurapService purapService) |
boolean |
validate(AttributedDocumentEvent event)
Validates that the payment request date does not occur in the past.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PaymentRequestPayDateNotPastValidation()
public boolean validate(AttributedDocumentEvent event)
protected PaymentRequestDocument retrievePaymentRequestDocumentFromDatabase(PaymentRequestDocument document)
document
- the document to look in the database forpublic PurapService getPurapService()
public void setPurapService(PurapService purapService)
public org.kuali.rice.krad.service.PersistenceService getPersistenceService()
public void setPersistenceService(org.kuali.rice.krad.service.PersistenceService persistenceService)
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.