public class EntityPersistentFieldStrategy extends AbstractSessionPersistentFieldStrategy
| Constructor and Description |
|---|
EntityPersistentFieldStrategy(EntityManagerManager entityManagerManager,
Request request) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertApplicationValueToPersisted(Object newValue)
Hook that allows a value to be converted as it is written to the session.
|
protected Object |
convertPersistedToApplicationValue(Object persistedValue)
Converts a persisted value stored in the session back into an application value.
|
didReadChange, discardChanges, gatherFieldChanges, postChangepublic EntityPersistentFieldStrategy(EntityManagerManager entityManagerManager, Request request)
protected Object convertApplicationValueToPersisted(Object newValue)
AbstractSessionPersistentFieldStrategyconvertApplicationValueToPersisted in class AbstractSessionPersistentFieldStrategynewValue - non-null valueAbstractSessionPersistentFieldStrategy.convertPersistedToApplicationValue(Object)protected Object convertPersistedToApplicationValue(Object persistedValue)
AbstractSessionPersistentFieldStrategyconvertPersistedToApplicationValue in class AbstractSessionPersistentFieldStrategypersistedValue - non-null persisted valueAbstractSessionPersistentFieldStrategy.convertPersistedToApplicationValue(Object)5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.