|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BalanceTransferService
Method Summary | |
---|---|
List<BalanceTransfer> |
getAllBalanceTransferByEffectiveDate(Date effectiveDate)
|
List<BalanceTransfer> |
getAllBalanceTransferForPrincipalIdAsOfDate(String principalId,
Date effectiveDate)
|
List<BalanceTransfer> |
getAllBalanceTransfersForPrincipalId(String principalId)
|
BalanceTransfer |
getBalanceTransferById(String balanceTransferId)
|
List<BalanceTransfer> |
getBalanceTransfers(String viewPrincipal,
Date beginPeriodDate,
Date endPeriodDate)
|
BalanceTransfer |
initializeTransfer(String principalId,
String accrualCategoryRule,
BigDecimal accruedBalance,
Date effectiveDate)
A service that instantiates and returns BalanceTransfer objects that follow the given accrual category rule. |
void |
saveOrUpdate(BalanceTransfer balanceTransfer)
|
void |
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 |
Method Detail |
---|
List<BalanceTransfer> getAllBalanceTransfersForPrincipalId(String principalId)
List<BalanceTransfer> getAllBalanceTransferForPrincipalIdAsOfDate(String principalId, Date effectiveDate)
List<BalanceTransfer> getAllBalanceTransferByEffectiveDate(Date effectiveDate)
void saveOrUpdate(BalanceTransfer balanceTransfer)
BalanceTransfer getBalanceTransferById(String balanceTransferId)
BalanceTransfer initializeTransfer(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.accruedBalance
- Holds balance information needed for transfer.effectiveDate
-
BalanceTransfer transfer(BalanceTransfer balanceTransfer)
balanceTransfer
- The BalanceTransfer object to use for transfer.
void 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 LMConstants.MAX_BAL_ACTION_FREQ
Exception
org.kuali.rice.kew.api.exception.WorkflowException
BalanceTransfer transferSsto(BalanceTransfer balanceTransfer)
balanceTransfer
-
List<BalanceTransfer> getBalanceTransfers(String viewPrincipal, Date beginPeriodDate, Date endPeriodDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |