Package org.nuiton.topia.persistence


package org.nuiton.topia.persistence

This package contains most of the needed contracts when using ToPIA.

To manipulate ToPIA you need to understand the role of both interfaces TopiaApplicationContext and TopiaPersistenceContext. The implementation of these contracts has been generated in your own project under the name "XxxTopiaApplicationContext" and "XxxTopiaPersistenceContext" where "Xxx" is the name of your project.

When configuring an application, you may need to use ToPIA defined constants that are listed in the TopiaConfigurationConstants contract.

You might want to use a cache in order to keep a list of the running application context, for this particular case you can use TopiaApplicationContextCache.

Each entity managed by ToPIA implements the TopiaEntity contract through the abstract class AbstractTopiaEntity. You can find some useful methods on entities in the TopiaEntities class.

Each Dao implements the TopiaDao contract through the abstract class AbstractTopiaDao.

Each service implements the TopiaService