Method |
Description |
|
copyAfter ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, string $nodeName ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Copies this node after the given node |
|
copyBefore ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, string $nodeName ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Copies this node before the given node |
|
copyInto ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, string $nodeName ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Copies this node to below the given node. The new node will be added behind
any existing sub nodes of the given node. |
|
createNode ( string $name, NodeType $nodeType = null, string $identifier = null ) : Node |
Creates, adds and returns a child node of this node. Also sets default
properties and creates default subnodes. |
|
createNodeFromTemplate ( NodeTemplate $nodeTemplate, string $nodeName = null ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Creates and persists a node from the given $nodeTemplate as child node |
|
createSingleNode ( string $name, NodeType $nodeType = null, string $identifier = null ) : Node |
Creates, adds and returns a child node of this node, without setting default
properties or creating subnodes. |
|
createVariantForContext ( Context $context ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Given a context a new node is returned that is like this node, but
lives in the new context. |
|
getAccessRoles ( ) : array |
Returns the names of defined access roles |
|
getChildNodes ( string $nodeTypeFilter = null, integer $limit = null, integer $offset = null ) : array<\Neos\ContentRepository\Domain\Model\NodeInterface> |
Returns all direct child nodes of this node. |
|
getContentObject ( ) : object |
Returns the content object of this node (if any). |
|
getContext ( ) : Context |
Return the context of the node |
|
getContextPath ( ) : string |
Returns the absolute path of this node with additional context information (such as the workspace name). |
|
getDepth ( ) : integer |
Returns the level at which this node is located. |
|
getDimensions ( ) : array |
Return the assigned content dimensions of the node. |
|
getFullLabel ( ) : string |
Returns a full length plain text label of this node |
|
getHiddenAfterDateTime ( ) : DateTime |
Returns the date and time after which this node will be automatically hidden. |
|
getHiddenBeforeDateTime ( ) : DateTime |
Returns the date and time before which this node will be automatically hidden. |
|
getIdentifier ( ) : string |
Returns the identifier of this node. |
|
getIndex ( ) : integer |
Returns the index of this node which determines the order among siblings
with the same parent node. |
|
getLabel ( ) : string |
Returns a full length plain text label of this node |
|
getName ( ) : string |
Returns the name of this node |
|
getNode ( string $path ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Returns a node specified by the given relative path. |
|
getNodeData ( ) : NodeData |
Return the NodeData representation of the node. |
|
getNodeType ( ) : NodeType |
Returns the node type of this node. |
|
getOtherNodeVariants ( ) : array |
Get other variants of this node (with different dimension values) |
|
getParent ( ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Returns the parent node of this node |
|
getParentPath ( ) : string |
Returns the parent node path |
|
getPath ( ) : string |
Returns the path of this node |
|
getPrimaryChildNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Returns the primary child node of this node. |
|
getProperties ( ) : array |
Returns all properties of this node. |
|
getProperty ( string $propertyName ) : mixed |
Returns the specified property. |
|
getPropertyNames ( ) : array |
Returns the names of all properties of this node. |
|
getWorkspace ( ) : Workspace |
Returns the workspace this node is contained in |
|
hasAccessRestrictions ( ) : boolean |
Tells if a node, in general, has access restrictions, independent of the
current security context. |
|
hasChildNodes ( string $nodeTypeFilter = null ) : boolean |
Checks if this node has any child nodes. |
|
hasProperty ( string $propertyName ) : boolean |
If this node has a property with the given name. |
|
isAccessible ( ) : boolean |
Tells if this node may be accessed according to the current security context. |
|
isAutoCreated ( ) : boolean |
Determine if this node is configured as auto-created childNode of the parent node. If that is the case, it
should not be deleted. |
|
isHidden ( ) : boolean |
Returns the current state of the hidden flag |
|
isHiddenInIndex ( ) : boolean |
If this node should be hidden in indexes |
|
isNodeTypeAllowedAsChildNode ( NodeType $nodeType ) : boolean |
Checks if the given $nodeType would be allowed as a child node of this node according to the configured constraints. |
|
isRemoved ( ) : boolean |
If this node is a removed node. |
|
isVisible ( ) : boolean |
Tells if this node is "visible". |
|
moveAfter ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode ) : void |
Moves this node after the given node |
|
moveBefore ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode ) : void |
Moves this node before the given node |
|
moveInto ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode ) : void |
Moves this node into the given node |
|
remove ( ) : void |
Removes this node and all its child nodes. This is an alias for setRemoved(TRUE) |
|
removeProperty ( string $propertyName ) : void |
Removes the specified property. |
|
setAccessRoles ( array $accessRoles ) : void |
Sets the roles which are required to access this node |
|
setContentObject ( object $contentObject ) : void |
Sets a content object for this node. |
|
setHidden ( boolean $hidden ) : void |
Sets the "hidden" flag for this node. |
|
setHiddenAfterDateTime ( DateTime $dateTime = null ) : void |
Sets the date and time when this node should be automatically hidden |
|
setHiddenBeforeDateTime ( DateTime $dateTime = null ) : void |
Sets the date and time when this node becomes potentially visible. |
|
setHiddenInIndex ( boolean $hidden ) : void |
Sets if this node should be hidden in indexes, such as a site navigation. |
|
setIndex ( integer $index ) : void |
Sets the index of this node |
|
setName ( string $newName ) : void |
Set the name of the node to $newName, keeping it's position as it is |
|
setNodeType ( NodeType $nodeType ) : void |
Sets the node type of this node. |
|
setProperty ( string $propertyName, mixed $value ) : void |
Sets the specified property. |
|
setRemoved ( boolean $removed ) : void |
Removes this node and all its child nodes or sets ONLY this node to not being removed. |
|
setWorkspace ( Workspace $workspace ) : void |
Sets the workspace of this node. |
|
unsetContentObject ( ) : void |
Unsets the content object of this node. |
|