| Package | Description |
|---|---|
| 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.csv.in |
Package for csv import of entities.
|
| org.nuiton.topia.persistence.util |
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Properties,TopiaContext> |
TopiaContextFactory.contextCache
Cache contenant tous les contexts deja créé.
|
| Modifier and Type | Method and Description |
|---|---|
TopiaContext |
TopiaContext.beginTransaction()
Returns a new context containing its 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.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TopiaContextFactory.removeContext(TopiaContext context)
Used when TopiaContext root is closed
|
void |
TopiaContext.replicate(TopiaContext destinationContext,
Object... entityAndCondition)
Makes a replication of some entities from this context to the given
context without any entity modification.
|
<T extends TopiaEntity> |
TopiaContext.replicateEntities(TopiaContext destinationContext,
List<T> entities)
Makes a replication of some entities from this context to the given
context without any entity modification.
|
<T extends TopiaEntity> |
TopiaContext.replicateEntity(TopiaContext destinationContext,
T entity)
Replicate a given entity from this context to the given context.
|
| Modifier and Type | Method and Description |
|---|---|
TopiaContext |
TopiaTransactionEvent.getSource() |
TopiaContext |
TopiaEntityEvent.getSource() |
TopiaContext |
TopiaContextEvent.getSource() |
TopiaContext |
TopiaEntitiesEvent.getSource() |
| Constructor and Description |
|---|
TopiaTransactionEvent(TopiaContext source) |
TopiaTransactionEvent(TopiaContext source,
Map<TopiaEntity,EntityState> entities) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TopiaContextImplementor
Technical contract of a
TopiaContext. |
| Modifier and Type | Class and Description |
|---|---|
class |
TopiaContextImpl
Le TopiaContextImpl est le point d'entre pour acceder aux donnees.
|
| Modifier and Type | Method and Description |
|---|---|
TopiaContext |
TopiaContextImpl.beginTransaction() |
TopiaContext |
TopiaTransactionAware.getTransaction()
Obtains the internal transaction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TopiaFiresSupport.firePostCreateSchema(TopiaContext context)
Notify topia context listeners for create schema post operation
|
void |
TopiaFiresSupport.firePostDropSchema(TopiaContext context)
Notify topia context listeners for drop 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.firePreDropSchema(TopiaContext context)
Notify topia context listeners for drop 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
|
static boolean |
TopiaUtil.isSchemaEmpty(TopiaContext tx)
Test if the db associated to the given
configuration contaisn any of
the dealed entities. |
static boolean |
TopiaUtil.isSchemaExist(TopiaContext tx,
String entityName)
Test si une entite donnee correspondant a une configuration existe en
base.
|
void |
TopiaContextImpl.replicate(TopiaContext dstCtxt,
Object... entityAndCondition) |
<T extends TopiaEntity> |
TopiaContextImpl.replicateEntities(TopiaContext dstCtxt,
List<T> entities) |
<T extends TopiaEntity> |
TopiaContextImpl.replicateEntity(TopiaContext dstCtxt,
T entity) |
void |
TopiaTransactionAware.setTransaction(TopiaContext transaction)
Put in the instance, the given transaction.
|
| Modifier and Type | Method and Description |
|---|---|
TopiaContext |
TopiaEntityContextable.getTopiaContext()
Get topia context.
|
| Modifier and Type | Method and Description |
|---|---|
<E extends TopiaEntity> |
TopiaPersistenceHelper.getDAO(TopiaContext tx,
Class<E> type) |
<E extends TopiaEntity> |
TopiaPersistenceHelper.getDAO(TopiaContext tx,
T type) |
void |
TopiaEntityContextable.setTopiaContext(TopiaContext topiaContext)
Set topia context.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends TopiaEntityEnum> |
TopiaCsvImports.importAssociation(TopiaContext tx,
AssociationMeta<T> meta,
org.nuiton.util.csv.ImportToMap importer,
CsvImportResult<T> csvResult,
int nbRowBuffer) |
static <T extends TopiaEntityEnum> |
TopiaCsvImports.importAssociation(TopiaContext tx,
AssociationMeta<T> meta,
Map<String,TopiaEntity> universe,
org.nuiton.util.csv.ImportToMap importer,
CsvImportResult<T> csvResult,
int nbRowBuffer) |
static <T extends TopiaEntityEnum> |
TopiaCsvImports.importNMAssociation(TopiaContext tx,
AssociationMeta<T> meta,
org.nuiton.util.csv.ImportToMap importer,
CsvImportResult<T> csvResult,
int nbRowBuffer) |
static <T extends TopiaEntityEnum> |
TopiaCsvImports.importNMAssociation(TopiaContext tx,
AssociationMeta<T> meta,
Map<String,TopiaEntity> universe,
org.nuiton.util.csv.ImportToMap importer,
CsvImportResult<T> csvResult,
int nbRowBuffer) |
| Modifier and Type | Method and Description |
|---|---|
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–2013 CodeLutin. All rights reserved.