Uses of Interface
org.nuiton.topia.TopiaContext

Packages that use TopiaContext
org.nuiton.topia TODO-FD20100507 : Need update this javadoc for ToPIA 2.4 
org.nuiton.topia.event Events used for topia services. 
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   
 

Uses of TopiaContext in org.nuiton.topia
 

Fields in org.nuiton.topia with type parameters of type TopiaContext
protected static Map<Properties,TopiaContext> TopiaContextFactory.contextCache
          Cache contenant tous les contexts deja créé.
 

Methods in org.nuiton.topia that return TopiaContext
 TopiaContext TopiaContext.beginTransaction()
          Return a new context containing his own transaction.
static TopiaContext TopiaContextFactory.getContext()
          Utilise par defaut le fichier de propriete TopiaContextImpl.properties
static TopiaContext TopiaContextFactory.getContext(Properties config)
          Methode static permettant de recuperer un context.
 

Methods in org.nuiton.topia with parameters of type TopiaContext
static void TopiaContextFactory.removeContext(TopiaContext context)
          Used when TopiaContext root is closed
 void TopiaContext.replicate(TopiaContext dstCtxt, Object... entityAndCondition)
          Permet de dupliquer de ce context vers un context d'une autre base des données sans modification des entites.
<T extends TopiaEntity>
void
TopiaContext.replicateEntities(TopiaContext dstCtxt, List<T> entities)
          Permet de dupliquer les entités du type donné vers un autre context.
<T extends TopiaEntity>
void
TopiaContext.replicateEntity(TopiaContext dstCtxt, T entity)
          Permet de dupliquer une entité du type donné vers un autre context.
 

Uses of TopiaContext in org.nuiton.topia.event
 

Methods in org.nuiton.topia.event that return TopiaContext
 TopiaContext TopiaEntityEvent.getSource()
           
 TopiaContext TopiaEntitiesEvent.getSource()
           
 TopiaContext TopiaTransactionEvent.getSource()
           
 TopiaContext TopiaContextEvent.getSource()
           
 TopiaContext TopiaTransactionEvent.getTopiaContext()
          Deprecated. since 2.3.4, prefer the overriden TopiaTransactionEvent.getSource().
 

Constructors in org.nuiton.topia.event with parameters of type TopiaContext
TopiaTransactionEvent(TopiaContext source)
           
TopiaTransactionEvent(TopiaContext source, Map<TopiaEntity,EntityState> entities)
           
 

Uses of TopiaContext in org.nuiton.topia.framework
 

Subinterfaces of TopiaContext in org.nuiton.topia.framework
 interface TopiaContextImplementor
          Technical contract of a TopiaContext.
 

Classes in org.nuiton.topia.framework that implement TopiaContext
 class TopiaContextImpl
          Le TopiaContextImpl est le point d'entre pour acceder aux donnees.
 

Methods in org.nuiton.topia.framework that return TopiaContext
 TopiaContext TopiaContextImpl.beginTransaction()
           
 TopiaContext TopiaTransactionAware.getTransaction()
          Obtains the internal transaction.
 

Methods in org.nuiton.topia.framework with parameters of type TopiaContext
 List TopiaQuery.execute(TopiaContext transaction)
          Simple execution of the query.
 int TopiaQuery.executeCount(TopiaContext transaction)
          Execute a simple count on the query, i.e.
<E extends TopiaEntity>
E
TopiaQuery.executeToEntity(TopiaContext transaction, Class<E> entityClass)
          Execute the query and get the first result entity.
<E extends TopiaEntity>
List<E>
TopiaQuery.executeToEntityList(TopiaContext transaction, Class<E> entityClass)
          Execute the query and get a List of entity.
<E extends TopiaEntity>
Map<String,E>
TopiaQuery.executeToEntityMap(TopiaContext transaction, Class<E> entityClass)
          Execute the query and get a Map of entity with topiaId in key.
<E extends TopiaEntity,K>
Map<K,E>
TopiaQuery.executeToEntityMap(TopiaContext transaction, Class<E> entityClass, String keyName, Class<K> keyClass)
          Execute the query and get a Map of entity with key type in argument.
 int TopiaQuery.executeToInteger(TopiaContext transaction, String select)
          Execute the query and get an Integer for result.
 Object TopiaQuery.executeToObject(TopiaContext transaction, String select)
          Execute the query and get an Object for result.
 String TopiaQuery.executeToString(TopiaContext transaction, String select)
          Execute the query and get a String for result.
 void TopiaFiresSupport.firePostCreateSchema(TopiaContext context)
          Notify topia context listeners for create schema post operation
 void TopiaFiresSupport.firePostRestoreSchema(TopiaContext context)
          Notify topia context listeners for schema restore post operation
 void TopiaFiresSupport.firePostUpdateSchema(TopiaContext context)
          Notify topia context listeners for create schema post operation
 void TopiaFiresSupport.firePreCreateSchema(TopiaContext context)
          Notify topia context listeners for create schema pre operation
 void TopiaFiresSupport.firePreRestoreSchema(TopiaContext context)
          Notify topia context listeners for schema restore pre operation
 void TopiaFiresSupport.firePreUpdateSchema(TopiaContext context)
          Notify topia context listeners for create schema pre operation
 void TopiaContextImpl.replicate(TopiaContext dstCtxt, Object... entityAndCondition)
           
