Class ZmTaskController
Extends
ZmCalItemComposeController.
This class manages task creation/editing.
Defined in: ZmTaskController.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a new task controller to manage task creation/editing.
|
Method Summary
Method Attributes |
Method Name and Description |
|
Checks if the tasks is moving from local to remote folder (or vice versa).
|
- 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
ZmTaskController(container, app, type, sessionId)
Creates a new task controller to manage task 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}
isMovingBetwAccounts(task, newFolderId)
Checks if the tasks is moving from local to remote folder (or vice versa).
- Parameters:
-
{ZmTask} task
- the task
-
{String} newFolderId
- the folder id
- Returns:
- {Boolean}
true if moving from local to remote folder
|