org.kuali.hr.lm.leaveblock.dao
Class LeaveBlockDaoSpringOjbImpl
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.hr.lm.leaveblock.dao.LeaveBlockDaoSpringOjbImpl
- All Implemented Interfaces:
- LeaveBlockDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class LeaveBlockDaoSpringOjbImpl
- 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,
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)
|
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 |
LeaveBlockDaoSpringOjbImpl
public LeaveBlockDaoSpringOjbImpl()
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,
Date beginDate,
Date endDate)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getLeaveBlocksWithType
public List<LeaveBlock> getLeaveBlocksWithType(String principalId,
Date beginDate,
Date endDate,
String leaveBlockType)
- Specified by:
getLeaveBlocksWithType
in interface LeaveBlockDao
getLeaveBlocksWithAccrualCategory
public List<LeaveBlock> getLeaveBlocksWithAccrualCategory(String principalId,
Date beginDate,
Date endDate,
String accrualCategory)
- Specified by:
getLeaveBlocksWithAccrualCategory
in interface LeaveBlockDao
getLeaveBlocksSinceCarryOver
public List<LeaveBlock> getLeaveBlocksSinceCarryOver(String principalId,
Map<String,LeaveBlock> carryOverDates,
org.joda.time.DateTime endDate,
boolean includeAllAccrualCategories)
- Specified by:
getLeaveBlocksSinceCarryOver
in interface LeaveBlockDao
getLastCarryOverBlocks
public Map<String,LeaveBlock> getLastCarryOverBlocks(String principalId,
String leaveBlockType,
Date asOfDate)
- Specified by:
getLastCarryOverBlocks
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(String principalId,
String leaveBlockType,
String requestStatus,
Date beginDate,
Date endDate)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(String principalId,
String leaveBlockType,
String requestStatus,
Date currentDate)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getLeaveBlocksForDate
public List<LeaveBlock> getLeaveBlocksForDate(String principalId,
Date leaveDate)
- Specified by:
getLeaveBlocksForDate
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(Date leaveDate,
String accrualCategory,
String principalId)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getLeaveBlocks
public List<LeaveBlock> getLeaveBlocks(String principalId,
String accrualCategory,
Date beginDate,
Date endDate)
- Specified by:
getLeaveBlocks
in interface LeaveBlockDao
getFMLALeaveBlocks
public List<LeaveBlock> getFMLALeaveBlocks(String principalId,
String accrualCategory,
Date beginDate,
Date endDate)
- Specified by:
getFMLALeaveBlocks
in interface LeaveBlockDao
getNotAccrualGeneratedLeaveBlocksForDate
public List<LeaveBlock> getNotAccrualGeneratedLeaveBlocksForDate(String principalId,
Date leaveDate)
- Specified by:
getNotAccrualGeneratedLeaveBlocksForDate
in interface LeaveBlockDao
getCalendarLeaveBlocks
public List<LeaveBlock> getCalendarLeaveBlocks(String principalId,
Date beginDate,
Date 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,
Date beginDate,
Date endDate)
- Specified by:
getAccrualGeneratedLeaveBlocks
in interface LeaveBlockDao
getSSTOLeaveBlocks
public List<LeaveBlock> getSSTOLeaveBlocks(String principalId,
String sstoId,
Date accruledDate)
- Specified by:
getSSTOLeaveBlocks
in interface LeaveBlockDao
getABELeaveBlocksSinceTime
public List<LeaveBlock> getABELeaveBlocksSinceTime(String principalId,
Timestamp lastRanTime)
- Specified by:
getABELeaveBlocksSinceTime
in interface LeaveBlockDao
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.