PHP 클래스 Neos\Neos\Ui\Domain\Model\Changes\AbstractCreate

상속: extends Neos\Neos\Ui\Domain\Model\AbstractChange
파일 보기 프로젝트 열기: neos/neos-ui

보호된 프로퍼티들

프로퍼티 타입 설명
$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 Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress The node dom address for the parent node of the created node
$siblingDomAddress Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress The node dom address for the referenced sibling node of the created node

공개 메소드들

메소드 설명
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 ( ) : RenderedNodeDomAddress Get the parent node dom address
getSiblingDomAddress ( ) : RenderedNodeDomAddress 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 ( RenderedNodeDomAddress $parentDomAddress = null ) : void Set the parent node dom address
setSiblingDomAddress ( RenderedNodeDomAddress $siblingDomAddress = null ) : void Set the sibling node dom address

보호된 메소드들

메소드 설명
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

메소드 상세

applyNodeCreationHandlers() 보호된 메소드

Apply nodeCreationHandlers
protected applyNodeCreationHandlers ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : void
$node TYPO3\TYPO3CR\Domain\Model\NodeInterface
리턴 void

canMerge() 공개 메소드

Checks whether this change can be merged with a subsequent change
public canMerge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : boolean
$subsequentChange Neos\Neos\Ui\Domain\Model\ChangeInterface
리턴 boolean

createNode() 보호된 메소드

Creates a new node beneath $parent
protected createNode ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $parent ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface
$parent TYPO3\TYPO3CR\Domain\Model\NodeInterface
리턴 TYPO3\TYPO3CR\Domain\Model\NodeInterface

getData() 공개 메소드

Get the data
public getData ( ) : array
리턴 array

getInitialProperties() 공개 메소드

Get the initial properties
public getInitialProperties ( ) : array
리턴 array

getMode() 추상적인 공개 메소드

Get the insertion mode (before|after|into) that is represented by this change
abstract public getMode ( ) : string
리턴 string

getName() 공개 메소드

Get the name
public getName ( ) : string | null
리턴 string | null

getNodeType() 공개 메소드

Get the node type
public getNodeType ( ) : TYPO3\TYPO3CR\Domain\Model\NodeType
리턴 TYPO3\TYPO3CR\Domain\Model\NodeType

getParentDomAddress() 공개 메소드

Get the parent node dom address
public getParentDomAddress ( ) : RenderedNodeDomAddress
리턴 Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress

getSiblingDomAddress() 공개 메소드

Get the sibling node dom address
public getSiblingDomAddress ( ) : RenderedNodeDomAddress
리턴 Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress

merge() 공개 메소드

Merges this change with a subsequent change
public merge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : void
$subsequentChange Neos\Neos\Ui\Domain\Model\ChangeInterface
리턴 void

setData() 공개 메소드

Set the data
public setData ( array $data )
$data array

setInitialProperties() 공개 메소드

Set the initial properties
public setInitialProperties ( array $initialProperties )
$initialProperties array

setName() 공개 메소드

Set the name
public setName ( string $name )
$name string

setNodeType() 공개 메소드

Set the node type
public setNodeType ( string $nodeType )
$nodeType string

setNodeType() 공개 메소드

Set the node type
public setNodeType ( string | TYPO3\TYPO3CR\Domain\Model\NodeType $nodeType )
$nodeType string | TYPO3\TYPO3CR\Domain\Model\NodeType

setParentDomAddress() 공개 메소드

Set the parent node dom address
public setParentDomAddress ( RenderedNodeDomAddress $parentDomAddress = null ) : void
$parentDomAddress Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress
리턴 void

setSiblingDomAddress() 공개 메소드

Set the sibling node dom address
public setSiblingDomAddress ( RenderedNodeDomAddress $siblingDomAddress = null ) : void
$siblingDomAddress Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress
리턴 void

프로퍼티 상세

$data 보호되어 있는 프로퍼티

Incoming data from creationDialog
protected array $data
리턴 array

$initialProperties 보호되어 있는 프로퍼티

A set of properties, that will be saved with the new node
protected array $initialProperties
리턴 array

$name 보호되어 있는 프로퍼티

An (optional) name that will be used for the new node path
protected string|null $name
리턴 string | null

$nodeService 보호되어 있는 프로퍼티

protected NodeServiceInterface,TYPO3\TYPO3CR\Domain\Service $nodeService
리턴 TYPO3\TYPO3CR\Domain\Service\NodeServiceInterface

$nodeType 보호되어 있는 프로퍼티

The type of the node that will be created
protected NodeType,TYPO3\TYPO3CR\Domain\Model $nodeType
리턴 TYPO3\TYPO3CR\Domain\Model\NodeType

$nodeTypeManager 보호되어 있는 프로퍼티

protected NodeTypeManager,TYPO3\TYPO3CR\Domain\Service $nodeTypeManager
리턴 TYPO3\TYPO3CR\Domain\Service\NodeTypeManager

$parentDomAddress 보호되어 있는 프로퍼티

The node dom address for the parent node of the created node
protected RenderedNodeDomAddress,Neos\Neos\Ui\Domain\Model $parentDomAddress
리턴 Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress

$siblingDomAddress 보호되어 있는 프로퍼티

The node dom address for the referenced sibling node of the created node
protected RenderedNodeDomAddress,Neos\Neos\Ui\Domain\Model $siblingDomAddress
리턴 Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress