|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EarnCodeService
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 leavePlan,
String accrualCategory,
String descr,
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 |
Method Detail |
---|
@Cacheable(value="KPME/EarnCode", key="\'{getEarnCodesForLeaveAndTime}\' + \'principalId=\' + T(org.kuali.hr.time.util.TKContext).getPrincipalId() + \'|\' + \'targetId=\' + T(org.kuali.hr.time.util.TKContext).getTargetPrincipalId() + \'|\' + \'a=\' + #p0.getTkAssignmentId() + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'isLeavePlanningCalendar=\' +#p2") List<EarnCode> getEarnCodesForLeaveAndTime(Assignment a, Date asOfDate, boolean isLeavePlanningCalendar)
a
- asOfDate
- isLeavePlanningCalendar
-
@Cacheable(value="KPME/EarnCode", key="\'{getEarnCodesForTime}\' + \'principalId=\' + T(org.kuali.hr.time.util.TKContext).getPrincipalId() + \'|\' + \'targetId=\' + T(org.kuali.hr.time.util.TKContext).getTargetPrincipalId() + \'|\' + \'a=\' + #p0.getTkAssignmentId() + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'includeRegularEarnCode=\' + false") List<EarnCode> getEarnCodesForTime(Assignment a, Date asOfDate)
a
- asOfDate
-
@Cacheable(value="KPME/EarnCode", key="\'{getEarnCodesForTime}\' + \'principalId=\' + T(org.kuali.hr.time.util.TKContext).getPrincipalId() + \'|\' + \'targetId=\' + T(org.kuali.hr.time.util.TKContext).getTargetPrincipalId() + \'|\' + \'a=\' + #p0.getTkAssignmentId() + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'includeRegularEarnCode=\' + #p2") List<EarnCode> getEarnCodesForTime(Assignment a, Date asOfDate, boolean includeRegularEarnCode)
a
- asOfDate
-
@Cacheable(value="KPME/EarnCode", key="\'{getEarnCodesForLeave}\' + \'principalId=\' + T(org.kuali.hr.time.util.TKContext).getPrincipalId() + \'|\' + \'targetId=\' + T(org.kuali.hr.time.util.TKContext).getTargetPrincipalId() + \'|\' + \'a=\' + #p0.getTkAssignmentId() + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'isLeavePlanningCalendar=\' +#p2") List<EarnCode> getEarnCodesForLeave(Assignment a, Date asOfDate, boolean isLeavePlanningCalendar)
a
- asOfDate
- isLeavePlanningCalendar
-
@Cacheable(value="KPME/EarnCode", key="\'principalId=\' + #p0 + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'isLeavePlanningCalendar=\' +#p2") List<EarnCode> getEarnCodesForPrincipal(String principalId, Date asOfDate, boolean isLeavePlanningCalendar)
principalId
- asOfDate
- isLeavePlanningCalendar
-
@Cacheable(value="KPME/EarnCode", key="\'earnCode=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") EarnCode getEarnCode(String earnCode, Date asOfDate)
earnCode
- asOfDate
-
@Cacheable(value="KPME/EarnCode", key="\'{getEarnCodeType}\' + \'earnCode=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") String getEarnCodeType(String earnCode, Date asOfDate)
earnCode
- asOfDate
-
@Cacheable(value="KPME/EarnCode", key="\'earnCodeId=\' + #p0") EarnCode getEarnCodeById(String earnCodeId)
earnCodeId
-
@Cacheable(value="KPME/EarnCode", key="\'{getOvertimeEarnCodes}\' + \'asOfDate=\' + #p0") List<EarnCode> getOvertimeEarnCodes(Date asOfDate)
asOfDate
-
@Cacheable(value="KPME/EarnCode", key="\'{getOvertimeEarnCodesStrs}\' + \'asOfDate=\' + #p0") List<String> getOvertimeEarnCodesStrs(Date asOfDate)
asOfDate
-
int getEarnCodeCount(String earnCode)
earnCode
-
int getNewerEarnCodeCount(String earnCode, Date effdt)
earnCode
- effdt
-
BigDecimal roundHrsWithEarnCode(BigDecimal hours, EarnCode earnCode)
hours
- earnCode
-
@Cacheable(value="KPME/EarnCode", key="\'{getEarnCodesForDisplay}\' + \'principalId=\' + #p0 + \'|\' + \'isLeavePlanningCalendar=\' +#p1") Map<String,String> getEarnCodesForDisplay(String principalId, boolean isLeavePlanningCalendar)
principalId
- isLeavePlanningCalendar
-
@Cacheable(value="KPME/EarnCode", key="\'{getEarnCodesForDisplayWithEffectiveDate}\' + \'principalId=\' + #p0 + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'isLeavePlanningCalendar=\' +#p2") Map<String,String> getEarnCodesForDisplayWithEffectiveDate(String principalId, Date asOfDate, boolean isLeavePlanningCalendar)
principalId
- asOfDate
-
List<EarnCode> getEarnCodes(String earnCode, String ovtEarnCode, String leavePlan, String accrualCategory, String descr, Date fromEffdt, Date toEffdt, String active, String showHist)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |