public interface TopiaPersistenceContext extends TopiaReplicationSupport, TopiaReplicationDestination, TopiaDaoSupplier, TopiaTransaction
| Modifier and Type | Method and Description |
|---|---|
void |
closeContext()
Closes the context.
|
<E extends TopiaEntity> |
findByTopiaId(String topiaId)
Retrieve
TopiaEntity using its unique topiaId. |
TopiaIdFactory |
getTopiaIdFactory()
Get the currently configured
TopiaIdFactory. |
boolean |
isClosed()
Tells if the context is closed
|
void |
update(TopiaEntity entity)
Add into this TopiaContext an entity created by another TopiaContext
|
replicate, replicateEntities, replicateEntityreplicategetDao, getDaocommitTransaction, rollbackTransaction<E extends TopiaEntity> E findByTopiaId(String topiaId)
TopiaEntity using its unique topiaId.topiaId - unique identifier of the entity in all the application.void update(TopiaEntity entity)
entity - the entity to addTopiaIdFactory getTopiaIdFactory()
TopiaIdFactory.TopiaIdFactory in useTopiaIdFactory}void closeContext()
boolean isClosed()
true if the context is closed, false otherwiseCopyright © 2004–2013 CodeLutin. All rights reserved.