PHP Interface Neos\Neos\Ui\Domain\Model\ChangeInterface

Show file Open project: neos/neos-ui Interface Usage Examples

Public Methods

Method Description
apply ( ) : void Applies this change
canApply ( ) : boolean Checks whether this change can be applied to the subject
canMerge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : boolean Checks whether this change can be merged with a subsequent change
getSubject ( ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface Get the subject
merge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : void Merges this change with a subsequent change
setSubject ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $subject ) : void Set the subject

Method Details

apply() public method

Applies this change
public apply ( ) : void
return void

canApply() public method

Checks whether this change can be applied to the subject
public canApply ( ) : boolean
return boolean

canMerge() public method

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
return boolean

getSubject() public method

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

merge() public method

Merges this change with a subsequent change
public merge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : void
$subsequentChange Neos\Neos\Ui\Domain\Model\ChangeInterface
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