CreateNodeAggregateWithNodeAndSerializedProperties
final class CreateNodeAggregateWithNodeAndSerializedProperties implements JsonSerializable, RebasableToOtherWorkspaceInterface (View source)
| internal | implementation detail, use {@see \Neos\ContentRepository\Core\Feature\NodeCreation\Command\CreateNodeAggregateWithNode} instead. |
The properties of {CreateNodeAggregateWithNode} are directly serialized; and then this command is called and triggers the actual processing.
Methods
No description
No description
We precalculate all $tetheredDescendantNodeAggregateIds via {NodeAggregateIdsByNodePaths::completeForNodeOfType} so that when rebasing the command, it stays fully deterministic.
No description
Details
static CreateNodeAggregateWithNodeAndSerializedProperties
create(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId, NodeTypeName $nodeTypeName, OriginDimensionSpacePoint $originDimensionSpacePoint, NodeAggregateId $parentNodeAggregateId, NodeAggregateId|null $succeedingSiblingNodeAggregateId = null, SerializedPropertyValues|null $initialPropertyValues = null, SerializedNodeReferences|null $references = null)
No description
static RebasableToOtherWorkspaceInterface
fromArray(array $array)
No description
CreateNodeAggregateWithNodeAndSerializedProperties
withTetheredDescendantNodeAggregateIds(NodeAggregateIdsByNodePaths $tetheredDescendantNodeAggregateIds)
We precalculate all $tetheredDescendantNodeAggregateIds via {NodeAggregateIdsByNodePaths::completeForNodeOfType} so that when rebasing the command, it stays fully deterministic.
See also the documentation of the higher level API {\Neos\ContentRepository\Core\Feature\NodeCreation\Command\CreateNodeAggregateWithNode::withTetheredDescendantNodeAggregateIds}
CreateNodeAggregateWithNodeAndSerializedProperties
withNodeName(NodeName $nodeName)
deprecated
deprecated
The node's optional name.
Set if there is a meaningful relation to its parent that should be named.
array
jsonSerialize()
No description
RebasableToOtherWorkspaceInterface
createCopyForWorkspace(WorkspaceName $targetWorkspaceName)
No description