ConcurrencyController.php
Session is the interface for session implementations and defines access to session variables.
Definition: Session.php:19
ConcurrencyController is used to lock/unlock objects.
Definition: ConcurrencyController.php:63
__construct(Session $session, PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, ActionMapper $actionMapper, Localization $localization, Message $message, Configuration $configuration, ConcurrencyManager $concurrencyManager)
Constructor.
Definition: ConcurrencyController.php:78
validate()
Definition: ConcurrencyController.php:94
PessimisticLockException signals an exception when trying to create an pessimistic lock.
Definition: PessimisticLockException.php:21
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
Implementations of Configuration give access to the application configuration.
Definition: Configuration.php:32
ApplicationError is used to signal errors that occur while processing a request.
Definition: ApplicationError.php:41
static parse($oid)
Parse a serialized object id string into an ObjectId instance.
Definition: ObjectId.php:135
static get($code, $data=null)
Factory method for retrieving a predefined error instance.
Definition: ApplicationError.php:144
PersistenceFacade defines the interface for PersistenceFacade implementations.
Definition: PersistenceFacade.php:23
ConcurrencyManager is used to handle concurrency for objects.
Definition: ConcurrencyManager.php:32
Controller is the base class of all controllers.
Definition: Controller.php:49
ActionMapper implementations are responsible for instantiating and executing Controllers based on the...
Definition: ActionMapper.php:21
PermissionManager implementations are used to handle all authorization requests.
Definition: PermissionManager.php:20
doExecute($method=null)
Definition: ConcurrencyController.php:114
Localization defines the interface for storing localized entity instances and retrieving them back.
Definition: Localization.php:32
Message is used to get localized messages to be used in the user interface.
Definition: Message.php:23