| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Object[] | |
| public EntityKey | |
| public String | |
| public <T extends EntityEntryExtraState> T | |
| public Serializable | |
| public Object[] | |
| public Object | |
| public LockMode | |
| public EntityPersister | |
| public Object | |
| public Status | |
| public Object | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true, if the entity is modifiable; false, otherwise,Can the entity be modified? |
| public boolean | |
| public boolean | |
| public void | |
| public void | postDelete()
After actually deleting a row, record the fact that the instance no longer exists in the database |
| public void | postInsert(Object[] insertedState)
After actually inserting a row, record the fact that the instance exists on the database (needed for identity-column key generation) |
| public void | postUpdate(Object
The entity instance entity, Object[] The state calculated after the update (becomes the
new updatedState, Object loaded state.The new version. nextVersion)Handle updating the internal state of the entry after actually performing the database update. |
| public boolean | Returns: true indicates that the entity could possibly be dirty and that dirty check
should happen; false indicates there is no way the entity can be dirtyThe entity to test entity)Not sure this is the best method name, but the general idea here is to return |
| public void | serialize(ObjectOutputStream
The stream to which we should write the serial data. oos)Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance. |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| addExtraState | back to summary |
|---|---|
| public void addExtraState(EntityEntryExtraState extraState) | |
| forceLocked | back to summary |
|---|---|
| public void forceLocked(Object entity, Object nextVersion) | |
| getDeletedState | back to summary |
|---|---|
| public Object[] getDeletedState() | |
| getEntityKey | back to summary |
|---|---|
| public EntityKey getEntityKey() Get the EntityKey based on this EntityEntry.
| |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() | |
| getExtraState | back to summary |
|---|---|
| public <T extends EntityEntryExtraState> T getExtraState(Class<T> extraStateType) | |
| getId | back to summary |
|---|---|
| public Serializable getId() | |
| getLoadedState | back to summary |
|---|---|
| public Object[] getLoadedState() | |
| getLoadedValue | back to summary |
|---|---|
| public Object getLoadedValue(String propertyName) | |
| getLockMode | back to summary |
|---|---|
| public LockMode getLockMode() | |
| getPersister | back to summary |
|---|---|
| public EntityPersister getPersister() | |
| getRowId | back to summary |
|---|---|
| public Object getRowId() | |
| getStatus | back to summary |
|---|---|
| public Status getStatus() | |
| getVersion | back to summary |
|---|---|
| public Object getVersion() | |
| isBeingReplicated | back to summary |
|---|---|
| public boolean isBeingReplicated() | |
| isExistsInDatabase | back to summary |
|---|---|
| public boolean isExistsInDatabase() | |
| isModifiableEntity | back to summary |
|---|---|
| public boolean isModifiableEntity() Can the entity be modified? The entity is modifiable if all of the following are true:
| |
| isNullifiable | back to summary |
|---|---|
| public boolean isNullifiable(boolean earlyInsert, SharedSessionContractImplementor session) | |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() | |
| overwriteLoadedStateCollectionValue | back to summary |
|---|---|
| public void overwriteLoadedStateCollectionValue(String propertyName, PersistentCollection collection) | |
| postDelete | back to summary |
|---|---|
| public void postDelete() After actually deleting a row, record the fact that the instance no longer exists in the database | |
| postInsert | back to summary |
|---|---|
| public void postInsert(Object[] insertedState) After actually inserting a row, record the fact that the instance exists on the database (needed for identity-column key generation) | |
| postUpdate | back to summary |
|---|---|
| public void postUpdate(Object entity, Object[] updatedState, Object nextVersion) Handle updating the internal state of the entry after actually performing the database update. Specifically we update the snapshot information and escalate the lock mode
| |
| requiresDirtyCheck | back to summary |
|---|---|
| public boolean requiresDirtyCheck(Object entity) Not sure this is the best method name, but the general idea here is to return
| |
| serialize | back to summary |
|---|---|
| public void serialize(ObjectOutputStream oos) throws IOException Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance.
| |
| setDeletedState | back to summary |
|---|---|
| public void setDeletedState(Object[] deletedState) | |
| setLockMode | back to summary |
|---|---|
| public void setLockMode(LockMode lockMode) | |
| setReadOnly | back to summary |
|---|---|
| public void setReadOnly(boolean readOnly, Object entity) | |
| setStatus | back to summary |
|---|---|
| public void setStatus(Status status) | |
| toString | back to summary |
|---|---|
public String toString()
| |