|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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)
Fetch document headers for a given pay period begin date |
List<TimesheetDocumentHeader> |
getDocumentHeaders(Date payBeginDate,
Date 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,
Date payEndDate)
Fetch next document header |
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 |
---|
void saveOrUpdate(TimesheetDocumentHeader documentHeader)
documentHeader
- TimesheetDocumentHeader getDocumentHeader(String documentId)
documentId
-
TimesheetDocumentHeader getDocumentHeader(String principalId, Date payBeginDate, Date payEndDate)
principalId
- payBeginDate
- payEndDate
-
TimesheetDocumentHeader getPreviousDocumentHeader(String principalId, Date payBeginDate)
principalId
- payBeginDate
-
TimesheetDocumentHeader getNextDocumentHeader(String principalId, Date payEndDate)
principalId
- payBeginDate
-
TimesheetDocumentHeader getPrevOrNextDocumentHeader(String prevOrNext, String principalId)
prevOrNext
- principalId
-
List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate)
payBeginDate
-
List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate, Date payEndDate)
payBeginDate
- payEndDate
-
void deleteTimesheetHeader(String documentId)
List<TimesheetDocumentHeader> getDocumentHeadersForPrincipalId(String principalId)
principalId
-
List<TimesheetDocumentHeader> getDocumentHeadersForYear(String principalId, String year)
principalId
- year
-
TimesheetDocumentHeader getDocumentHeaderForDate(String principalId, Date asOfDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |