| Package | Description | 
|---|---|
| org.apache.tapestry5.hibernate.modules | |
| org.apache.tapestry5.internal.hibernate | [INTERNAL USE ONLY] support classes for Hibernate integration; API subject to change | 
| org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change | 
| org.apache.tapestry5.jpa.modules | |
| org.apache.tapestry5.modules | |
| org.apache.tapestry5.services | Core services | 
| org.apache.tapestry5.test | Support for testing Tapestry pages | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HibernateModule. contributeApplicationStatePersistenceStrategySource(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration)Contributes the following strategy:
 
 entity
 Stores the id of the entity and reloads from the  Session | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EntityApplicationStatePersistenceStrategyPersists Hibernate entities as SSOs by storing their primary key in the  Session. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SessionApplicationStatePersistenceStrategyStores ASOs in the  Session, which will be created as necessary. | 
| Modifier and Type | Method and Description | 
|---|---|
| ApplicationStatePersistenceStrategy | ApplicationStatePersistenceStrategySourceImpl. get(String name) | 
| Constructor and Description | 
|---|
| ApplicationStatePersistenceStrategySourceImpl(Map<String,ApplicationStatePersistenceStrategy> configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JpaModule. provideApplicationStatePersistenceStrategies(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TapestryModule. contributeApplicationStatePersistenceStrategySource(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration,
                                                   ApplicationStatePersistenceStrategy sessionStategy)Contributes the default "session" strategy. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TapestryModule. contributeApplicationStatePersistenceStrategySource(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration,
                                                   ApplicationStatePersistenceStrategy sessionStategy)Contributes the default "session" strategy. | 
| Modifier and Type | Method and Description | 
|---|---|
| ApplicationStatePersistenceStrategy | ApplicationStatePersistenceStrategySource. get(String name)Returns the named strategy. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ApplicationStatePersistenceStrategy | TapestryTestCase. mockApplicationStatePersistenceStrategy() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected <T> void | TapestryTestCase. train_exists(ApplicationStatePersistenceStrategy strategy,
            Class<T> asoClass,
            boolean exists) | 
| protected <T> void | TapestryTestCase. train_get(ApplicationStatePersistenceStrategy strategy,
         Class<T> asoClass,
         ApplicationStateCreator<T> creator,
         T aso) | 
| protected void | TapestryTestCase. train_get(ApplicationStatePersistenceStrategySource source,
         String strategyName,
         ApplicationStatePersistenceStrategy strategy) | 
| protected <T> void | TapestryTestCase. train_getIfExists(ApplicationStatePersistenceStrategy strategy,
                 Class<T> asoClass,
                 T aso) | 
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.