編集

次の方法で共有


IWorkItemNotificationListener interface

Interface defining notifications provided by the ActiveWorkItemService

Methods

onFieldChanged(IWorkItemFieldChangedArgs)

Called when a field is modified

onLoaded(IWorkItemLoadedArgs)

Called when an extension is loaded

onRefreshed(IWorkItemChangedArgs)

Called when a work item is refreshed

onReset(IWorkItemChangedArgs)

Called when a work item is reset (undo back to unchanged state)

onSaved(IWorkItemChangedArgs)

Called when a work item is saved

onUnloaded(IWorkItemChangedArgs)

Called when a work item is unloaded

Method Details

onFieldChanged(IWorkItemFieldChangedArgs)

Called when a field is modified

function onFieldChanged(fieldChangedArgs: IWorkItemFieldChangedArgs)

Parameters

fieldChangedArgs
IWorkItemFieldChangedArgs

Information about the work item that was modified and the fields that were changed.

onLoaded(IWorkItemLoadedArgs)

Called when an extension is loaded

function onLoaded(workItemLoadedArgs: IWorkItemLoadedArgs)

Parameters

workItemLoadedArgs
IWorkItemLoadedArgs

Information about the work item that was loaded.

onRefreshed(IWorkItemChangedArgs)

Called when a work item is refreshed

function onRefreshed(refreshEventArgs: IWorkItemChangedArgs)

Parameters

refreshEventArgs
IWorkItemChangedArgs

Information about the work item that was refreshed.

onReset(IWorkItemChangedArgs)

Called when a work item is reset (undo back to unchanged state)

function onReset(undoEventArgs: IWorkItemChangedArgs)

Parameters

undoEventArgs
IWorkItemChangedArgs

Information about the work item that was reset.

onSaved(IWorkItemChangedArgs)

Called when a work item is saved

function onSaved(savedEventArgs: IWorkItemChangedArgs)

Parameters

savedEventArgs
IWorkItemChangedArgs

Information about the work item that was saved.

onUnloaded(IWorkItemChangedArgs)

Called when a work item is unloaded

function onUnloaded(unloadedEventArgs: IWorkItemChangedArgs)

Parameters

unloadedEventArgs
IWorkItemChangedArgs

Information about the work item that was saved.