PersistenceFacade.php
60 * @param $buildDepth One of the BUILDDEPTH constants or a number describing the number of generations to build
69 * @note If an object required to be transient, the IPersistentMapper::create() method or the class
72 * @param $buildDepth One of the BUILDDEPTH constants or a number describing the number of generations to build
86 * Get the object ids of objects matching a given criteria. If a PagingInfo instance is passed it will be used and updated.
88 * @param $criteria An array of Criteria instances that define conditions on the type's attributes (optional, default: _null_)
89 * @param $orderby An array holding names of attributes to order by, maybe appended with 'ASC', 'DESC' (optional, default: _null_)
96 * Get the first object id of objects matching a given condition. If a PagingInfo instance is passed it will be used and updated.
98 * @param $criteria An array of Criteria instances that define conditions on the type's attributes (optional, default: _null_)
99 * @param $orderby An array holding names of attributes to order by, maybe appended with 'ASC', 'DESC' (optional, default: _null_)
106 * Load the objects matching a given condition. If a PagingInfo instance is passed it will be used and updated.
107 * @param $typeOrTypes The type or types array of objects (either fully qualified or simple, if not ambiguous)
108 * @param $buildDepth One of the BUILDDEPTH constants or a number describing the number of generations to build
110 * @param $criteria An array of Criteria instances that define conditions on the object's attributes (optional, default: _null_)
111 * @param $orderby An array holding names of attributes to order by, maybe appended with 'ASC', 'DESC' (optional, default: _null_)
115 public function loadObjects($typeOrTypes, $buildDepth=BuildDepth::SINGLE, $criteria=null, $orderby=null, PagingInfo $pagingInfo=null);
118 * Load the first object matching a given condition. If a PagingInfo instance is passed it will be used and updated.
119 * @param $typeOrTypes The type or types array of objects (either fully qualified or simple, if not ambiguous)
120 * @param $buildDepth One of the BUILDDEPTH constants or a number describing the number of generations to build
122 * @param $criteria An array of Criteria instances that define conditions on the type's attributes (optional, default: _null_)
123 * @param $orderby An array holding names of attributes to order by, maybe appended with 'ASC', 'DESC' (optional, default: _null_)
127 public function loadFirstObject($typeOrTypes, $buildDepth=BuildDepth::SINGLE, $criteria=null, $orderby=null, PagingInfo $pagingInfo=null);
137 * Get the PersistenceMapper for a given type. If no mapper for this type is defined the mapper for type '*' will be returned
138 * @param $type The type of the object to get the PersistenceMapper for (either fully qualified or simple, if not ambiguous)