public class DepartmentLunchRuleServiceImpl extends Object implements DepartmentLunchRuleService
| Modifier and Type | Field and Description |
|---|---|
DepartmentLunchRuleDao |
deptLunchRuleDao |
| Constructor and Description |
|---|
DepartmentLunchRuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<TimeBlock> |
applyDepartmentLunchRule(List<TimeBlock> timeblocks)
If the hours is greater or equal than the shift hours, deduct the hour from the deduction_mins field
|
DeptLunchRule |
getDepartmentLunchRule(String tkDeptLunchRuleId)
Fetch department lunch rule by id
|
DeptLunchRule |
getDepartmentLunchRule(String dept,
Long workArea,
String principalId,
Long jobNumber,
String groupKeyCode,
org.joda.time.LocalDate asOfDate)
Fetch department lunch rule based on criteria passed in
|
DeptLunchRule |
getDepartmentLunchRuleNoWildCards(String dept,
Long workArea,
String principalId,
Long jobNumber,
String groupKeyCode,
org.joda.time.LocalDate asOfDate)
Fetch department lunch rule based on criteria passed in, using literals for wildcards.
|
List<DeptLunchRule> |
getDepartmentLunchRules(String userPrincipalId,
List<DeptLunchRule> departmentLunchRuleObjs) |
DepartmentLunchRuleDao |
getDeptLunchRuleDao() |
void |
setDeptLunchRuleDao(DepartmentLunchRuleDao deptLunchRuleDao) |
public DepartmentLunchRuleDao deptLunchRuleDao
public DepartmentLunchRuleServiceImpl()
public DeptLunchRule getDepartmentLunchRule(String dept, Long workArea, String principalId, Long jobNumber, String groupKeyCode, org.joda.time.LocalDate asOfDate)
DepartmentLunchRuleServicegetDepartmentLunchRule in interface DepartmentLunchRuleServicepublic DeptLunchRule getDepartmentLunchRuleNoWildCards(String dept, Long workArea, String principalId, Long jobNumber, String groupKeyCode, org.joda.time.LocalDate asOfDate)
DepartmentLunchRuleServicegetDepartmentLunchRuleNoWildCards in interface DepartmentLunchRuleServicepublic List<TimeBlock> applyDepartmentLunchRule(List<TimeBlock> timeblocks)
applyDepartmentLunchRule in interface DepartmentLunchRuleServicepublic DepartmentLunchRuleDao getDeptLunchRuleDao()
public void setDeptLunchRuleDao(DepartmentLunchRuleDao deptLunchRuleDao)
public DeptLunchRule getDepartmentLunchRule(String tkDeptLunchRuleId)
DepartmentLunchRuleServicegetDepartmentLunchRule in interface DepartmentLunchRuleServicepublic List<DeptLunchRule> getDepartmentLunchRules(String userPrincipalId, List<DeptLunchRule> departmentLunchRuleObjs)
getDepartmentLunchRules in interface DepartmentLunchRuleServiceCopyright © 2004–2015 The Kuali Foundation. All rights reserved.