PHP Class Jackalope\Transport\DoctrineDBAL\CachedClient

Author: Lukas Kahwe Smith ([email protected])
Inheritance: extends Client
Show file Open project: jackalope/jackalope-doctrine-dbal

Public Methods

Method Description
__construct ( Jackalope\FactoryInterface $factory, Doctrine\DBAL\Connection $conn, array $caches = [] )
commitTransaction ( ) {@inheritDoc}
copyNode ( $srcAbsPath, $dstAbsPath, $srcWorkspace = null ) {@inheritDoc}
createWorkspace ( $name, $srcWorkspace = null ) {@inheritDoc}
deleteNodeImmediately ( $absPath ) {@inheritDoc}
deleteNodes ( array $operations ) {@inheritDoc}
deleteProperties ( array $operation ) {@inheritDoc}
deletePropertyImmediately ( $absPath ) {@inheritDoc}
deleteWorkspace ( $name ) {@inheritDoc}
getAccessibleWorkspaceNames ( ) {@inheritDoc}
getNamespaces ( ) {@inheritDoc}
getNode ( $path ) {@inheritDoc}
getNodeByIdentifier ( $uuid ) {@inheritDoc}
getNodePathForIdentifier ( $uuid, $workspace = null ) {@inheritDoc}
getNodeTypes ( $nodeTypes = [] ) {@inheritDoc}
getNodes ( $paths ) {@inheritDoc}
getNodesByIdentifier ( $uuids ) {@inheritDoc}
getReferences ( $path, $name = null ) {@inheritDoc}
getWeakReferences ( $path, $name = null ) {@inheritDoc}
moveNodeImmediately ( $srcAbsPath, $dstAbsPath ) {@inheritDoc}
moveNodes ( array $operations ) {@inheritDoc}
query ( Query $query ) {@inheritDoc}
registerNamespace ( $prefix, $uri ) {@inheritDoc}
registerNodeTypes ( $types, $allowUpdate ) {@inheritDoc}
reorderChildren ( Node $node ) {@inheritDoc}
rollbackTransaction ( ) {@inheritDoc}
setKeySanitizer ( Closure $sanitizer )
storeNodes ( array $operations ) {@inheritDoc}
unregisterNamespace ( $prefix ) {@inheritDoc}

Protected Methods

Method Description
fetchUserNodeTypes ( ) {@inheritDoc}
getSystemIdForNodeUuid ( $uuid, $workspaceName = null ) {@inheritDoc}
workspaceExists ( $workspaceName ) {@inheritDoc}

Private Methods

Method Description
clearCaches ( array $caches = null )
clearNodeCache ( Node $node )
sanitizeKey ( string $cacheKey ) : mixed Sanitizes the key using $this->keySanitizer

Method Details

__construct() public method

public __construct ( Jackalope\FactoryInterface $factory, Doctrine\DBAL\Connection $conn, array $caches = [] )
$factory Jackalope\FactoryInterface
$conn Doctrine\DBAL\Connection
$caches array

commitTransaction() public method

{@inheritDoc}
public commitTransaction ( )

copyNode() public method

{@inheritDoc}
public copyNode ( $srcAbsPath, $dstAbsPath, $srcWorkspace = null )

createWorkspace() public method

{@inheritDoc}
public createWorkspace ( $name, $srcWorkspace = null )

deleteNodeImmediately() public method

{@inheritDoc}
public deleteNodeImmediately ( $absPath )

deleteNodes() public method

{@inheritDoc}
public deleteNodes ( array $operations )
$operations array

deleteProperties() public method

{@inheritDoc}
public deleteProperties ( array $operation )
$operation array

deletePropertyImmediately() public method

{@inheritDoc}
public deletePropertyImmediately ( $absPath )

deleteWorkspace() public method

{@inheritDoc}
public deleteWorkspace ( $name )

fetchUserNodeTypes() protected method

{@inheritDoc}
protected fetchUserNodeTypes ( )

getAccessibleWorkspaceNames() public method

{@inheritDoc}

getNamespaces() public method

{@inheritDoc}
public getNamespaces ( )

getNode() public method

{@inheritDoc}
public getNode ( $path )

getNodeByIdentifier() public method

{@inheritDoc}
public getNodeByIdentifier ( $uuid )

getNodePathForIdentifier() public method

{@inheritDoc}
public getNodePathForIdentifier ( $uuid, $workspace = null )

getNodeTypes() public method

{@inheritDoc}
public getNodeTypes ( $nodeTypes = [] )

getNodes() public method

{@inheritDoc}
public getNodes ( $paths )

getNodesByIdentifier() public method

{@inheritDoc}
public getNodesByIdentifier ( $uuids )

getReferences() public method

{@inheritDoc}
public getReferences ( $path, $name = null )

getSystemIdForNodeUuid() protected method

{@inheritDoc}
protected getSystemIdForNodeUuid ( $uuid, $workspaceName = null )

getWeakReferences() public method

{@inheritDoc}
public getWeakReferences ( $path, $name = null )

moveNodeImmediately() public method

{@inheritDoc}
public moveNodeImmediately ( $srcAbsPath, $dstAbsPath )

moveNodes() public method

{@inheritDoc}
public moveNodes ( array $operations )
$operations array

query() public method

{@inheritDoc}
public query ( Query $query )
$query Jackalope\Query\Query

registerNamespace() public method

{@inheritDoc}
public registerNamespace ( $prefix, $uri )

registerNodeTypes() public method

{@inheritDoc}
public registerNodeTypes ( $types, $allowUpdate )

reorderChildren() public method

{@inheritDoc}
public reorderChildren ( Node $node )
$node Jackalope\Node

rollbackTransaction() public method

{@inheritDoc}
public rollbackTransaction ( )

setKeySanitizer() public method

public setKeySanitizer ( Closure $sanitizer )
$sanitizer Closure

storeNodes() public method

{@inheritDoc}
public storeNodes ( array $operations )
$operations array

unregisterNamespace() public method

{@inheritDoc}
public unregisterNamespace ( $prefix )

workspaceExists() protected method

{@inheritDoc}
protected workspaceExists ( $workspaceName )