PHP 클래스 Neos\Neos\EventLog\Domain\Model\NodeEvent

상속: extends Event
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$contextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$dimension array the dimension values for that event
$documentNodeIdentifier string the document node identifier on which the action took place. is equal to NodeIdentifier if the action happened on documentNodes
$nodeIdentifier string ..
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$siteRepository Neos\Neos\Domain\Repository\SiteRepository
$userService Neos\Neos\Service\UserService
$workspaceName string the workspace name where the action took place

공개 메소드들

메소드 설명
__toString ( ) : string
getClosestAggregateNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface Returns the closest aggregate node of the given node
getDocumentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface Returns the closest document node, if it can be resolved.
getDocumentNodeIdentifier ( ) : string Return the node identifier of the closest parent document node related to this event
getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface Returns the node this even refers to, if it can be resolved.
getNodeIdentifier ( ) : string Return the node identifier of the node this event relates to
getWorkspaceName ( ) : string Return name of the workspace where the node event happened
isDocumentEvent ( )
setNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void Set the "context node" this operation was working on.
setWorkspaceName ( string $workspaceName ) : void Override the workspace name. *MUST* be called after setNode(), else it won't have an effect.

보호된 메소드들

메소드 설명
getCurrentSite ( ) : null | object Prevents invalid calls to the site respository in case the site data property is not available.

메소드 상세

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

getClosestAggregateNode() 공개 정적인 메소드

Returns the closest aggregate node of the given node
public static getClosestAggregateNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface
$node Neos\ContentRepository\Domain\Model\NodeInterface
리턴 Neos\ContentRepository\Domain\Model\NodeInterface

getCurrentSite() 보호된 메소드

Prevents invalid calls to the site respository in case the site data property is not available.
protected getCurrentSite ( ) : null | object
리턴 null | object

getDocumentNode() 공개 메소드

It might happen that, if this event refers to a node contained in a site which is not available anymore, Doctrine's proxy class of the Site domain model will fail with an EntityNotFoundException. We catch this case and return NULL.
public getDocumentNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
리턴 Neos\ContentRepository\Domain\Model\NodeInterface

getDocumentNodeIdentifier() 공개 메소드

Return the node identifier of the closest parent document node related to this event

getNode() 공개 메소드

It might happen that, if this event refers to a node contained in a site which is not available anymore, Doctrine's proxy class of the Site domain model will fail with an EntityNotFoundException. We catch this case and return NULL.
public getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
리턴 Neos\ContentRepository\Domain\Model\NodeInterface

getNodeIdentifier() 공개 메소드

Return the node identifier of the node this event relates to
public getNodeIdentifier ( ) : string
리턴 string

getWorkspaceName() 공개 메소드

Return name of the workspace where the node event happened
public getWorkspaceName ( ) : string
리턴 string

isDocumentEvent() 공개 메소드

public isDocumentEvent ( )

setNode() 공개 메소드

Set the "context node" this operation was working on.
public setNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
리턴 void

setWorkspaceName() 공개 메소드

Override the workspace name. *MUST* be called after setNode(), else it won't have an effect.
public setWorkspaceName ( string $workspaceName ) : void
$workspaceName string
리턴 void

프로퍼티 상세

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

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
리턴 Neos\ContentRepository\Domain\Service\ContextFactoryInterface

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

the dimension values for that event
protected array $dimension
리턴 array

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

the document node identifier on which the action took place. is equal to NodeIdentifier if the action happened on documentNodes
protected string $documentNodeIdentifier
리턴 string

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

..
protected string $nodeIdentifier
리턴 string

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

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
리턴 Neos\Flow\Persistence\PersistenceManagerInterface

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

protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository
리턴 Neos\Neos\Domain\Repository\SiteRepository

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

protected UserService,Neos\Neos\Service $userService
리턴 Neos\Neos\Service\UserService

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

the workspace name where the action took place
protected string $workspaceName
리턴 string