|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.accrual.service.TimeOffAccrualServiceImpl
public class TimeOffAccrualServiceImpl
Field Summary | |
---|---|
static String |
ACCRUAL_CATEGORY_KEY
|
static String |
ACCRUAL_NAME_KEY
|
static String |
ACCRUAL_RATE_KEY
|
static String |
EFF_DATE_KEY
|
static String |
HOURS_ACCRUED_KEY
|
static String |
HOURS_ADJUST_KEY
|
static String |
HOURS_TAKEN_KEY
|
static String |
TOTAL_HOURS_KEY
|
static String |
YEARLY_CARRYOVER_KEY
|
Constructor Summary | |
---|---|
TimeOffAccrualServiceImpl()
|
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 |
void |
setTimeOffAccrualDao(TimeOffAccrualDao timeOffAccrualDao)
|
BigDecimal |
totalForAccrCate(String accrualCategory,
List<TimeBlock> tbList,
List<TimeBlock> warningTbs)
|
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 earnCode)
Validate the accrual hours for the time blocks by earncode of the given TimesheetDocument and returns a JSONArray of warning messages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ACCRUAL_CATEGORY_KEY
public static final String ACCRUAL_RATE_KEY
public static final String ACCRUAL_NAME_KEY
public static final String YEARLY_CARRYOVER_KEY
public static final String HOURS_ACCRUED_KEY
public static final String HOURS_TAKEN_KEY
public static final String HOURS_ADJUST_KEY
public static final String TOTAL_HOURS_KEY
public static final String EFF_DATE_KEY
Constructor Detail |
---|
public TimeOffAccrualServiceImpl()
Method Detail |
---|
public void setTimeOffAccrualDao(TimeOffAccrualDao timeOffAccrualDao)
public List<TimeOffAccrual> getTimeOffAccruals(String principalId, Date asOfDate)
getTimeOffAccruals
in interface TimeOffAccrualService
public List<Map<String,Object>> getTimeOffAccrualsCalc(String principalId, Date asOfDate)
TimeOffAccrualService
getTimeOffAccrualsCalc
in interface TimeOffAccrualService
public List<String> validateAccrualHoursLimit(TimesheetDocument timesheetDocument)
TimeOffAccrualService
validateAccrualHoursLimit
in interface TimeOffAccrualService
public List<String> validateAccrualHoursLimit(String pId, List<TimeBlock> tbList, Date asOfDate)
validateAccrualHoursLimit
in interface TimeOffAccrualService
public List<String> validateAccrualHoursLimitByEarnCode(TimesheetDocument timesheetDocument, String earnCode)
TimeOffAccrualService
validateAccrualHoursLimitByEarnCode
in interface TimeOffAccrualService
public BigDecimal totalForAccrCate(String accrualCategory, List<TimeBlock> tbList, List<TimeBlock> warningTbs)
public TimeOffAccrual getTimeOffAccrual(Long laTimeOffAccrualId)
TimeOffAccrualService
getTimeOffAccrual
in interface TimeOffAccrualService
public int getTimeOffAccrualCount(String accrualCategory, Date effectiveDate, String principalId, String lmAccrualId)
TimeOffAccrualService
getTimeOffAccrualCount
in interface TimeOffAccrualService
public List<TimeOffAccrual> getTimeOffAccruals(String principalId, String accrualCategory)
getTimeOffAccruals
in interface TimeOffAccrualService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |