|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy
org.apache.tapestry5.internal.jpa.EntityPersistentFieldStrategy
public class EntityPersistentFieldStrategy
Persists JPA entities by storing their id in the session.
| Constructor Summary | |
|---|---|
EntityPersistentFieldStrategy(EntityManagerManager entityManagerManager,
Request request)
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
convertApplicationValueToPersisted(java.lang.Object newValue)
Hook that allows a value to be converted as it is written to the session. |
protected java.lang.Object |
convertPersistedToApplicationValue(java.lang.Object persistedValue)
Converts a persisted value stored in the session back into an application value. |
| Methods inherited from class org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy |
|---|
didReadChange, discardChanges, gatherFieldChanges, postChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityPersistentFieldStrategy(EntityManagerManager entityManagerManager,
Request request)
| Method Detail |
|---|
protected java.lang.Object convertApplicationValueToPersisted(java.lang.Object newValue)
AbstractSessionPersistentFieldStrategy
convertApplicationValueToPersisted in class AbstractSessionPersistentFieldStrategynewValue - non-null value
AbstractSessionPersistentFieldStrategy.convertPersistedToApplicationValue(Object)protected java.lang.Object convertPersistedToApplicationValue(java.lang.Object persistedValue)
AbstractSessionPersistentFieldStrategy
convertPersistedToApplicationValue in class AbstractSessionPersistentFieldStrategypersistedValue - non-null persisted value
AbstractSessionPersistentFieldStrategy.convertPersistedToApplicationValue(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||