Class icm.base.BasePageWidget


Extends icm.base._EventStub.
Provides a mixin class that includes event methods and methods to access the edit setting attributes for IBM Case Manager page widgets.
Defined in: <icm/base/BasePageWidget.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
 
 
Gets the role context object that is injected by the IBM Case Manager Container widget at run time.
 
Gets the solution context object that is injected by the IBM Case Manager Container widget at run time.
 
Returns the edit setting attributes for a widget.
 
Notifies the page widget if the page contains unsaved changes.
Methods borrowed from class icm.base._EventStub:
onBroadcastEvent, onPublishEvent

Constructor Detail

icm.base.BasePageWidget()

Method Detail

constructor()


destroyRecursive()


{ecm.model.ProcessRole} getRole()

Gets the role context object that is injected by the IBM Case Manager Container widget at run time.
Returns:
{ecm.model.ProcessRole} The role with which the widget is currently running.

{icm.model.Solution} getSolution()

Gets the solution context object that is injected by the IBM Case Manager Container widget at run time.
Returns:
{icm.model.Solution} The solution in which the widget is currently running.

getWidgetAttributes()

Returns the edit setting attributes for a widget.
Returns:
An instance of icm.base.WidgetAttributes that represents the widget edit settings.

setDirtyState(state)

Notifies the page widget if the page contains unsaved changes.
Parameters:
{boolean} state
Set to true if the page contains unsaved changes.