BaseORM
abstract class BaseORM implements BreadcrumbAdapter
Class ORM - contains base methods for ORM manipulation
Methods
Set the eventargs
Get the name of domain object
Get the name of used manager for this event adapter
Get the root object class, handles inheritance
Call specific method on event args
Set the entity manager
No description
Get object state
Get the object change set from a UnitOfWork
Get the single identifier field name
Recompute the single object changeset from a UnitOfWork
Get the scheduled object updates from a UnitOfWork
Get the scheduled object insertions from a UnitOfWork
Get the scheduled object deletions from a UnitOfWork
Sets a property value of the original data array of an object
Clears the property change set of the object with the given OID.
Details
at line 38
setEventArgs(EventArgs $args)
Set the eventargs
at line 48
string
getDomainObjectName()
Get the name of domain object
at line 59
string
getManagerName()
Get the name of used manager for this event adapter
at line 71
string
getRootObjectClass(ClassMetadata $meta)
Get the root object class, handles inheritance
at line 84
mixed
__call(string $method, array $args)
Call specific method on event args
at line 99
setEntityManager(EntityManager $em)
Set the entity manager
at line 107
EntityManager
getObjectManager()
at line 124
int
getObjectState(UnitOfWork $uow, object $object)
Get object state
at line 132
array
getObjectChangeSet(UnitOfWork $uow, object $object)
Get the object change set from a UnitOfWork
at line 144
string
getSingleIdentifierFieldName(ClassMetadata $meta)
Get the single identifier field name
at line 158
void
recomputeSingleObjectChangeSet(UnitOfWork $uow, ClassMetadata $meta, object $object)
Recompute the single object changeset from a UnitOfWork
at line 170
array
getScheduledObjectUpdates(UnitOfWork $uow)
Get the scheduled object updates from a UnitOfWork
at line 182
array
getScheduledObjectInsertions(UnitOfWork $uow)
Get the scheduled object insertions from a UnitOfWork
at line 194
array
getScheduledObjectDeletions(UnitOfWork $uow)
Get the scheduled object deletions from a UnitOfWork
at line 209
void
setOriginalObjectProperty(UnitOfWork $uow, string $oid, string $property, mixed $value)
Sets a property value of the original data array of an object
at line 220
clearObjectChangeSet(UnitOfWork $uow, string $oid)
Clears the property change set of the object with the given OID.