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, postChange
public EntityPersistentFieldStrategy(EntityManagerManager entityManagerManager, Request request)
protected Object convertApplicationValueToPersisted(Object newValue)
AbstractSessionPersistentFieldStrategy
convertApplicationValueToPersisted
in class AbstractSessionPersistentFieldStrategy
newValue
- non-null valueAbstractSessionPersistentFieldStrategy.convertPersistedToApplicationValue(Object)
protected Object convertPersistedToApplicationValue(Object persistedValue)
AbstractSessionPersistentFieldStrategy
convertPersistedToApplicationValue
in class AbstractSessionPersistentFieldStrategy
persistedValue
- non-null persisted valueAbstractSessionPersistentFieldStrategy.convertPersistedToApplicationValue(Object)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.