org.kuali.hr.lm.leavecalendar.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)
           
 BigDecimal getCarryOverForCurrentCalendar(String principalId)
           
 LeaveCalendarDocument getLeaveCalendarDocument(String documentId)
           
 LeaveCalendarDocument getLeaveCalendarDocument(String principalId, CalendarEntries calendarEntries)
           
 boolean isLeavePlanningCalendar(String principalId, Date beginDate, Date endDate)
          Determine if Leave Calendar is planning or reporting calendar
 boolean isReadyToApprove(LeaveCalendarDocument leaveCalendarDocument)
           
 LeaveCalendarDocument openLeaveCalendarDocument(String principalId, CalendarEntries calEntry)
           
 void routeLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument)
          Route the given leaveCalendarDocument
 void routeLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument, String action)
           
 boolean shouldCreateLeaveDocument(String principalId, CalendarEntries 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,
                                                CalendarEntries 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,
                                               CalendarEntries calendarEntries)

isReadyToApprove

boolean isReadyToApprove(LeaveCalendarDocument leaveCalendarDocument)

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,
                                  CalendarEntries 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,
                                Date beginDate,
                                Date 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)

getCarryOverForCurrentCalendar

BigDecimal getCarryOverForCurrentCalendar(String principalId)


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