org.kuali.hr.lm.timeoff.service
Interface SystemScheduledTimeOffService

All Known Implementing Classes:
SystemScheduledTimeOffServiceImpl

public interface SystemScheduledTimeOffService


Method Summary
 BigDecimal calculateSysSchTimeOffHours(Job job, BigDecimal sstoHours)
          Calculate System Scheduled Time Off hours based on given hours and fte of job
 Assignment getAssignmentToApplyHolidays(TimesheetDocument timesheetDocument, Date payEndDate)
           
 SystemScheduledTimeOff getSystemScheduledTimeOff(String lmSystemScheduledTimeOffId)
          Fetch SystemScheduledTimeOff by id
 SystemScheduledTimeOff getSystemScheduledTimeOffByDate(String leavePlan, Date startDate)
           
 List<SystemScheduledTimeOff> getSystemScheduledTimeOffForPayPeriod(String leavePlan, Date startDate, Date endDate)
           
 List<SystemScheduledTimeOff> getSystemScheduledTimeOffs(Date fromEffdt, Date toEffdt, String earnCode, Date fromAccruedDate, Date toAccruedDate, Date fromSchTimeOffDate, Date toSchTimeOffDate, String active, String showHist)
           
 List<SystemScheduledTimeOff> getSystemScheduledTimeOffsForLeavePlan(Date fromAccruedDate, Date toAccruedDate, String leavePlan)
          Get the list of all active system scheduled time off for the given leave plan and dates
 

Method Detail

getSystemScheduledTimeOff

@Cacheable(value="KPME/SystemScheduledTimeOff",
           key="\'lmSystemScheduledTimeOffId=\' + #p0")
SystemScheduledTimeOff getSystemScheduledTimeOff(String lmSystemScheduledTimeOffId)
Fetch SystemScheduledTimeOff by id

Parameters:
lmSystemScheduledTimeOffId -
Returns:

getSystemScheduledTimeOffForPayPeriod

List<SystemScheduledTimeOff> getSystemScheduledTimeOffForPayPeriod(String leavePlan,
                                                                   Date startDate,
                                                                   Date endDate)

getSystemScheduledTimeOffByDate

SystemScheduledTimeOff getSystemScheduledTimeOffByDate(String leavePlan,
                                                       Date startDate)

getAssignmentToApplyHolidays

Assignment getAssignmentToApplyHolidays(TimesheetDocument timesheetDocument,
                                        Date payEndDate)

calculateSysSchTimeOffHours

BigDecimal calculateSysSchTimeOffHours(Job job,
                                       BigDecimal sstoHours)
Calculate System Scheduled Time Off hours based on given hours and fte of job

Parameters:
job -
sstoHours -
Returns:

getSystemScheduledTimeOffs

List<SystemScheduledTimeOff> getSystemScheduledTimeOffs(Date fromEffdt,
                                                        Date toEffdt,
                                                        String earnCode,
                                                        Date fromAccruedDate,
                                                        Date toAccruedDate,
                                                        Date fromSchTimeOffDate,
                                                        Date toSchTimeOffDate,
                                                        String active,
                                                        String showHist)

getSystemScheduledTimeOffsForLeavePlan

List<SystemScheduledTimeOff> getSystemScheduledTimeOffsForLeavePlan(Date fromAccruedDate,
                                                                    Date toAccruedDate,
                                                                    String leavePlan)
Get the list of all active system scheduled time off for the given leave plan and dates

Parameters:
fromEffdt -
toEffdt -
fromAccruedDate -
toAccruedDate -
leavePlan -
Returns:


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