|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EarnCodeService
Method Summary | |
---|---|
boolean |
addEarnCodeBasedOnEmployeeApproverSettings(EarnCodeSecurity security,
Assignment a,
org.joda.time.LocalDate asOfDate)
|
EarnCode |
getEarnCode(String earnCode,
org.joda.time.LocalDate 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,
org.joda.time.LocalDate fromEffdt,
org.joda.time.LocalDate toEffdt,
String active,
String showHist)
|
Map<String,String> |
getEarnCodesForDisplay(String principalId,
boolean isLeavePlanningCalendar)
|
Map<String,String> |
getEarnCodesForDisplayWithEffectiveDate(String principalId,
org.joda.time.LocalDate asOfDate,
boolean isLeavePlanningCalendar)
|
List<EarnCode> |
getEarnCodesForLeave(Assignment a,
org.joda.time.LocalDate asOfDate,
boolean isLeavePlanningCalendar)
Fetch a list of earn codes for Leave usage, for a particular assignment as of a particular date |
List<EarnCode> |
getEarnCodesForPrincipal(String principalId,
org.joda.time.LocalDate asOfDate,
boolean isLeavePlanningCalendar)
Fetch a list of earn codes based on principal ID as of a particular date |
String |
getEarnCodeType(String earnCode,
org.joda.time.LocalDate asOfDate)
Fetch the earn code type for a particular date |
int |
getNewerEarnCodeCount(String earnCode,
org.joda.time.LocalDate effdt)
get count of newer version of earn code with give earnCode and date |
List<EarnCode> |
getOvertimeEarnCodes(org.joda.time.LocalDate asOfDate)
Fetch list of system defined overtime earn codes |
List<String> |
getOvertimeEarnCodesStrs(org.joda.time.LocalDate asOfDate)
Fetch list of system defined overtime earn codes as strings |
BigDecimal |
roundHrsWithEarnCode(BigDecimal hours,
EarnCode earnCode)
roundHrsWithLEarnCode |
Method Detail |
---|
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'{getEarnCodesForLeave}\' + \'principalId=\' + T(org.kuali.kpme.core.util.HrContext).getPrincipalId() + \'|\' + \'targetId=\' + T(org.kuali.kpme.core.util.HrContext).getTargetPrincipalId() + \'|\' + \'a=\' + #p0.getTkAssignmentId() + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'isLeavePlanningCalendar=\' +#p2") List<EarnCode> getEarnCodesForLeave(Assignment a, org.joda.time.LocalDate asOfDate, boolean isLeavePlanningCalendar)
a
- asOfDate
- isLeavePlanningCalendar
-
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'principalId=\' + #p0 + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'isLeavePlanningCalendar=\' +#p2") List<EarnCode> getEarnCodesForPrincipal(String principalId, org.joda.time.LocalDate asOfDate, boolean isLeavePlanningCalendar)
principalId
- asOfDate
- isLeavePlanningCalendar
-
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'earnCode=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") EarnCode getEarnCode(String earnCode, org.joda.time.LocalDate asOfDate)
earnCode
- asOfDate
-
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'{getEarnCodeType}\' + \'earnCode=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") String getEarnCodeType(String earnCode, org.joda.time.LocalDate asOfDate)
earnCode
- asOfDate
-
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'earnCodeId=\' + #p0") EarnCode getEarnCodeById(String earnCodeId)
earnCodeId
-
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'{getOvertimeEarnCodes}\' + \'asOfDate=\' + #p0") List<EarnCode> getOvertimeEarnCodes(org.joda.time.LocalDate asOfDate)
asOfDate
-
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'{getOvertimeEarnCodesStrs}\' + \'asOfDate=\' + #p0") List<String> getOvertimeEarnCodesStrs(org.joda.time.LocalDate asOfDate)
asOfDate
-
int getEarnCodeCount(String earnCode)
earnCode
-
int getNewerEarnCodeCount(String earnCode, org.joda.time.LocalDate effdt)
earnCode
- effdt
-
BigDecimal roundHrsWithEarnCode(BigDecimal hours, EarnCode earnCode)
hours
- earnCode
-
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'{getEarnCodesForDisplay}\' + \'principalId=\' + #p0 + \'|\' + \'isLeavePlanningCalendar=\' +#p1") Map<String,String> getEarnCodesForDisplay(String principalId, boolean isLeavePlanningCalendar)
principalId
- isLeavePlanningCalendar
-
@Cacheable(value="http://kpme.kuali.org/core/EarnCode", key="\'{getEarnCodesForDisplayWithEffectiveDate}\' + \'principalId=\' + #p0 + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'isLeavePlanningCalendar=\' +#p2") Map<String,String> getEarnCodesForDisplayWithEffectiveDate(String principalId, org.joda.time.LocalDate asOfDate, boolean isLeavePlanningCalendar)
principalId
- asOfDate
-
List<EarnCode> getEarnCodes(String earnCode, String ovtEarnCode, String leavePlan, String accrualCategory, String descr, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String active, String showHist)
boolean addEarnCodeBasedOnEmployeeApproverSettings(EarnCodeSecurity security, Assignment a, org.joda.time.LocalDate asOfDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |