org.kuali.hr.time.batch
Class BatchJobEntryRunnable

java.lang.Object
  extended by org.kuali.hr.time.batch.BatchJobEntryRunnable
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
BatchApproveMissedPunchJobRunnable, EmployeeApprovalBatchJobRunnable, InitiateBatchJobRunnable, PayPeriodEndBatchJobRunnable, SupervisorApprovalBatchJobRunnable

public abstract class BatchJobEntryRunnable
extends Object
implements Runnable


Constructor Summary
BatchJobEntryRunnable(BatchJobEntry entry)
           
 
Method Summary
abstract  void doWork()
          Implement this method in your subclass.
 BatchJobEntry getBatchJobEntry()
           
 Long getTkBatchJobEntryId()
           
 Long getTkBatchJobId()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchJobEntryRunnable

public BatchJobEntryRunnable(BatchJobEntry entry)
Method Detail

run

public final void run()
Specified by:
run in interface Runnable

doWork

public abstract void doWork()
                     throws Exception
Implement this method in your subclass. Place business logic here to handle whatever needs to be done for this unit of work.

Throws:
Exception - when problem encountered during work processing, exception stored in BatchJobEntry, and transaction rolled back.

getTkBatchJobEntryId

public Long getTkBatchJobEntryId()

getTkBatchJobId

public Long getTkBatchJobId()

getBatchJobEntry

public BatchJobEntry getBatchJobEntry()


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.