|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.lm.balancetransfer.service.BalanceTransferServiceImpl
public class BalanceTransferServiceImpl
Constructor Summary | |
---|---|
BalanceTransferServiceImpl()
|
Method Summary | |
---|---|
List<BalanceTransfer> |
getAllBalanceTransferByEffectiveDate(Date effectiveDate)
|
List<BalanceTransfer> |
getAllBalanceTransferForPrincipalIdAsOfDate(String principalId,
Date effectiveDate)
|
List<BalanceTransfer> |
getAllBalanceTransfersForPrincipalId(String principalId)
|
BalanceTransfer |
getBalanceTransferById(String balanceTransferId)
|
BalanceTransferDao |
getBalanceTransferDao()
|
List<BalanceTransfer> |
getBalanceTransfers(String viewPrincipal,
Date beginPeriodDate,
Date endPeriodDate)
|
Map<String,ArrayList<String>> |
getEligibleTransfers(CalendarEntries calendarEntry,
String principalId)
Determines which accrual categories within the given leave calendar document, are TRANSFERABLE for the given action frequency. |
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 |
setBalanceTransferDao(BalanceTransferDao balanceTransferDao)
|
void |
submitToWorkflow(BalanceTransfer balanceTransfer)
|
BalanceTransfer |
transfer(BalanceTransfer balanceTransfer)
Consumes a BalanceTransfer object, creating up to three leave blocks. |
BalanceTransfer |
transferSsto(BalanceTransfer balanceTransfer)
transfer system scheduled time off |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BalanceTransferServiceImpl()
Method Detail |
---|
public List<BalanceTransfer> getAllBalanceTransfersForPrincipalId(String principalId)
getAllBalanceTransfersForPrincipalId
in interface BalanceTransferService
public List<BalanceTransfer> getAllBalanceTransferForPrincipalIdAsOfDate(String principalId, Date effectiveDate)
getAllBalanceTransferForPrincipalIdAsOfDate
in interface BalanceTransferService
public List<BalanceTransfer> getAllBalanceTransferByEffectiveDate(Date effectiveDate)
getAllBalanceTransferByEffectiveDate
in interface BalanceTransferService
public BalanceTransfer getBalanceTransferById(String balanceTransferId)
getBalanceTransferById
in interface BalanceTransferService
public BalanceTransfer initializeTransfer(String principalId, String accrualCategoryRule, BigDecimal accruedBalance, Date effectiveDate)
BalanceTransferService
initializeTransfer
in interface BalanceTransferService
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.
public BalanceTransfer transfer(BalanceTransfer balanceTransfer)
BalanceTransferService
transfer
in interface BalanceTransferService
balanceTransfer
- The BalanceTransfer object to use for transfer.
public Map<String,ArrayList<String>> getEligibleTransfers(CalendarEntries calendarEntry, String principalId) throws Exception
BalanceTransferService
getEligibleTransfers
in interface BalanceTransferService
Exception
public BalanceTransferDao getBalanceTransferDao()
public void setBalanceTransferDao(BalanceTransferDao balanceTransferDao)
public void submitToWorkflow(BalanceTransfer balanceTransfer) throws org.kuali.rice.kew.api.exception.WorkflowException
submitToWorkflow
in interface BalanceTransferService
org.kuali.rice.kew.api.exception.WorkflowException
public BalanceTransfer transferSsto(BalanceTransfer balanceTransfer)
BalanceTransferService
transferSsto
in interface BalanceTransferService
public List<BalanceTransfer> getBalanceTransfers(String viewPrincipal, Date beginPeriodDate, Date endPeriodDate)
getBalanceTransfers
in interface BalanceTransferService
public void saveOrUpdate(BalanceTransfer balanceTransfer)
saveOrUpdate
in interface BalanceTransferService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |