| 
 | ||||||||||
| 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<EarnCode> | getEarnCodesForTime(Assignment assignment,
                                       org.joda.time.LocalDate asOfDate)Previously in EarnCodeService | 
|  List<EarnCode> | getEarnCodesForTime(Assignment a,
                                       org.joda.time.LocalDate asOfDate,
                                       boolean includeRegularEarnCode)Fetch a list of earn codes for Time usage, for a particular assignment as of a particular date | 
|  List<TimeBlock> | getPrevDocumentTimeBlocks(String principalId,
                                                   org.joda.time.DateTime payBeginDate)Fetch TimeBlocks for previous pay periods | 
|  TimesheetDocument | getTimesheetDocument(String documentId)For a given document ID, return a fully populated time sheet document. | 
|  boolean | isReadyToApprove(TimesheetDocument document) | 
|  boolean | isSynchronousUser()Is user a Clock in/out person or do they manually enter TimeBlocks | 
|  void | loadHolidaysOnTimesheet(TimesheetDocument timesheetDocument,
                                               String principalId,
                                               org.joda.time.LocalDate beginDate,
                                               org.joda.time.LocalDate endDate)Load holidays on given timesheet | 
|  TimesheetDocument | openTimesheetDocument(String principalId,
                                           CalendarEntry payCalendarDates)Opens the timesheet document for the user at the given payEndDate provided. | 
|  void | resetTimeBlock(List<TimeBlock> timeBlock,
                             org.joda.time.LocalDate asOfDate) | 
|  void | routeTimesheet(String principalId,
                             TimesheetDocument timesheetDocument)Route the given timesheet | 
|  void | routeTimesheet(String principalId,
                             TimesheetDocument timesheetDocument,
                             String action) | 
| Method Detail | 
|---|
TimesheetDocument openTimesheetDocument(String principalId,
                                        CalendarEntry 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,
                                          org.joda.time.DateTime payBeginDate)
principalId - payBeginDate - 
void loadHolidaysOnTimesheet(TimesheetDocument timesheetDocument,
                             String principalId,
                             org.joda.time.LocalDate beginDate,
                             org.joda.time.LocalDate endDate)
timesheetDocument - principalId - beginDate - endDate - void deleteTimesheet(String documentId)
documentId - 
void resetTimeBlock(List<TimeBlock> timeBlock,
                    org.joda.time.LocalDate asOfDate)
void approveTimesheet(String principalId,
                      TimesheetDocument timesheetDocument,
                      String action)
void routeTimesheet(String principalId,
                    TimesheetDocument timesheetDocument,
                    String action)
boolean isReadyToApprove(TimesheetDocument document)
@Cacheable(value="http://kpme.kuali.org/core/EarnCode",
           key="\'{getEarnCodesForTime}\' + \'principalId=\' + T(org.kuali.kpme.tklm.time.util.TkContext).getPrincipalId() + \'|\' + \'targetId=\' + T(org.kuali.kpme.tklm.time.util.TkContext).getTargetPrincipalId() + \'|\' + \'a=\' + #p0.getTkAssignmentId() + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'includeRegularEarnCode=\' + false")
List<EarnCode> getEarnCodesForTime(Assignment assignment,
                                             org.joda.time.LocalDate asOfDate)
assignment - asOfDate - 
@Cacheable(value="http://kpme.kuali.org/core/EarnCode",
           key="\'{getEarnCodesForTime}\' + \'principalId=\' + T(org.kuali.kpme.tklm.time.util.TkContext).getPrincipalId() + \'|\' + \'targetId=\' + T(org.kuali.kpme.tklm.time.util.TkContext).getTargetPrincipalId() + \'|\' + \'a=\' + #p0.getTkAssignmentId() + \'|\' + \'asOfDate=\' + #p1 + \'|\' + \'includeRegularEarnCode=\' + #p2")
List<EarnCode> getEarnCodesForTime(Assignment a,
                                             org.joda.time.LocalDate asOfDate,
                                             boolean includeRegularEarnCode)
a - asOfDate - 
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||