Class ZmCalViewController
To do this we have to trick the ZmListController. Specifically we have only one toolbar and
directly manipulate this._toolbar elements to point to a single instance of the toolbar. We also
directly override the ZmListControl.initializeToolBar method.
Class Detail
ZmCalViewController(container, calApp, sessionId, searchResultsController)
Creates the calendar view controller.
Method Detail
createAppointmentFromOOOPref(startDate, endDate, allDay, respCallback)
Creates appointment as configured in the out-of-office preference
editAppointment(appt, mode)
Edits the appointment.
{int}
firstDayOfWeek()
Gets the first day of week setting.
{ZmCalendar}
getCalendar(folderId)
Gets the calendar by folder id.
{String}
getCalendarColor(folderId)
Gets the calendar color.
{String}
getCalendarName(folderId)
Gets the calendar name.
{Array}
getCalendars(params)
Gets the calendar for the specified account.
{ZmCalendarTreeController}
getCalTreeController()
Gets the calendar tree controller.
{Array}
getCheckedCalendarFolderIds(localOnly, includeTrash)
Gets the checked calendar folder ids.
{Array}
getCheckedCalendars(overviewId)
Gets the checked calendars.
{Array}
getCheckedOrganizerIds()
Gets the checked organizer IDs.
{Array}
getCheckedOrganizers(includeTrash, acct)
Gets the checked organizers.
getDayToolTipText(date, noheader, callback, getSimpleToolTip, getSimpleToolTip)
Gets the day tool tip text.
{Array}
getOwnedCalendarIds(localOnly, includeTrash)
Gets the checked calendar folder ids.
{Array}
getReminderCalendarFolderIds()
Gets the calendar folder ids used to create reminders.
All local calendars and shared calendars with the reminder flag set, checked or unchecked.
Does not include the trash folder.
{Array}
getUncheckedCalendarIdsByOwner(ownerEmailId)
Gets the unchecked calendar folder ids for a owner email
newApptFromContact(contact, date)
This method will create a new appointment from a contact.
newApptFromEmailAddr(emailAddr, date)
This method will create a new appointment from an email address.
newApptFromMailItem(mailItem, date)
This method will create a new appointment from a conversation/mail message. In the case
of a conversation, the appointment will be populated by the first message in the
conversation (or matched msg in the case of a search). This method is asynchronous and
will return immediately if the mail message must load in the background.
setCurrentListView(view)
Sets the current view.
setDate(date, duration, roll)
Sets the date.
updateTimeIndicator(viewId)
Updates the time indicator strip.
|
||||||||||||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:33 GMT-0400 (EDT)
|