Javascript for Episerver 7.5 cms

_UpdateableStoreModelMixin (constructor)

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

public method _convertPropertyName ( name )

Parameters

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

Executed after a paste operation has completed

Parameters

public method _setupStore ( )


public method add ( item , onComplete )

Add new item

Parameters

public inherited method emit ( type , event )

Parameters

public inherited method on ( type , listener )

Parameters

public method patch ( id , properties )

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

Parameters

public method postscript ( )


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