Zimlet JavaScript API Reference - ZmTaskListController

Class ZmTaskListController


Extends ZmListController.

This class represents the task list controller.

Defined in: ZmTaskListController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmTaskListController(container, app, type, sessionId, searchResultsController)
Creates the task list controller.
Field Summary
Field Attributes Field Name and Description
<static>  
ZmTaskListController.SOAP_STATUS
Defines the status.
Method Summary
Method Attributes Method Name and Description
 
Gets the task status.
 
getTaskFolderIds(localOnly)
Gets the checked calendar folder ids.
 
Checks if the reading pane is "on".
 
Checks if the reading pane is "on" right.
 
quickSave(name, callback, errCallback)
Saves the task.
 
switchView(view)
Switches the view.
Methods borrowed from class ZmListController:
getCurrentSearchResults, getItemCount, getItems, getList, getListView, getSearchString, getSearchStringHint, getTabGroup, handleKeyAction, isDraftsFolder, isOutboxFolder, isSyncFailuresFolder, setHasMore, setList, show
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
ZmTaskListController(container, app, type, sessionId, searchResultsController)
Creates the task list controller.
Parameters:
{DwtControl} container
the containing shell
{ZmApp} app
the containing application
{constant} type
type of controller
{string} sessionId
the session id
{ZmSearchResultsController} searchResultsController
containing controller
Field Detail
<static> ZmTaskListController.SOAP_STATUS
Defines the status.
Method Detail
{constant} getAllowableTaskStatus()
Gets the task status.
Returns:
{constant} the status (see ZmTaskListController.SOAP_STATUS)

{Array} getTaskFolderIds(localOnly)
Gets the checked calendar folder ids.
Parameters:
{Boolean} localOnly
if true, include local calendars only
Returns:
{Array} an array of folder ids

{Boolean} isReadingPaneOn()
Checks if the reading pane is "on".
Returns:
{Boolean} true if the reading pane is "on"

{Boolean} isReadingPaneOnRight()
Checks if the reading pane is "on" right.
Returns:
{Boolean} true if the reading pane is "on" right.

quickSave(name, callback, errCallback)
Saves the task.
Parameters:
{String} name
the task name
{AjxCallback} callback
the save callback
errCallback
See:
ZmTask

switchView(view)
Switches the view.
Parameters:
{DwtComposite} view
the view

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