A C D E G H I L O P R S T

A

addPersistenceMapper(Class<T>, PersistenceMapper<T>) - Method in class com.subshell.persistence.transaction.TransactionContext
 

C

clearCurrentContext() - Static method in class com.subshell.persistence.transaction.TransactionContext
Clears the transaction context to be associated with the current thread.
close() - Method in interface com.subshell.persistence.database.Database
Closes this Database.
close() - Method in class com.subshell.persistence.hibernate.HibernateDatabase
 
com.subshell.persistence.ant - package com.subshell.persistence.ant
Classes for supporting Ant and Maven.
com.subshell.persistence.database - package com.subshell.persistence.database
Classes for working with databases.
com.subshell.persistence.exception - package com.subshell.persistence.exception
Various exceptions.
com.subshell.persistence.filter - package com.subshell.persistence.filter
Servlet request filters.
com.subshell.persistence.hibernate - package com.subshell.persistence.hibernate
Persistence API implementation using Hibernate.
com.subshell.persistence.mapper - package com.subshell.persistence.mapper
Classes for working with database-independent persistence mappers.
com.subshell.persistence.runner - package com.subshell.persistence.runner
Utility classes for automatic provision of transaction contexts.
com.subshell.persistence.transaction - package com.subshell.persistence.transaction
Classes for working with transactions.
commit() - Method in class com.subshell.persistence.hibernate.HibernateTransaction
 
commit() - Method in interface com.subshell.persistence.transaction.Transaction
Commits this Transaction.
create(T) - Method in class com.subshell.persistence.hibernate.HibernateTransaction
 
create(T) - Method in interface com.subshell.persistence.mapper.PersistenceMapper
Creates an object in the database.
create(T) - Method in class com.subshell.persistence.mapper.TransactionPersistenceMapper
Persists an object in the database.
create(T) - Method in interface com.subshell.persistence.transaction.Transaction
Creates an object in the database.
createTransactionContextRunner() - Method in class com.subshell.persistence.runner.SelfContainedTransactionContextRunner
Creates and returns a new transaction context runner to be used inside the self-contained transaction context runner.

D

Database - Interface in com.subshell.persistence.database
A database.
DatabaseClosedException - Exception in com.subshell.persistence.exception
Thrown when a Database is used although it has been closed already.
DatabaseClosedException() - Constructor for exception com.subshell.persistence.exception.DatabaseClosedException
 
DatabaseClosedException(String) - Constructor for exception com.subshell.persistence.exception.DatabaseClosedException
 
DatabaseClosedException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.DatabaseClosedException
 
DatabaseClosedException(Throwable) - Constructor for exception com.subshell.persistence.exception.DatabaseClosedException
 
DatabaseFactory - Class in com.subshell.persistence.database
Factory returning Database instances.
delete(T) - Method in class com.subshell.persistence.hibernate.HibernateTransaction
 
delete(T) - Method in interface com.subshell.persistence.mapper.PersistenceMapper
Deletes a persistent object from the database.
delete(T) - Method in class com.subshell.persistence.mapper.TransactionPersistenceMapper
Deletes a persistent object from the database.
delete(T) - Method in interface com.subshell.persistence.transaction.Transaction
Deletes a persistent object from the database.
destroy() - Method in class com.subshell.persistence.filter.TransactionFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.subshell.persistence.filter.TransactionFilter
 

E

ErrorInRunnableException - Exception in com.subshell.persistence.exception
Thrown when a TransactionContextRunner is executing a Runnable, and this Runnable is throwing a RuntimeException.
ErrorInRunnableException() - Constructor for exception com.subshell.persistence.exception.ErrorInRunnableException
 
ErrorInRunnableException(Throwable) - Constructor for exception com.subshell.persistence.exception.ErrorInRunnableException
 
ErrorInRunnableException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.ErrorInRunnableException
 
execute() - Method in class com.subshell.persistence.ant.HibernateMappingResourceTask
 

G

