|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimesheetService
Method Summary | |
---|---|
void |
approveTimesheet(String principalId,
TimesheetDocument timesheetDocument)
|
void |
approveTimesheet(String principalId,
TimesheetDocument timesheetDocument,
String action)
|
void |
deleteTimesheet(String documentId)
Delete a timesheet(used for testing only) |
void |
disapproveTimesheet(String principalId,
TimesheetDocument timesheetDocument)
|
List<TimeBlock> |
getPrevDocumentTimeBlocks(String principalId,
Date payBeginDate)
Fetch TimeBlocks for previous pay periods |
TimesheetDocument |
getTimesheetDocument(String documentId)
For a given document ID, return a fully populated time sheet document. |
boolean |
isSynchronousUser()
Is user a Clock in/out person or do they manually enter TimeBlocks |
void |
loadHolidaysOnTimesheet(TimesheetDocument timesheetDocument,
String principalId,
Date beginDate,
Date endDate)
Load holidays on given timesheet |
TimesheetDocument |
openTimesheetDocument(String principalId,
CalendarEntries payCalendarDates)
Opens the timesheet document for the user at the given payEndDate provided. |
void |
resetTimeBlock(List<TimeBlock> timeBlock)
|
void |
routeTimesheet(String action,
String principalId,
TimesheetDocument timesheetDocument)
|
void |
routeTimesheet(String principalId,
TimesheetDocument timesheetDocument)
Route the given timesheet |
Method Detail |
---|
TimesheetDocument openTimesheetDocument(String principalId, CalendarEntries payCalendarDates) throws org.kuali.rice.kew.api.exception.WorkflowException
principalId
-
org.kuali.rice.kew.api.exception.WorkflowException
void routeTimesheet(String principalId, TimesheetDocument timesheetDocument)
principalId
- timesheetDocument
- void approveTimesheet(String principalId, TimesheetDocument timesheetDocument)
void disapproveTimesheet(String principalId, TimesheetDocument timesheetDocument)
TimesheetDocument getTimesheetDocument(String documentId)
documentId
-
boolean isSynchronousUser()
List<TimeBlock> getPrevDocumentTimeBlocks(String principalId, Date payBeginDate)
principalId
- payBeginDate
-
void loadHolidaysOnTimesheet(TimesheetDocument timesheetDocument, String principalId, Date beginDate, Date endDate)
timesheetDocument
- principalId
- beginDate
- endDate
- void deleteTimesheet(String documentId)
documentId
- void resetTimeBlock(List<TimeBlock> timeBlock)
void approveTimesheet(String principalId, TimesheetDocument timesheetDocument, String action)
void routeTimesheet(String action, String principalId, TimesheetDocument timesheetDocument)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |