org.kuali.hr.lm.leave.approval.service
Interface LeaveApprovalService

All Known Implementing Classes:
LeaveApprovalServiceImpl

public interface LeaveApprovalService


Method Summary
 Map<Date,Map<String,BigDecimal>> getAccrualCategoryLeaveHours(List<LeaveBlock> leaveBlocks, List<Date> leaveSummaryDates)
           
 List<CalendarEntries> getAllLeavePayCalendarEntriesForApprover(String principalId, Date currentDate)
           
 Map<Date,Map<String,BigDecimal>> getEarnCodeLeaveHours(List<LeaveBlock> leaveBlocks, List<Date> leaveSummaryDates)
           
 List<Map<String,Object>> getLeaveApprovalDetailSections(LeaveCalendarDocumentHeader lcdh)
           
 List<ApprovalLeaveSummaryRow> getLeaveApprovalSummaryRows(List<TKPerson> persons, CalendarEntries payCalendarEntries, List<Date> leaveSummaryDates)
           
 List<String> getLeavePrincipalIdsWithSearchCriteria(List<String> workAreaList, String calendarGroup, Date effdt, Date beginDate, Date endDate)
          Method to get a lit of principal ids based on work area list, calendarGroup and dates
 List<org.kuali.rice.kew.api.note.Note> getNotesForDocument(String documentNumber)
          Used to determine if there are notes on a document
 Map<String,LeaveCalendarDocumentHeader> getPrincipalDocumehtHeader(List<TKPerson> persons, Date payBeginDate, Date payEndDate)
          Method to create a map that contains the principal's id and corresponding leave calendar document header.
 List<String> getUniqueLeavePayGroupsForPrincipalIds(List<String> principalIds)
           
 boolean isActiveAssignmentFoundOnJobFlsaStatus(String principalId, String flsaStatus, boolean chkForLeaveEligible)
           
 void removeNonLeaveEmployees(List<String> principalIds)
           
 

Method Detail

getLeaveApprovalSummaryRows

List<ApprovalLeaveSummaryRow> getLeaveApprovalSummaryRows(List<TKPerson> persons,
                                                          CalendarEntries payCalendarEntries,
                                                          List<Date> leaveSummaryDates)

getEarnCodeLeaveHours

Map<Date,Map<String,BigDecimal>> getEarnCodeLeaveHours(List<LeaveBlock> leaveBlocks,
                                                       List<Date> leaveSummaryDates)

getLeaveApprovalDetailSections

List<Map<String,Object>> getLeaveApprovalDetailSections(LeaveCalendarDocumentHeader lcdh)

getAccrualCategoryLeaveHours

Map<Date,Map<String,BigDecimal>> getAccrualCategoryLeaveHours(List<LeaveBlock> leaveBlocks,
                                                              List<Date> leaveSummaryDates)

getNotesForDocument

List<org.kuali.rice.kew.api.note.Note> getNotesForDocument(String documentNumber)
Used to determine if there are notes on a document

Parameters:
documentNumber -
Returns:
list of note objects

getUniqueLeavePayGroupsForPrincipalIds

List<String> getUniqueLeavePayGroupsForPrincipalIds(List<String> principalIds)

getAllLeavePayCalendarEntriesForApprover

List<CalendarEntries> getAllLeavePayCalendarEntriesForApprover(String principalId,
                                                               Date currentDate)

removeNonLeaveEmployees

void removeNonLeaveEmployees(List<String> principalIds)

getPrincipalDocumehtHeader

Map<String,LeaveCalendarDocumentHeader> getPrincipalDocumehtHeader(List<TKPerson> persons,
                                                                   Date payBeginDate,
                                                                   Date payEndDate)
Method to create a map that contains the principal's id and corresponding leave calendar document header.

Parameters:
persons -
payBeginDate -
payEndDate -
Returns:
A PrincipalId to LeaveCalendarDocumentHeader mapping.

isActiveAssignmentFoundOnJobFlsaStatus

boolean isActiveAssignmentFoundOnJobFlsaStatus(String principalId,
                                               String flsaStatus,
                                               boolean chkForLeaveEligible)
Parameters:
principalId -
flsaStatus -
chkForLeaveEligible -
Returns:

getLeavePrincipalIdsWithSearchCriteria

List<String> getLeavePrincipalIdsWithSearchCriteria(List<String> workAreaList,
                                                    String calendarGroup,
                                                    Date effdt,
                                                    Date beginDate,
                                                    Date endDate)
Method to get a lit of principal ids based on work area list, calendarGroup and dates

Parameters:
workAreaList -
calendarGroup -
effdt -
beginDate -
endDate -
Returns:


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