org.kuali.hr.time.dept.lunch.service
Class DepartmentLunchRuleServiceImpl

java.lang.Object
  extended by org.kuali.hr.time.dept.lunch.service.DepartmentLunchRuleServiceImpl
All Implemented Interfaces:
DepartmentLunchRuleService

public class DepartmentLunchRuleServiceImpl
extends Object
implements DepartmentLunchRuleService


Field Summary
 DepartmentLunchRuleDao deptLunchRuleDao
           
 
Constructor Summary
DepartmentLunchRuleServiceImpl()
           
 
Method Summary
 void 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, Date asOfDate)
          Fetch department lunch rule based on criteria passed in
 List<DeptLunchRule> getDepartmentLunchRules(String dept, String workArea, String principalId, String jobNumber, String active)
           
 DepartmentLunchRuleDao getDeptLunchRuleDao()
           
 void setDeptLunchRuleDao(DepartmentLunchRuleDao deptLunchRuleDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deptLunchRuleDao

public DepartmentLunchRuleDao deptLunchRuleDao
Constructor Detail

DepartmentLunchRuleServiceImpl

public DepartmentLunchRuleServiceImpl()
Method Detail

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.