wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
LockManagerRDB Class Reference
+ Inheritance diagram for LockManagerRDB:

Public Member Functions

 aquireLockImpl ($useroid, $sessid, $oid, $lockDate)
 
 releaseLockImpl ($useroid, $sessid, $oid)
 
 releaseAllLocksImpl ($useroid, $sessid)
 
 getLockImpl ($oid)
 
- Public Member Functions inherited from LockManager
getInstance ()
 
 handleLocking (&$object, $name)
 
 aquireLock ($oid)
 
 releaseLock ($oid)
 
 releaseLocks ($oid)
 
 releaseAllLocks ()
 
 getLockMessage ($lock, $objectText)
 
 getLock ($oid)
 
getUser ()
 
 aquireLockImpl ($useroid, $sessid, $oid, $lockDate)
 
 releaseLockImpl ($useroid, $sessid, $oid)
 
 releaseAllLocksImpl ($useroid, $sessid)
 
 getLockImpl ($oid)
 

Detailed Description

LockManagerRDB implements a LockManager for relational databases. Locks are represented by the entity type 'Locktable' with attributes 'sessionid', 'objectid', 'since' (all DATATYPE_ATTRIBUTE). Locktable instances are children of the user entity.

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.LockManagerRDB.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 33 of file class.LockManagerRDB.php.

Member Function Documentation

LockManagerRDB::aquireLockImpl (   $useroid,
  $sessid,
  $oid,
  $lockDate 
)
LockManagerRDB::releaseLockImpl (   $useroid,
  $sessid,
  $oid 
)
See Also
LockManager::releaseLockImpl();

Definition at line 55 of file class.LockManagerRDB.php.

References BUILDDEPTH_SINGLE, PersistenceFacade\createObjectQuery(), DATATYPE_ATTRIBUTE, and UserManager\getUserClassName().

Referenced by releaseAllLocksImpl().

+ Here is the call graph for this function:

LockManagerRDB::releaseAllLocksImpl (   $useroid,
  $sessid 
)
See Also
LockManager::releaseAllLocksImpl();

Definition at line 78 of file class.LockManagerRDB.php.

References releaseLockImpl().

+ Here is the call graph for this function:

LockManagerRDB::getLockImpl (   $oid)

The documentation for this class was generated from the following file: