org.kuali.kpme.tklm.leave.accrual.bucket
Class PendingLeaveBalance
java.lang.Object
  
org.kuali.kpme.tklm.leave.accrual.bucket.LeaveBalance
      
org.kuali.kpme.tklm.leave.accrual.bucket.PendingLeaveBalance
- All Implemented Interfaces: 
 - LeaveBalanceContract, PendingLeaveBalanceContract
 
public class PendingLeaveBalance
- extends LeaveBalance
- implements PendingLeaveBalanceContract
  
 
 
 
| 
Method Summary | 
 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 | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
PendingLeaveBalance
public PendingLeaveBalance(AccrualCategory accrualCategory,
                           PrincipalHRAttributes principalCalendar)
add
public void add(LeaveBlock leaveBlock)
         throws UsageLimitException,
                MaximumBalanceException,
                NegativeBalanceException
- Description copied from class: 
LeaveBalance 
- A hook for adding leave blocks via leave calendar action
- Specified by:
 add in class LeaveBalance
 
- Parameters:
 leaveBlock - The leave block to be added to the bucket
- Throws:
 UsageLimitException
MaximumBalanceException
NegativeBalanceException
 
 
remove
public void remove(LeaveBlock leaveBlock)
            throws UsageLimitException,
                   MaximumBalanceException,
                   NegativeBalanceException
- Description copied from class: 
LeaveBalance 
- A hook for removing leave blocks via leave calendar action
- Specified by:
 remove in class LeaveBalance
 
- Throws:
 UsageLimitException
MaximumBalanceException
NegativeBalanceException
 
 
getBalanceType
public String getBalanceType()
- Description copied from interface: 
LeaveBalanceContract 
- The balance type associated with the LeaveBalance
 
 
 This is an abstract method that gets overridden in sub classes
 
- Specified by:
 getBalanceType in interface LeaveBalanceContract- Specified by:
 getBalanceType in class LeaveBalance
 
- Returns:
 
 
 
adjust
public void adjust(LeaveBlock leaveBlock)
            throws UsageLimitException,
                   MaximumBalanceException,
                   NegativeBalanceException
- Description copied from class: 
LeaveBalance 
- A hook for editing leave blocks via leave calendar action
- Specified by:
 adjust in class LeaveBalance
 
- Throws:
 UsageLimitException
MaximumBalanceException
NegativeBalanceException
 
 
clear
public void clear()
- Overrides:
 clear in class LeaveBalance
 
 
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.