org.kuali.hr.lm.leaveblock.dao
Interface LeaveBlockDao

All Known Implementing Classes:
LeaveBlockDaoSpringOjbImpl

public interface LeaveBlockDao


Method Summary
 void deleteLeaveBlock(String leaveBlockId)
           
 void deleteLeaveBlocksForDocumentId(String documentId)
           
 List<LeaveBlock> getABELeaveBlocksSinceTime(String principalId, Timestamp lastRanTime)
           
 List<LeaveBlock> getAccrualGeneratedLeaveBlocks(String principalId, Date beginDate, Date endDate)
           
 List<LeaveBlock> getCalendarLeaveBlocks(String principalId, Date beginDate, Date endDate)
          Get the leave blocks created from time or leave calendars for given pricipalId and calendar period
 List<LeaveBlock> getFMLALeaveBlocks(String principalId, String accrualCategory, Date beginDate, Date endDate)
           
 Map<String,LeaveBlock> getLastCarryOverBlocks(String principalId, String leaveBlockType, Date asOfDate)
           
 LeaveBlock getLeaveBlock(String leaveBlockId)
           
 List<LeaveBlock> getLeaveBlocks(Date leaveDate, String accrualCategory, String principalId)
           
 List<LeaveBlock> getLeaveBlocks(String principalId, Date beginDate, Date endDate)
           
 List<LeaveBlock> getLeaveBlocks(String principalId, String accrualCategory, Date beginDate, Date endDate)
           
 List<LeaveBlock> getLeaveBlocks(String principalId, String leaveBlockType, String requestStatus, Date currentDate)
           
 List<LeaveBlock> getLeaveBlocks(String principalId, String leaveBlockType, String requestStatus, Date beginDate, Date endDate)
           
 List<LeaveBlock> getLeaveBlocksForDate(String principalId, Date leaveDate)
           
 List<LeaveBlock> getLeaveBlocksForDocumentId(String documentId)
           
 List<LeaveBlock> getLeaveBlocksSinceCarryOver(String principalId, Map<String,LeaveBlock> carryOverDates, org.joda.time.DateTime endDate, boolean includeAllAccrualCategories)
           
 List<LeaveBlock> getLeaveBlocksWithAccrualCategory(String principalId, Date beginDate, Date endDate, String accrualCategory)
           
 List<LeaveBlock> getLeaveBlocksWithType(String principalId, Date beginDate, Date endDate, String leaveBlockType)
           
 List<LeaveBlock> getNotAccrualGeneratedLeaveBlocksForDate(String principalId, Date leaveDate)
           
 List<LeaveBlock> getSSTOLeaveBlocks(String principalId, String sstoId, Date accruledDate)
           
 

Method Detail

getLeaveBlock

LeaveBlock getLeaveBlock(String leaveBlockId)

getLeaveBlocksForDocumentId

List<LeaveBlock> getLeaveBlocksForDocumentId(String documentId)

getLeaveBlocks

List<LeaveBlock> getLeaveBlocks(String principalId,
                                Date beginDate,
                                Date endDate)

getLeaveBlocksWithType

List<LeaveBlock> getLeaveBlocksWithType(String principalId,
                                        Date beginDate,
                                        Date endDate,
                                        String leaveBlockType)

getLeaveBlocksWithAccrualCategory

List<LeaveBlock> getLeaveBlocksWithAccrualCategory(String principalId,
                                                   Date beginDate,
                                                   Date endDate,
                                                   String accrualCategory)

getLeaveBlocksSinceCarryOver

List<LeaveBlock> getLeaveBlocksSinceCarryOver(String principalId,
                                              Map<String,LeaveBlock> carryOverDates,
                                              org.joda.time.DateTime endDate,
                                              boolean includeAllAccrualCategories)

getLastCarryOverBlocks

Map<String,LeaveBlock> getLastCarryOverBlocks(String principalId,
                                              String leaveBlockType,
                                              Date asOfDate)

getLeaveBlocks

List<LeaveBlock> getLeaveBlocks(String principalId,
                                String leaveBlockType,
                                String requestStatus,
                                Date currentDate)

getLeaveBlocksForDate

List<LeaveBlock> getLeaveBlocksForDate(String principalId,
                                       Date leaveDate)

getLeaveBlocks

List<LeaveBlock> getLeaveBlocks(Date leaveDate,
                                String accrualCategory,
                                String principalId)

getLeaveBlocks

List<LeaveBlock> getLeaveBlocks(String principalId,
                                String accrualCategory,
                                Date beginDate,
                                Date endDate)

getFMLALeaveBlocks

List<LeaveBlock> getFMLALeaveBlocks(String principalId,
                                    String accrualCategory,
                                    Date beginDate,
                                    Date endDate)

getNotAccrualGeneratedLeaveBlocksForDate

List<LeaveBlock> getNotAccrualGeneratedLeaveBlocksForDate(String principalId,
                                                          Date leaveDate)

getCalendarLeaveBlocks

List<LeaveBlock> getCalendarLeaveBlocks(String principalId,
                                        Date beginDate,
                                        Date endDate)
Get the leave blocks created from time or leave calendars for given pricipalId and calendar period

Parameters:
principalId -
beginDate -
endDate -
Returns:

deleteLeaveBlock

void deleteLeaveBlock(String leaveBlockId)

deleteLeaveBlocksForDocumentId

void deleteLeaveBlocksForDocumentId(String documentId)

getAccrualGeneratedLeaveBlocks

List<LeaveBlock> getAccrualGeneratedLeaveBlocks(String principalId,
                                                Date beginDate,
                                                Date endDate)

getSSTOLeaveBlocks

List<LeaveBlock> getSSTOLeaveBlocks(String principalId,
                                    String sstoId,
                                    Date accruledDate)

getABELeaveBlocksSinceTime

List<LeaveBlock> getABELeaveBlocksSinceTime(String principalId,
                                            Timestamp lastRanTime)

getLeaveBlocks

List<LeaveBlock> getLeaveBlocks(String principalId,
                                String leaveBlockType,
                                String requestStatus,
                                Date beginDate,
                                Date endDate)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.