A B C D E G H O P R T

A

abort() - Method in interface org.apache.tapestry5.hibernate.HibernateSessionManager
Aborts the current transaction, and starts a new transaction to replace it.
abort() - Method in class org.apache.tapestry5.internal.hibernate.HibernateSessionManagerImpl
 
applyAdditionalConstraints(Criteria) - Method in class org.apache.tapestry5.hibernate.HibernateGridDataSource
Invoked after the main criteria has been set up (firstResult, maxResults and any sort contraints).

B

bind(ServiceBinder) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
 
build(Class<T>, T, String) - Method in interface org.apache.tapestry5.hibernate.HibernateTransactionDecorator
Builds a transaction interceptor instance around the delegate.
build(Class<T>, T, String) - Method in class org.apache.tapestry5.internal.hibernate.HibernateTransactionDecoratorImpl
 
buildHibernateEntityPackageManager(Collection<String>) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
 
buildHibernateSessionManager(HibernateSessionSource, PerthreadManager) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
The session manager manages sessions on a per-thread/per-request basis.
buildHibernateSessionSource(Logger, List<HibernateConfigurer>, RegistryShutdownHub) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
 
buildSession(HibernateSessionManager, PropertyShadowBuilder) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
 

C

commit() - Method in interface org.apache.tapestry5.hibernate.HibernateSessionManager
Commits the current transaction (which will cause a flush of data to the database), then starts a new transaction to replace it.
commit() - Method in class org.apache.tapestry5.internal.hibernate.HibernateSessionManagerImpl
 
CommitAfter - Annotation Type in org.apache.tapestry5.hibernate.annotations
Marks a method of a service (or a component method) as transactional: the active transaction should commit after invoking the method.
CommitAfterWorker - Class in org.apache.tapestry5.internal.hibernate
Searches for methods that have the CommitAfter annotation and adds logic around the method to commit or abort the transaction.
CommitAfterWorker(HibernateSessionManager) - Constructor for class org.apache.tapestry5.internal.hibernate.CommitAfterWorker
 
configure(Configuration) - Method in interface org.apache.tapestry5.hibernate.HibernateConfigurer
Passed the configuration so as to make changes.
configure(Configuration) - Method in class org.apache.tapestry5.internal.hibernate.DefaultHibernateConfigurer
 
configure(Configuration) - Method in class org.apache.tapestry5.internal.hibernate.PackageNameHibernateConfigurer
 
contributeAlias(Configuration<AliasContribution>, Session) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
 
contributeComponentClassTransformWorker(OrderedConfiguration<ComponentClassTransformWorker>, ObjectLocator) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
Adds the CommitAfter annotation work, to process the CommitAfter annotation.
contributeFactoryDefaults(MappedConfiguration<String, String>) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
 
contributeHibernateEntityPackageManager(Configuration<String>, String) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
Contributes the package "<root>.entities" to the configuration, so that it will be scanned for annotated entity classes.
contributeHibernateSessionSource(OrderedConfiguration<HibernateConfigurer>, HibernateConfigurer, ObjectLocator) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
Adds the following configurers: Default performs default hibernate configuration PackageName loads entities by package name
contributePersistentFieldManager(MappedConfiguration<String, PersistentFieldStrategy>, ObjectLocator) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
Contributes the following: entity Stores the id of the entity and reloads from the Session
contributeValueEncoderSource(MappedConfiguration<Class, ValueEncoderFactory>, boolean, HibernateSessionSource, Session, TypeCoercer, PropertyAccess, LoggerSource) - Static method in class org.apache.tapestry5.hibernate.HibernateModule
Contributes ValueEncoderFactorys for all registered Hibernate entity classes.
convertApplicationValueToPersisted(Object) - Method in class org.apache.tapestry5.internal.hibernate.EntityPersistentFieldStrategy
 
convertPersistedToApplicationValue(Object) - Method in class org.apache.tapestry5.internal.hibernate.EntityPersistentFieldStrategy
 
create() - Method in interface org.apache.tapestry5.hibernate.HibernateSessionSource
Creates a new session using the SessionFactory created at service startup.
create() - Method in class org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl
 

D

DEFAULT_CONFIGURATION - Static variable in class org.apache.tapestry5.hibernate.HibernateConstants
If true, then the last HibernateConfigurer will invoke Configuration.configure(), to read the application's hibernate.cfg.xml.
DefaultHibernateConfigurer - Class in org.apache.tapestry5.internal.hibernate
Simply calls configure() to do the default Hibernate configuration.
DefaultHibernateConfigurer(boolean) - Constructor for class org.apache.tapestry5.internal.hibernate.DefaultHibernateConfigurer
 

E

EntityPersistentFieldStrategy - Class in org.apache.tapestry5.internal.hibernate
Persists Hibernate entities by storing their id in the session.
EntityPersistentFieldStrategy(Session, Request) - Constructor for class org.apache.tapestry5.internal.hibernate.EntityPersistentFieldStrategy
 

G

getAvailableRows() - Method in class org.apache.tapestry5.hibernate.HibernateGridDataSource
Returns the total number of rows for the configured entity type.
getConfiguration() - Method in interface org.apache.tapestry5.hibernate.HibernateSessionSource
Returns the final configuration used to create the SessionFactory.
getConfiguration() - Method in class org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl
 
