public class EREntityStoreFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RESET_ALL_ENTITIES |
Constructor and Description |
---|
EREntityStoreFactory(Class<? extends EREntityStore> clazz) |
Modifier and Type | Method and Description |
---|---|
EREntityStore |
_entityStoreForEntity(EOEntity entity)
Returns an EREntityStore for the given entity.
|
EREntityStore |
_entityStoreForEntity(EOEntity entity,
boolean transactional)
Returns an EREntityStore for the given entity.
|
void |
beginTransaction() |
void |
commitTransaction() |
void |
resetAllEntities()
Resets all the entities in this context, removing any known rows and
clearing out any transactions.
|
void |
resetAllEntities(NSNotification object) |
void |
resetEntity(EOEntity entity)
Resets the given entity, removing any known rows and
clearing out any transactions.
|
void |
rollbackTransaction() |
public static final String RESET_ALL_ENTITIES
public EREntityStoreFactory(Class<? extends EREntityStore> clazz)
public void resetAllEntities()
public void resetAllEntities(NSNotification object)
public void resetEntity(EOEntity entity)
entity
- the entity to resetpublic EREntityStore _entityStoreForEntity(EOEntity entity)
entity
- the entity to lookuppublic EREntityStore _entityStoreForEntity(EOEntity entity, boolean transactional)
entity
- the entity to lookuptransactional
- if true, this will return a transactional view of the storepublic void beginTransaction()
public void commitTransaction()
public void rollbackTransaction()
Copyright © 2002 – 2024 Project Wonder.