public class BasicLeaveBalance extends LeaveBalance implements BasicLeaveBalanceContract
accrualCategory, asOfDate, balance, calendarPeriodBeginDate, calendarPeriodEndDate, principalCalendar| Constructor and Description |
|---|
BasicLeaveBalance(AccrualCategory accrualCategory,
PrincipalHRAttributesBo principalCalendar) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(LeaveBlock leaveBlock)
A hook for adding leave blocks via leave calendar action
|
void |
adjust(LeaveBlock leaveBlock)
A hook for editing leave blocks via leave calendar action
|
void |
clear() |
String |
getBalanceType()
The balance type associated with the LeaveBalance
|
void |
remove(LeaveBlock leaveBlock)
A hook for removing leave blocks via leave calendar action
|
add, getAccrualCategory, getAccrualCategoryRuleForDate, getBalance, getEmployeeOverride, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccrualCategory, getBalancepublic BasicLeaveBalance(AccrualCategory accrualCategory, PrincipalHRAttributesBo principalCalendar)
public void add(LeaveBlock leaveBlock) throws UsageLimitException, MaximumBalanceException, NegativeBalanceException
LeaveBalanceadd in class LeaveBalanceleaveBlock - The leave block to be added to the bucketUsageLimitExceptionMaximumBalanceExceptionNegativeBalanceExceptionpublic void remove(LeaveBlock leaveBlock) throws UsageLimitException, MaximumBalanceException, NegativeBalanceException
LeaveBalanceremove in class LeaveBalanceUsageLimitExceptionMaximumBalanceExceptionNegativeBalanceExceptionpublic String getBalanceType()
LeaveBalanceContractThis is an abstract method that gets overridden in sub classes
getBalanceType in interface LeaveBalanceContractgetBalanceType in class LeaveBalancepublic void adjust(LeaveBlock leaveBlock) throws UsageLimitException, MaximumBalanceException, NegativeBalanceException
LeaveBalanceadjust in class LeaveBalanceUsageLimitExceptionMaximumBalanceExceptionNegativeBalanceExceptionpublic void clear()
clear in class LeaveBalanceCopyright © 2004–2014 The Kuali Foundation. All rights reserved.