public class InvoicePayDateNotPastValidation extends GenericValidation
Constructor and Description |
---|
InvoicePayDateNotPastValidation() |
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
org.kuali.rice.krad.service.PersistenceService |
getPersistenceService() |
PurapService |
getPurapService() |
protected InvoiceDocument |
retrieveInvoiceDocumentFromDatabase(InvoiceDocument 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 InvoicePayDateNotPastValidation()
public boolean validate(AttributedDocumentEvent event)
protected InvoiceDocument retrieveInvoiceDocumentFromDatabase(InvoiceDocument 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–2014 The Kuali Foundation. All rights reserved.