BatchDisplayController.php
38 * | _in_ `translateValues` | Boolean whether list values should be translated to their display values (optional, default: _true_)
Response holds the response values that are used as output from Controller instances.
Definition: Response.php:20
initialize(Request $request, Response $response)
Definition: BatchDisplayController.php:61
startProcess($oids)
Initialize the iterator (oids parameter will be ignored)
Definition: BatchDisplayController.php:121
static load($persistenceFacade, $session, $uid)
Load an iterator state from the session.
Definition: PersistentIterator.php:81
BatchDisplayController is used to load a tree of Node instances recursivly and return them in lists o...
Definition: BatchDisplayController.php:48
addWorkPackage($name, $size, $oids, $callback, $args=null)
Add a work package to session.
Definition: BatchController.php:200
static translateValues(&$nodes, $language=null)
Translate all list values in a list of Nodes.
Definition: NodeUtil.php:253
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:27
setValue($name, $value, $forceSet=false, $trackChange=true)
Definition: Node.php:119
isRegistered(ObjectId $oid)
Check if an object id is registered in the registry.
Definition: BatchDisplayController.php:285
validate()
Definition: BatchDisplayController.php:86
checkLanguageParameter()
Checks the language request parameter and adds an response error, if it is not contained in the Local...
Definition: Controller.php:315
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:20
BatchController is used to process complex, longer running actions, that need to be divided into seve...
Definition: BatchController.php:69
addNodeToResponse(Node $node)
Add a given node to the list variable of the response.
Definition: BatchDisplayController.php:296
static parse($oid)
Parse a serialized object id string into an ObjectId instance.
Definition: ObjectId.php:144
PersistenceException signals an exception in the persistence service.
Definition: PersistenceException.php:18
getWorkPackage($number)
Definition: BatchDisplayController.php:107
loadNodes($oids)
Load nodes provided by the persisted iterator (oids parameter will be ignored)
Definition: BatchDisplayController.php:158
static get($code, $data=null)
Factory method for retrieving a predefind error instance.
Definition: ApplicationError.php:120
loadNode(ObjectId $oid)
Load the node with the given object id and assign it to the response.
Definition: BatchDisplayController.php:221
PersistentIterator is used to iterate over a tree/list built of oids using a Depth-First-Algorithm.
Definition: PersistentIterator.php:25