public abstract class AbstractTidePersistenceManager extends Object implements TidePersistenceManager
| Modifier and Type | Field and Description |
|---|---|
protected TideTransactionManager |
tm |
| Constructor and Description |
|---|
AbstractTidePersistenceManager(TideTransactionManager tm) |
| Modifier and Type | Method and Description |
|---|---|
Object |
attachEntity(Object entity,
String[] propertyNames)
Fetch the entity with its lazy properties from the persistence context.
|
Object |
attachEntity(TidePersistenceManager pm,
Object entity,
String[] propertyNames)
Attach the passed in entity with the EntityManager.
|
protected abstract void |
close() |
abstract Object |
fetchEntity(Object entity,
String[] fetch)
Fetch the entity with its lazy properties from the persistence context.
|
protected TideTransactionManager tm
public AbstractTidePersistenceManager(TideTransactionManager tm)
public Object attachEntity(Object entity, String[] propertyNames)
TidePersistenceManagerattachEntity in interface TidePersistenceManagerentity - entity to loadpropertyNames - array of property names to fetchpublic Object attachEntity(TidePersistenceManager pm, Object entity, String[] propertyNames)
entity - protected abstract void close()
public abstract Object fetchEntity(Object entity, String[] fetch)
entity - entity to loadfetch - array of property names to fetch