Method | Description | |
---|---|---|
__construct ( Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, Sulu\Component\DocumentManager\DocumentInspector $documentInspector, PHPCR\SessionInterface $defaultSession, PHPCR\SessionInterface $liveSession, Sulu\Component\DocumentManager\MetadataFactoryInterface $metadataFactory ) | ||
getSubscribedEvents ( ) | ||
handleRemove ( Sulu\Component\DocumentManager\Event\RemoveEvent $event ) | ||
removeDocument ( $document ) |
Method | Description | |
---|---|---|
dereferenceProperty ( PHPCR\NodeInterface $node, PHPCR\PropertyInterface $property ) | Remove the given property, or the value which references the node (when multi-valued). | |
removeReferences ( $document ) | ||
removeReferencesForNode ( PHPCR\NodeInterface $node ) | ||
removeRoute ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document ) | Removes related route of given document. |
public __construct ( Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, Sulu\Component\DocumentManager\DocumentInspector $documentInspector, PHPCR\SessionInterface $defaultSession, PHPCR\SessionInterface $liveSession, Sulu\Component\DocumentManager\MetadataFactoryInterface $metadataFactory ) | ||
$documentManager | Sulu\Component\DocumentManager\DocumentManagerInterface | |
$documentInspector | Sulu\Component\DocumentManager\DocumentInspector | |
$defaultSession | PHPCR\SessionInterface | |
$liveSession | PHPCR\SessionInterface | |
$metadataFactory | Sulu\Component\DocumentManager\MetadataFactoryInterface |
public handleRemove ( Sulu\Component\DocumentManager\Event\RemoveEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\RemoveEvent |