Deprecated
as a consequence of SessionAssociableInterceptor being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final String | |
| private transient SharedSessionContractImplementor | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| allowLoadOutsideTransaction | back to summary |
|---|---|
| private boolean allowLoadOutsideTransaction | |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| session | back to summary |
|---|---|
| private transient SharedSessionContractImplementor session | |
| sessionFactoryUuid | back to summary |
|---|---|
| private String sessionFactoryUuid | |
| AbstractInterceptor | back to summary |
|---|---|
public AbstractInterceptor(String entityName)
| |
| allowLoadOutsideTransaction | back to summary |
|---|---|
| public boolean allowLoadOutsideTransaction() Implements org.
| |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() | |
| getLinkedSession | back to summary |
|---|---|
| public SharedSessionContractImplementor getLinkedSession() Implements org.
| |
| getSessionFactoryUuid | back to summary |
|---|---|
| public String getSessionFactoryUuid() Implements org.
| |
| handleRead | back to summary |
|---|---|
| protected abstract Object handleRead(Object target, String attributeName, Object value) Handle the case of reading an attribute. The result is what is returned to the caller | |
| handleWrite | back to summary |
|---|---|
| protected abstract Object handleWrite(Object target, String attributeName, Object oldValue, Object newValue) Handle the case of writing an attribute. The result is what is set as the entity state | |
| readBoolean | back to summary |
|---|---|
| public boolean readBoolean(Object obj, String name, boolean oldValue) Implements org.
| |
| readByte | back to summary |
|---|---|
| public byte readByte(Object obj, String name, byte oldValue) Implements org.
| |
| readChar | back to summary |
|---|---|
| public char readChar(Object obj, String name, char oldValue) Implements org.
| |
| readDouble | back to summary |
|---|---|
| public double readDouble(Object obj, String name, double oldValue) Implements org.
| |
| readFloat | back to summary |
|---|---|
| public float readFloat(Object obj, String name, float oldValue) Implements org.
| |
| readInt | back to summary |
|---|---|
| public int readInt(Object obj, String name, int oldValue) Implements org.
| |
| readLong | back to summary |
|---|---|
| public long readLong(Object obj, String name, long oldValue) Implements org.
| |
| readObject | back to summary |
|---|---|
| public Object readObject(Object obj, String name, Object oldValue) Implements org.
| |
| readShort | back to summary |
|---|---|
| public short readShort(Object obj, String name, short oldValue) Implements org.
| |
| setSession | back to summary |
|---|---|
| public void setSession(SharedSessionContractImplementor session) Implements org.
| |
| unsetSession | back to summary |
|---|---|
| public void unsetSession() Implements org.
| |
| writeBoolean | back to summary |
|---|---|
| public boolean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue) Implements org.
| |
| writeByte | back to summary |
|---|---|
| public byte writeByte(Object obj, String name, byte oldValue, byte newValue) Implements org.
| |
| writeChar | back to summary |
|---|---|
| public char writeChar(Object obj, String name, char oldValue, char newValue) Implements org.
| |
| writeDouble | back to summary |
|---|---|
| public double writeDouble(Object obj, String name, double oldValue, double newValue) Implements org.
| |
| writeFloat | back to summary |
|---|---|
| public float writeFloat(Object obj, String name, float oldValue, float newValue) Implements org.
| |
| writeInt | back to summary |
|---|---|
| public int writeInt(Object obj, String name, int oldValue, int newValue) Implements org.
| |
| writeLong | back to summary |
|---|---|
| public long writeLong(Object obj, String name, long oldValue, long newValue) Implements org.
| |
| writeObject | back to summary |
|---|---|
| public Object writeObject(Object obj, String name, Object oldValue, Object newValue) Implements org.
| |
| writeShort | back to summary |
|---|---|
| public short writeShort(Object obj, String name, short oldValue, short newValue) Implements org.
| |