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)
DepartmentLunchRuleService
getDepartmentLunchRule
in interface DepartmentLunchRuleService
public DeptLunchRule getDepartmentLunchRuleNoWildCards(String dept, Long workArea, String principalId, Long jobNumber, String groupKeyCode, org.joda.time.LocalDate asOfDate)
DepartmentLunchRuleService
getDepartmentLunchRuleNoWildCards
in interface DepartmentLunchRuleService
public List<TimeBlock> applyDepartmentLunchRule(List<TimeBlock> timeblocks)
applyDepartmentLunchRule
in interface DepartmentLunchRuleService
public DepartmentLunchRuleDao getDeptLunchRuleDao()
public void setDeptLunchRuleDao(DepartmentLunchRuleDao deptLunchRuleDao)
public DeptLunchRule getDepartmentLunchRule(String tkDeptLunchRuleId)
DepartmentLunchRuleService
getDepartmentLunchRule
in interface DepartmentLunchRuleService
public List<DeptLunchRule> getDepartmentLunchRules(String userPrincipalId, List<DeptLunchRule> departmentLunchRuleObjs)
getDepartmentLunchRules
in interface DepartmentLunchRuleService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.