PHP Class Neos\Neos\Ui\Controller\BackendServiceController

Inheritance: extends TYPO3\Flow\Mvc\Controller\ActionController
Show file Open project: neos/neos-ui

Protected Properties

Property Type Description
$defaultViewObjectName string
$feedbackCollection Neos\Neos\Ui\Domain\Model\FeedbackCollection
$nodeService Neos\Neos\Ui\TYPO3CR\Service\NodeService
$persistenceManager TYPO3\Flow\Persistence\PersistenceManagerInterface
$publishingService TYPO3\Neos\Service\PublishingService
$supportedMediaTypes array
$workspaceRepository TYPO3\TYPO3CR\Domain\Repository\WorkspaceRepository

Public Methods

Method Description
changeAction ( ChangeCollection $changes ) : void Apply a set of changes to the system
discardAction ( array $nodeContextPaths ) : void Discard nodes
flowQueryAction ( array $chain ) : void Build and execute a flow query chain
initializeController ( TYPO3\Flow\Mvc\RequestInterface $request, TYPO3\Flow\Mvc\ResponseInterface $response ) : void Set the controller context on the feedback collection after the controller has been initialized
initializeLoadTreeAction ( )
loadTreeAction ( NodeTreeBuilder $nodeTreeArguments, boolean $includeRoot = false ) : void Load the nodetree
publishAction ( array $nodeContextPaths, string $targetWorkspaceName ) : void Publish nodes

Protected Methods

Method Description
updateWorkspaceInfo ( string $documentNodeContextPath ) : void Helper method to inform the client, that new workspace information is available

Method Details

changeAction() public method

Apply a set of changes to the system
public changeAction ( ChangeCollection $changes ) : void
$changes Neos\Neos\Ui\Domain\Model\ChangeCollection
return void

discardAction() public method

Discard nodes
public discardAction ( array $nodeContextPaths ) : void
$nodeContextPaths array
return void

flowQueryAction() public method

Build and execute a flow query chain
public flowQueryAction ( array $chain ) : void
$chain array
return void

initializeController() public method

Set the controller context on the feedback collection after the controller has been initialized
public initializeController ( TYPO3\Flow\Mvc\RequestInterface $request, TYPO3\Flow\Mvc\ResponseInterface $response ) : void
$request TYPO3\Flow\Mvc\RequestInterface
$response TYPO3\Flow\Mvc\ResponseInterface
return void

initializeLoadTreeAction() public method

loadTreeAction() public method

Load the nodetree
public loadTreeAction ( NodeTreeBuilder $nodeTreeArguments, boolean $includeRoot = false ) : void
$nodeTreeArguments Neos\Neos\Ui\Domain\Service\NodeTreeBuilder
$includeRoot boolean
return void

publishAction() public method

Publish nodes
public publishAction ( array $nodeContextPaths, string $targetWorkspaceName ) : void
$nodeContextPaths array
$targetWorkspaceName string
return void

updateWorkspaceInfo() protected method

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

Property Details

$defaultViewObjectName protected property

protected string $defaultViewObjectName
return string

$feedbackCollection protected property

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

$nodeService protected property

protected NodeService,Neos\Neos\Ui\TYPO3CR\Service $nodeService
return Neos\Neos\Ui\TYPO3CR\Service\NodeService

$persistenceManager protected property

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

$publishingService protected property

protected PublishingService,TYPO3\Neos\Service $publishingService
return TYPO3\Neos\Service\PublishingService

$supportedMediaTypes protected property

protected array $supportedMediaTypes
return array

$workspaceRepository protected property

protected WorkspaceRepository,TYPO3\TYPO3CR\Domain\Repository $workspaceRepository
return TYPO3\TYPO3CR\Domain\Repository\WorkspaceRepository