Definition at line 3 of file persistentmanager.class.
| PersistentManager::__construct | ( | PersistentManagerFactory $ | factory | ) |
| PersistentManager::execute | ( | MDatabase $ | db, | |
| $ | commands, | |||
| $ | transaction = NULL | |||
| ) | [private] |
Definition at line 15 of file persistentmanager.class.
Referenced by deleteAssociation(), deleteObject(), processCriteriaDelete(), saveAssociation(), saveObject(), and saveObjectRaw().
Here is the caller graph for this function:

| PersistentManager::retrieveObject | ( | PersistentObject $ | object | ) |
Definition at line 37 of file persistentmanager.class.
References _retrieveObject(), and getConnection().
Here is the call graph for this function:

| PersistentManager::retrieveObjectFromQuery | ( | PersistentObject $ | object, | |
| MQuery $ | query | |||
| ) |
Definition at line 44 of file persistentmanager.class.
References _retrieveAssociations(), and getConnection().
Here is the call graph for this function:

| PersistentManager::retrieveObjectFromCriteria | ( | PersistentObject $ | object, | |
| PersistentCriteria $ | criteria, | |||
| $ | parameters = NULL | |||
| ) |
Definition at line 56 of file persistentmanager.class.
References _retrieveAssociations(), getConnection(), and processCriteriaQuery().
Here is the call graph for this function:

| PersistentManager::retrieveObjectAsProxy | ( | PersistentObject $ | object | ) |
Definition at line 68 of file persistentmanager.class.
References _retrieveObjectAsProxy(), and getConnection().
Here is the call graph for this function:

| PersistentManager::retrieveAssociations | ( | PersistentObject $ | object | ) |
Definition at line 75 of file persistentmanager.class.
References _retrieveAssociations(), and getConnection().
Here is the call graph for this function:

| PersistentManager::retrieveAssociation | ( | PersistentObject $ | object, | |
| $ | target | |||
| ) |
Definition at line 82 of file persistentmanager.class.
References _retrieveAssociation(), and getConnection().
Here is the call graph for this function:

| PersistentManager::retrieveAssociationAsCursor | ( | PersistentObject $ | object, | |
| $ | target | |||
| ) |
Definition at line 89 of file persistentmanager.class.
References _retrieveAssociationAsCursor(), and getConnection().
Here is the call graph for this function:

| PersistentManager::deleteAssociation | ( | PersistentObject $ | object, | |
| $ | target, | |||
| PersistentObject $ | assocObject | |||
| ) |
Definition at line 96 of file persistentmanager.class.
References _deleteAssociation(), execute(), and getConnection().
Here is the call graph for this function:

| PersistentManager::saveAssociation | ( | PersistentObject $ | object, | |
| $ | target | |||
| ) |
Definition at line 105 of file persistentmanager.class.
References _saveAssociation(), execute(), and getConnection().
Here is the call graph for this function:

| PersistentManager::saveObject | ( | PersistentObject $ | object | ) |
Definition at line 114 of file persistentmanager.class.
References _saveObject(), execute(), and getConnection().
Here is the call graph for this function:

| PersistentManager::saveObjectRaw | ( | PersistentObject $ | object | ) |
Definition at line 123 of file persistentmanager.class.
References _saveObjectRaw(), execute(), and getConnection().
Here is the call graph for this function:

| PersistentManager::deleteObject | ( | PersistentObject $ | object | ) |
Definition at line 132 of file persistentmanager.class.
References _deleteObject(), execute(), and getConnection().
Here is the call graph for this function:

