org.kuali.kpme.tklm.time.workflow.service
Interface TimesheetDocumentHeaderService

All Known Implementing Classes:
TimesheetDocumentHeaderServiceImpl

public interface TimesheetDocumentHeaderService


Method Summary
 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
 

Method Detail

saveOrUpdate

void saveOrUpdate(TimesheetDocumentHeader documentHeader)
Save or Update the document header

Parameters:
documentHeader -

getDocumentHeader

TimesheetDocumentHeader getDocumentHeader(String documentId)
Fetch document header for a given document id

Parameters:
documentId -
Returns:

getDocumentHeader

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

Parameters:
principalId -
payBeginDate -
payEndDate -
Returns:

getPreviousDocumentHeader

TimesheetDocumentHeader getPreviousDocumentHeader(String principalId,
                                                  org.joda.time.DateTime payBeginDate)
Fetch previous document header

Parameters:
principalId -
payBeginDate -
Returns:

getNextDocumentHeader

TimesheetDocumentHeader getNextDocumentHeader(String principalId,
                                              org.joda.time.DateTime payEndDate)
Fetch next document header

Parameters:
principalId -
payBeginDate -
Returns:

getDocumentHeaders

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

Parameters:
payBeginDate -
payEndDate -
Returns:

deleteTimesheetHeader

void deleteTimesheetHeader(String documentId)

getDocumentHeadersForPrincipalId

List<TimesheetDocumentHeader> getDocumentHeadersForPrincipalId(String principalId)
Fetch list of Document Headers by given principal id

Parameters:
principalId -
Returns:
List

getDocumentHeadersForYear

List<TimesheetDocumentHeader> getDocumentHeadersForYear(String principalId,
                                                        String year)
Fetch list of Document Headers by given principal id and year

Parameters:
principalId -
year -
Returns:
List

getDocumentHeaderForDate

TimesheetDocumentHeader getDocumentHeaderForDate(String principalId,
                                                 org.joda.time.DateTime asOfDate)


Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.