Javascript for Episerver 7.5 cms

Reject (constructor)

Summary

Reject current content changes.

Location

epi-cms/contentediting/command/Reject

Extends

Properties

_attrPairNames

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

_isChangingContentStatusHandle

_modelChangeWatcher

action

canExecute

category

checkDeleted

Indicated that need check content is deleted or not before execute command

iconClass

isAvailable

label

model

name

order

tag

tooltip

viewName

Represents the view that will be display after changing content status. It might be null or empty.

Methods

public inherited method _canExecuteGetter ( )

Check content is deleted or not


public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _changeContentStatus ( )

Ask the model to change content status then request a context change.


public method _execute ( )

Executes this command. Reject content sent for review.


public inherited method _get ( name , names )

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

Parameters

public method _onModelChange ( )

Updates canExecute after the model has been updated.


public inherited method _requestContextChange ( id , forceContextChange )

Parameters

public inherited method destroy ( )


public inherited method execute ( )


public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public inherited method postscript ( )


public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method unwatchModelChange ( )


public inherited method watch ( name , callback )

Watches a property for changes

Parameters

public inherited method watchModelChange ( )