org.kuali.hr.time.dept.lunch.service
Class DepartmentLunchRuleServiceImpl
java.lang.Object
org.kuali.hr.time.dept.lunch.service.DepartmentLunchRuleServiceImpl
- All Implemented Interfaces:
- DepartmentLunchRuleService
public class DepartmentLunchRuleServiceImpl
- extends Object
- implements DepartmentLunchRuleService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deptLunchRuleDao
public DepartmentLunchRuleDao deptLunchRuleDao
DepartmentLunchRuleServiceImpl
public DepartmentLunchRuleServiceImpl()
getDepartmentLunchRule
public DeptLunchRule getDepartmentLunchRule(String dept,
Long workArea,
String principalId,
Long jobNumber,
Date asOfDate)
- Description copied from interface:
DepartmentLunchRuleService
- Fetch department lunch rule based on criteria passed in
- Specified by:
getDepartmentLunchRule
in interface DepartmentLunchRuleService
- Returns:
applyDepartmentLunchRule
public void applyDepartmentLunchRule(List<TimeBlock> timeblocks)
- If the hours is greater or equal than the shift hours, deduct the hour from the deduction_mins field
- Specified by:
applyDepartmentLunchRule
in interface DepartmentLunchRuleService
getDeptLunchRuleDao
public DepartmentLunchRuleDao getDeptLunchRuleDao()
setDeptLunchRuleDao
public void setDeptLunchRuleDao(DepartmentLunchRuleDao deptLunchRuleDao)
getDepartmentLunchRule
public DeptLunchRule getDepartmentLunchRule(String tkDeptLunchRuleId)
- Description copied from interface:
DepartmentLunchRuleService
- Fetch department lunch rule by id
- Specified by:
getDepartmentLunchRule
in interface DepartmentLunchRuleService
- Returns:
getDepartmentLunchRules
public List<DeptLunchRule> getDepartmentLunchRules(String dept,
String workArea,
String principalId,
String jobNumber,
String active)
- Specified by:
getDepartmentLunchRules
in interface DepartmentLunchRuleService
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.