getCurrentContext() - Static method in class com.subshell.persistence.transaction.TransactionContext
Returns the transaction context associated with the current thread.
getDatabase() - Static method in class com.subshell.persistence.database.DatabaseFactory
Returns a Database instance.
getMapper(Class<T>) - Method in interface com.subshell.persistence.mapper.PersistenceMapperFactory
Returns the persistence mapper for objects of class clazz.
getMapper(Class<T>) - Method in class com.subshell.persistence.mapper.TransactionContextPersistenceMapperFactory
 
getMapper(Class<T>) - Method in class com.subshell.persistence.mapper.TransactionPersistenceMapperFactory
 
getMapperForClass(Class<T>) - Method in interface com.subshell.persistence.mapper.PersistenceMapperConfiguration
Returns a persistence mapper's class for the specified object class.
getMapperForClass(Class<T>) - Method in class com.subshell.persistence.mapper.PropertyPersistenceMapperConfiguration
Returns the PersistenceMapper class configured for the specified class.
getPersistenceMapper(Class<T>) - Method in class com.subshell.persistence.transaction.TransactionContext
 
getRunner() - Method in class com.subshell.persistence.filter.TransactionFilter
Creates and returns a new TransactionContextRunner in which to run the filter's Runnable.
getSession() - Method in class com.subshell.persistence.hibernate.HibernateTransaction
Returns this HibernateTransaction's internal Session.
getTransaction() - Method in class com.subshell.persistence.mapper.TransactionPersistenceMapper
Returns the transaction associated with this persistence mapper.
getTransaction() - Method in class com.subshell.persistence.transaction.TransactionContext
Returns this transaction context's transaction.
getTransaction() - Method in class com.subshell.persistence.transaction.TransactionContextTransactionFactory
 
getTransaction() - Method in interface com.subshell.persistence.transaction.TransactionFactory
Creates and returns a new transaction.

H

HibernateDatabase - Class in com.subshell.persistence.hibernate
Database implementation using Hibernate.
HibernateDatabase() - Constructor for class com.subshell.persistence.hibernate.HibernateDatabase
 
HibernateMappingResourceTask - Class in com.subshell.persistence.ant
Ant task providing mapping references for Hibernate .hbm.xml files.
HibernateMappingResourceTask() - Constructor for class com.subshell.persistence.ant.HibernateMappingResourceTask
 
HibernateTransaction - Class in com.subshell.persistence.hibernate
Transaction implementation using Hibernate.

I

init(FilterConfig) - Method in class com.subshell.persistence.filter.TransactionFilter
 
InitializationException - Exception in com.subshell.persistence.exception
Thrown when initialization of an object (such as a Database) failed.
InitializationException() - Constructor for exception com.subshell.persistence.exception.InitializationException
 
InitializationException(String) - Constructor for exception com.subshell.persistence.exception.InitializationException
 
InitializationException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.InitializationException
 
InitializationException(Throwable) - Constructor for exception com.subshell.persistence.exception.InitializationException
 
isClosed() - Method in interface com.subshell.persistence.database.Database
Returns whether this Database has been closed.
isClosed() - Method in class com.subshell.persistence.hibernate.HibernateDatabase
 
isCommitted() - Method in class com.subshell.persistence.hibernate.HibernateTransaction
 
isCommitted() - Method in interface com.subshell.persistence.transaction.Transaction
Returns whether this Transaction has been committed/rolled back.
isPersistent(T) - Method in class com.subshell.persistence.hibernate.HibernateTransaction
 
isPersistent(T) - Method in interface com.subshell.persistence.mapper.PersistenceMapper
Returns whether an object is persistent.
isPersistent(T) - Method in class com.subshell.persistence.mapper.TransactionPersistenceMapper
Returns whether an object is persistent.
isPersistent(T) - Method in interface com.subshell.persistence.transaction.Transaction
Returns whether an object is persistent.

L

load(Class<T>, Serializable) - Method in class com.subshell.persistence.hibernate.HibernateTransaction
 
load(Serializable) - Method in interface com.subshell.persistence.mapper.PersistenceMapper
Loads an object from the database.
load(Serializable) - Method in class com.subshell.persistence.mapper.TransactionPersistenceMapper
Loads an object from the database.
load(Class<T>, Serializable) - Method in interface com.subshell.persistence.transaction.Transaction
Loads an object from the database.

O