getPackageNames() - Method in interface org.apache.tapestry5.hibernate.HibernateEntityPackageManager
Returns packages from which read entity classes
getRowType() - Method in class org.apache.tapestry5.hibernate.HibernateGridDataSource
Returns the entity type, as provided via the constructor.
getRowValue(int) - Method in class org.apache.tapestry5.hibernate.HibernateGridDataSource
Returns a row value at the given index (which must be within the range defined by the call to HibernateGridDataSource.prepare(int, int, java.util.List) ).
getSession() - Method in interface org.apache.tapestry5.hibernate.HibernateSessionManager
Gets the active session for this request, creating it as necessary.
getSession() - Method in class org.apache.tapestry5.internal.hibernate.HibernateSessionManagerImpl
 
getSessionFactory() - Method in interface org.apache.tapestry5.hibernate.HibernateSessionSource
Returns the SessionFactory from which Hibernate sessions are created.
getSessionFactory() - Method in class org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl
 

H

HibernateConfigurer - Interface in org.apache.tapestry5.hibernate
Defines the interface for a chain-of-command that updates Hibernate configuration in some way before the SessionFactory is created.
HibernateConstants - Class in org.apache.tapestry5.hibernate
Defines constants used inside the Tapestry Hibernate intergration.
HibernateConstants() - Constructor for class org.apache.tapestry5.hibernate.HibernateConstants
 
HibernateEntityPackageManager - Interface in org.apache.tapestry5.hibernate
Contains a set of contributed package names from which to load entities.
HibernateEntityValueEncoder<E> - Class in org.apache.tapestry5.internal.hibernate
 
HibernateEntityValueEncoder(Class<E>, PersistentClass, Session, PropertyAccess, TypeCoercer, Logger) - Constructor for class org.apache.tapestry5.internal.hibernate.HibernateEntityValueEncoder
 
HibernateGridDataSource - Class in org.apache.tapestry5.hibernate
A simple implementation of GridDataSource based on a Hibernate Session and a known entity class.
HibernateGridDataSource(Session, Class) - Constructor for class org.apache.tapestry5.hibernate.HibernateGridDataSource
 
HibernateModule - Class in org.apache.tapestry5.hibernate
 
HibernateModule() - Constructor for class org.apache.tapestry5.hibernate.HibernateModule
 
HibernateSessionManager - Interface in org.apache.tapestry5.hibernate
Manages the Hibernate session for the current thread.
HibernateSessionManagerImpl - Class in org.apache.tapestry5.internal.hibernate
 
HibernateSessionManagerImpl(HibernateSessionSource) - Constructor for class org.apache.tapestry5.internal.hibernate.HibernateSessionManagerImpl
 
HibernateSessionSource - Interface in org.apache.tapestry5.hibernate
Responsible for creating a Hibernate session as needed.
HibernateSessionSourceImpl - Class in org.apache.tapestry5.internal.hibernate
 
HibernateSessionSourceImpl(Logger, List<HibernateConfigurer>) - Constructor for class org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl
 
HibernateTransactionDecorator - Interface in org.apache.tapestry5.hibernate
Service that can create an interceptor that wraps around a service implementation.
HibernateTransactionDecoratorImpl - Class in org.apache.tapestry5.internal.hibernate
 
HibernateTransactionDecoratorImpl(AspectDecorator, HibernateSessionManager) - Constructor for class org.apache.tapestry5.internal.hibernate.HibernateTransactionDecoratorImpl
 

O

org.apache.tapestry5.hibernate - package org.apache.tapestry5.hibernate
 
org.apache.tapestry5.hibernate.annotations - package org.apache.tapestry5.hibernate.annotations
 
org.apache.tapestry5.internal.hibernate - package org.apache.tapestry5.internal.hibernate
 

P

PackageNameHibernateConfigurer - Class in org.apache.tapestry5.internal.hibernate
Adds entity classes from a given set of packages to the configuration.
PackageNameHibernateConfigurer(HibernateEntityPackageManager, ClassNameLocator) - Constructor for class org.apache.tapestry5.internal.hibernate.PackageNameHibernateConfigurer
 
PersistedEntity - Class in org.apache.tapestry5.internal.hibernate
Encapsulates a Hibernate entity name with an entity id.
PersistedEntity(String, Serializable) - Constructor for class org.apache.tapestry5.internal.hibernate.PersistedEntity
 
prepare(int, int, List<SortConstraint>) - Method in class org.apache.tapestry5.hibernate.HibernateGridDataSource
Prepares the results, performing a query (applying the sort results, and the provided start and end index).
PROVIDE_ENTITY_VALUE_ENCODERS_SYMBOL - Static variable in class org.apache.tapestry5.hibernate.HibernateConstants
If true (the default), then ValueEncoders are automatically created for each entity.

R

registryDidShutdown() - Method in class org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl
 

T

threadDidCleanup() - Method in class org.apache.tapestry5.internal.hibernate.HibernateSessionManagerImpl
Rollsback the transaction at the end of the request, then closes the session.
toClient(E) - Method in class org.apache.tapestry5.internal.hibernate.HibernateEntityValueEncoder
 
toString() - Method in class org.apache.tapestry5.internal.hibernate.PersistedEntity
 
toValue(String) - Method in class org.apache.tapestry5.internal.hibernate.HibernateEntityValueEncoder
 
transform(ClassTransformation, MutableComponentModel) - Method in class org.apache.tapestry5.internal.hibernate.CommitAfterWorker
 

A B C D E G H O P R T

Copyright © 2007-2009 Apache Software Foundation. All Rights Reserved.