Javascript for Episerver 7.5 cms

_UpdateableStoreModelMixin

Location

epi-cms/widget/viewmodel/_UpdateableStoreModelMixin

Extends

Properties

currentContentService

Instance of _ContentContextMixin because we can not mixin _ContentContextMixin directly.

onAddDelegate

Will be executed after add

propertyNames

Maps between client side property names and their server side counterparts

refreshTranslatedAncestors

If true ancestors of the changed node will be refreshed

updateableStoreKey

Dependency key to resolve the updateableStore

Methods

protected method _onPasteComplete ( item , copy , isDeleted , oldParentItem , newParentItem )

Executed after a paste operation has completed

Parameters

public method add ( item , onComplete )

Add new item

Parameters

public method patch ( id , properties )

Patches the item with the submitted id and updates cache on success

Parameters

public method refreshTranslated ( contentId )

Refresh translated ancestor contents

Parameters

public method rename ( id , name )

Renames an item

Parameters

public method translate ( item )

Creates a version translated into the current language

Parameters