ObjectNotFoundException - Exception in com.subshell.persistence.exception
Thrown when a persistent object could not be found in the database.
ObjectNotFoundException() - Constructor for exception com.subshell.persistence.exception.ObjectNotFoundException
 
ObjectNotFoundException(String) - Constructor for exception com.subshell.persistence.exception.ObjectNotFoundException
 
ObjectNotFoundException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.ObjectNotFoundException
 
ObjectNotFoundException(Throwable) - Constructor for exception com.subshell.persistence.exception.ObjectNotFoundException
 
openTransaction() - Method in interface com.subshell.persistence.database.Database
Opens and returns a new Transaction.
openTransaction() - Method in class com.subshell.persistence.hibernate.HibernateDatabase
 
openTransaction() - Method in class com.subshell.persistence.runner.SimpleTransactionContextRunner
Opens and returns a new transaction.

P

PersistenceException - Exception in com.subshell.persistence.exception
Thrown when there is a persistence-related error.
PersistenceException() - Constructor for exception com.subshell.persistence.exception.PersistenceException
 
PersistenceException(String) - Constructor for exception com.subshell.persistence.exception.PersistenceException
 
PersistenceException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.PersistenceException
 
PersistenceException(Throwable) - Constructor for exception com.subshell.persistence.exception.PersistenceException
 
PersistenceMapper<T> - Interface in com.subshell.persistence.mapper
All persistence mappers must implement this interface.
PersistenceMapperConfiguration - Interface in com.subshell.persistence.mapper
Provides persistence mapper configuration settings.
PersistenceMapperFactory - Interface in com.subshell.persistence.mapper
Creates persistence mapper instances.
PersistenceMapperNotFoundException - Exception in com.subshell.persistence.exception
Thrown when a persistence mapper could not be found.
PersistenceMapperNotFoundException() - Constructor for exception com.subshell.persistence.exception.PersistenceMapperNotFoundException
 
PersistenceMapperNotFoundException(String) - Constructor for exception com.subshell.persistence.exception.PersistenceMapperNotFoundException
 
PersistenceMapperNotFoundException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.PersistenceMapperNotFoundException
 
PersistenceMapperNotFoundException(Throwable) - Constructor for exception com.subshell.persistence.exception.PersistenceMapperNotFoundException
 
PropertyPersistenceMapperConfiguration - Class in com.subshell.persistence.mapper
A persistence mapper configuration constructed from properties.
PropertyPersistenceMapperConfiguration(Properties) - Constructor for class com.subshell.persistence.mapper.PropertyPersistenceMapperConfiguration
Constructs a new persistence mapper configuration from the specified properties.
PropertyPersistenceMapperConfiguration(File) - Constructor for class com.subshell.persistence.mapper.PropertyPersistenceMapperConfiguration
Constructs a new persistence mapper configuration from the specified file.

R

rollback() - Method in class com.subshell.persistence.hibernate.HibernateTransaction
 
rollback() - Method in interface com.subshell.persistence.transaction.Transaction
Rolls back this Transaction.
run(Runnable) - Method in class com.subshell.persistence.runner.SelfContainedTransactionContextRunner
Runs the specified Runnable and provides it with a self-contained transaction context.
run(Runnable) - Method in class com.subshell.persistence.runner.SimpleTransactionContextRunner
Runs the specified Runnable and provides it with a transaction context.
run(Runnable) - Method in interface com.subshell.persistence.runner.TransactionContextRunner
Runs the specified Runnable and provides it with a transaction context.

S

SelfContainedTransactionContextRunner - Class in com.subshell.persistence.runner
Runs a Runnable and provides it with a self-contained transaction context.
SelfContainedTransactionContextRunner() - Constructor for class com.subshell.persistence.runner.SelfContainedTransactionContextRunner
 
setBasedir(String) - Method in class com.subshell.persistence.ant.HibernateMappingResourceTask
 
setCurrentContext(TransactionContext) - Static method in class com.subshell.persistence.transaction.TransactionContext
Sets the transaction context to be associated with the current thread.
setProperty(String) - Method in class com.subshell.persistence.ant.HibernateMappingResourceTask
 
