|
||||||||||
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,
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 |
---|
void saveOrUpdate(TimesheetDocumentHeader documentHeader)
documentHeader
- TimesheetDocumentHeader getDocumentHeader(String documentId)
documentId
-
TimesheetDocumentHeader getDocumentHeader(String principalId, org.joda.time.DateTime payBeginDate, org.joda.time.DateTime payEndDate)
principalId
- payBeginDate
- payEndDate
-
TimesheetDocumentHeader getPreviousDocumentHeader(String principalId, org.joda.time.DateTime payBeginDate)
principalId
- payBeginDate
-
TimesheetDocumentHeader getNextDocumentHeader(String principalId, org.joda.time.DateTime payEndDate)
principalId
- payBeginDate
-
List<TimesheetDocumentHeader> getDocumentHeaders(org.joda.time.DateTime payBeginDate, org.joda.time.DateTime 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, org.joda.time.DateTime asOfDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |