PHP Class Neos\Neos\Ui\Domain\Model\AbstractChange

Inheritance: implements Neos\Neos\Ui\Domain\Model\ChangeInterface
Show file Open project: neos/neos-ui Class Usage Examples

Protected Properties

Property Type Description
$feedbackCollection FeedbackCollection
$persistenceManager TYPO3\Flow\Persistence\PersistenceManagerInterface
$subject TYPO3\TYPO3CR\Domain\Model\NodeInterface

Public Methods

Method Description
getSubject ( ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface Get the subject
injectPersistenceManager ( TYPO3\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void Inject the persistence manager
setSubject ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $subject ) : void Set the subject

Protected Methods

Method Description
addDocumentNodeCreatedFeedback ( ) : void Inform the client that a node has been created, the client decides if and which tree should react to this change.
reloadDocument ( ) : void Inform the client to reload the currently-displayed document, because the rendering has changed.
updateWorkspaceInfo ( ) : void Helper method to inform the client, that new workspace information is available

Method Details

addDocumentNodeCreatedFeedback() protected method

Inform the client that a node has been created, the client decides if and which tree should react to this change.
protected addDocumentNodeCreatedFeedback ( ) : void
return void

getSubject() public method

Get the subject
public getSubject ( ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface
return TYPO3\TYPO3CR\Domain\Model\NodeInterface

injectPersistenceManager() public method

Inject the persistence manager
public injectPersistenceManager ( TYPO3\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void
$persistenceManager TYPO3\Flow\Persistence\PersistenceManagerInterface
return void

reloadDocument() protected method

This method will be triggered if [nodeType].properties.[propertyName].ui.reloadIfChanged is TRUE.
protected reloadDocument ( ) : void
return void

setSubject() public method

Set the subject
public setSubject ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $subject ) : void
$subject TYPO3\TYPO3CR\Domain\Model\NodeInterface
return void

updateWorkspaceInfo() protected method

Helper method to inform the client, that new workspace information is available
protected updateWorkspaceInfo ( ) : void
return void

Property Details

$feedbackCollection protected property

protected FeedbackCollection,Neos\Neos\Ui\Domain\Model $feedbackCollection
return FeedbackCollection

$persistenceManager protected property

protected PersistenceManagerInterface,TYPO3\Flow\Persistence $persistenceManager
return TYPO3\Flow\Persistence\PersistenceManagerInterface

$subject protected property

protected NodeInterface,TYPO3\TYPO3CR\Domain\Model $subject
return TYPO3\TYPO3CR\Domain\Model\NodeInterface