| PersistentManager::_retrieveObject | ( | PersistentObject $ | object, | |
| ClassMap $ | classMap, | |||
| MDatabase $ | db, | |||
| $ | isLock = FALSE | |||
| ) | [private] |
Definition at line 141 of file persistentmanager.class.
References _retrieveAssociations(), MDatabase::GetQuery(), ClassMap::getSelectSqlFor(), and ClassMap::retrieveObject().
Referenced by retrieveObject().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_retrieveObjectAsProxy | ( | PersistentObject $ | object, | |
| ClassMap $ | classMap, | |||
| MDatabase $ | db, | |||
| $ | isLock = FALSE | |||
| ) | [private] |
Definition at line 152 of file persistentmanager.class.
References _retrieveAssociations(), MDatabase::GetQuery(), ClassMap::getSelectProxySqlFor(), and ClassMap::retrieveProxyObject().
Referenced by retrieveObjectAsProxy().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_retrieveAssociations | ( | PersistentObject $ | object, | |
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) |
Definition at line 164 of file persistentmanager.class.
References __retrieveAssociation(), and ClassMap::getAssociationMaps().
Referenced by _retrieveObject(), _retrieveObjectAsProxy(), retrieveAssociations(), retrieveObjectFromCriteria(), and retrieveObjectFromQuery().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_retrieveAssociation | ( | PersistentObject $ | object, | |
| $ | target, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 180 of file persistentmanager.class.
References __retrieveAssociation(), and ClassMap::getAssociationMap().
Referenced by retrieveAssociation().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_retrieveAssociationAsCursor | ( | PersistentObject $ | object, | |
| $ | target, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 194 of file persistentmanager.class.
References ClassMap::getAssociationMap(), and processCriteriaCursor().
Referenced by retrieveAssociationAsCursor().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_deleteAssociation | ( | PersistentObject $ | object, | |
| $ | target, | |||
| PersistentObject $ | assocObject, | |||
| &$ | commands, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 212 of file persistentmanager.class.
References __deleteAssociation(), and ClassMap::getAssociationMap().
Referenced by deleteAssociation().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_saveAssociation | ( | PersistentObject $ | object, | |
| $ | target, | |||
| &$ | commands, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 226 of file persistentmanager.class.
References __saveAssociation(), and ClassMap::getAssociationMap().
Referenced by saveAssociation().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::__retrieveAssociation | ( | PersistentObject $ | object, | |
| UniDirectionalAssociationMap $ | aMap, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 240 of file persistentmanager.class.
References UniDirectionalAssociationMap::getCriteria(), UniDirectionalAssociationMap::getCriteriaParameters(), UniDirectionalAssociationMap::getIndexAttribute(), UniDirectionalAssociationMap::getOrderAttributes(), UniDirectionalAssociationMap::getTarget(), and processCriteriaCursor().
Referenced by __deleteAssociation(), _retrieveAssociation(), and _retrieveAssociations().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::__deleteAssociation | ( | PersistentObject $ | object, | |
| UniDirectionalAssociationMap $ | aMap, | |||
| PersistentObject $ | assocObject, | |||
| &$ | commands, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 268 of file persistentmanager.class.
References __retrieveAssociation(), UniDirectionalAssociationMap::getAssociativeClass(), UniDirectionalAssociationMap::getDirection(), UniDirectionalAssociationMap::getSize(), UniDirectionalAssociationMap::getTarget(), and ClassMap::getUpdateSqlFor().
Referenced by _deleteAssociation().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::__saveStraightAssociation | ( | PersistentObject $ | object, | |
| UniDirectionalAssociationMap $ | aMap, | |||
| &$ | commands, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 328 of file persistentmanager.class.
References _saveObject(), UniDirectionalAssociationMap::getAssociativeClass(), UniDirectionalAssociationMap::getDirection(), UniDirectionalAssociationMap::getSize(), and UniDirectionalAssociationMap::getTarget().
Referenced by __saveAssociation(), and _saveObject().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::__saveInverseAssociation | ( | PersistentObject $ | object, | |
| UniDirectionalAssociationMap $ | aMap, | |||
| &$ | commands, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 398 of file persistentmanager.class.
References _saveObject(), UniDirectionalAssociationMap::getSize(), and UniDirectionalAssociationMap::getTarget().
Referenced by __saveAssociation(), and _saveObject().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::__saveAssociation | ( | PersistentObject $ | object, | |
| UniDirectionalAssociationMap $ | aMap, | |||
| &$ | commands, | |||
| ClassMap $ | classMap, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 429 of file persistentmanager.class.
References __saveInverseAssociation(), and __saveStraightAssociation().
Referenced by _saveAssociation().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_saveObject | ( | PersistentObject $ | object, | |
| ClassMap $ | classMap, | |||
| &$ | commands, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 441 of file persistentmanager.class.
References __saveInverseAssociation(), __saveStraightAssociation(), ClassMap::getInsertSqlFor(), ClassMap::getInverseAssociationMaps(), ClassMap::getKeySize(), MDatabase::GetNewId(), ClassMap::getStraightAssociationMaps(), ClassMap::getUpdateSqlFor(), PersistentObject::isPersistent(), and PersistentObject::setPersistent().
Referenced by __saveInverseAssociation(), __saveStraightAssociation(), and saveObject().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_saveObjectRaw | ( | PersistentObject $ | object, | |
| ClassMap $ | classMap, | |||
| &$ | commands, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 506 of file persistentmanager.class.
References ClassMap::getInsertSqlFor(), ClassMap::getKeySize(), MDatabase::GetNewId(), ClassMap::getUpdateSqlFor(), and PersistentObject::setPersistent().
Referenced by saveObjectRaw().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::_deleteObject | ( | PersistentObject $ | object, | |
| ClassMap $ | classMap, | |||
| &$ | commands, | |||
| MDatabase $ | db | |||
| ) | [private] |
Definition at line 539 of file persistentmanager.class.
References ClassMap::getDeleteSqlFor(), ClassMap::getInverseAssociationMaps(), ClassMap::getStraightAssociationMaps(), and PersistentObject::setPersistent().
Referenced by deleteObject().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::processCriteriaQuery | ( | PersistentCriteria $ | criteria, | |
| $ | parameters, | |||
| MDatabase $ | db, | |||
| $ | forProxy = FALSE | |||
| ) | [private] |
Definition at line 647 of file persistentmanager.class.
References MDatabase::GetQuery().
Referenced by processCriteriaAsProxyQuery(), processCriteriaAsQuery(), processCriteriaCursor(), and retrieveObjectFromCriteria().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::processCriteriaCursor | ( | PersistentCriteria $ | criteria, | |
| $ | parameters, | |||
| MDatabase $ | db, | |||
| $ | forProxy = FALSE | |||
| ) | [private] |
Definition at line 655 of file persistentmanager.class.
References processCriteriaQuery().
Referenced by __retrieveAssociation(), _retrieveAssociationAsCursor(), processCriteriaAsCursor(), and processCriteriaAsProxyCursor().
Here is the call graph for this function:

Here is the caller graph for this function:

| PersistentManager::getRetrieveCriteria | ( | PersistentObject $ | object | ) |
Definition at line 662 of file persistentmanager.class.
| PersistentManager::getDeleteCriteria | ( | PersistentObject $ | object | ) |
Definition at line 669 of file persistentmanager.class.
| PersistentManager::processCriteriaDelete | ( | DeleteCriteria $ | criteria, | |
| $ | parameters | |||
| ) |
Definition at line 677 of file persistentmanager.class.
References execute(), getConnection(), and DeleteCriteria::getSqlStatement().
Here is the call graph for this function:

| PersistentManager::processCriteriaAsQuery | ( | PersistentCriteria $ | criteria, | |
| $ | parameters | |||
| ) |
Definition at line 686 of file persistentmanager.class.
References getConnection(), and processCriteriaQuery().
Here is the call graph for this function:

| PersistentManager::processCriteriaAsCursor | ( | PersistentCriteria $ | criteria, | |
| $ | parameters | |||
| ) |
Definition at line 693 of file persistentmanager.class.
References getConnection(), and processCriteriaCursor().
Here is the call graph for this function:

| PersistentManager::processCriteriaAsProxyQuery | ( | PersistentCriteria $ | criteria, | |
| $ | parameters | |||
| ) |
Definition at line 700 of file persistentmanager.class.
References getConnection(), and processCriteriaQuery().
Here is the call graph for this function:

| PersistentManager::processCriteriaAsProxyCursor | ( | PersistentCriteria $ | criteria, | |
| $ | parameters | |||
| ) |
Definition at line 707 of file persistentmanager.class.
References getConnection(), and processCriteriaCursor().
Here is the call graph for this function:

| PersistentManager::getConnection | ( | $ | dbName | ) |
Definition at line 714 of file persistentmanager.class.
Referenced by deleteAssociation(), deleteObject(), processCriteriaAsCursor(), processCriteriaAsProxyCursor(), processCriteriaAsProxyQuery(), processCriteriaAsQuery(), processCriteriaDelete(), retrieveAssociation(), retrieveAssociationAsCursor(), retrieveAssociations(), retrieveObject(), retrieveObjectAsProxy(), retrieveObjectFromCriteria(), retrieveObjectFromQuery(), saveAssociation(), saveObject(), and saveObjectRaw().
Here is the caller graph for this function:

PersistentManager::$factory [private] |
PersistentManager::$active = FALSE [private] |
Definition at line 6 of file persistentmanager.class.
PersistentManager::$closed = FALSE [private] |
Definition at line 7 of file persistentmanager.class.
PersistentManager::$dbConnections = array() [private] |
Definition at line 8 of file persistentmanager.class.