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.
|
ASSIGNABLE_TERM_NAME
Constructor and Description |
---|
LeaveCalendarDocument(CalendarEntry calendarEntry) |
LeaveCalendarDocument(LeaveCalendarDocumentHeader documentHeader) |
Modifier and Type | Method and Description |
---|---|
List<Assignment> |
getAssignments() |
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 |
setDocumentHeader(LeaveCalendarDocumentHeader documentHeader) |
void |
setLeaveBlocks(List<LeaveBlock> leaveBlocks) |
getAllAssignments, getAsOfDate, getAssignment, getAssignmentDescriptions, getAssignmentMap, getCalendarEntry, getCalendarType, getDocEndDate, setAssignments, setCalendarEntry, setCalendarType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocEndDate
getAllAssignments, getAsOfDate, getAssignmentMap, getCalendarEntry
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 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()
getAssignments
in interface Assignable
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.