org.kuali.hr.time.dept.lunch.service
Interface DepartmentLunchRuleService

All Known Implementing Classes:
DepartmentLunchRuleServiceImpl

public interface DepartmentLunchRuleService


Method Summary
 void 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, Date asOfDate)
          Fetch department lunch rule based on criteria passed in
 List<DeptLunchRule> getDepartmentLunchRules(String dept, String workArea, String principalId, String jobNumber, String active)
           
 

Method Detail

getDepartmentLunchRule

@Cacheable(value="KPME/DeptLunchRule",
           key="\'dept=\' + #p0+ \'|\' + \'workArea=\' + #p1+ \'|\' + \'principalId=\' + #p2+ \'|\' + \'jobNumber=\' + #p3+ \'|\' + \'asOfDate=\' + #p4")
DeptLunchRule getDepartmentLunchRule(String dept,
                                               Long workArea,
                                               String principalId,
                                               Long jobNumber,
                                               Date asOfDate)
Fetch department lunch rule based on criteria passed in

Parameters:
dept -
workArea -
principalId -
jobNumber -
asOfDate -
Returns:

applyDepartmentLunchRule

void applyDepartmentLunchRule(List<TimeBlock> timeblocks)
Apply department lunch rule to the list of timeblocks

Parameters:
timeblocks -

getDepartmentLunchRule

@Cacheable(value="KPME/DeptLunchRule",
           key="\'tkDeptLunchRuleId=\' + #p0")
DeptLunchRule getDepartmentLunchRule(String tkDeptLunchRuleId)
Fetch department lunch rule by id

Parameters:
tkDeptLunchRuleId -
Returns:

getDepartmentLunchRules

List<DeptLunchRule> getDepartmentLunchRules(String dept,
                                            String workArea,
                                            String principalId,
                                            String jobNumber,
                                            String active)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.