|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeApproveService
Method Summary | |
---|---|
boolean |
doesApproverHavePrincipalsForCalendarGroup(Date asOfDate,
String calGroup)
|
List<CalendarEntries> |
getAllPayCalendarEntriesForApprover(String principalId,
Date currentDate)
|
List<ApprovalTimeSummaryRow> |
getApprovalSummaryRows(Date payBeginDate,
Date payEndDate,
String calGroup,
List<TKPerson> principalIds,
List<String> payCalendarLabels,
CalendarEntries payCalendarEntries)
Obtains a Map of Lists of ApprovalTimeSummaryRows. |
SortedSet<String> |
getApproverPayCalendarGroups(Date payBeginDate,
Date payEndDate)
Method to obtain all of the active Pay Calendar Group names for the current user / approver. |
com.google.common.collect.Multimap<String,Long> |
getDeptWorkAreasByDepts(Set<String> userDepts)
Method to create a map of the depts and their associated work areas based on the given depts. |
com.google.common.collect.Multimap<String,Long> |
getDeptWorkAreasByWorkAreas(Set<Long> approverWorkAres)
Method to create a map of the depts and their associated work areas based on the given approver work areas. |
Map<String,BigDecimal> |
getHoursToPayDayMap(String principalId,
Date payEndDate,
List<String> payCalendarLabels,
List<TimeBlock> lstTimeBlocks,
Long workArea,
CalendarEntries payCalendarEntries,
Calendar payCalendar,
org.joda.time.DateTimeZone dateTimeZone,
List<org.joda.time.Interval> dayIntervals)
|
List |
getNotesForDocument(String documentNumber)
Used to determine if there are notes on a document |
Map<String,CalendarEntries> |
getPayCalendarEntriesForApprover(String principalId,
Date currentDate,
String dept)
Method to provide a mapping of PayCalendarGroupNames to PayCalendarEntries to allow for various starting points in Approval Tab Navigation. |
Map<String,CalendarEntries> |
getPayCalendarEntriesForDept(String dept,
Date currentDate)
|
List<String> |
getPayCalendarLabelsForApprovalTab(Date payBeginDate,
Date payEndDate)
|
Map<String,TimesheetDocumentHeader> |
getPrincipalDocumehtHeader(List<TKPerson> person,
Date payBeginDate,
Date payEndDate)
Method to create a map that contains the principal's id and corresponding timesheet document header. |
List<String> |
getPrincipalIdsByDeptWorkAreaRolename(String roleName,
String department,
String workArea,
Date payBeginDate,
Date payEndDate,
String calGroup)
Method to get a list of principal ids based on the department work areas. |
org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue |
getRouteHeader(String documentId)
|
List<String> |
getUniquePayGroups()
Get a list of unique pay groups |
Method Detail |
---|
List<ApprovalTimeSummaryRow> getApprovalSummaryRows(Date payBeginDate, Date payEndDate, String calGroup, List<TKPerson> principalIds, List<String> payCalendarLabels, CalendarEntries payCalendarEntries)
payBeginDate
- payEndDate
- calGroup
- Specify a calendar group to filter by.
@Cacheable(value="KPME/Global", key="\'{PayCalendarLabelsForApprovalTab}\' + \'payBeginDate=\' + #p0 + \'|\' + \'payEndDate=\' + #p1") List<String> getPayCalendarLabelsForApprovalTab(Date payBeginDate, Date payEndDate)
SortedSet<String> getApproverPayCalendarGroups(Date payBeginDate, Date payEndDate)
payBeginDate
- payEndDate
-
List getNotesForDocument(String documentNumber)
documentNumber
-
Map<String,BigDecimal> getHoursToPayDayMap(String principalId, Date payEndDate, List<String> payCalendarLabels, List<TimeBlock> lstTimeBlocks, Long workArea, CalendarEntries payCalendarEntries, Calendar payCalendar, org.joda.time.DateTimeZone dateTimeZone, List<org.joda.time.Interval> dayIntervals)
Map<String,CalendarEntries> getPayCalendarEntriesForApprover(String principalId, Date currentDate, String dept)
currentDate
- The current date. This method will search for active
assignments for this approver active as of this date, and 31 days prior
to pull back PayCalendarEntries.
List<CalendarEntries> getAllPayCalendarEntriesForApprover(String principalId, Date currentDate)
boolean doesApproverHavePrincipalsForCalendarGroup(Date asOfDate, String calGroup)
Map<String,CalendarEntries> getPayCalendarEntriesForDept(String dept, Date currentDate)
List<String> getUniquePayGroups()
List<String> getPrincipalIdsByDeptWorkAreaRolename(String roleName, String department, String workArea, Date payBeginDate, Date payEndDate, String calGroup)
roleName
- department
- workArea
- payEndDate
- calGroup
-
Map<String,TimesheetDocumentHeader> getPrincipalDocumehtHeader(List<TKPerson> person, Date payBeginDate, Date payEndDate)
payBeginDate
- payEndDate
-
com.google.common.collect.Multimap<String,Long> getDeptWorkAreasByWorkAreas(Set<Long> approverWorkAres)
approverWorkAres
-
com.google.common.collect.Multimap<String,Long> getDeptWorkAreasByDepts(Set<String> userDepts)
userDepts
-
org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue getRouteHeader(String documentId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |