BatchDisplayController.php
39 * | _in_ `translateValues` | Boolean whether list values should be translated to their display values (optional, default: _true_)
132 $iterator = new PersistentIterator(self::ITERATOR_ID_VAR, $persistenceFacade, $session, $nodeOID);
Response holds the response values that are used as output from Controller instances.
Definition: Response.php:20
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:18
startProcess($oids)
Initialize the iterator (object ids parameter will be ignored)
Definition: BatchDisplayController.php:124
PersistenceException signals an exception in the persistence service.
Definition: PersistenceException.php:18
const ITERATOR_ID_VAR
Definition: BatchDisplayController.php:55
PersistentIterator is used to iterate over a tree/list built of persistent objects using a Depth-Firs...
Definition: PersistentIterator.php:24
getLocalSessionValue($key, $default=null)
Set the value of a local session variable.
Definition: Controller.php:443
validate()
Definition: BatchDisplayController.php:89
const NODES_PER_CALL
Definition: BatchDisplayController.php:58
getWorkPackage($number)
Definition: BatchDisplayController.php:110
StringUtil provides support for string manipulation.
Definition: StringUtil.php:18
static reset($id, Session $session)
Reset the iterator with the given id.
Definition: PersistentIterator.php:79
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
initialize(Request $request, Response $response)
Definition: BatchDisplayController.php:63
static translateValues(&$nodes, $language=null, $itemDelim=", ")
Translate all list values in a list of Nodes.
Definition: NodeUtil.php:249
setLocalSessionValue($key, $value)
Get the value of a local session variable.
Definition: Controller.php:454
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
BatchDisplayController is used to load a tree of Node instances recursivly and return them in lists o...
Definition: BatchDisplayController.php:49
static get($code, $data=null)
Factory method for retrieving a predefined error instance.
Definition: ApplicationError.php:144
loadNode(ObjectId $oid)
Load the node with the given object id and assign it to the response.
Definition: BatchDisplayController.php:208
loadNodes($oids)
Load nodes provided by the persisted iterator (object ids parameter will be ignored)
Definition: BatchDisplayController.php:158
BatchController is used to process complex, longer running actions, that need to be divided into seve...
Definition: BatchController.php:73
addWorkPackage($name, $size, array $oids, $callback, $args=null)
Add a work package to session.
Definition: BatchController.php:210
static load($id, $persistenceFacade, $session)
Load an iterator state from the session.
Definition: PersistentIterator.php:90
Controller is the base class of all controllers.
Definition: Controller.php:49
isRegistered(ObjectId $oid)
Check if an object id is registered in the registry.
Definition: BatchDisplayController.php:271
setValue($name, $value, $forceSet=false, $trackChange=true)
Definition: Node.php:125
addNodeToResponse(Node $node)
Add a given node to the list variable of the response.
Definition: BatchDisplayController.php:280
checkLanguageParameter()
Checks the language request parameter and adds an response error, if it is not contained in the Local...
Definition: Controller.php:381
const REGISTRY_VAR
Definition: BatchDisplayController.php:52