org.kuali.kpme.tklm.time.rules.overtime.daily.service
Interface DailyOvertimeRuleService

All Known Implementing Classes:
DailyOvertimeRuleServiceImpl

public interface DailyOvertimeRuleService


Method Summary
 DailyOvertimeRule getDailyOvertimeRule(String tkDailyOvertimeRuleId)
          Fetch Daily overtime rule by id
 DailyOvertimeRule getDailyOvertimeRule(String location, String paytype, String dept, Long workArea, org.joda.time.LocalDate asOfDate)
          Fetch DailyOvertimeRule for the given criteria
 List<DailyOvertimeRule> getDailyOvertimeRules(String userPrincipalId, String dept, String workArea, String location, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String active, String showHist)
           
 void processDailyOvertimeRules(TimesheetDocument timesheetDocument, TkTimeBlockAggregate aggregate)
          Process DailyOvertimeRules for the given TkTimeBlockAggregate
 void saveOrUpdate(DailyOvertimeRule dailyOvertimeRule)
          Save of update a DailyOvertimeRule
 void saveOrUpdate(List<DailyOvertimeRule> dailyOvertimeRules)
          Save or Update a List of DailyOvertimeRules
 

Method Detail

saveOrUpdate

@CacheEvict(value="http://kpme.kuali.org/tklm/DailyOvertimeRule",
            allEntries=true)
void saveOrUpdate(DailyOvertimeRule dailyOvertimeRule)
Save of update a DailyOvertimeRule

Parameters:
dailyOvertimeRule -

saveOrUpdate

@CacheEvict(value="http://kpme.kuali.org/tklm/DailyOvertimeRule",
            allEntries=true)
void saveOrUpdate(List<DailyOvertimeRule> dailyOvertimeRules)
Save or Update a List of DailyOvertimeRules

Parameters:
dailyOvertimeRules -

getDailyOvertimeRule

@Cacheable(value="http://kpme.kuali.org/tklm/DailyOvertimeRule",
           key="\'location=\' + #p0+ \'|\' + \'paytype=\' + #p1+ \'|\' + \'dept=\' + #p2+ \'|\' + \'workArea=\' + #p3+ \'|\' + \'asOfDate=\' + #p4")
DailyOvertimeRule getDailyOvertimeRule(String location,
                                                 String paytype,
                                                 String dept,
                                                 Long workArea,
                                                 org.joda.time.LocalDate asOfDate)
Fetch DailyOvertimeRule for the given criteria

Parameters:
location -
paytype -
dept -
workArea -
asOfDate -
Returns:

processDailyOvertimeRules

void processDailyOvertimeRules(TimesheetDocument timesheetDocument,
                               TkTimeBlockAggregate aggregate)
Process DailyOvertimeRules for the given TkTimeBlockAggregate

Parameters:
timesheetDocument -
aggregate -

getDailyOvertimeRule

@Cacheable(value="http://kpme.kuali.org/tklm/DailyOvertimeRule",
           key="\'tkDailyOvertimeRuleId=\' + #p0")
DailyOvertimeRule getDailyOvertimeRule(String tkDailyOvertimeRuleId)
Fetch Daily overtime rule by id

Parameters:
tkDailyOvertimeRuleId -
Returns:

getDailyOvertimeRules

List<DailyOvertimeRule> getDailyOvertimeRules(String userPrincipalId,
                                              String dept,
                                              String workArea,
                                              String location,
                                              org.joda.time.LocalDate fromEffdt,
                                              org.joda.time.LocalDate toEffdt,
                                              String active,
                                              String showHist)


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