public interface DepartmentLunchRuleService
Modifier and Type | Method and Description |
---|---|
List<TimeBlock> |
applyDepartmentLunchRule(List<TimeBlock> timeblocks)
Apply department lunch rule to the list of timeblocks
|
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<? extends HrBusinessObjectContract> |
getDepartmentLunchRules(String userPrincipalId,
List<DeptLunchRule> deptLunchRules) |
@Cacheable(value="http://kpme.kuali.org/tklm/DeptLunchRule", key="\'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'groupKeyCode=\' + #p4+ \'|\' + \'asOfDate=\' + #p5") DeptLunchRule getDepartmentLunchRule(String dept, Long workArea, String principalId, Long jobNumber, String groupKeyCode, org.joda.time.LocalDate asOfDate)
dept
- workArea
- principalId
- jobNumber
- asOfDate
- @Cacheable(value="http://kpme.kuali.org/tklm/DeptLunchRule", key="\'{getEarnCodesForLeaveAndTime}\'+ \'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'groupKeyCode=\' + #p4+ \'|\' + \'asOfDate=\' + #p5") DeptLunchRule getDepartmentLunchRuleNoWildCards(String dept, Long workArea, String principalId, Long jobNumber, String groupKeyCode, org.joda.time.LocalDate asOfDate)
dept
- workArea
- principalId
- jobNumber
- asOfDate
- List<TimeBlock> applyDepartmentLunchRule(List<TimeBlock> timeblocks)
timeblocks
- @Cacheable(value="http://kpme.kuali.org/tklm/DeptLunchRule", key="\'tkDeptLunchRuleId=\' + #p0") DeptLunchRule getDepartmentLunchRule(String tkDeptLunchRuleId)
tkDeptLunchRuleId
- List<? extends HrBusinessObjectContract> getDepartmentLunchRules(String userPrincipalId, List<DeptLunchRule> deptLunchRules)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.