Package | Description |
---|---|
org.nuiton.topia.framework |
Contains two interfaces, one
TopiaContextImplementor for internal
manipulations of TopiaContext and one TopiaService for topia
services. |
org.nuiton.topia.persistence |
This package contains interfaces and abstract classes for entities and daos.
|
org.nuiton.topia.persistence.util |
Modifier and Type | Class and Description |
---|---|
class |
TopiaContextImpl
Le TopiaContextImpl est le point d'entre pour acceder aux donnees.
|
Modifier and Type | Field and Description |
---|---|
protected TopiaContextImplementor |
TopiaContextImpl.parentContext
Le pere de ce context, les contexts initaux n'ont pas de context pere
|
protected TopiaContextImplementor |
TopiaFiresSupport.TopiaHibernateEvent.rootContext |
Modifier and Type | Field and Description |
---|---|
protected Set<TopiaContextImplementor> |
TopiaContextImpl.childContext
Set of child context created with
TopiaContextImpl.beginTransaction() . |
Modifier and Type | Method and Description |
---|---|
protected TopiaContextImplementor |
TopiaFiresSupport.TopiaHibernateEvent.getContext(TopiaContextImplementor parent,
org.hibernate.Session hibernate)
Recherche le context utilisant la session hibernate passe en
parametre
|
TopiaContextImplementor |
TopiaContextImplementor.getParentContext() |
TopiaContextImplementor |
TopiaContextImpl.getParentContext() |
TopiaContextImplementor |
TopiaContextImplementor.getRootContext() |
TopiaContextImplementor |
TopiaContextImpl.getRootContext() |
Modifier and Type | Method and Description |
---|---|
Set<TopiaContextImplementor> |
TopiaContextImplementor.getChildContext()
Retrieve a thread-safe copy of children context set.
|
Set<TopiaContextImplementor> |
TopiaContextImpl.getChildContext() |
Modifier and Type | Method and Description |
---|---|
protected void |
TopiaContextImpl.addChildContext(TopiaContextImplementor child) |
List<O> |
TopiaSQLQuery.findMultipleResult(TopiaContextImplementor tx)
Obtain a multiple results fro the builded sql query.
|
O |
TopiaSQLQuery.findSingleResult(TopiaContextImplementor tx)
Obtain a single result from the builded sql query.
|
<E extends TopiaEntity> |
TopiaFiresSupport.fireEntitiesLoad(TopiaContextImplementor context,
List<E> entities)
Notify entities listeners for load operation
|
void |
TopiaFiresSupport.fireOnBeginTransaction(TopiaContextImplementor context) |
void |
TopiaFiresSupport.fireOnPostCommit(TopiaContextImplementor context) |
void |
TopiaFiresSupport.fireOnPostCreate(TopiaContextImplementor context,
TopiaEntity entity,
Object[] state) |
void |
TopiaFiresSupport.fireOnPostDelete(TopiaContextImplementor context,
TopiaEntity entity,
Object[] state) |
void |
TopiaFiresSupport.fireOnPostLoad(TopiaContextImplementor context,
TopiaEntity entity,
Object[] state) |
void |
TopiaFiresSupport.fireOnPostRollback(TopiaContextImplementor context) |
void |
TopiaFiresSupport.fireOnPostUpdate(TopiaContextImplementor context,
TopiaEntity entity,
Object[] state,
Object[] oldState,
int[] dirtyProperties) |
void |
TopiaFiresSupport.fireOnPreCreate(TopiaContextImplementor context,
TopiaEntity entity,
Object[] state) |
void |
TopiaFiresSupport.fireOnPreDelete(TopiaContextImplementor context,
TopiaEntity entity,
Object[] state) |
void |
TopiaFiresSupport.fireOnPreLoad(TopiaContextImplementor context,
TopiaEntity entity,
Object[] state) |
void |
TopiaFiresSupport.fireOnPreUpdate(TopiaContextImplementor context,
TopiaEntity entity,
Object[] state,
Object[] oldState) |
protected TopiaContextImplementor |
TopiaFiresSupport.TopiaHibernateEvent.getContext(TopiaContextImplementor parent,
org.hibernate.Session hibernate)
Recherche le context utilisant la session hibernate passe en
parametre
|
boolean |
TopiaService.postInit(TopiaContextImplementor context)
Initiliaze the service after create the
context . |
boolean |
TopiaService.preInit(TopiaContextImplementor context)
Initiliaze the service before create the
context . |
void |
TopiaContextImplementor.removeChildContext(TopiaContextImplementor child) |
void |
TopiaContextImpl.removeChildContext(TopiaContextImplementor child) |
Constructor and Description |
---|
ConnectionProviderSupplier(TopiaContextImplementor topiaContextImplementor) |
TopiaContextImpl(TopiaContextImplementor parentContext)
Constructor used by
TopiaContextImpl.beginTransaction() to instantiate child from
parentContext . |
TopiaHibernateEvent(TopiaContextImplementor rootContext) |
Modifier and Type | Field and Description |
---|---|
protected TopiaContextImplementor |
TopiaDAOImpl.context
Underlying context used by this dao to do actions on db.
|
Modifier and Type | Method and Description |
---|---|
TopiaContextImplementor |
TopiaDAOImpl.getContext() |
TopiaContextImplementor |
TopiaDAO.getContext()
Return context used by this DAO.
|
Modifier and Type | Method and Description |
---|---|
void |
TopiaDAOImpl.init(TopiaContextImplementor context,
Class<E> entityClass)
When TopiaContextImpl create the TopiaDAOHibernate, it must call this
method just after.
|
void |
TopiaDAO.init(TopiaContextImplementor context,
Class<E> entityClass)
When TopiaContextImpl create the TopiaDAOHibernate, it must call this
method just after.
|
Modifier and Type | Method and Description |
---|---|
static <E extends TopiaEntity> |
TopiaEntityHelper.getEntities(TopiaContextImplementor srcCtxt,
List<E> entityList,
boolean canBeNull) |
Copyright © 2004–2022 Code Lutin. All rights reserved.