org.kuali.kfs.module.purap.document.validation.impl
Class PaymentRequestPayDateNotPastValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.module.purap.document.validation.impl.PaymentRequestPayDateNotPastValidation
- All Implemented Interfaces:
- Validation
public class PaymentRequestPayDateNotPastValidation
- extends GenericValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaymentRequestPayDateNotPastValidation
public PaymentRequestPayDateNotPastValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Validates that the payment request date does not occur in the past.
- Returns:
- true if validation should continue, false otherwise
retrievePaymentRequestDocumentFromDatabase
protected PaymentRequestDocument retrievePaymentRequestDocumentFromDatabase(PaymentRequestDocument document)
- Retrieves the payment request document from the database. Note that the instance returned
- Parameters:
document
- the document to look in the database for
- Returns:
- an instance representing what's stored in the database for this instance
getPurapService
public PurapService getPurapService()
setPurapService
public void setPurapService(PurapService purapService)
getPersistenceService
public org.kuali.rice.kns.service.PersistenceService getPersistenceService()
setPersistenceService
public void setPersistenceService(org.kuali.rice.kns.service.PersistenceService persistenceService)
getBusinessObjectService
public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
setBusinessObjectService
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.