org.kuali.kfs.gl.batch
Class MarkPostableIcrGroupsAsUnpostableStep

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

public class MarkPostableIcrGroupsAsUnpostableStep
extends AbstractStep
implements TestingStep

This step, which would only be run in testing or extraordinary production circumstances, stops the posting of all indirect cost recovery groups.


Constructor Summary
MarkPostableIcrGroupsAsUnpostableStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          Marks all postable ICR 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

MarkPostableIcrGroupsAsUnpostableStep

public MarkPostableIcrGroupsAsUnpostableStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
                throws InterruptedException
Marks all postable ICR 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.