org.kuali.hr.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, Date payBeginDate, Date payEndDate)
          Fetch document header for a given principal id and pay period begin date and end date
 TimesheetDocumentHeader getDocumentHeaderForDate(String principalId, Date asOfDate)
           
 List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate)
           
 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 getPreviousDocumentHeader(String principalId, Date payBeginDate)
          Fetch previous document header
 TimesheetDocumentHeader getPrevOrNextDocumentHeader(String prevOrNext, String principalId)
          Fetch previous or next Document Header -- uses the current Document from context.
 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,
                                          Date payBeginDate,
                                          Date 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,
                                                  Date payBeginDate)
Fetch previous document header

Parameters:
principalId -
payBeginDate -
Returns:

getPrevOrNextDocumentHeader

TimesheetDocumentHeader getPrevOrNextDocumentHeader(String prevOrNext,
                                                    String principalId)
Fetch previous or next Document Header -- uses the current Document from context.

Parameters:
prevOrNext -
principalId -
Returns:

getDocumentHeaders

List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate)

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,
                                                 Date asOfDate)


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