<T extends TopiaEntity>
void
TopiaContextImpl.replicateEntities(TopiaContext dstCtxt, List<T> entities)
           
<T extends TopiaEntity>
void
TopiaContextImpl.replicateEntity(TopiaContext dstCtxt, T entity)
           
 void TopiaTransactionAware.setTransaction(TopiaContext transaction)
          Put in the instance, the given transaction.
 

Uses of TopiaContext in org.nuiton.topia.persistence
 

Fields in org.nuiton.topia.persistence declared as TopiaContext
protected  TopiaContext TopiaEntityAbstract.topiaContext
           
 

Methods in org.nuiton.topia.persistence that return TopiaContext
 TopiaContext TopiaEntityContextable.getTopiaContext()
          Get topia context.
 TopiaContext TopiaEntityAbstract.getTopiaContext()
           
 

Methods in org.nuiton.topia.persistence with parameters of type TopiaContext
 void TopiaEntityContextable.setTopiaContext(TopiaContext topiaContext)
          Set topia context.
 void TopiaEntityAbstract.setTopiaContext(TopiaContext context)
           
 

Uses of TopiaContext in org.nuiton.topia.persistence.util
 

Methods in org.nuiton.topia.persistence.util with parameters of type TopiaContext
 E Creator.create(TopiaContext tx, P parent, E from)
          Perform the creation of an entity.
static void TopiaEntityHelper.createDBFromSQL(File dbDirectory, TopiaContext topiaContext, URI resource)
          Create a new database from a sql dump locating in a gzip file.
 void DBMapping.createSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaContext ctxt)
           
 void DBMapping.createSequence(String sequenceKey, TopiaContext ctxt)
           
 void DBMapping.createSequence(String sequenceKey, TopiaContext ctxt, boolean check)
           
 void DBMapping.createSequences(TopiaContext ctxt)
           
 void Deletor.delete(TopiaContext tx, P parent, E from)
          Hook to delete an entity from a prent entity.
protected  void DBMapping.doSQLWork(TopiaContext ctxt, String sql)
           
 boolean DBMapping.existSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaContext ctxt)
           
 boolean DBMapping.existSequence(String sequenceKey, TopiaContext ctxt)
           
 boolean DBMapping.existSequence(String sequenceKey, TopiaContext ctxt, boolean check)
           
protected  BigInteger DBMapping.getBigInteger(TopiaContext ctxt, String sql, BigInteger defaultSize)
           
 BigInteger DBMapping.getCurrentValueFromSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaContext ctxt)
           
 BigInteger DBMapping.getCurrentValueFromSequence(String sequenceKey, TopiaContext ctxt)
           
 BigInteger DBMapping.getCurrentValueFromSequence(String sequenceKey, TopiaContext ctxt, boolean check)
           
static TopiaEntity[] TopiaEntityHelper.getEntities(TopiaContext srcCtxt, String... entityList)
           
static List<? extends TopiaEntity> TopiaEntityHelper.getEntitiesList(TopiaContext srcCtxt, String... entityList)
           
 BigInteger DBMapping.getNextValueFromSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaContext ctxt)
           
 BigInteger DBMapping.getNextValueFromSequence(String sequenceKey, TopiaContext ctxt)
           
 BigInteger DBMapping.getNextValueFromSequence(String sequenceKey, TopiaContext ctxt, boolean check)
           
 void DBMapping.init(TopiaContext ctxt, boolean doCreate, boolean doUpdate)
           
static void TopiaEntityHelper.saveDB(File gzipFile, TopiaContext topiaContext)
          Save the given database to a gzip file.
 void DBMapping.updateSequence(Class<? extends TopiaEntity> entityClass, String propertyName, TopiaContext ctxt)
           
 void DBMapping.updateSequence(String sequenceKey, TopiaContext ctxt)
           
 void DBMapping.updateSequence(String sequenceKey, TopiaContext ctxt, boolean check)
           
 void DBMapping.updateSequences(TopiaContext ctxt)
           
 



Copyright © 2004-2011 CodeLutin. All Rights Reserved.