Property | Type | Description | |
---|---|---|---|
$factory | Jackalope\FactoryInterface | The jackalope object factory for this object | |
$locks | Contains a list of nodes locks | ||
$objectmanager | |||
$session | PHPCR\SessionInterface | ||
$transport | Jackalope\Transport\LockingInterface |
Method | Description | |
---|---|---|
__construct ( Jackalope\FactoryInterface $factory, |
Create the version manager - there should be only one per session. | |
addLockToken ( $lockToken ) | {@inheritDoc} | |
createLockInfo ( ) | {@inheritDoc} | |
getIterator ( ) | ||
getLock ( $absPath ) | {@inheritDoc} | |
getLockTokens ( ) | {@inheritDoc} | |
getSession ( ) : PHPCR\SessionInterface | for the locks to get the session to get their root node | |
holdsLock ( $absPath ) | {@inheritDoc} | |
isLocked ( $absPath ) | {@inheritDoc} | |
lock ( $absPath, $isDeep, $isSessionScoped, $timeoutHint = PHP_INT_MAX, $ownerInfo = null ) | {@inheritDoc} | |
lockWithInfo ( $absPath, PHPCR\Lock\LockInfoInterface $lockInfo ) | {@inheritDoc} | |
logout ( ) | The session logout needs to call this so we are able to release any session based locks that where created through this lock manager. | |
removeLockToken ( $lockToken ) | {@inheritDoc} | |
unlock ( $absPath ) | {@inheritDoc} |
public __construct ( Jackalope\FactoryInterface $factory, |
||
$factory | Jackalope\FactoryInterface | An object factory implementing "get" as described in \Jackalope\FactoryInterface |
$objectManager | ||
$session | PHPCR\SessionInterface | |
$transport | Jackalope\Transport\LockingInterface | |
return |
public getSession ( ) : PHPCR\SessionInterface | ||
return | PHPCR\SessionInterface |
public lock ( $absPath, $isDeep, $isSessionScoped, $timeoutHint = PHP_INT_MAX, $ownerInfo = null ) |
public lockWithInfo ( $absPath, PHPCR\Lock\LockInfoInterface $lockInfo ) | ||
$lockInfo | PHPCR\Lock\LockInfoInterface |
public logout ( ) |
protected FactoryInterface,Jackalope $factory | ||
return | Jackalope\FactoryInterface |
protected ObjectManager,Jackalope $objectmanager | ||
return |
protected SessionInterface,PHPCR $session | ||
return | PHPCR\SessionInterface |