public class TimeSummaryServiceImpl extends Object implements TimeSummaryService
Constructor and Description |
---|
TimeSummaryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<EarnGroupSection>> |
getEarnGroupSections(String principalId,
TkTimeBlockAggregate tkTimeBlockAggregate,
int numEntries,
List<Boolean> dayArrangements,
org.joda.time.LocalDate asOfDate,
org.joda.time.LocalDate docEndDate)
Aggregates timeblocks into the appropriate earngroup-> earncode -> assignment rows
|
List<String> |
getHeaderForSummary(CalendarEntry cal,
List<Boolean> dayArrangements)
Handles the generation of the display header for the time summary.
|
Map<Integer,String> |
getHeaderForSummary(CalendarEntry cal,
TimeSummary timeSummary) |
protected List<String> |
getSummaryHeader(CalendarEntryBo payCalEntry)
Generate a list of string describing this pay calendar entry for the summary
|
TimeSummary |
getTimeSummary(String principalId,
List<TimeBlock> timeBlocks,
CalendarEntry calendarEntry,
Map<org.joda.time.LocalDate,List<Assignment>> assignments) |
TimeSummary |
getTimeSummaryForDocument(String timesheetDocumentId)
Fetch TimeSummary
|
public TimeSummaryServiceImpl()
public TimeSummary getTimeSummaryForDocument(String timesheetDocumentId)
TimeSummaryService
getTimeSummaryForDocument
in interface TimeSummaryService
public TimeSummary getTimeSummary(String principalId, List<TimeBlock> timeBlocks, CalendarEntry calendarEntry, Map<org.joda.time.LocalDate,List<Assignment>> assignments)
getTimeSummary
in interface TimeSummaryService
public Map<String,List<EarnGroupSection>> getEarnGroupSections(String principalId, TkTimeBlockAggregate tkTimeBlockAggregate, int numEntries, List<Boolean> dayArrangements, org.joda.time.LocalDate asOfDate, org.joda.time.LocalDate docEndDate)
tkTimeBlockAggregate
- numEntries
- dayArrangements
- asOfDate
- protected List<String> getSummaryHeader(CalendarEntryBo payCalEntry)
payCalEntry
- public List<String> getHeaderForSummary(CalendarEntry cal, List<Boolean> dayArrangements)
getHeaderForSummary
in interface TimeSummaryService
cal
- The PayCalendarEntries object we are using to derive information.dayArrangements
- Container passed in to store the position of week / period aggregate sumspublic Map<Integer,String> getHeaderForSummary(CalendarEntry cal, TimeSummary timeSummary)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.