public class PendingLeaveBalance extends LeaveBalance implements PendingLeaveBalanceContract
accrualCategory, asOfDate, balance, calendarPeriodBeginDate, calendarPeriodEndDate, principalCalendar
Constructor and Description |
---|
PendingLeaveBalance(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, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccrualCategory, getBalance
public PendingLeaveBalance(AccrualCategory accrualCategory, PrincipalHRAttributesBo principalCalendar)
public void add(LeaveBlock leaveBlock) throws UsageLimitException, MaximumBalanceException, NegativeBalanceException
LeaveBalance
add
in class LeaveBalance
leaveBlock
- The leave block to be added to the bucketUsageLimitException
MaximumBalanceException
NegativeBalanceException
public void remove(LeaveBlock leaveBlock) throws UsageLimitException, MaximumBalanceException, NegativeBalanceException
LeaveBalance
remove
in class LeaveBalance
UsageLimitException
MaximumBalanceException
NegativeBalanceException
public String getBalanceType()
LeaveBalanceContract
This is an abstract method that gets overridden in sub classes
getBalanceType
in interface LeaveBalanceContract
getBalanceType
in class LeaveBalance
public void adjust(LeaveBlock leaveBlock) throws UsageLimitException, MaximumBalanceException, NegativeBalanceException
LeaveBalance
adjust
in class LeaveBalance
UsageLimitException
MaximumBalanceException
NegativeBalanceException
public void clear()
clear
in class LeaveBalance
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.