org.kuali.kpme.tklm.leave.calendar.service
Interface LeaveCalendarService

All Known Implementing Classes:
LeaveCalendarServiceImpl

public interface LeaveCalendarService


Method Summary
 void approveLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument)
           
 void approveLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument, String action)
           
 void disapproveLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument)
           
 LeaveCalendarDocument getLeaveCalendarDocument(String documentId)
           
 LeaveCalendarDocument getLeaveCalendarDocument(String principalId, CalendarEntry calendarEntry)
           
 boolean isLeavePlanningCalendar(String principalId, org.joda.time.LocalDate beginDate, org.joda.time.LocalDate endDate)
          Determine if Leave Calendar is planning or reporting calendar
 boolean isReadyToApprove(CalendarDocument calendarDocument)
           
 LeaveCalendarDocument openLeaveCalendarDocument(String principalId, CalendarEntry calEntry)
           
 void routeLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument)
          Route the given leaveCalendarDocument
 void routeLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument, String action)
           
 boolean shouldCreateLeaveDocument(String principalId, CalendarEntry calEntry)
          Determine if Leave Calendar document should be created for given principalId and calendar entry Should only create leave calendar document if active jobs were found with flsa elig = no and ben elg = yes
 

Method Detail

openLeaveCalendarDocument

LeaveCalendarDocument openLeaveCalendarDocument(String principalId,
                                                CalendarEntry calEntry)
                                                throws org.kuali.rice.kew.api.exception.WorkflowException
Throws:
org.kuali.rice.kew.api.exception.WorkflowException

getLeaveCalendarDocument

LeaveCalendarDocument getLeaveCalendarDocument(String documentId)

getLeaveCalendarDocument

LeaveCalendarDocument getLeaveCalendarDocument(String principalId,
                                               CalendarEntry calendarEntry)

isReadyToApprove

boolean isReadyToApprove(CalendarDocument calendarDocument)

routeLeaveCalendar

void routeLeaveCalendar(String principalId,
                        LeaveCalendarDocument leaveCalendarDocument)
Route the given leaveCalendarDocument

Parameters:
principalId -
leaveCalendarDocument -

approveLeaveCalendar

void approveLeaveCalendar(String principalId,
                          LeaveCalendarDocument leaveCalendarDocument)

disapproveLeaveCalendar

void disapproveLeaveCalendar(String principalId,
                             LeaveCalendarDocument leaveCalendarDocument)

shouldCreateLeaveDocument

boolean shouldCreateLeaveDocument(String principalId,
                                  CalendarEntry calEntry)
Determine if Leave Calendar document should be created for given principalId and calendar entry Should only create leave calendar document if active jobs were found with flsa elig = no and ben elg = yes

Parameters:
principalId -
calEntry -
Returns:
boolean

isLeavePlanningCalendar

boolean isLeavePlanningCalendar(String principalId,
                                org.joda.time.LocalDate beginDate,
                                org.joda.time.LocalDate endDate)
Determine if Leave Calendar is planning or reporting calendar

Parameters:
principalId -
beginDate -
endDate -
Returns:
boolean

approveLeaveCalendar

void approveLeaveCalendar(String principalId,
                          LeaveCalendarDocument leaveCalendarDocument,
                          String action)

routeLeaveCalendar

void routeLeaveCalendar(String principalId,
                        LeaveCalendarDocument leaveCalendarDocument,
                        String action)


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