Uses of Class
com.subshell.persistence.exception.PersistenceException

Packages that use PersistenceException
com.subshell.persistence.database Classes for working with databases. 
com.subshell.persistence.exception Various exceptions. 
com.subshell.persistence.hibernate Persistence API implementation using Hibernate
com.subshell.persistence.mapper Classes for working with database-independent persistence mappers. 
com.subshell.persistence.runner Utility classes for automatic provision of transaction contexts. 
com.subshell.persistence.transaction Classes for working with transactions. 
 

Uses of PersistenceException in com.subshell.persistence.database
 

Methods in com.subshell.persistence.database that throw PersistenceException
 void Database.close()
          Closes this Database.
 boolean Database.isClosed()
          Returns whether this Database has been closed.
 Transaction Database.openTransaction()
          Opens and returns a new Transaction.
 

Uses of PersistenceException in com.subshell.persistence.exception
 

Subclasses of PersistenceException in com.subshell.persistence.exception
 class ObjectNotFoundException
          Thrown when a persistent object could not be found in the database.
 

Uses of PersistenceException in com.subshell.persistence.hibernate
 

Methods in com.subshell.persistence.hibernate that throw PersistenceException
 void HibernateDatabase.close()
           
 void HibernateTransaction.commit()
           
<T> Serializable
HibernateTransaction.create(T o)
           
<T> void
HibernateTransaction.delete(T o)
           
 org.hibernate.Session HibernateTransaction.getSession()
          Returns this HibernateTransaction's internal Session.
<T> boolean
HibernateTransaction.isPersistent(T o)
           
<T> T
HibernateTransaction.load(Class<T> clazz, Serializable id)
           
 void HibernateTransaction.rollback()
           
 

Uses of PersistenceException in com.subshell.persistence.mapper
 

Methods in com.subshell.persistence.mapper that throw PersistenceException
 Serializable TransactionPersistenceMapper.create(T o)
          Persists an object in the database.
 Serializable PersistenceMapper.create(T o)
          Creates an object in the database.
 void TransactionPersistenceMapper.delete(T o)
          Deletes a persistent object from the database.
 void PersistenceMapper.delete(T o)
          Deletes a persistent object from the database.
<T> Class<PersistenceMapper<T>>
PersistenceMapperConfiguration.getMapperForClass(Class<T> clazz)
          Returns a persistence mapper's class for the specified object class.
 boolean TransactionPersistenceMapper.isPersistent(T o)
          Returns whether an object is persistent.
 boolean PersistenceMapper.isPersistent(T o)
          Returns whether an object is persistent.
 T TransactionPersistenceMapper.load(Serializable id)
          Loads an object from the database.
 T PersistenceMapper.load(Serializable id)
          Loads an object from the database.
 

Uses of PersistenceException in com.subshell.persistence.runner
 

Methods in com.subshell.persistence.runner that throw PersistenceException
protected  Transaction SimpleTransactionContextRunner.openTransaction()
          Opens and returns a new transaction.
 void SimpleTransactionContextRunner.run(Runnable runnable)
          Runs the specified Runnable and provides it with a transaction context.
 void SelfContainedTransactionContextRunner.run(Runnable runnable)
          Runs the specified Runnable and provides it with a self-contained transaction context.
 void TransactionContextRunner.run(Runnable runnable)
          Runs the specified Runnable and provides it with a transaction context.
 

Uses of PersistenceException in com.subshell.persistence.transaction
 

Methods in com.subshell.persistence.transaction that throw PersistenceException
 void Transaction.commit()
          Commits this Transaction.
<T> Serializable
Transaction.create(T o)
          Creates an object in the database.
<T> void
Transaction.delete(T o)
          Deletes a persistent object from the database.
 Transaction TransactionFactory.getTransaction()
          Creates and returns a new transaction.
 boolean Transaction.isCommitted()
          Returns whether this Transaction has been committed/rolled back.
<T> boolean
Transaction.isPersistent(T o)
          Returns whether an object is persistent.
<T> T
Transaction.load(Class<T> clazz, Serializable id)
          Loads an object from the database.
 void Transaction.rollback()
          Rolls back this Transaction.
 



Copyright © 2004-2005 subshell GmbH. All Rights Reserved.