Class icm.pgwidget.todolist.ToDoList

Class that represents the To-Do list Widget
Defined in: <icm/pgwidget/todolist/ToDoList.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
The payload data from the event being handled

Method Summary

Method Attributes Method Name and Description
 
destroy the objects for releasing memory.
 
get the configuration about which to-do task type should be listed and the order shown by default.
 
Clean the content.
 
Handler for the icm.RefreshToDoTaskList event to refresh to do list.
 
Handler for the icm.SelectCase event when selecting a case on case page.
 
Handler for the icm.SendCaseInfo event.
 
Handler for the icm.SendWorkItem event.
 
Handler for the icm.ToDoTaskAdded event.
 
parse the customized settings from payload data of the event being handled and set them.
 
set the dijit class configuration for handling to-do task types
 
Render the to-do list for current case based on the customized settings.

Constructor Detail

icm.pgwidget.todolist.ToDoList()

Field Detail

payload

The payload data from the event being handled

Method Detail

destroy()

destroy the objects for releasing memory.

getCfgOfTaskTypeList(caseType)

get the configuration about which to-do task type should be listed and the order shown by default.
Parameters:
caseType
A string represents the case type of current case.
Returns:
An array object including which to-do task type belonging to the case type should be listed. The order of elements in the array is the order shown by default.

handleICM_ClearContentEvent()

Clean the content.

handleICM_RefreshToDoTaskListEvent(payload)

Handler for the icm.RefreshToDoTaskList event to refresh to do list. The payload is optional.
Parameters:
payload
- optional
           Example: payload = { "caseEditable": caseEditable,
           "coordination": new icm.util.Coordination() };

handleICM_SelectCaseEvent(payload)

Handler for the icm.SelectCase event when selecting a case on case page. Display the case information for the case that is contained in the event payload.
Parameters:
payload
           Example: payload = { "caseEditable": caseEditable};

handleICM_SendCaseInfoEvent(payload)

Handler for the icm.SendCaseInfo event. Properties widget will display the case properties in the widget UI.
Parameters:
payload
 	Example: payload = {
			"caseEditable": caseEditable,
			"coordination": coordination
		};

handleICM_SendWorkItemEvent(payload)

Handler for the icm.SendWorkItem event.
Parameters:
payload
 Example: payload = {
				"workItemEditable": workItemEditable,
				"coordination": coordination
			};

handleICM_ToDoTaskAddedEvent(payload)

Handler for the icm.ToDoTaskAdded event. To-Do list page widget will display the to-do item added in the widget UI.
Parameters:
payload
 	Example: payload = {
			"ToDoTaskEditable": ToDoTaskEditable
		};

parseCustomizedPayload(payload)

parse the customized settings from payload data of the event being handled and set them.
Parameters:
payload

postCreate()

set the dijit class configuration for handling to-do task types

renderToDoList()

Render the to-do list for current case based on the customized settings.