public abstract class AbstractSerializableProxy extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
AbstractSerializableProxy()
For serialization
|
protected |
AbstractSerializableProxy(String entityName,
Serializable id,
Boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
protected String |
getEntityName() |
protected Serializable |
getId() |
protected void |
setReadOnlyBeforeAttachedToSession(AbstractLazyInitializer li)
Set the read-only/modifiable setting from this object in an AbstractLazyInitializer.
|
protected AbstractSerializableProxy()
protected AbstractSerializableProxy(String entityName, Serializable id, Boolean readOnly)
protected String getEntityName()
protected Serializable getId()
protected void setReadOnlyBeforeAttachedToSession(AbstractLazyInitializer li)
li
- the read-only/modifiable setting to use when
associated with a session; null indicates that the default should be used.IllegalStateException
- if isReadOnlySettingAvailable() == trueCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.