|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.overtime.weekly.rule.service.WeeklyOvertimeRuleServiceImpl
public class WeeklyOvertimeRuleServiceImpl
Constructor Summary | |
---|---|
WeeklyOvertimeRuleServiceImpl()
|
Method Summary | |
---|---|
protected BigDecimal |
applyOvertimeToTimeBlock(TimeBlock block,
String otEarnCode,
Set<String> convertFromEarnCodes,
BigDecimal otHours)
Method to apply (if applicable) overtime additions to the indiciated TimeBlock. |
protected String |
getOvertimeEarnCode(String principalId,
TimeBlock block,
WeeklyOvertimeRule wor,
Date asOfDate)
If a WorkArea for this timeblock has an overtime preference use that otherwise use the convert to on the rule. |
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 |
void |
setWeeklyOvertimeRuleDao(WeeklyOvertimeRuleDao weeklyOvertimeRuleDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeeklyOvertimeRuleServiceImpl()
Method Detail |
---|
public void processWeeklyOvertimeRule(TimesheetDocument timesheetDocument, TkTimeBlockAggregate aggregate)
WeeklyOvertimeRuleService
processWeeklyOvertimeRule
in interface WeeklyOvertimeRuleService
protected String getOvertimeEarnCode(String principalId, TimeBlock block, WeeklyOvertimeRule wor, Date asOfDate)
principalId
- block
- wor
- asOfDate
-
protected BigDecimal applyOvertimeToTimeBlock(TimeBlock block, String otEarnCode, Set<String> convertFromEarnCodes, BigDecimal otHours)
block
- otEarnCode
- convertFromEarnCodes
- otHours
-
public List<WeeklyOvertimeRule> getWeeklyOvertimeRules(Date asOfDate)
WeeklyOvertimeRuleService
getWeeklyOvertimeRules
in interface WeeklyOvertimeRuleService
public void saveOrUpdate(WeeklyOvertimeRule weeklyOvertimeRule)
WeeklyOvertimeRuleService
saveOrUpdate
in interface WeeklyOvertimeRuleService
public void saveOrUpdate(List<WeeklyOvertimeRule> weeklyOvertimeRules)
WeeklyOvertimeRuleService
saveOrUpdate
in interface WeeklyOvertimeRuleService
public void setWeeklyOvertimeRuleDao(WeeklyOvertimeRuleDao weeklyOvertimeRuleDao)
public WeeklyOvertimeRule getWeeklyOvertimeRule(String tkWeeklyOvertimeRuleId)
WeeklyOvertimeRuleService
getWeeklyOvertimeRule
in interface WeeklyOvertimeRuleService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |