org.kuali.kfs.gl.batch
Class MarkPostableScrubberValidGroupsAsUnpostableStep

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

public class MarkPostableScrubberValidGroupsAsUnpostableStep
extends AbstractStep
implements TestingStep

This step, which would only be run in testing or extraordinary production circumstances, stops the posting fo any postable scrubber groups.


Constructor Summary
MarkPostableScrubberValidGroupsAsUnpostableStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          Marks all ready-to-be-posted scrubber groups as unpostable
 void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
          Sets the originEntryGroupSerivce, allowing the injection of an implementation of that service
 
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

MarkPostableScrubberValidGroupsAsUnpostableStep

public MarkPostableScrubberValidGroupsAsUnpostableStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
                throws InterruptedException
Marks all ready-to-be-posted scrubber groups as unpostable

Specified by:
execute in interface Step
Parameters:
jobName - the name of the job this step is being run as part of
jobRunDate - the time/date the job is being run
Returns:
true if the step completed successfully, false if otherwise
Throws:
InterruptedException
See Also:
Step.execute(String, Date)

setOriginEntryGroupService

public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
Sets the originEntryGroupSerivce, allowing the injection of an implementation of that service

Parameters:
originEntryGroupService - the originEntryGroupService to set
See Also:
OriginEntryGroupService


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