org.kuali.hr.time.overtime.daily.rule.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, Date asOfDate)
          Fetch DailyOvertimeRule for the given criteria
 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="KPME/DailyOvertimeRule",
            allEntries=true)
void saveOrUpdate(DailyOvertimeRule dailyOvertimeRule)
Save of update a DailyOvertimeRule

Parameters:
dailyOvertimeRule -

saveOrUpdate

@CacheEvict(value="KPME/DailyOvertimeRule",
            allEntries=true)
void saveOrUpdate(List<DailyOvertimeRule> dailyOvertimeRules)
Save or Update a List of DailyOvertimeRules

Parameters:
dailyOvertimeRules -

getDailyOvertimeRule

@Cacheable(value="KPME/DailyOvertimeRule",
           key="\'location=\' + #p0+ \'|\' + \'paytype=\' + #p1+ \'|\' + \'dept=\' + #p2+ \'|\' + \'workArea=\' + #p3+ \'|\' + \'asOfDate=\' + #p4")
DailyOvertimeRule getDailyOvertimeRule(String location,
                                                 String paytype,
                                                 String dept,
                                                 Long workArea,
                                                 Date 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="KPME/DailyOvertimeRule",
           key="\'tkDailyOvertimeRuleId=\' + #p0")
DailyOvertimeRule getDailyOvertimeRule(String tkDailyOvertimeRuleId)
Fetch Daily overtime rule by id

Parameters:
tkDailyOvertimeRuleId -
Returns:


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