Property | Type | Description | |
---|---|---|---|
$data | array | Incoming data from creationDialog | |
$initialProperties | array | A set of properties, that will be saved with the new node | |
$name | string | null | An (optional) name that will be used for the new node path | |
$nodeService | TYPO3\TYPO3CR\Domain\Service\NodeServiceInterface | ||
$nodeType | TYPO3\TYPO3CR\Domain\Model\NodeType | The type of the node that will be created | |
$nodeTypeManager | TYPO3\TYPO3CR\Domain\Service\NodeTypeManager | ||
$parentDomAddress | The node dom address for the parent node of the created node | ||
$siblingDomAddress | The node dom address for the referenced sibling node of the created node |
Method | Description | |
---|---|---|
canMerge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : boolean | Checks whether this change can be merged with a subsequent change | |
getData ( ) : array | Get the data | |
getInitialProperties ( ) : array | Get the initial properties | |
getMode ( ) : string | Get the insertion mode (before|after|into) that is represented by this change | |
getName ( ) : string | null | Get the name | |
getNodeType ( ) : TYPO3\TYPO3CR\Domain\Model\NodeType | Get the node type | |
getParentDomAddress ( ) : |
Get the parent node dom address | |
getSiblingDomAddress ( ) : |
Get the sibling node dom address | |
merge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : void | Merges this change with a subsequent change | |
setData ( array $data ) | Set the data | |
setInitialProperties ( array $initialProperties ) | Set the initial properties | |
setName ( string $name ) | Set the name | |
setNodeType ( string $nodeType ) | Set the node type | |
setNodeType ( string | TYPO3\TYPO3CR\Domain\Model\NodeType $nodeType ) | Set the node type | |
setParentDomAddress ( |
Set the parent node dom address | |
setSiblingDomAddress ( |
Set the sibling node dom address |
Method | Description | |
---|---|---|
applyNodeCreationHandlers ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : void | Apply nodeCreationHandlers | |
createNode ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $parent ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | Creates a new node beneath $parent |
protected applyNodeCreationHandlers ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : void | ||
$node | TYPO3\TYPO3CR\Domain\Model\NodeInterface | |
return | void |
protected createNode ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $parent ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | ||
$parent | TYPO3\TYPO3CR\Domain\Model\NodeInterface | |
return | TYPO3\TYPO3CR\Domain\Model\NodeInterface |
public getInitialProperties ( ) : array | ||
return | array |
public getNodeType ( ) : TYPO3\TYPO3CR\Domain\Model\NodeType | ||
return | TYPO3\TYPO3CR\Domain\Model\NodeType |
public getParentDomAddress ( ) : |
||
return |
public getSiblingDomAddress ( ) : |
||
return |
public setInitialProperties ( array $initialProperties ) | ||
$initialProperties | array |
public setNodeType ( string $nodeType ) | ||
$nodeType | string |
public setNodeType ( string | TYPO3\TYPO3CR\Domain\Model\NodeType $nodeType ) | ||
$nodeType | string | TYPO3\TYPO3CR\Domain\Model\NodeType |
public setParentDomAddress ( |
||
$parentDomAddress | ||
return | void |
public setSiblingDomAddress ( |
||
$siblingDomAddress | ||
return | void |
protected array $initialProperties | ||
return | array |
protected NodeServiceInterface,TYPO3\TYPO3CR\Domain\Service $nodeService | ||
return | TYPO3\TYPO3CR\Domain\Service\NodeServiceInterface |
protected NodeType,TYPO3\TYPO3CR\Domain\Model $nodeType | ||
return | TYPO3\TYPO3CR\Domain\Model\NodeType |
protected NodeTypeManager,TYPO3\TYPO3CR\Domain\Service $nodeTypeManager | ||
return | TYPO3\TYPO3CR\Domain\Service\NodeTypeManager |
protected RenderedNodeDomAddress,Neos\Neos\Ui\Domain\Model $parentDomAddress | ||
return |