org.kuali.kpme.tklm.leave.block.dao
Class LeaveBlockDaoOjbImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
org.kuali.kpme.tklm.leave.block.dao.LeaveBlockDaoOjbImpl
- All Implemented Interfaces:
- LeaveBlockDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class LeaveBlockDaoOjbImpl
- extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
- implements LeaveBlockDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
void |
deleteLeaveBlock(String leaveBlockId)
|
void |
deleteLeaveBlocksForDocumentId(String documentId)
|
List<LeaveBlock> |
getABELeaveBlocksSinceTime(String principalId,
org.joda.time.DateTime lastRanDateTime)
|
List<LeaveBlock> |
getAccrualGeneratedLeaveBlocks(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
|
List<LeaveBlock> |
getCalendarLeaveBlocks(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
Get the leave blocks created from time or leave calendars for given pricipalId and calendar period |
List<LeaveBlock> |
getFMLALeaveBlocks(String principalId,
String accrualCategory,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
|
Map<String,LeaveBlock> |
getLastCarryOverBlocks(String principalId,
String leaveBlockType,
org.joda.time.LocalDate asOfDate)
|
LeaveBlock |
getLeaveBlock(String leaveBlockId)
|
List<LeaveBlock> |
getLeaveBlocks(org.joda.time.LocalDate leaveDate,
String accrualCategory,
String principalId)
|
List<LeaveBlock> |
getLeaveBlocks(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
|
List<LeaveBlock> |
getLeaveBlocks(String principalId,
String accrualCategory,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
|
List<LeaveBlock> |
getLeaveBlocks(String principalId,
String leaveBlockType,
String requestStatus,
org.joda.time.LocalDate currentDate)
|
List<LeaveBlock> |
getLeaveBlocks(String principalId,
String leaveBlockType,
String requestStatus,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
|
List<LeaveBlock> |
getLeaveBlocksForDate(String principalId,
org.joda.time.LocalDate leaveDate)
|
List<LeaveBlock> |
getLeaveBlocksForDocumentId(String documentId)
|
List<LeaveBlock> |
getLeaveBlocksForLookup(String documentId,
String principalId,
String userPrincipalId,
org.joda.time.LocalDate fromDate,
org.joda.time.LocalDate toDate,
String leaveBlockType)
|
List<LeaveBlock> |
getLeaveBlocksSinceCarryOver(String principalId,
Map<String,LeaveBlock> carryOverDates,
org.joda.time.LocalDate endDate,
boolean includeAllAccrualCategories)
|
List<LeaveBlock> |
getLeaveBlocksWithAccrualCategory(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate,
String accrualCategory)
|
List<LeaveBlock> |
getLeaveBlocksWithType(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate,
String leaveBlockType)
|
List<LeaveBlock> |
getNotAccrualGeneratedLeaveBlocksForDate(String principalId,
org.joda.time.LocalDate leaveDate)
|
List<LeaveBlock> |
getSSTOLeaveBlocks(String principalId,
String sstoId,
org.joda.time.LocalDate accruledDate)
|
List<LeaveBlock> |
getTimeCalendarLeaveBlocksForTimeBlockLookup(String documentId,
String principalId,
String userPrincipalId,
org.joda.time.LocalDate fromDate,
org.joda.time.LocalDate toDate)
|
Methods inherited from class org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb |
getDbPlatform, setDbPlatform |
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport |
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeaveBlockDaoOjbImpl
public LeaveBlockDaoOjbImpl()
getLeaveBlock
public LeaveBlock getLeaveBlock(String leaveBlockId)
- Specified by:
getLeaveBlock
in interface LeaveBlockDao
getLeaveBlocksForDocumentId
public List<LeaveBlock> getLeaveBlocksForDocumentId(String documentId)
- Specified by:
getLeaveBlocksForDocumentId
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getLeaveBlocksWithType
public List<LeaveBlock> getLeaveBlocksWithType(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate,
String leaveBlockType)
- Specified by:
getLeaveBlocksWithType
in interface LeaveBlockDao
getLeaveBlocksWithAccrualCategory
public List<LeaveBlock> getLeaveBlocksWithAccrualCategory(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate,
String accrualCategory)
- Specified by:
getLeaveBlocksWithAccrualCategory
in interface LeaveBlockDao
getLeaveBlocksSinceCarryOver
public List<LeaveBlock> getLeaveBlocksSinceCarryOver(String principalId,
Map<String,LeaveBlock> carryOverDates,
org.joda.time.LocalDate endDate,
boolean includeAllAccrualCategories)
- Specified by:
getLeaveBlocksSinceCarryOver
in interface LeaveBlockDao
getLastCarryOverBlocks
public Map<String,LeaveBlock> getLastCarryOverBlocks(String principalId,
String leaveBlockType,
org.joda.time.LocalDate asOfDate)
- Specified by:
getLastCarryOverBlocks
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(String principalId,
String leaveBlockType,
String requestStatus,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(String principalId,
String leaveBlockType,
String requestStatus,
org.joda.time.LocalDate currentDate)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getLeaveBlocksForDate
public List<LeaveBlock> getLeaveBlocksForDate(String principalId,
org.joda.time.LocalDate leaveDate)
- Specified by:
getLeaveBlocksForDate
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(org.joda.time.LocalDate leaveDate,
String accrualCategory,
String principalId)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(String principalId,
String accrualCategory,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getFMLALeaveBlocks
public List<LeaveBlock> getFMLALeaveBlocks(String principalId,
String accrualCategory,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
- Specified by:
getFMLALeaveBlocks
in interface LeaveBlockDao
getNotAccrualGeneratedLeaveBlocksForDate
public List<LeaveBlock> getNotAccrualGeneratedLeaveBlocksForDate(String principalId,
org.joda.time.LocalDate leaveDate)
- Specified by:
getNotAccrualGeneratedLeaveBlocksForDate
in interface LeaveBlockDao
getCalendarLeaveBlocks
public List<LeaveBlock> getCalendarLeaveBlocks(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
- Description copied from interface:
LeaveBlockDao
- Get the leave blocks created from time or leave calendars for given pricipalId and calendar period
- Specified by:
getCalendarLeaveBlocks
in interface LeaveBlockDao
- Returns:
deleteLeaveBlock
public void deleteLeaveBlock(String leaveBlockId)
- Specified by:
deleteLeaveBlock
in interface LeaveBlockDao
deleteLeaveBlocksForDocumentId
public void deleteLeaveBlocksForDocumentId(String documentId)
- Specified by:
deleteLeaveBlocksForDocumentId
in interface LeaveBlockDao
getAccrualGeneratedLeaveBlocks
public List<LeaveBlock> getAccrualGeneratedLeaveBlocks(String principalId,
org.joda.time.LocalDate beginDate,
org.joda.time.LocalDate endDate)
- Specified by:
getAccrualGeneratedLeaveBlocks
in interface LeaveBlockDao
getSSTOLeaveBlocks
public List<LeaveBlock> getSSTOLeaveBlocks(String principalId,
String sstoId,
org.joda.time.LocalDate accruledDate)
- Specified by:
getSSTOLeaveBlocks
in interface LeaveBlockDao
getABELeaveBlocksSinceTime
public List<LeaveBlock> getABELeaveBlocksSinceTime(String principalId,
org.joda.time.DateTime lastRanDateTime)
- Specified by:
getABELeaveBlocksSinceTime
in interface LeaveBlockDao
getTimeCalendarLeaveBlocksForTimeBlockLookup
public List<LeaveBlock> getTimeCalendarLeaveBlocksForTimeBlockLookup(String documentId,
String principalId,
String userPrincipalId,
org.joda.time.LocalDate fromDate,
org.joda.time.LocalDate toDate)
- Specified by:
getTimeCalendarLeaveBlocksForTimeBlockLookup
in interface LeaveBlockDao
getLeaveBlocksForLookup
public List<LeaveBlock> getLeaveBlocksForLookup(String documentId,
String principalId,
String userPrincipalId,
org.joda.time.LocalDate fromDate,
org.joda.time.LocalDate toDate,
String leaveBlockType)
- Specified by:
getLeaveBlocksForLookup
in interface LeaveBlockDao
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.