public interface BalanceTransferService
Modifier and Type | Method and Description |
---|---|
List<BalanceTransfer> |
getAllBalanceTransferByEffectiveDate(org.joda.time.LocalDate effectiveDate) |
List<BalanceTransfer> |
getAllBalanceTransferForPrincipalIdAsOfDate(String principalId,
org.joda.time.LocalDate effectiveDate) |
List<BalanceTransfer> |
getAllBalanceTransfersForPrincipalId(String principalId) |
BalanceTransfer |
getBalanceTransferById(String balanceTransferId) |
List<BalanceTransfer> |
getBalanceTransfers(String viewPrincipal,
org.joda.time.LocalDate beginPeriodDate,
org.joda.time.LocalDate endPeriodDate) |
List<BalanceTransfer> |
getBalanceTransfers(String principalId,
String fromAccrualCategory,
String transferAmount,
String toAccrualCategory,
String amountTransferred,
String forfeitedAmount,
org.joda.time.LocalDate fromEffdt,
org.joda.time.LocalDate toEffdt) |
BalanceTransfer |
initializeTransfer(String principalId,
String accrualCategoryRule,
BigDecimal accruedBalance,
org.joda.time.LocalDate effectiveDate)
A service that instantiates and returns BalanceTransfer objects that follow the given accrual category rule.
|
void |
saveOrUpdate(BalanceTransfer balanceTransfer) |
String |
submitToWorkflow(BalanceTransfer balanceTransfer)
Determines which accrual categories within the given leave calendar document, are TRANSFERABLE for the given action frequency.
|
BalanceTransfer |
transfer(BalanceTransfer balanceTransfer)
Consumes a BalanceTransfer object, creating up to three leave blocks.
|
BalanceTransfer |
transferSsto(BalanceTransfer balanceTransfer)
transfer system scheduled time off
|
List<BalanceTransfer> getAllBalanceTransfersForPrincipalId(String principalId)
List<BalanceTransfer> getAllBalanceTransferForPrincipalIdAsOfDate(String principalId, org.joda.time.LocalDate effectiveDate)
List<BalanceTransfer> getAllBalanceTransferByEffectiveDate(org.joda.time.LocalDate effectiveDate)
void saveOrUpdate(BalanceTransfer balanceTransfer)
BalanceTransfer getBalanceTransferById(String balanceTransferId)
BalanceTransfer initializeTransfer(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.accruedBalance
- Holds balance information needed for transfer.effectiveDate
- BalanceTransfer transfer(BalanceTransfer balanceTransfer)
balanceTransfer
- The BalanceTransfer object to use for transfer.String submitToWorkflow(BalanceTransfer balanceTransfer) throws org.kuali.rice.kew.api.exception.WorkflowException
document
- The LeaveCalendarDocument to use in gathering transfer eligible accrual categories.actionFrequency
- One of HrConstants.MAX_BAL_ACTION_FREQException
org.kuali.rice.kew.api.exception.WorkflowException
BalanceTransfer transferSsto(BalanceTransfer balanceTransfer)
balanceTransfer
- List<BalanceTransfer> getBalanceTransfers(String viewPrincipal, org.joda.time.LocalDate beginPeriodDate, org.joda.time.LocalDate endPeriodDate)
List<BalanceTransfer> getBalanceTransfers(String principalId, String fromAccrualCategory, String transferAmount, String toAccrualCategory, String amountTransferred, String forfeitedAmount, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.