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(com.webobjects.eoaccess.EOEntity entity)
Returns an EREntityStore for the given entity.
|
EREntityStore |
_entityStoreForEntity(com.webobjects.eoaccess.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(com.webobjects.foundation.NSNotification object) |
void |
resetEntity(com.webobjects.eoaccess.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(com.webobjects.foundation.NSNotification object)
public void resetEntity(com.webobjects.eoaccess.EOEntity entity)
entity
- the entity to resetpublic EREntityStore _entityStoreForEntity(com.webobjects.eoaccess.EOEntity entity)
entity
- the entity to lookuppublic EREntityStore _entityStoreForEntity(com.webobjects.eoaccess.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 – 2020 Project Wonder.