Javascript for Episerver 7.5 cms

InUseNotificationManager

Summary

Helper class to work with in use notifications.

Location

epi-cms/contentediting/InUseNotificationManager

Properties

_currentUsername

_eventHandlers

_inUseNotificationStore

_messageService

_postFlag

contextTypeName

currentModel

ignoreOthersNotifications

Set to true will make the getOtherUsersInUseNotifications return nothing.

Methods

public method _canChangeContentAdvisor ( originalMethod )

Parameters

public method _createNotification ( model , addedManually )

Parameters

public method _getManualInUseNotification ( inUseNotifications )

Parameters

public method _updateDependentStores ( contentLink , inUseNotifications )

Parameters

public method constructor ( params )

Creates a new in use notification manager.

Parameters

public method currentUserHasInUseNotification ( inUseNotifications , onlyCheckManual )

Parameters

public method ensureAutomaticInUseNotification ( model )

Adds a new automatically created notification if the model does not currently have any notifications for the current user.

Parameters

public method getOtherUsersInUseNotifications ( inUseNotifications )

Parameters

public method hasInUseNotificationWarning ( inUseNotifications )

Parameters

public method put ( notification , inUseNotifications )

Adds or updates an in use notification object to the specified page.

Parameters

public method remove ( notification , inUseNotifications )

Deletes a notification.

Parameters

public method removeAutomaticInUseNotification ( model )

Removes any automatically creates notifications for the given model.

Parameters

public method togglePermanentEditIndication ( model , convertExistingIndication )

Adds or removes a permanent editing notification.

Parameters

public method updateCommandModel ( model )

Creates a new in use notification manager.

Parameters