org.kuali.hr.time.overtime.weekly.rule.service
Interface WeeklyOvertimeRuleService

All Known Implementing Classes:
WeeklyOvertimeRuleServiceImpl

public interface WeeklyOvertimeRuleService


Method Summary
 WeeklyOvertimeRule getWeeklyOvertimeRule(String tkWeeklyOvertimeRuleId)
          Fetch Weekly overtime rule by id
 List<WeeklyOvertimeRule> getWeeklyOvertimeRules(Date asOfDate)
          Fetch a List of WeeklyOvertimeRule as of a particular date
 void processWeeklyOvertimeRule(TimesheetDocument timesheetDocument, TkTimeBlockAggregate aggregate)
          Process weekly overtime rules for a given TkTimeBlockAggregate
 void saveOrUpdate(List<WeeklyOvertimeRule> weeklyOvertimeRules)
          Save or Update a List of WeeklyOvertimeRules
 void saveOrUpdate(WeeklyOvertimeRule weeklyOvertimeRule)
          Save or Update a given WeeklyOvertimeRule
 

Method Detail

saveOrUpdate

@CacheEvict(value="KPME/WeeklyOvertimeRule",
            allEntries=true)
void saveOrUpdate(WeeklyOvertimeRule weeklyOvertimeRule)
Save or Update a given WeeklyOvertimeRule

Parameters:
weeklyOvertimeRule -

saveOrUpdate

@CacheEvict(value="KPME/WeeklyOvertimeRule",
            allEntries=true)
void saveOrUpdate(List<WeeklyOvertimeRule> weeklyOvertimeRules)
Save or Update a List of WeeklyOvertimeRules

Parameters:
weeklyOvertimeRules -

getWeeklyOvertimeRules

@Cacheable(value="KPME/WeeklyOvertimeRule",
           key="\'asOfDate=\' + #p1")
List<WeeklyOvertimeRule> getWeeklyOvertimeRules(Date asOfDate)
Fetch a List of WeeklyOvertimeRule as of a particular date

Parameters:
asOfDate -
Returns:

processWeeklyOvertimeRule

void processWeeklyOvertimeRule(TimesheetDocument timesheetDocument,
                               TkTimeBlockAggregate aggregate)
Process weekly overtime rules for a given TkTimeBlockAggregate

Parameters:
timesheetDocument -
aggregate -

getWeeklyOvertimeRule

@Cacheable(value="KPME/WeeklyOvertimeRule",
           key="\'tkWeeklyOvertimeRuleId=\' + #p0")
WeeklyOvertimeRule getWeeklyOvertimeRule(String tkWeeklyOvertimeRuleId)
Fetch Weekly overtime rule by id

Parameters:
tkWeeklyOvertimeRuleId -
Returns:


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