public interface LeavePayoutService
Modifier and Type | Method and Description |
---|---|
List<LeavePayout> |
getAllLeavePayoutsByEffectiveDate(org.joda.time.LocalDate effectiveDate) |
List<LeavePayout> |
getAllLeavePayoutsForPrincipalId(String principalId) |
List<LeavePayout> |
getAllLeavePayoutsForPrincipalIdAsOfDate(String principalId,
org.joda.time.LocalDate effectiveDate) |
LeavePayout |
getLeavePayoutById(String lmLeavePayoutId) |
List<LeavePayout> |
getLeavePayouts(String viewPrincipal,
org.joda.time.LocalDate beginPeriodDate,
org.joda.time.LocalDate endPeriodDate) |
List<LeavePayout> |
getLeavePayouts(String principalId,
String fromAccrualCategory,
String payoutAmount,
String earnCode,
String forfeitedAmount,
org.joda.time.LocalDate fromEffdt,
org.joda.time.LocalDate toEffdt) |
LeavePayout |
initializePayout(String principalId,
String accrualCategoryRule,
BigDecimal accruedBalance,
org.joda.time.LocalDate 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)
Helper Services
|
List<LeavePayout> getAllLeavePayoutsForPrincipalId(String principalId)
List<LeavePayout> getAllLeavePayoutsForPrincipalIdAsOfDate(String principalId, org.joda.time.LocalDate effectiveDate)
List<LeavePayout> getAllLeavePayoutsByEffectiveDate(org.joda.time.LocalDate effectiveDate)
LeavePayout getLeavePayoutById(String lmLeavePayoutId)
LeavePayout initializePayout(String principalId, String accrualCategoryRule, BigDecimal accruedBalance, org.joda.time.LocalDate 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.void submitToWorkflow(LeavePayout leavePayout) throws org.kuali.rice.kew.api.exception.WorkflowException
org.kuali.rice.kew.api.exception.WorkflowException
List<LeavePayout> getLeavePayouts(String viewPrincipal, org.joda.time.LocalDate beginPeriodDate, org.joda.time.LocalDate endPeriodDate)
void saveOrUpdate(LeavePayout payout)
List<LeavePayout> getLeavePayouts(String principalId, String fromAccrualCategory, String payoutAmount, String earnCode, String forfeitedAmount, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.