org.kuali.hr.lm.leavecode.service
Class LeaveCodeServiceImpl
java.lang.Object
org.kuali.hr.lm.leavecode.service.LeaveCodeServiceImpl
- All Implemented Interfaces:
- LeaveCodeService
public class LeaveCodeServiceImpl
- extends Object
- implements LeaveCodeService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeaveCodeServiceImpl
public LeaveCodeServiceImpl()
getLeaveCodeDao
public LeaveCodeDao getLeaveCodeDao()
setLeaveCodeDao
public void setLeaveCodeDao(LeaveCodeDao leaveCodeDao)
getLeaveCode
public LeaveCode getLeaveCode(String lmLeaveCodeId)
- Description copied from interface:
LeaveCodeService
- Fetch LeaveCode by id
- Specified by:
getLeaveCode
in interface LeaveCodeService
- Returns:
getLeaveCodes
public List<LeaveCode> getLeaveCodes(String principalId,
Date asOfDate)
- Specified by:
getLeaveCodes
in interface LeaveCodeService
getLeaveCodesForDisplay
public Map<String,String> getLeaveCodesForDisplay(String principalId)
- Specified by:
getLeaveCodesForDisplay
in interface LeaveCodeService
getLeaveCode
public LeaveCode getLeaveCode(String leaveCode,
Date effectiveDate)
- Specified by:
getLeaveCode
in interface LeaveCodeService
roundHrsWithLeaveCode
public BigDecimal roundHrsWithLeaveCode(BigDecimal hours,
LeaveCode leaveCode)
- Description copied from interface:
LeaveCodeService
- use rounding option and fract time allowed of the given Leave Code to round the given hours
- Specified by:
roundHrsWithLeaveCode
in interface LeaveCodeService
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.