org.nuiton.topia.framework
Interface TopiaContextImplementor
- All Superinterfaces:
- TopiaContext
- All Known Implementing Classes:
- TopiaContextImpl
public interface TopiaContextImplementor
- extends TopiaContext
- Author:
- poussin
| Methods inherited from interface org.nuiton.topia.TopiaContext |
add, addPropertyChangeListener, addTopiaContextListener, addTopiaEntitiesVetoable, addTopiaEntityListener, addTopiaEntityListener, addTopiaEntityVetoable, addTopiaEntityVetoable, addTopiaTransactionListener, addTopiaTransactionVetoable, backup, beginTransaction, clear, closeContext, commitTransaction, createSchema, execute, exportXML, find, find, findByTopiaId, getService, importXML, isClosed, removePropertyChangeListener, removeTopiaContextListener, removeTopiaEntitiesVetoable, removeTopiaEntityListener, removeTopiaEntityListener, removeTopiaEntityVetoable, removeTopiaEntityVetoable, removeTopiaTransactionListener, removeTopiaTransactionVetoable, replicate, replicateEntities, replicateEntity, restore, rollbackTransaction, serviceEnabled, showCreateSchema, updateSchema |
getChildContext
java.util.Set<TopiaContextImplementor> getChildContext()
- Returns:
- Returns the childContext.
getParentContext
TopiaContextImplementor getParentContext()
- Returns:
- Returns the parentContext.
getRootContext
TopiaContextImplementor getRootContext()
getConfig
java.util.Properties getConfig()
- Returns:
- Returns the config.
getHibernate
org.hibernate.Session getHibernate()
throws TopiaException
- Returns:
- Returns the hibernate.
- Throws:
TopiaException - si aucune transaction n'est ouverte
getHibernateFactory
org.hibernate.SessionFactory getHibernateFactory()
throws TopiaNotFoundException
- Returns:
- Returns the hibernateFactory.
- Throws:
TopiaNotFoundException
getHibernateConfiguration
org.hibernate.cfg.Configuration getHibernateConfiguration()
throws TopiaNotFoundException
- Returns:
- Returns the hibernate configuration
- Throws:
TopiaNotFoundException
isSchemaExist
boolean isSchemaExist(java.lang.Class<? extends TopiaEntity> clazz)
throws TopiaException
- Detect if the table is created on storage for a given persistant class.
- Parameters:
clazz - the researched class
- Returns:
- Returns the hibernate.
- Throws:
TopiaException - si aucune transaction n'est ouverte
getDAO
<E extends TopiaEntity> TopiaDAO<E> getDAO(java.lang.Class<E> entityClass)
throws TopiaException
- Get DAO for specified class. If Specialized DAO exists then it returned
otherwize TopiaDAO<entityClass> is returned
- Type Parameters:
E - - Parameters:
entityClass -
- Returns:
- a doa
- Throws:
TopiaException
getFiresSupport
TopiaFiresSupport getFiresSupport()
removeChildContext
void removeChildContext(TopiaContextImplementor child)
getServices
java.util.Map<java.lang.String,TopiaService> getServices()
getAllServices
java.util.Collection<TopiaService> getAllServices()
getPersistenceClasses
java.util.List<java.lang.Class<?>> getPersistenceClasses()
Copyright © 2004-2009 CodeLutin. All Rights Reserved.