Zimlet JavaScript API Reference - ZmContactController

Class ZmContactController


Extends ZmListController.

This class represents the contact controller.

Defined in: ZmContactController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmContactController(container, abApp, type, sessionId)
Creates the contact controller.
Method Summary
Method Attributes Method Name and Description
 
enableToolbar(enable)
Enables the toolbar.
 
show(contact, isDirty, isBack)
Shows the contact.
Methods borrowed from class ZmListController:
getCurrentSearchResults, getItemCount, getItems, getList, getListView, getSearchString, getSearchStringHint, getTabGroup, handleKeyAction, isDraftsFolder, isOutboxFolder, isSyncFailuresFolder, setHasMore, setList
Methods borrowed from class ZmBaseController:
getCurrentToolbar, getCurrentView, getItemView, isCurrent, setSessionId
Methods borrowed from class ZmController:
getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getViewElements, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType
Class Detail
ZmContactController(container, abApp, type, sessionId)
Creates the contact controller.
Parameters:
{DwtShell} container
the containing shell
{ZmApp} abApp
the containing app
{constant} type
controller type
{string} sessionId
the session id
Method Detail
enableToolbar(enable)
Enables the toolbar.
Parameters:
{Boolean} enable
true to enable

show(contact, isDirty, isBack)
Shows the contact.
Parameters:
{ZmContact} contact
the contact
{Boolean} isDirty
true to mark the contact as dirty
{Boolean} isBack
true in case of DL, we load (or reload) all the DL info, so we have to call back here. isBack indicates this is after the reload so we can continue.

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