Zimlet JavaScript API Reference - ZmInviteMsgView

Class ZmInviteMsgView


When a user receives an invite, this class is instatiated to help ZmMailMsgView deal with invite-specific rendering/logic.

Defined in: ZmInviteMsgView.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmInviteMsgView(params)
Default constructor for invite mail message class.
Method Summary
Method Attributes Method Name and Description
 
enables all invite toolbar buttons, except one that matches the current ptst
 
returns the toolbar.
 
resize(reset)
Resizes the view depending on whether f/b is being shown or not.
 
showMoreInfo(callback, dayViewCallback)
This method does two things: 1) Checks if invite was responded to with accept/decline/tentative, and if so, a GetAppointmentRequest is made to get the status for the other attendees.
 
hide the participant status message (no longer relevant)
Class Detail
ZmInviteMsgView(params)
Default constructor for invite mail message class.
Author: Parag Shah.
Parameters:
params
Method Detail
enableToolbarButtons(ptst)
enables all invite toolbar buttons, except one that matches the current ptst
Parameters:
ptst
participant status

getInviteToolbar()
returns the toolbar. Creates a new one only if it's not already set to the internal field

resize(reset)
Resizes the view depending on whether f/b is being shown or not.
Parameters:
reset
Boolean If true, day view is not shown and msgview's bounds need to be "reset"

showMoreInfo(callback, dayViewCallback)
This method does two things: 1) Checks if invite was responded to with accept/decline/tentative, and if so, a GetAppointmentRequest is made to get the status for the other attendees. 2) Requests the free/busy status for the start date and renders the day view with the results returned.
Parameters:
callback
dayViewCallback

updatePtstMsg(ptst)
hide the participant status message (no longer relevant)
Parameters:
ptst

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