Zimlet JavaScript API Reference - ZmApptComposeController

Class ZmApptComposeController


Extends ZmCalItemComposeController.

This class manages appointment creation/editing.

Defined in: ZmApptComposeController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmApptComposeController(container, app, type, sessionId)
Creates a new appointment controller to manage appointment creation/editing.
Method Summary
Method Attributes Method Name and Description
 
forwardCalItem(appt, forwardCallback)
Forwards the calendar item.
 
To get the array of forward email addresses
 
getRecurInfo(appt, recurInfoCallback)
Gets the recurrence definition of an appointment.
 
sendCounterAppointmentRequest(appt, proposeTimeCallback)
Propose new time for an appointment
Methods borrowed from class ZmCalItemComposeController:
getItemView, getToolbar, saveCalItem, toggleSpellCheckButton
Methods borrowed from class ZmBaseController:
getCurrentToolbar, getCurrentView, getItemCount, getItems, handleKeyAction, isCurrent, setSessionId
Methods borrowed from class ZmController:
getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getTabGroup, getViewElements, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType
Class Detail
ZmApptComposeController(container, app, type, sessionId)
Creates a new appointment controller to manage appointment creation/editing.
Author: Parag Shah.
Parameters:
{DwtShell} container
the containing shell
{ZmApp} app
the containing app
{constant} type
controller type
{string} sessionId
the session id
Method Detail
{Boolean} forwardCalItem(appt, forwardCallback)
Forwards the calendar item.
Parameters:
{ZmAppt} appt
the appointment
forwardCallback
Returns:
{Boolean} true indicates the forward is executed

{Array} getForwardNotifyList(appt)
To get the array of forward email addresses
Parameters:
{ZmAppt} appt
the appointment
Returns:
{Array} an array of email addresses

getRecurInfo(appt, recurInfoCallback)
Gets the recurrence definition of an appointment.
Parameters:
{ZmAppt} appt
the appointment
{AjxCallback} recurInfoCallback
the callback module after getting recurrence info

{Boolean} sendCounterAppointmentRequest(appt, proposeTimeCallback)
Propose new time for an appointment
Parameters:
{ZmAppt} appt
the appointment
{AjxCallback} proposeTimeCallback
callback executed after proposing time
Returns:
{Boolean} true indicates that propose time is executed

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:33 GMT-0400 (EDT)