
Public Member Functions | |
| EREntityStore | _entityStoreForEntity (EOEntity entity, boolean transactional) |
| EREntityStore | _entityStoreForEntity (EOEntity entity) |
| void | beginTransaction () |
| void | commitTransaction () |
| EREntityStoreFactory (Class<?extends EREntityStore > clazz) | |
| void | resetAllEntities (NSNotification object) |
| void | resetAllEntities () |
| void | resetEntity (EOEntity entity) |
| void | rollbackTransaction () |
Static Public Attributes | |
| static final String | RESET_ALL_ENTITIES = "EREntityStoreResetAllEntities" |
Private Member Functions | |
| String | _entityExternalName (EOEntity entity) |
| EREntityStore | _entityStoreForExternalName (String name, boolean transactional) |
| NSSet< EOEntity > | _relatedEntities (EOEntity entity) |
Private Attributes | |
| final Class<?extends EREntityStore > | _entityStoreClazz |
| NSMutableDictionary< String, EREntityStore > | _entityStores |
| boolean | _hasTransaction = false |
| NSMutableDictionary< String, EREntityStore > | _transactionEntityStores |
| EREntityStoreFactory | ( | Class<?extends EREntityStore > | clazz | ) |
| String _entityExternalName | ( | EOEntity | entity | ) | [private] |
| EREntityStore _entityStoreForEntity | ( | EOEntity | entity, | |
| boolean | transactional | |||
| ) |
Returns an EREntityStore for the given entity.
| entity | the entity to lookup | |
| transactional | if true, this will return a transactional view of the store |
| EREntityStore _entityStoreForEntity | ( | EOEntity | entity | ) |
Returns an EREntityStore for the given entity.
| entity | the entity to lookup |
| EREntityStore _entityStoreForExternalName | ( | String | name, | |
| boolean | transactional | |||
| ) | [private] |
| NSSet<EOEntity> _relatedEntities | ( | EOEntity | entity | ) | [private] |
| void beginTransaction | ( | ) |
| void commitTransaction | ( | ) |
| void resetAllEntities | ( | NSNotification | object | ) |
| void resetAllEntities | ( | ) |
Resets all the entities in this context, removing any known rows and clearing out any transactions.
| void resetEntity | ( | EOEntity | entity | ) |
Resets the given entity, removing any known rows and clearing out any transactions. This is the equivalent deleting all rows in a relational database table. Be careful using this if you use single table inheritance.
| entity | the entity to reset |
| void rollbackTransaction | ( | ) |
final Class<? extends EREntityStore> _entityStoreClazz [private] |
NSMutableDictionary<String, EREntityStore> _entityStores [private] |
boolean _hasTransaction = false [private] |
final String RESET_ALL_ENTITIES = "EREntityStoreResetAllEntities" [static] |
1.5.8