SimpleTransactionContextRunner - Class in com.subshell.persistence.runner
Runs a Runnable and provides it with a transaction context.
SimpleTransactionContextRunner() - Constructor for class com.subshell.persistence.runner.SimpleTransactionContextRunner
 

T

Transaction - Interface in com.subshell.persistence.transaction
A database transaction.
TransactionCommittedException - Exception in com.subshell.persistence.exception
Thrown when a Transaction is used although it has been committed/rolled back already.
TransactionCommittedException() - Constructor for exception com.subshell.persistence.exception.TransactionCommittedException
 
TransactionCommittedException(String) - Constructor for exception com.subshell.persistence.exception.TransactionCommittedException
 
TransactionCommittedException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.TransactionCommittedException
 
TransactionCommittedException(Throwable) - Constructor for exception com.subshell.persistence.exception.TransactionCommittedException
 
TransactionContext - Class in com.subshell.persistence.transaction
Provides a thread-local transaction context.
TransactionContext(Transaction) - Constructor for class com.subshell.persistence.transaction.TransactionContext
Creates a new transaction context.
TransactionContextAlreadySetException - Exception in com.subshell.persistence.exception
Thrown when a TransactionContext has been requested but there is none.
TransactionContextAlreadySetException() - Constructor for exception com.subshell.persistence.exception.TransactionContextAlreadySetException
 
TransactionContextAlreadySetException(String) - Constructor for exception com.subshell.persistence.exception.TransactionContextAlreadySetException
 
TransactionContextAlreadySetException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.TransactionContextAlreadySetException
 
TransactionContextAlreadySetException(Throwable) - Constructor for exception com.subshell.persistence.exception.TransactionContextAlreadySetException
 
TransactionContextNotSetException - Exception in com.subshell.persistence.exception
Thrown when a TransactionContext has been requested but there is none.
TransactionContextNotSetException() - Constructor for exception com.subshell.persistence.exception.TransactionContextNotSetException
 
TransactionContextNotSetException(String) - Constructor for exception com.subshell.persistence.exception.TransactionContextNotSetException
 
TransactionContextNotSetException(String, Throwable) - Constructor for exception com.subshell.persistence.exception.TransactionContextNotSetException
 
TransactionContextNotSetException(Throwable) - Constructor for exception com.subshell.persistence.exception.TransactionContextNotSetException
 
TransactionContextPersistenceMapperFactory - Class in com.subshell.persistence.mapper
PersistenceMapperFactory implementation that is aware of an outer TransactionContext.
TransactionContextPersistenceMapperFactory(PersistenceMapperConfiguration) - Constructor for class com.subshell.persistence.mapper.TransactionContextPersistenceMapperFactory
 
TransactionContextRunner - Interface in com.subshell.persistence.runner
Runs a Runnable and provides it with a transaction context.
TransactionContextTransactionFactory - Class in com.subshell.persistence.transaction
Transaction factory which uses TransactionContext.getTransaction().
TransactionContextTransactionFactory() - Constructor for class com.subshell.persistence.transaction.TransactionContextTransactionFactory
 
TransactionFactory - Interface in com.subshell.persistence.transaction
Creates transaction instances.
TransactionFilter - Class in com.subshell.persistence.filter
Filter implementation using a TransactionContextRunner to provide a transaction context for use throughout the request.
TransactionFilter() - Constructor for class com.subshell.persistence.filter.TransactionFilter
 
TransactionPersistenceMapper<T> - Class in com.subshell.persistence.mapper
Abstract persistence mapper implementation which is provided with a Transaction.
TransactionPersistenceMapper(Class<T>, Transaction) - Constructor for class com.subshell.persistence.mapper.TransactionPersistenceMapper
Creates a new TransactionPersistenceMapper.
TransactionPersistenceMapperFactory - Class in com.subshell.persistence.mapper
Persistence mapper factory implementation which provides persistence mappers with Transactions.
TransactionPersistenceMapperFactory(PersistenceMapperConfiguration, TransactionFactory) - Constructor for class com.subshell.persistence.mapper.TransactionPersistenceMapperFactory
Creates a new transaction persistence mapper factory.

A C D E G H I L O P R S T

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