| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | CollectionRemoveAction(final PersistentCollection<?>
The collection to remove; must be non-null collection, final CollectionPersister The collection's persister persister, final Object The collection key id, final boolean Indicates if the snapshot is empty emptySnapshot, final EventSource The session session)Removes a persistent collection from its loaded owner. |
| public | CollectionRemoveAction(final Object
The collection's owner; must be non-null affectedOwner, final CollectionPersister The collection's persister persister, final Object The collection key id, final boolean Indicates if the snapshot is empty emptySnapshot, final EventSource The session session)Removes a persistent collection from a specified owner. |
| public | CollectionRemoveAction(final CollectionPersister
The collection's persister persister, final Object The collection key id, final EventSource The session session)Removes a persistent collection for an unloaded proxy. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | |
| private PostCollectionRemoveEvent | |
| private PreCollectionRemoveEvent | |
| private void | |
| private void |
| affectedOwner | back to summary |
|---|---|
| private final Object affectedOwner | |
| emptySnapshot | back to summary |
|---|---|
| private final boolean emptySnapshot | |
| CollectionRemoveAction | back to summary |
|---|---|
| public CollectionRemoveAction(final PersistentCollection<?> collection, final CollectionPersister persister, final Object id, final boolean emptySnapshot, final EventSource session) Removes a persistent collection from its loaded owner. Use this constructor when the collection is non-null.
| |
| CollectionRemoveAction | back to summary |
|---|---|
| public CollectionRemoveAction(final Object affectedOwner, final CollectionPersister persister, final Object id, final boolean emptySnapshot, final EventSource session) Removes a persistent collection from a specified owner. Use this constructor when the collection to be removed has not been loaded.
| |
| CollectionRemoveAction | back to summary |
|---|---|
| public CollectionRemoveAction(final CollectionPersister persister, final Object id, final EventSource session) Removes a persistent collection for an unloaded proxy. Use this constructor when the owning entity is has not been loaded.
| |
| execute | back to summary |
|---|---|
| public void execute() throws HibernateException Implements org. Doc from org. Execute this action.
| |
| getAffectedOwner | back to summary |
|---|---|
| public Object getAffectedOwner() | |
| newPostCollectionRemoveEvent | back to summary |
|---|---|
| private PostCollectionRemoveEvent newPostCollectionRemoveEvent() | |
| newPreCollectionRemoveEvent | back to summary |
|---|---|
| private PreCollectionRemoveEvent newPreCollectionRemoveEvent() | |
| postRemove | back to summary |
|---|---|
| private void postRemove() | |
| preRemove | back to summary |
|---|---|
| private void preRemove() | |