|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.kpme.tklm.leave.block.LeaveBlockAggregate
public class LeaveBlockAggregate
Field Summary | |
---|---|
List<List<LeaveBlock>> |
dayLeaveBlockList
|
Constructor Summary | |
---|---|
LeaveBlockAggregate(List<LeaveBlock> leaveBlocks,
CalendarEntry leaveCalendarEntry)
|
|
LeaveBlockAggregate(List<LeaveBlock> leaveBlocks,
CalendarEntry leaveCalendarEntry,
LeaveCalendar leaveCalendar)
Provides the option to refer to the time zone adjusted time for the current user. |
|
LeaveBlockAggregate(List<LeaveBlock> leaveBlocks,
CalendarEntry leaveCalendarEntry,
List<org.joda.time.Interval> dayIntervals)
build leaveBlockAggregate with given leaveBlocks, calendarEntry and dayIntervals dayIntervals with full week span is for Time Calendar |
Method Summary | |
---|---|
List<List<LeaveBlock>> |
getDayLeaveBlockList()
The assignment class associated with the LeaveBlockRenderer |
List<LeaveBlock> |
getFlattenedLeaveBlockList()
The dayLeaveBlockListist that has been sorted by timestamp for the LeaveBlockAggregateContract |
LeaveCalendar |
getLeaveCalendar()
The LeaveCalendar object associated with the LeaveBlockAggregate |
CalendarEntry |
getleaveCalendarEntry()
The CalendarEntry object associated with the LeaveBlockAggregate |
List<List<LeaveBlock>> |
getWeekLeaveBlocks(int week)
Provides a way to access all of the leave blocks for a given week. |
int |
numberOfAggregatedWeeks()
The total number of weeks that the LeaveBlockAggregate represents |
void |
setLeaveCalendar(LeaveCalendar leaveCalendar)
|
void |
setleaveCalendarEntry(CalendarEntry leaveCalendarEntry)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public List<List<LeaveBlock>> dayLeaveBlockList
Constructor Detail |
---|
public LeaveBlockAggregate(List<LeaveBlock> leaveBlocks, CalendarEntry leaveCalendarEntry, LeaveCalendar leaveCalendar)
LeaveBlocks
- leaveCalendarEntry
- leaveCalendar
- public LeaveBlockAggregate(List<LeaveBlock> leaveBlocks, CalendarEntry leaveCalendarEntry)
public LeaveBlockAggregate(List<LeaveBlock> leaveBlocks, CalendarEntry leaveCalendarEntry, List<org.joda.time.Interval> dayIntervals)
LeaveBlocks
- leaveCalendarEntry
- dayIntervals
- Method Detail |
---|
public List<LeaveBlock> getFlattenedLeaveBlockList()
LeaveBlockAggregateContract
a sorted dayLeaveBlockList of a LeaveBlockAggregate
getFlattenedLeaveBlockList
in interface LeaveBlockAggregateContract
public List<List<LeaveBlock>> getWeekLeaveBlocks(int week)
getWeekLeaveBlocks
in interface LeaveBlockAggregateContract
week
-
public int numberOfAggregatedWeeks()
LeaveBlockAggregateContract
the total number of weeks of a LeaveBlockAggregate
numberOfAggregatedWeeks
in interface LeaveBlockAggregateContract
public List<List<LeaveBlock>> getDayLeaveBlockList()
dayLeaveBlockList of an LeaveBlockRenderer
getDayLeaveBlockList
in interface LeaveBlockAggregateContract
public CalendarEntry getleaveCalendarEntry()
LeaveBlockAggregateContract
leaveCalendarEntry of a LeaveBlockAggregate
getleaveCalendarEntry
in interface LeaveBlockAggregateContract
public void setleaveCalendarEntry(CalendarEntry leaveCalendarEntry)
public LeaveCalendar getLeaveCalendar()
LeaveBlockAggregateContract
leaveCalendar of a LeaveBlockAggregate
getLeaveCalendar
in interface LeaveBlockAggregateContract
public void setLeaveCalendar(LeaveCalendar leaveCalendar)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |