org.kuali.kfs.module.purap.document.validation.impl
Class PaymentRequestPayDateNotOverThresholdDaysAwayValidation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.GenericValidation
          extended by org.kuali.kfs.module.purap.document.validation.impl.PaymentRequestPayDateNotOverThresholdDaysAwayValidation
All Implemented Interfaces:
Validation

public class PaymentRequestPayDateNotOverThresholdDaysAwayValidation
extends GenericValidation


Constructor Summary
PaymentRequestPayDateNotOverThresholdDaysAwayValidation()
           
 
Method Summary
 PurapService getPurapService()
           
 void setPurapService(PurapService purapService)
           
 boolean validate(AttributedDocumentEvent event)
          This method side-effects a warning, and consequently should not be used in such a way as to cause validation to fail.
 
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
 

Constructor Detail

PaymentRequestPayDateNotOverThresholdDaysAwayValidation

public PaymentRequestPayDateNotOverThresholdDaysAwayValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
This method side-effects a warning, and consequently should not be used in such a way as to cause validation to fail. Returns a boolean for ease of testing. If the threshold days value is positive, the method will test future dates accurately. If the the threshold days value is negative, the method will test past dates.

Returns:
true if validation should continue, false otherwise

getPurapService

public PurapService getPurapService()

setPurapService

public void setPurapService(PurapService purapService)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.