org.kuali.hr.time.batch.service
Class BatchJobServiceImpl

java.lang.Object
  extended by org.kuali.hr.time.batch.service.BatchJobServiceImpl
All Implemented Interfaces:
BatchJobService

public class BatchJobServiceImpl
extends Object
implements BatchJobService


Constructor Summary
BatchJobServiceImpl()
           
 
Method Summary
 BatchJob getBatchJob(Long batchJobId)
          Fetch a BatchJob by a given ID
 List<BatchJob> getBatchJobs(String hrPyCalendarEntryId)
          Provides a List of BatchJob objects that match the indicated hrPyCalendarEntryId.
 List<BatchJob> getBatchJobs(String hrPyCalendarEntryId, String batchJobStatus)
          Get a List of BatchJob objects for the given parameters.
 void saveBatchJob(BatchJob batchJob)
          Saves or updates the provided BatchJob.
 void setBatchJobDao(BatchJobDao batchJobDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchJobServiceImpl

public BatchJobServiceImpl()
Method Detail

setBatchJobDao

public void setBatchJobDao(BatchJobDao batchJobDao)

getBatchJob

public BatchJob getBatchJob(Long batchJobId)
Description copied from interface: BatchJobService
Fetch a BatchJob by a given ID

Specified by:
getBatchJob in interface BatchJobService
Parameters:
batchJobId - Database ID of the BatchJob to fetch.
Returns:
The BatchJob matching batchJobId.

getBatchJobs

public List<BatchJob> getBatchJobs(String hrPyCalendarEntryId)
Description copied from interface: BatchJobService
Provides a List of BatchJob objects that match the indicated hrPyCalendarEntryId.

Specified by:
getBatchJobs in interface BatchJobService
Parameters:
hrPyCalendarEntryId - The id of PayCalendarEntries objects to match.
Returns:
List of BatchJob objects.

getBatchJobs

public List<BatchJob> getBatchJobs(String hrPyCalendarEntryId,
                                   String batchJobStatus)
Description copied from interface: BatchJobService
Get a List of BatchJob objects for the given parameters.

Specified by:
getBatchJobs in interface BatchJobService
Parameters:
hrPyCalendarEntryId - The pay calendar entry we are looking for.
batchJobStatus - Only jobs of this status will be returned.
Returns:
List of BatchJob objects.

saveBatchJob

public void saveBatchJob(BatchJob batchJob)
Description copied from interface: BatchJobService
Saves or updates the provided BatchJob.

Specified by:
saveBatchJob in interface BatchJobService
Parameters:
batchJob - The object to save.


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