public class TimesheetDocumentHeaderServiceImpl extends Object implements TimesheetDocumentHeaderService
Constructor and Description |
---|
TimesheetDocumentHeaderServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteTimesheetHeader(String documentId) |
TimesheetDocumentHeader |
getDocumentHeader(String documentId)
Fetch document header for a given document id
|
TimesheetDocumentHeader |
getDocumentHeader(String principalId,
org.joda.time.DateTime payBeginDate,
org.joda.time.DateTime payEndDate)
Fetch document header for a given principal id and pay period begin date and end date
|
TimesheetDocumentHeader |
getDocumentHeaderForDate(String principalId,
org.joda.time.DateTime asOfDate) |
List<TimesheetDocumentHeader> |
getDocumentHeaders(org.joda.time.DateTime payBeginDate,
org.joda.time.DateTime payEndDate)
Fetch document headers for a given pay period begin date and end date
|
List<TimesheetDocumentHeader> |
getDocumentHeadersForPrincipalId(String principalId)
Fetch list of Document Headers by given principal id
|
List<TimesheetDocumentHeader> |
getDocumentHeadersForYear(String principalId,
String year)
Fetch list of Document Headers by given principal id and year
|
TimesheetDocumentHeader |
getNextDocumentHeader(String principalId,
org.joda.time.DateTime payEndDate)
Fetch next document header
|
TimesheetDocumentHeader |
getPreviousDocumentHeader(String principalId,
org.joda.time.DateTime payBeginDate)
Fetch previous document header
|
void |
saveOrUpdate(TimesheetDocumentHeader documentHeader)
Save or Update the document header
|
void |
setTimesheetDocumentHeaderDao(TimesheetDocumentHeaderDao documentHeaderDao) |
public TimesheetDocumentHeaderServiceImpl()
public void setTimesheetDocumentHeaderDao(TimesheetDocumentHeaderDao documentHeaderDao)
public TimesheetDocumentHeader getDocumentHeader(String documentId)
TimesheetDocumentHeaderService
getDocumentHeader
in interface TimesheetDocumentHeaderService
public void saveOrUpdate(TimesheetDocumentHeader documentHeader)
TimesheetDocumentHeaderService
saveOrUpdate
in interface TimesheetDocumentHeaderService
public TimesheetDocumentHeader getDocumentHeader(String principalId, org.joda.time.DateTime payBeginDate, org.joda.time.DateTime payEndDate)
TimesheetDocumentHeaderService
getDocumentHeader
in interface TimesheetDocumentHeaderService
public TimesheetDocumentHeader getPreviousDocumentHeader(String principalId, org.joda.time.DateTime payBeginDate)
TimesheetDocumentHeaderService
getPreviousDocumentHeader
in interface TimesheetDocumentHeaderService
public TimesheetDocumentHeader getNextDocumentHeader(String principalId, org.joda.time.DateTime payEndDate)
TimesheetDocumentHeaderService
getNextDocumentHeader
in interface TimesheetDocumentHeaderService
public List<TimesheetDocumentHeader> getDocumentHeaders(org.joda.time.DateTime payBeginDate, org.joda.time.DateTime payEndDate)
TimesheetDocumentHeaderService
getDocumentHeaders
in interface TimesheetDocumentHeaderService
public void deleteTimesheetHeader(String documentId)
deleteTimesheetHeader
in interface TimesheetDocumentHeaderService
public List<TimesheetDocumentHeader> getDocumentHeadersForPrincipalId(String principalId)
TimesheetDocumentHeaderService
getDocumentHeadersForPrincipalId
in interface TimesheetDocumentHeaderService
public List<TimesheetDocumentHeader> getDocumentHeadersForYear(String principalId, String year)
TimesheetDocumentHeaderService
getDocumentHeadersForYear
in interface TimesheetDocumentHeaderService
public TimesheetDocumentHeader getDocumentHeaderForDate(String principalId, org.joda.time.DateTime asOfDate)
getDocumentHeaderForDate
in interface TimesheetDocumentHeaderService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.