org.kuali.hr.lm.workflow.dao
Class LeaveCalendarDocumentHeaderDaoImpl
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.workflow.dao.LeaveCalendarDocumentHeaderDaoImpl
- All Implemented Interfaces:
- LeaveCalendarDocumentHeaderDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class LeaveCalendarDocumentHeaderDaoImpl
- extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
- implements LeaveCalendarDocumentHeaderDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
LeaveCalendarDocumentHeaderDaoImpl
public LeaveCalendarDocumentHeaderDaoImpl()
getLeaveCalendarDocumentHeader
public LeaveCalendarDocumentHeader getLeaveCalendarDocumentHeader(String documentId)
- Specified by:
getLeaveCalendarDocumentHeader
in interface LeaveCalendarDocumentHeaderDao
getLeaveCalendarDocumentHeader
public LeaveCalendarDocumentHeader getLeaveCalendarDocumentHeader(String principalId,
Date beginDate,
Date endDate)
- Specified by:
getLeaveCalendarDocumentHeader
in interface LeaveCalendarDocumentHeaderDao
saveOrUpdate
public void saveOrUpdate(LeaveCalendarDocumentHeader leaveCalendarDocumentHeader)
- Specified by:
saveOrUpdate
in interface LeaveCalendarDocumentHeaderDao
getPreviousDocumentHeader
public LeaveCalendarDocumentHeader getPreviousDocumentHeader(String principalId,
Date beginDate)
- Document header IDs are ordered, so an ID less than the current will
always be previous to current.
- Specified by:
getPreviousDocumentHeader
in interface LeaveCalendarDocumentHeaderDao
getNextDocumentHeader
public LeaveCalendarDocumentHeader getNextDocumentHeader(String principalId,
Date endDate)
- Specified by:
getNextDocumentHeader
in interface LeaveCalendarDocumentHeaderDao
getDocumentHeaders
public List<LeaveCalendarDocumentHeader> getDocumentHeaders(Date beginDate,
Date endDate)
- Specified by:
getDocumentHeaders
in interface LeaveCalendarDocumentHeaderDao
getMaxEndDateApprovedLeaveCalendar
public LeaveCalendarDocumentHeader getMaxEndDateApprovedLeaveCalendar(String principalId)
- Specified by:
getMaxEndDateApprovedLeaveCalendar
in interface LeaveCalendarDocumentHeaderDao
getMinBeginDatePendingLeaveCalendar
public LeaveCalendarDocumentHeader getMinBeginDatePendingLeaveCalendar(String principalId)
- Specified by:
getMinBeginDatePendingLeaveCalendar
in interface LeaveCalendarDocumentHeaderDao
getAllDocumentHeadersForPricipalId
public List<LeaveCalendarDocumentHeader> getAllDocumentHeadersForPricipalId(String principalId)
- Specified by:
getAllDocumentHeadersForPricipalId
in interface LeaveCalendarDocumentHeaderDao
getSubmissionDelinquentDocumentHeaders
public List<LeaveCalendarDocumentHeader> getSubmissionDelinquentDocumentHeaders(String principalId,
Date beforeDate)
- Specified by:
getSubmissionDelinquentDocumentHeaders
in interface LeaveCalendarDocumentHeaderDao
getApprovalDelinquentDocumentHeaders
public List<LeaveCalendarDocumentHeader> getApprovalDelinquentDocumentHeaders(String principalId)
- Specified by:
getApprovalDelinquentDocumentHeaders
in interface LeaveCalendarDocumentHeaderDao
deleteLeaveCalendarHeader
public void deleteLeaveCalendarHeader(String documentId)
- Specified by:
deleteLeaveCalendarHeader
in interface LeaveCalendarDocumentHeaderDao
getAllDocumentHeadersInRangeForPricipalId
public List<LeaveCalendarDocumentHeader> getAllDocumentHeadersInRangeForPricipalId(String principalId,
Date startDate,
Date endDate)
- Specified by:
getAllDocumentHeadersInRangeForPricipalId
in interface LeaveCalendarDocumentHeaderDao
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.