|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.earncode.service.EarnCodeServiceImpl
public class EarnCodeServiceImpl
Constructor Summary | |
---|---|
EarnCodeServiceImpl()
|
Method Summary | |
---|---|
EarnCode |
getEarnCode(String earnCode,
Date asOfDate)
Fetch an EarnCode as of a particular date |
EarnCode |
getEarnCodeById(String earnCodeId)
Fetch earn code by id |
int |
getEarnCodeCount(String earnCode)
get count of earn code with give earnCode |
List<EarnCode> |
getEarnCodes(String earnCode,
String ovtEarnCode,
String descr,
String leavePlan,
String accrualCategory,
Date fromEffdt,
Date toEffdt,
String active,
String showHist)
|
Map<String,String> |
getEarnCodesForDisplay(String principalId,
boolean isLeavePlanningCalendar)
|
Map<String,String> |
getEarnCodesForDisplayWithEffectiveDate(String principalId,
Date asOfDate,
boolean isLeavePlanningCalendar)
|
List<EarnCode> |
getEarnCodesForLeave(Assignment a,
Date asOfDate,
boolean isLeavePlanningCalendar)
Fetch a list of earn codes for Leave usage, for a particular assignment as of a particular date |
List<EarnCode> |
getEarnCodesForLeaveAndTime(Assignment a,
Date asOfDate,
boolean isLeavePlanningCalendar)
Fetch a list of earn codes for Leave usage and Time usage, for a particular assignment as of a particular date |
List<EarnCode> |
getEarnCodesForPrincipal(String principalId,
Date asOfDate,
boolean isLeavePlanningCalendar)
Fetch a list of earn codes based on principal ID as of a particular date |
List<EarnCode> |
getEarnCodesForTime(Assignment a,
Date asOfDate)
Fetch a list of earn codes for Time usage, for a particular assignment as of a particular date |
List<EarnCode> |
getEarnCodesForTime(Assignment a,
Date asOfDate,
boolean includeRegularEarnCode)
Fetch a list of earn codes for Time usage, for a particular assignment as of a particular date |
String |
getEarnCodeType(String earnCode,
Date asOfDate)
Fetch the earn code type for a particular date |
int |
getNewerEarnCodeCount(String earnCode,
Date effdt)
get count of newer version of earn code with give earnCode and date |
List<EarnCode> |
getOvertimeEarnCodes(Date asOfDate)
Fetch list of system defined overtime earn codes |
List<String> |
getOvertimeEarnCodesStrs(Date asOfDate)
Fetch list of system defined overtime earn codes as strings |
BigDecimal |
roundHrsWithEarnCode(BigDecimal hours,
EarnCode earnCode)
roundHrsWithLEarnCode |
void |
setEarnCodeDao(EarnCodeDao earnCodeDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EarnCodeServiceImpl()
Method Detail |
---|
public void setEarnCodeDao(EarnCodeDao earnCodeDao)
public List<EarnCode> getEarnCodesForLeaveAndTime(Assignment a, Date asOfDate, boolean isLeavePlanningCalendar)
EarnCodeService
getEarnCodesForLeaveAndTime
in interface EarnCodeService
public List<EarnCode> getEarnCodesForTime(Assignment a, Date asOfDate, boolean includeRegularEarnCode)
EarnCodeService
getEarnCodesForTime
in interface EarnCodeService
public List<EarnCode> getEarnCodesForTime(Assignment a, Date asOfDate)
EarnCodeService
getEarnCodesForTime
in interface EarnCodeService
public List<EarnCode> getEarnCodesForLeave(Assignment a, Date asOfDate, boolean isLeavePlanningCalendar)
EarnCodeService
getEarnCodesForLeave
in interface EarnCodeService
public List<EarnCode> getEarnCodesForPrincipal(String principalId, Date asOfDate, boolean isLeavePlanningCalendar)
EarnCodeService
getEarnCodesForPrincipal
in interface EarnCodeService
public EarnCode getEarnCode(String earnCode, Date asOfDate)
EarnCodeService
getEarnCode
in interface EarnCodeService
public String getEarnCodeType(String earnCode, Date asOfDate)
EarnCodeService
getEarnCodeType
in interface EarnCodeService
public EarnCode getEarnCodeById(String earnCodeId)
EarnCodeService
getEarnCodeById
in interface EarnCodeService
public List<EarnCode> getOvertimeEarnCodes(Date asOfDate)
EarnCodeService
getOvertimeEarnCodes
in interface EarnCodeService
public List<String> getOvertimeEarnCodesStrs(Date asOfDate)
EarnCodeService
getOvertimeEarnCodesStrs
in interface EarnCodeService
public int getEarnCodeCount(String earnCode)
EarnCodeService
getEarnCodeCount
in interface EarnCodeService
public int getNewerEarnCodeCount(String earnCode, Date effdt)
EarnCodeService
getNewerEarnCodeCount
in interface EarnCodeService
public BigDecimal roundHrsWithEarnCode(BigDecimal hours, EarnCode earnCode)
EarnCodeService
roundHrsWithEarnCode
in interface EarnCodeService
public Map<String,String> getEarnCodesForDisplay(String principalId, boolean isLeavePlanningCalendar)
getEarnCodesForDisplay
in interface EarnCodeService
public List<EarnCode> getEarnCodes(String earnCode, String ovtEarnCode, String descr, String leavePlan, String accrualCategory, Date fromEffdt, Date toEffdt, String active, String showHist)
getEarnCodes
in interface EarnCodeService
public Map<String,String> getEarnCodesForDisplayWithEffectiveDate(String principalId, Date asOfDate, boolean isLeavePlanningCalendar)
getEarnCodesForDisplayWithEffectiveDate
in interface EarnCodeService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |