public class TimesheetDocumentHeaderDaoOjbImpl extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements TimesheetDocumentHeaderDao
Constructor and Description |
---|
TimesheetDocumentHeaderDaoOjbImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteTimesheetHeader(String documentId) |
TimesheetDocumentHeader |
getDocumentHeaderForDate(String principalId,
org.joda.time.DateTime asOfDate) |
List<TimesheetDocumentHeader> |
getDocumentHeaders(org.joda.time.DateTime payBeginDate,
org.joda.time.DateTime payEndDate) |
List<TimesheetDocumentHeader> |
getDocumentHeadersForPrincipalId(String principalId) |
List<TimesheetDocumentHeader> |
getDocumentHeadersForYear(String principalId,
String year) |
TimesheetDocumentHeader |
getNextDocumentHeader(String principalId,
org.joda.time.DateTime payEndDate) |
TimesheetDocumentHeader |
getPreviousDocumentHeader(String principalId,
org.joda.time.DateTime payBeginDate)
Document header IDs are ordered, so an ID less than the current will
always be previous to current.
|
TimesheetDocumentHeader |
getTimesheetDocumentHeader(String documentId) |
TimesheetDocumentHeader |
getTimesheetDocumentHeader(String principalId,
org.joda.time.DateTime payBeginDate,
org.joda.time.DateTime payEndDate) |
void |
saveOrUpdate(TimesheetDocumentHeader documentHeader) |
getDbPlatform, setDbPlatform
public TimesheetDocumentHeaderDaoOjbImpl()
public TimesheetDocumentHeader getTimesheetDocumentHeader(String documentId)
getTimesheetDocumentHeader
in interface TimesheetDocumentHeaderDao
public void saveOrUpdate(TimesheetDocumentHeader documentHeader)
saveOrUpdate
in interface TimesheetDocumentHeaderDao
public void deleteTimesheetHeader(String documentId)
deleteTimesheetHeader
in interface TimesheetDocumentHeaderDao
public TimesheetDocumentHeader getTimesheetDocumentHeader(String principalId, org.joda.time.DateTime payBeginDate, org.joda.time.DateTime payEndDate)
getTimesheetDocumentHeader
in interface TimesheetDocumentHeaderDao
public TimesheetDocumentHeader getPreviousDocumentHeader(String principalId, org.joda.time.DateTime payBeginDate)
getPreviousDocumentHeader
in interface TimesheetDocumentHeaderDao
public TimesheetDocumentHeader getNextDocumentHeader(String principalId, org.joda.time.DateTime payEndDate)
getNextDocumentHeader
in interface TimesheetDocumentHeaderDao
public List<TimesheetDocumentHeader> getDocumentHeaders(org.joda.time.DateTime payBeginDate, org.joda.time.DateTime payEndDate)
getDocumentHeaders
in interface TimesheetDocumentHeaderDao
public List<TimesheetDocumentHeader> getDocumentHeadersForPrincipalId(String principalId)
getDocumentHeadersForPrincipalId
in interface TimesheetDocumentHeaderDao
public List<TimesheetDocumentHeader> getDocumentHeadersForYear(String principalId, String year)
getDocumentHeadersForYear
in interface TimesheetDocumentHeaderDao
public TimesheetDocumentHeader getDocumentHeaderForDate(String principalId, org.joda.time.DateTime asOfDate)
getDocumentHeaderForDate
in interface TimesheetDocumentHeaderDao
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.