PersistentObjectProxy.php
82 * @param $buildDepth One of the BUILDDEPTH constants or a number describing the number of generations to build
86 $this->realSubject = ObjectFactory::getInstance('persistenceFacade')->load($this->oid, $buildDepth);
beforeDelete()
Definition: PersistentObjectProxy.php:230
copyValues(PersistentObject $object, $copyPkValues=true)
Definition: PersistentObjectProxy.php:160
getValueNames($excludeTransient=false)
Definition: PersistentObjectProxy.php:360
getIndispensableObjects()
Definition: PersistentObjectProxy.php:311
afterUpdate()
Definition: PersistentObjectProxy.php:223
getPropertyNames()
Definition: PersistentObjectProxy.php:332
setValueProperty($name, $property, $value)
Definition: PersistentObjectProxy.php:346
PersistenceException signals an exception in the persistence service.
Definition: PersistenceException.php:18
setState($state)
Definition: PersistentObjectProxy.php:139
getOriginalValue($name)
Definition: PersistentObjectProxy.php:304
initialize(array $data)
Definition: PersistentObjectProxy.php:95
IllegalArgumentException signals an exception in method arguments.
Definition: IllegalArgumentException.php:18
beforeUpdate()
Definition: PersistentObjectProxy.php:216
hasValue($name)
Definition: PersistentObjectProxy.php:269
getDisplayValue()
Definition: PersistentObjectProxy.php:368
removeValue($name)
Definition: PersistentObjectProxy.php:276
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
__call($name, array $arguments)
Delegate method call to the instance.
Definition: PersistentObjectProxy.php:72
$realSubject
Definition: PersistentObjectProxy.php:27
getProperty($name)
Definition: PersistentObjectProxy.php:318
validateValue($name, $value)
Definition: PersistentObjectProxy.php:290
setValue($name, $value, $forceSet=false, $trackChange=true)
Definition: PersistentObjectProxy.php:262
beforeInsert()
Definition: PersistentObjectProxy.php:195
afterInsert()
Definition: PersistentObjectProxy.php:202
afterLoad()
Definition: PersistentObjectProxy.php:209
getValueProperty($name, $property)
Definition: PersistentObjectProxy.php:339
getChangedValues()
Definition: PersistentObjectProxy.php:297
validateValues()
Definition: PersistentObjectProxy.php:283
mergeValues(PersistentObject $object)
Definition: PersistentObjectProxy.php:167
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
getState()
Definition: PersistentObjectProxy.php:132
__clone()
Definition: PersistentObjectProxy.php:153
setProperty($name, $value)
Definition: PersistentObjectProxy.php:325
PersistentObjectProxy is proxy for an PersistentObject instance.
Definition: PersistentObjectProxy.php:24
PersistentObject defines the interface of all persistent objects.
Definition: PersistentObject.php:23
afterCreate()
Definition: PersistentObjectProxy.php:188
setOID(ObjectId $oid)
Definition: PersistentObjectProxy.php:125
clearValues()
Definition: PersistentObjectProxy.php:174
getValuePropertyNames($name)
Definition: PersistentObjectProxy.php:353
static fromObject($object)
Create a PersistenceProxy instance from a PersistentObject.
Definition: PersistentObjectProxy.php:44
getMapper()
Definition: PersistentObjectProxy.php:110
resolve($buildDepth=BuildDepth::SINGLE)
Load the PersistentObject instance.
Definition: PersistentObjectProxy.php:85
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24
afterDelete()
Definition: PersistentObjectProxy.php:237