|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeOffAccrualService
Method Summary | |
---|---|
TimeOffAccrual |
getTimeOffAccrual(Long laTimeOffAccrualId)
Fetch time off accrual as of a particular unique id |
int |
getTimeOffAccrualCount(String accrualCategory,
Date effectiveDate,
String principalId,
String lmAccrualId)
get the count of TimeOffAccrual by given parameters\ |
List<TimeOffAccrual> |
getTimeOffAccruals(String principalId,
Date asOfDate)
|
List<TimeOffAccrual> |
getTimeOffAccruals(String principalId,
String accrualCategory)
|
List<Map<String,Object>> |
getTimeOffAccrualsCalc(String principalId,
Date asOfDate)
Get a list of maps that represents a persons accrual balances |
List<String> |
validateAccrualHoursLimit(String pId,
List<TimeBlock> tbList,
Date asOfDate)
|
List<String> |
validateAccrualHoursLimit(TimesheetDocument timesheetDocument)
Validate the accrual hours for the time blocks of the given TimesheetDocument and returns a JSONArray of warning messages |
List<String> |
validateAccrualHoursLimitByEarnCode(TimesheetDocument timesheetDocument,
String selectEarnCode)
Validate the accrual hours for the time blocks by earncode of the given TimesheetDocument and returns a JSONArray of warning messages |
Method Detail |
---|
@Cacheable(value="KPME/TimeOffAccrual", key="\'{getTimeOffAccrualsCalc}\' + \'principalId=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") List<Map<String,Object>> getTimeOffAccrualsCalc(String principalId, Date asOfDate)
principalId
- asOfDate
-
List<String> validateAccrualHoursLimit(TimesheetDocument timesheetDocument)
timesheetDocument
-
List<String> validateAccrualHoursLimit(String pId, List<TimeBlock> tbList, Date asOfDate)
List<String> validateAccrualHoursLimitByEarnCode(TimesheetDocument timesheetDocument, String selectEarnCode)
timesheetDocument
-
@Cacheable(value="KPME/TimeOffAccrual", key="\'laTimeOffAccrualId=\' + #p0") TimeOffAccrual getTimeOffAccrual(Long laTimeOffAccrualId)
laTimeOffAccrualId
-
@Cacheable(value="KPME/TimeOffAccrual", key="\'principalId=\' + #p0 + \'|\' + \'asOfDate=\' + #p1") List<TimeOffAccrual> getTimeOffAccruals(String principalId, Date asOfDate)
int getTimeOffAccrualCount(String accrualCategory, Date effectiveDate, String principalId, String lmAccrualId)
accrualCategory
- effectiveDate
- principalId
- lmAccrualId
-
List<TimeOffAccrual> getTimeOffAccruals(String principalId, String accrualCategory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |