org.kuali.kpme.tklm.leave.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, org.joda.time.LocalDate payEndDate)
           
 String getSSTODescriptionForDate(String leavePlan, org.joda.time.LocalDate localDate)
           
 SystemScheduledTimeOff getSystemScheduledTimeOff(String lmSystemScheduledTimeOffId)
          Fetch SystemScheduledTimeOff by id
 SystemScheduledTimeOff getSystemScheduledTimeOffByDate(String leavePlan, org.joda.time.LocalDate startDate)
           
 List<SystemScheduledTimeOff> getSystemScheduledTimeOffForPayPeriod(String leavePlan, org.joda.time.LocalDate startDate, org.joda.time.LocalDate endDate)
           
 List<SystemScheduledTimeOff> getSystemScheduledTimeOffs(String userPrincipalId, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String earnCode, org.joda.time.LocalDate fromAccruedDate, org.joda.time.LocalDate toAccruedDate, org.joda.time.LocalDate fromSchTimeOffDate, org.joda.time.LocalDate toSchTimeOffDate, String active, String showHist)
           
 List<SystemScheduledTimeOff> getSystemScheduledTimeOffsForLeavePlan(org.joda.time.LocalDate fromAccruedDate, org.joda.time.LocalDate 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="http://kpme.kuali.org/tklm/SystemScheduledTimeOff",
           key="\'lmSystemScheduledTimeOffId=\' + #p0")
SystemScheduledTimeOff getSystemScheduledTimeOff(String lmSystemScheduledTimeOffId)
Fetch SystemScheduledTimeOff by id

Parameters:
lmSystemScheduledTimeOffId -
Returns:

getSystemScheduledTimeOffForPayPeriod

List<SystemScheduledTimeOff> getSystemScheduledTimeOffForPayPeriod(String leavePlan,
                                                                   org.joda.time.LocalDate startDate,
                                                                   org.joda.time.LocalDate endDate)

getSystemScheduledTimeOffByDate

SystemScheduledTimeOff getSystemScheduledTimeOffByDate(String leavePlan,
                                                       org.joda.time.LocalDate startDate)

getAssignmentToApplyHolidays

Assignment getAssignmentToApplyHolidays(TimesheetDocument timesheetDocument,
                                        org.joda.time.LocalDate 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(String userPrincipalId,
                                                        org.joda.time.LocalDate fromEffdt,
                                                        org.joda.time.LocalDate toEffdt,
                                                        String earnCode,
                                                        org.joda.time.LocalDate fromAccruedDate,
                                                        org.joda.time.LocalDate toAccruedDate,
                                                        org.joda.time.LocalDate fromSchTimeOffDate,
                                                        org.joda.time.LocalDate toSchTimeOffDate,
                                                        String active,
                                                        String showHist)

getSystemScheduledTimeOffsForLeavePlan

List<SystemScheduledTimeOff> getSystemScheduledTimeOffsForLeavePlan(org.joda.time.LocalDate fromAccruedDate,
                                                                    org.joda.time.LocalDate 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:

getSSTODescriptionForDate

String getSSTODescriptionForDate(String leavePlan,
                                 org.joda.time.LocalDate localDate)
Parameters:
leavePlan -
localDate -
Returns:
Returns the description of the system scheduled time off for the given leave plan and date, or the empty string if no ssto exists.


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