|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LeavePayoutService
| Method Summary | |
|---|---|
List<LeavePayout> |
getAllLeavePayoutsByEffectiveDate(Date effectiveDate)
|
List<LeavePayout> |
getAllLeavePayoutsForPrincipalId(String principalId)
|
List<LeavePayout> |
getAllLeavePayoutsForPrincipalIdAsOfDate(String principalId,
Date effectiveDate)
|
Map<String,ArrayList<String>> |
getEligiblePayouts(CalendarEntries calendarEntry,
String principalId)
Determines which accrual categories within the given leave calendar document, are TRANSFERABLE for the given action frequency. |
LeavePayout |
getLeavePayoutById(String lmLeavePayoutId)
|
List<LeavePayout> |
getLeavePayouts(String viewPrincipal,
Date beginPeriodDate,
Date endPeriodDate)
|
LeavePayout |
initializePayout(String principalId,
String accrualCategoryRule,
BigDecimal accruedBalance,
Date effectiveDate)
A service that instantiates and returns LeavePayout objects that follow the given accrual category rule. |
LeavePayout |
payout(LeavePayout leavePayout)
Consumes a LeavePayout object, creating up to three leave blocks. |
void |
saveOrUpdate(LeavePayout payout)
|
void |
submitToWorkflow(LeavePayout leavePayout)
|
| Method Detail |
|---|
List<LeavePayout> getAllLeavePayoutsForPrincipalId(String principalId)
List<LeavePayout> getAllLeavePayoutsForPrincipalIdAsOfDate(String principalId,
Date effectiveDate)
List<LeavePayout> getAllLeavePayoutsByEffectiveDate(Date effectiveDate)
LeavePayout getLeavePayoutById(String lmLeavePayoutId)
LeavePayout initializePayout(String principalId,
String accrualCategoryRule,
BigDecimal accruedBalance,
Date effectiveDate)
principalId - The principal this transfer pertains to.accrualCategoryRule - The accrual category rule that contains the max balance information.leaveSummary - Holds balance information needed for transfer.effectiveDate -
LeavePayout payout(LeavePayout leavePayout)
LeavePayout - The LeavePayout object to use for transfer.
Map<String,ArrayList<String>> getEligiblePayouts(CalendarEntries calendarEntry,
String principalId)
throws Exception
document - The LeaveCalendarDocument to use in gathering transfer eligible accrual categories.actionFrequency - One of LMConstants.MAX_BAL_ACTION_FREQ
Exception
void submitToWorkflow(LeavePayout leavePayout)
throws org.kuali.rice.kew.api.exception.WorkflowException
org.kuali.rice.kew.api.exception.WorkflowException
List<LeavePayout> getLeavePayouts(String viewPrincipal,
Date beginPeriodDate,
Date endPeriodDate)
void saveOrUpdate(LeavePayout payout)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||