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

Public Member Functions

 validate ()
 
 hasView ()
 
 executeKernel ()
 
- Public Member Functions inherited from Controller
 Controller (&$delegate)
 
 initialize (&$request, &$response)
 
 validate ()
 
 hasView ()
 
 execute ()
 
 executeKernel ()
 
 getErrorMsg ()
 
 setErrorMsg ($msg)
 
 appendErrorMsg ($msg)
 
getRequest ()
 
getResponse ()
 
getView ()
 
getDelegate ()
 
 getViewTemplate ($controller, $context, $action)
 
 getCacheId ()
 
 assignViewDefaults (&$view)
 
 isLocalizedRequest ()
 

Additional Inherited Members

- Public Attributes inherited from Controller
 $_request = null
 
 $_response = null
 
 $_errorMsg = ''
 
 $_view = null
 
 $_delegate = null
 

Detailed Description

ConcurrencyController is a controller that allows to lock/unlock objects.

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.ConcurrencyController.php 1462 2014-02-04 23:52:27Z iherwig

Input actions:

  • lock Lock an entity
  • unlock Unlock an entity

Output actions:

  • ok In any case
Parameters
[in]oidThe object id of the entity to lock/unlock
[out]oidThe object id of the entity to lock/unlock
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 40 of file class.ConcurrencyController.php.

Member Function Documentation

ConcurrencyController::validate ( )
See Also
Controller::validate()

Definition at line 45 of file class.ConcurrencyController.php.

References PersistenceFacade\isValidOID(), and Controller\setErrorMsg().

+ Here is the call graph for this function:

ConcurrencyController::hasView ( )
See Also
Controller::hasView()

Definition at line 57 of file class.ConcurrencyController.php.

ConcurrencyController::executeKernel ( )

(Un-)Lock the Node.

Returns
Array of given context and action 'ok' in every case.
See Also
Controller::executeKernel()

Definition at line 66 of file class.ConcurrencyController.php.

References Controller\appendErrorMsg(), LockManager\getInstance(), RightsManager\getInstance(), and SessionData\getInstance().

+ Here is the call graph for this function:


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