View Javadoc

1   /**
2    * Copyright 2004-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.kpme.tklm.common;
17  
18  import org.joda.time.DateTime;
19  import org.kuali.kpme.core.calendar.entry.CalendarEntry;
20  import org.kuali.kpme.core.leaveplan.LeavePlan;
21  import org.quartz.SchedulerException;
22  
23  public interface BatchJobService {
24      
25      void scheduleInitiateJobs(CalendarEntry calendarEntry) throws SchedulerException;
26      
27      void scheduleInitiateJobs(CalendarEntry calendarEntry, DateTime scheduleDate) throws SchedulerException;
28      
29      void scheduleEndReportingPeriodJobs(CalendarEntry calendarEntry) throws SchedulerException;
30      
31      void scheduleEndReportingPeriodJobs(CalendarEntry calendarEntry, DateTime scheduleDate) throws SchedulerException;
32      
33      void scheduleEndPayPeriodJobs(CalendarEntry calendarEntry) throws SchedulerException;
34      
35      void scheduleEndPayPeriodJobs(CalendarEntry calendarEntry, DateTime scheduleDate) throws SchedulerException;
36  
37      void scheduleEmployeeApprovalJobs(CalendarEntry calendarEntry) throws SchedulerException;
38      
39      void scheduleEmployeeApprovalJobs(CalendarEntry calendarEntry, DateTime scheduleDate) throws SchedulerException;
40      
41      void scheduleMissedPunchApprovalJobs(CalendarEntry calendarEntry) throws SchedulerException;
42      
43      void scheduleMissedPunchApprovalJobs(CalendarEntry calendarEntry, DateTime scheduleDate) throws SchedulerException;
44  
45      void scheduleSupervisorApprovalJobs(CalendarEntry calendarEntry) throws SchedulerException;
46      
47      void scheduleSupervisorApprovalJobs(CalendarEntry calendarEntry, DateTime scheduleDate) throws SchedulerException;
48      
49      void scheduleLeaveCarryOverJobs(LeavePlan leavePlan) throws SchedulerException;
50      
51      void scheduleLeaveCarryOverJobs(LeavePlan leavePlan, DateTime scheduleDate) throws SchedulerException;
52  
53  	void schedulePayrollApprovalJobs(CalendarEntry calendarEntry) throws SchedulerException;
54  	
55  	void schedulePayrollApprovalJobs(CalendarEntry calendarEntry, DateTime scheduleDate) throws SchedulerException;
56  	
57  	void scheduleLeaveCalendarDelinquencyJobs(CalendarEntry calendarEntry) throws SchedulerException;
58  	
59  	void scheduleLeaveCalendarDelinquencyJobs(CalendarEntry calendarEntry, DateTime scheduleDate) throws SchedulerException;
60      
61  }