public class LeaveCalendarDocument extends CalendarDocument implements Assignable, LeaveCalendarDocumentContract
Modifier and Type | Field and Description |
---|---|
static String |
LEAVE_CALENDAR_DOCUMENT_TYPE
This static member is needed by document search, to trigger the correct calendar document
opening when clicking on a doc id link in the search results.
|
asOfDate, assignments, calendarEntry, calendarType, documentHeader
ASSIGNABLE_TERM_NAME
Constructor and Description |
---|
LeaveCalendarDocument(CalendarEntry calendarEntry) |
LeaveCalendarDocument(LeaveCalendarDocumentHeader documentHeader) |
Modifier and Type | Method and Description |
---|---|
org.joda.time.LocalDate |
getAsOfDate()
The beginning date of the calendar entry the CalendarDocument is associated with
|
List<Assignment> |
getAssignments()
The list of Assignment objects the CalendarDocument is associated with
|
CalendarEntry |
getCalendarEntry()
The CalendarEntry object the CalendarDocument is associated with
|
org.joda.time.LocalDate |
getDocEndDate()
The end date of calendar entry associated with the LeaveCalendarDocument
|
LeaveCalendarDocumentHeader |
getDocumentHeader()
The CalendarDocumentHeader object the CalendarDocument is associated with
|
String |
getDocumentId()
The document id associated with the LeaveCalendarDocument
|
List<LeaveBlock> |
getLeaveBlocks()
The list of LeaveBlock objects associated with the LeaveCalendarDocument
|
String |
getPrincipalId()
The principal id associated with the LeaveCalendarDocument
|
void |
setAssignments(List<Assignment> assignments) |
void |
setCalendarEntry(CalendarEntry calendarEntry) |
void |
setDocumentHeader(LeaveCalendarDocumentHeader documentHeader) |
void |
setLeaveBlocks(List<LeaveBlock> leaveBlocks) |
getAssignment, getAssignmentDescriptions, getCalendarType, setCalendarType
public static final String LEAVE_CALENDAR_DOCUMENT_TYPE
public LeaveCalendarDocument(CalendarEntry calendarEntry)
public LeaveCalendarDocument(LeaveCalendarDocumentHeader documentHeader)
public LeaveCalendarDocumentHeader getDocumentHeader()
CalendarDocumentContract
documentHeader of a CalendarDocument
getDocumentHeader
in interface CalendarDocumentContract
getDocumentHeader
in class CalendarDocument
public void setDocumentHeader(LeaveCalendarDocumentHeader documentHeader)
public List<LeaveBlock> getLeaveBlocks()
LeaveCalendarDocumentContract
leaveBlocks of a LeaveCalendarDocument
getLeaveBlocks
in interface LeaveCalendarDocumentContract
public void setLeaveBlocks(List<LeaveBlock> leaveBlocks)
public CalendarEntry getCalendarEntry()
CalendarDocumentContract
calendarEntry of a CalendarDocument
getCalendarEntry
in interface CalendarDocumentContract
getCalendarEntry
in class CalendarDocument
public void setCalendarEntry(CalendarEntry calendarEntry)
public String getPrincipalId()
LeaveCalendarDocumentContract
getDocumentHeader().getPrincipalId() of a LeaveCalendarDocument
getPrincipalId
in interface LeaveCalendarDocumentContract
getPrincipalId
in class CalendarDocument
public String getDocumentId()
LeaveCalendarDocumentContract
getDocumentHeader().getDocumentId() of a LeaveCalendarDocument
getDocumentId
in interface LeaveCalendarDocumentContract
getDocumentId
in class CalendarDocument
public List<Assignment> getAssignments()
CalendarDocumentContract
assignments of a CalendarDocument
getAssignments
in interface Assignable
getAssignments
in interface CalendarDocumentContract
getAssignments
in class CalendarDocument
public void setAssignments(List<Assignment> assignments)
public org.joda.time.LocalDate getAsOfDate()
CalendarDocumentContract
asOfDate of a CalendarDocument
getAsOfDate
in interface CalendarDocumentContract
getAsOfDate
in class CalendarDocument
public org.joda.time.LocalDate getDocEndDate()
LeaveCalendarDocumentContract
calendar entry end date of a LeaveCalendarDocument
getDocEndDate
in interface LeaveCalendarDocumentContract
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.