org.kuali.kpme.tklm.time.rules.overtime.weekly.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(org.joda.time.LocalDate 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="http://kpme.kuali.org/tklm/WeeklyOvertimeRule",
            allEntries=true)
void saveOrUpdate(WeeklyOvertimeRule weeklyOvertimeRule)
Save or Update a given WeeklyOvertimeRule

Parameters:
weeklyOvertimeRule -

saveOrUpdate

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

Parameters:
weeklyOvertimeRules -

getWeeklyOvertimeRules

@Cacheable(value="http://kpme.kuali.org/tklm/WeeklyOvertimeRule",
           key="\'asOfDate=\' + #p1")
List<WeeklyOvertimeRule> getWeeklyOvertimeRules(org.joda.time.LocalDate 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="http://kpme.kuali.org/tklm/WeeklyOvertimeRule",
           key="\'tkWeeklyOvertimeRuleId=\' + #p0")
WeeklyOvertimeRule getWeeklyOvertimeRule(String tkWeeklyOvertimeRuleId)
Fetch Weekly overtime rule by id

Parameters:
tkWeeklyOvertimeRuleId -
Returns:


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