org.kuali.kpme.tklm.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)
           
 Map<Date,Map<String,BigDecimal>> getEarnCodeLeaveHours(List<LeaveBlock> leaveBlocks, List<Date> leaveSummaryDates)
           
 List<Map<String,Object>> getLeaveApprovalDetailSections(LeaveCalendarDocumentHeader lcdh)
           
 List<ApprovalLeaveSummaryRow> getLeaveApprovalSummaryRows(List<String> principalIds, CalendarEntry payCalendarEntry, List<Date> leaveSummaryDates, String docIdSearchTerm)
           
 List<String> getLeavePrincipalIdsWithSearchCriteria(List<String> workAreaList, String calendarGroup, org.joda.time.LocalDate effdt, org.joda.time.LocalDate beginDate, org.joda.time.LocalDate 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> getPrincipalDocumentHeader(List<String> principalIds, org.joda.time.DateTime payBeginDate, org.joda.time.DateTime payEndDate)
          Method to create a map that contains the principal's id and corresponding leave calendar document header.
 boolean isActiveAssignmentFoundOnJobFlsaStatus(String principalId, String flsaStatus, boolean chkForLeaveEligible)
           
 void removeNonLeaveEmployees(List<String> principalIds)
           
 

Method Detail

getLeaveApprovalSummaryRows

List<ApprovalLeaveSummaryRow> getLeaveApprovalSummaryRows(List<String> principalIds,
                                                          CalendarEntry payCalendarEntry,
                                                          List<Date> leaveSummaryDates,
                                                          String docIdSearchTerm)

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

removeNonLeaveEmployees

void removeNonLeaveEmployees(List<String> principalIds)

getPrincipalDocumentHeader

Map<String,LeaveCalendarDocumentHeader> getPrincipalDocumentHeader(List<String> principalIds,
                                                                   org.joda.time.DateTime payBeginDate,
                                                                   org.joda.time.DateTime 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,
                                                    org.joda.time.LocalDate effdt,
                                                    org.joda.time.LocalDate beginDate,
                                                    org.joda.time.LocalDate 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-2014 The Kuali Foundation. All Rights Reserved.