Home Reference Source
import RemoteSetObjectAction from 'remote-context/lib/actions/RemoteSetObjectAction.js'
public class | source

RemoteSetObjectAction

Extends:

ActionReferenceActionRemoteSetAction → RemoteSetObjectAction

Direct Subclass:

RemoteSetFunctionAction

Static Method Summary

Static Public Methods
public static

fromSnapshot(session: *, reference: *, snapshot: *): *

public static

getPrototype(snapshot: *): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public

proto: *

Method Summary

Public Methods
public
public

populateInstance(session: *, instance: *)

public

Inherited Summary

From class Action
public

exec(session: Session): undefined | Promise

Execute the action.

public

fetch(session: Session): *

Fetch the action value.

public

Returns an arguments list for creating this instance remotely.

public

Get a string that represent this class.

From class ReferenceAction
public
public
public
From class RemoteSetAction
public static

fromSnapshot(session: *, reference: *, snapshot: *): *

public
public

delete(session: *): *

public

exec(session: *)

public

fetch(session: *): *

public

Static Public Methods

public static fromSnapshot(session: *, reference: *, snapshot: *): * source

Override:

RemoteSetAction#fromSnapshot

Params:

NameTypeAttributeDescription
session *
reference *
snapshot *

Return:

*

public static getPrototype(snapshot: *): * source

Params:

NameTypeAttributeDescription
snapshot *

Return:

*

Public Constructors

public constructor() source

Override:

ReferenceAction#constructor

Public Members

public cachedGetters: * source

public descriptors: * source

public isExtensible: * source

public proto: * source

Public Methods

public createInstance(): {} source

Override:

RemoteSetAction#createInstance

Return:

{}

public populateInstance(session: *, instance: *) source

Override:

RemoteSetAction#populateInstance

Params:

NameTypeAttributeDescription
session *
instance *

public toArgumentsList(): * source

Returns an arguments list for creating this instance remotely.

Override:

ReferenceAction#toArgumentsList

Return:

*