org.kuali.kfs.fp.batch
Class ProcurementCardAutoApproveDocumentsStep

java.lang.Object
  extended by org.kuali.kfs.sys.batch.AbstractStep
      extended by org.kuali.kfs.fp.batch.ProcurementCardAutoApproveDocumentsStep
All Implemented Interfaces:
Step, org.springframework.beans.factory.BeanNameAware

public class ProcurementCardAutoApproveDocumentsStep
extends AbstractStep

This step will call a service method to autoapprove any documents that have been in route passed a certain number of days.


Constructor Summary
ProcurementCardAutoApproveDocumentsStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          Perform this step of a batch job.
 void setProcurementCardCreateDocumentService(ProcurementCardCreateDocumentService procurementCardDocumentService)
           
 
Methods inherited from class org.kuali.kfs.sys.batch.AbstractStep
getDateTimeService, getName, getParameterService, interrupt, isInterrupted, setBeanName, setDateTimeService, setInterrupted, setParameterService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcurementCardAutoApproveDocumentsStep

public ProcurementCardAutoApproveDocumentsStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
Description copied from interface: Step
Perform this step of a batch job.

Parameters:
jobName - the name of the job running the step
jobRunDate - the time/date the job is executed
Returns:
true if successful and continue the job, false if successful and stop the job
See Also:
Step.execute(java.lang.String, java.util.Date)

setProcurementCardCreateDocumentService

public void setProcurementCardCreateDocumentService(ProcurementCardCreateDocumentService procurementCardDocumentService)
Parameters:
procurementCardDocumentService - The procurementCardDocumentService to set.


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