final class ChangeNodeAggregateName implements CommandInterface, JsonSerializable, RebasableToOtherWorkspaceInterface (View source)

deprecated the concept regarding node-names for non-tethered nodes is outdated.

All variants in a NodeAggregate have the same (optional) NodeName, which this can be changed here.

Node Names are usually only used for tethered nodes; as then the Node Name is used for querying. Tethered Nodes cannot be renamed via the command API.

Methods

create(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId, NodeName $newNodeName)

No description

fromArray(array $array)

No description

array
jsonSerialize()

No description

Details

static ChangeNodeAggregateName create(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId, NodeName $newNodeName)

No description

Parameters

WorkspaceName $workspaceName

The workspace in which the operation is to be performed

NodeAggregateId $nodeAggregateId

The identifier of the node aggregate to rename

NodeName $newNodeName

The new name of the node aggregate

Return Value

ChangeNodeAggregateName

static CommandInterface fromArray(array $array)

No description

Parameters

array $array

Return Value

CommandInterface

array jsonSerialize()

No description

Return Value

array

RebasableToOtherWorkspaceInterface createCopyForWorkspace(WorkspaceName $targetWorkspaceName)

No description

Parameters

WorkspaceName $targetWorkspaceName

Return Value

RebasableToOtherWorkspaceInterface