|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.lm.accrual.service.AccrualServiceImpl
public class AccrualServiceImpl
Constructor Summary | |
---|---|
AccrualServiceImpl()
|
Method Summary | |
---|---|
RateRangeAggregate |
buildRateRangeAggregate(String principalId,
Date startDate,
Date endDate)
build a RateRangeAggregate with given parameters |
void |
calculateFutureAccrualUsingPlanningMonth(String principalId,
Date asOfDate)
calculate future accrual for given principal id |
List<AccrualCategory> |
getAccrualCategoriesForDate(List<AccrualCategory> activeAccrCatList,
List<AccrualCategory> inactiveAccrCatList,
String leavePlan,
Date currentDate)
|
List<AccrualCategoryRule> |
getAccrualCategoryRulesForDate(List<AccrualCategoryRule> acrList,
String accrualCategoryId,
Date currentDate,
Date serviceDate)
|
Date |
getEndAccrualDate(String principalId)
|
PrincipalHRAttributes |
getInactivePrincipalHrAttributesForDate(List<PrincipalHRAttributes> inactiveList,
Date activeDate,
Date currentDate)
|
List<Job> |
getJobsForDate(List<Job> activeJobs,
List<Job> inactiveJobs,
Date currentDate)
|
LeavePlan |
getLeavePlanForDate(List<LeavePlan> activeLpList,
List<LeavePlan> inactiveLpList,
String leavePlan,
Date currentDate)
|
Date |
getNextAccrualIntervalDate(String earnInterval,
Date aDate)
get the accrual interval date of the next accrual period with given parameters |
Date |
getPreviousAccrualIntervalDate(String earnInterval,
Date aDate)
get the accrual interval date of the previous accrual period with given parameters |
PrincipalHRAttributes |
getPrincipalHrAttributesForDate(List<PrincipalHRAttributes> activeList,
Date currentDate)
|
boolean |
getProrationFlag(String proration)
|
AccrualCategoryRule |
getRuleForAccrualCategory(List<AccrualCategoryRule> acrList,
AccrualCategory ac)
|
Date |
getRuleStartDate(String earnInterval,
Date serviceDate,
Long startAcc)
|
Date |
getStartAccrualDate(String principalId)
|
int |
getWorkDaysInAccrualInterval(String earnInterval,
Date aDate)
calculate # of work days in an accrual period |
boolean |
isDateAtEarnInterval(Date aDate,
String earnInterval)
determine if the given date is at the earn interval |
boolean |
isEmpoyeementFutureStatusChanged(String principalId,
Date startDate,
Date endDate)
determine if the employee's future status is changed during the range of given Calendar Entry |
void |
runAccrual(List<String> principalIds)
|
void |
runAccrual(String principalId)
|
void |
runAccrual(String principalId,
Date startDate,
Date endDate,
boolean recordRanData)
|
void |
runAccrual(String principalId,
Date startDate,
Date endDate,
boolean recordRanData,
String runAsPrincipalId)
|
boolean |
statusChangedSinceLastRun(String principalId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccrualServiceImpl()
Method Detail |
---|
public void runAccrual(String principalId)
runAccrual
in interface AccrualService
public void runAccrual(String principalId, Date startDate, Date endDate, boolean recordRanData)
runAccrual
in interface AccrualService
public void runAccrual(String principalId, Date startDate, Date endDate, boolean recordRanData, String runAsPrincipalId)
runAccrual
in interface AccrualService
public Date getStartAccrualDate(String principalId)
public Date getEndAccrualDate(String principalId)
public void runAccrual(List<String> principalIds)
runAccrual
in interface AccrualService
public boolean isDateAtEarnInterval(Date aDate, String earnInterval)
AccrualService
isDateAtEarnInterval
in interface AccrualService
public RateRangeAggregate buildRateRangeAggregate(String principalId, Date startDate, Date endDate)
AccrualService
buildRateRangeAggregate
in interface AccrualService
public List<Job> getJobsForDate(List<Job> activeJobs, List<Job> inactiveJobs, Date currentDate)
public PrincipalHRAttributes getPrincipalHrAttributesForDate(List<PrincipalHRAttributes> activeList, Date currentDate)
public PrincipalHRAttributes getInactivePrincipalHrAttributesForDate(List<PrincipalHRAttributes> inactiveList, Date activeDate, Date currentDate)
public LeavePlan getLeavePlanForDate(List<LeavePlan> activeLpList, List<LeavePlan> inactiveLpList, String leavePlan, Date currentDate)
public List<AccrualCategory> getAccrualCategoriesForDate(List<AccrualCategory> activeAccrCatList, List<AccrualCategory> inactiveAccrCatList, String leavePlan, Date currentDate)
public boolean isEmpoyeementFutureStatusChanged(String principalId, Date startDate, Date endDate)
AccrualService
isEmpoyeementFutureStatusChanged
in interface AccrualService
public void calculateFutureAccrualUsingPlanningMonth(String principalId, Date asOfDate)
AccrualService
calculateFutureAccrualUsingPlanningMonth
in interface AccrualService
public Date getPreviousAccrualIntervalDate(String earnInterval, Date aDate)
AccrualService
getPreviousAccrualIntervalDate
in interface AccrualService
public Date getNextAccrualIntervalDate(String earnInterval, Date aDate)
AccrualService
getNextAccrualIntervalDate
in interface AccrualService
public int getWorkDaysInAccrualInterval(String earnInterval, Date aDate)
AccrualService
getWorkDaysInAccrualInterval
in interface AccrualService
public Date getRuleStartDate(String earnInterval, Date serviceDate, Long startAcc)
public boolean getProrationFlag(String proration)
public boolean statusChangedSinceLastRun(String principalId)
statusChangedSinceLastRun
in interface AccrualService
public List<AccrualCategoryRule> getAccrualCategoryRulesForDate(List<AccrualCategoryRule> acrList, String accrualCategoryId, Date currentDate, Date serviceDate)
public AccrualCategoryRule getRuleForAccrualCategory(List<AccrualCategoryRule> acrList, AccrualCategory ac)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |