Class icm.pgwidget.splitcase.SplitCase


Extends icm.pgwidget.properties.dijit._Properties.
Class that represent SplitCase widget
Defined in: <icm/pgwidget/splitcase/SplitCase.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
Handler for icm.ClearContent event.
 
Handler for the icm.SendSplitCaseInfo event which is received when user splits a case.
 
Handler for the icm.UpdateFields event.
 
Handler for the icm.UpdateProperties event.
Methods borrowed from class icm.pgwidget.properties.dijit._Properties:
adjustDirtyState, bindController, closeView, constructor, destroyRecursive, getComparator, getFilter, getMarkup, getPropertyIds, getRegistry, getResources, getViewDefinitionId, getViewDefinitionUrl, openView, resize, setDirtyState, unbindController

Constructor Detail

icm.pgwidget.splitcase.SplitCase()

Method Detail

handleICM_ClearContentEvent()

Handler for icm.ClearContent event. Clears contents of SplitCase widget.

handleICM_SendSplitCaseInfoEvent(payload)

Handler for the icm.SendSplitCaseInfo event which is received when user splits a case.
Parameters:
payload
Example: payload = { "caseEditable": caseEditable, "coordination": coordination };

handleICM_UpdateFieldsEvent(payload)

Handler for the icm.UpdateFields event.
Parameters:
payload
  • changes: A JSON object that contains the unique identifier and value for each property that is to be modified.
 Example: payload = {
				"changes": [
					{
						id: prop1,
						value: value1
					},
					{
						id: prop2,
					}
				]
			};

handleICM_UpdatePropertiesEvent(payload)

Handler for the icm.UpdateProperties event.
Parameters:
payload
  • changes: A JSON object that contains the property, value, error (optional), row (optional), for each property that is to be modified.
 Example: payload = {
				"changes": [
					{
						property: property,
						value: value1,
						[error]: error,
						[row]: row
					},
					{
						property: property,
						value: value1,
						[error]: error,
						[row]: row
					}
				]
			};