Method | Description | |
---|---|---|
cgetAction ( |
returns all content items as JSON String. | |
cgetNodes ( |
Returns complete nodes. | |
deleteAction ( |
deletes node with given uuid. | |
entryAction ( |
returns entry point (webspace as node). | |
filterAction ( |
Returns the title of the pages for a given smart content configuration. | |
getAction ( |
returns a content item with given UUID as JSON String. | |
getLocale ( |
||
getSecuredClass ( ) | ||
getSecuredObjectId ( |
||
getSecurityContext ( ) | ||
indexAction ( |
returns a content item for startpage. | |
postAction ( |
Updates a content item and returns result as JSON String. | |
postTriggerAction ( string $uuid, |
trigger a action for given node specified over get-action parameter - move: moves a node + destination: specifies the destination node - copy: copy a node + destination: specifies the destination node. | |
putAction ( |
saves node with given uuid and data. |
Method | Description | |
---|---|---|
getDocumentManager ( ) : Sulu\Component\DocumentManager\DocumentManagerInterface | ||
getMetadataFactory ( ) : Sulu\Component\DocumentManager\Metadata\BaseMetadataFactory | ||
getRepository ( ) : Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface |
Method | Description | |
---|---|---|
cgetContent ( |
Returns content array by parent or webspace root. | |
checkActionParameterSecurity ( string $actionParameter, string $locale, string $uuid = null ) | Checks if the user has the required permissions for the given action with the given locale. The additional uuid parameter will also include checks for the document identified by it. | |
getContent ( |
Returns single content. | |
getLanguage ( |
returns language code from request. | |
getNodesByIds ( |
Returns nodes by given ids. | |
getSingleNode ( |
||
getTreeContent ( string $uuid, string $locale, string $webspaceKey, boolean $webspaceNodes, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user ) : |
Returns tree response for given uuid. | |
getTreeForUuid ( |
Returns a tree along the given path with the siblings of all nodes on the path. | |
getWebspace ( |
returns webspace key from request. | |
getWebspaceNode ( Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, array $contents, string $webspaceKey, string $locale, Sulu\Component\Security\Authentication\UserInterface $user ) : |
Returns content for all webspaces. | |
getWebspaceNodes ( Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, array $contents, string | null $webspaceKey, string $locale, Sulu\Component\Security\Authentication\UserInterface $user ) : |
Returns content for all webspaces. | |
getWebspaceNodesByPaths ( array $paths, string $webspaceKey, string $locale, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, array $webspaces, array $contents, Sulu\Component\Security\Authentication\UserInterface $user ) : |
||
handleActionParameter ( string $actionParameter, object $document, string $locale ) | Delegates actions by given actionParameter, which can be retrieved from the request. | |
persistDocument ( |
Persists the document using the given information. |
public cgetAction ( |
||
$request | ||
return |
public cgetNodes ( |
||
$request | ||
return |
public deleteAction ( |
||
$request | ||
$uuid | string | |
return |
public entryAction ( |
||
$request | ||
return |
public filterAction ( |
||
$request | ||
return |
protected getDocumentManager ( ) : Sulu\Component\DocumentManager\DocumentManagerInterface | ||
return | Sulu\Component\DocumentManager\DocumentManagerInterface |
public getLocale ( |
||
$request |
protected getMetadataFactory ( ) : Sulu\Component\DocumentManager\Metadata\BaseMetadataFactory | ||
return | Sulu\Component\DocumentManager\Metadata\BaseMetadataFactory |
protected getRepository ( ) : Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface | ||
return | Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface |
public getSecuredObjectId ( |
||
$request |
public indexAction ( |
||
$request | ||
return |
public postAction ( |
||
$request | ||
return |
public postTriggerAction ( string $uuid, |
||
$uuid | string | |
$request | ||
return |