001 /** 002 * Copyright 2004-2013 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.hr.time.batch.service; 017 018 import java.util.Date; 019 020 import org.kuali.hr.lm.leaveplan.LeavePlan; 021 import org.kuali.hr.time.calendar.CalendarEntries; 022 import org.quartz.SchedulerException; 023 024 public interface BatchJobService { 025 026 void scheduleInitiateJobs(CalendarEntries calendarEntry) throws SchedulerException; 027 028 void scheduleInitiateJobs(CalendarEntries calendarEntry, Date scheduleDate) throws SchedulerException; 029 030 void scheduleEndReportingPeriodJobs(CalendarEntries calendarEntry) throws SchedulerException; 031 032 void scheduleEndReportingPeriodJobs(CalendarEntries calendarEntry, Date scheduleDate) throws SchedulerException; 033 034 void scheduleEndPayPeriodJobs(CalendarEntries calendarEntry) throws SchedulerException; 035 036 void scheduleEndPayPeriodJobs(CalendarEntries calendarEntry, Date scheduleDate) throws SchedulerException; 037 038 void scheduleEmployeeApprovalJobs(CalendarEntries calendarEntry) throws SchedulerException; 039 040 void scheduleEmployeeApprovalJobs(CalendarEntries calendarEntry, Date scheduleDate) throws SchedulerException; 041 042 void scheduleMissedPunchApprovalJobs(CalendarEntries calendarEntry) throws SchedulerException; 043 044 void scheduleMissedPunchApprovalJobs(CalendarEntries calendarEntry, Date scheduleDate) throws SchedulerException; 045 046 void scheduleSupervisorApprovalJobs(CalendarEntries calendarEntry) throws SchedulerException; 047 048 void scheduleSupervisorApprovalJobs(CalendarEntries calendarEntry, Date scheduleDate) throws SchedulerException; 049 050 void scheduleLeaveCarryOverJobs(LeavePlan leavePlan) throws SchedulerException; 051 052 void scheduleLeaveCarryOverJobs(LeavePlan leavePlan, Date scheduleDate) throws SchedulerException; 053 054 }