Javascript for Episerver 7.5 cms

DeleteContent (constructor)

Location

epi-cms/command/DeleteContent

Extends

Properties

_attrPairNames

Used across all instances a hash to cache attribute names and their getter and setter names.

_modelChangeWatcher

canExecute

category

clipboard

hasWastebasket

Flag indicating whether the provider of current content has a wastebasket. This is set internally on model change.

iconClass

The icon class of the command to be used in visual elements.

isAvailable

label

The action text of the command to be used in visual elements.

model

order

selection

tooltip

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _clipboardDataGetter ( )


public inherited method _clipboardTypeGetter ( )


public method _execute ( )

Executes the move or remove method on the model depending on whether the wastebasket is supported. Also clears the clipboard if it contains one of the deleted items.


public inherited method _get ( name , names )

Private function that does a get based off a hash of names

Parameters

public inherited method _getClipboardData ( )


public inherited method _getSelectionData ( )


public method _hasWastebasketSetter ( hasWastebasket )

Sets the hasWastebasket property as well as updating the label and iconClass properties to reflect the available action.

Parameters

public method _onModelChange ( )

Updates canExecute after the model has been updated.


public inherited method _selectionDataGetter ( )


public inherited method _selectionTypeGetter ( )


public inherited method destroy ( )


public inherited method execute ( )


public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public inherited method onRefreshClipboard ( )


public inherited method onRefreshSelection ( )


public inherited method postscript ( )


public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method unwatchClipboardChange ( )


public inherited method unwatchModelChange ( )


public inherited method unwatchSelectionChange ( )


public inherited method watch ( name , callback )

Watches a property for changes

Parameters

public inherited method watchClipboardChange ( )


public inherited method watchModelChange ( )


public inherited method watchSelectionChange ( )