DeferredChangeDetectionPolicy, ObjectChangeTrackingPolicy, ChangeTracker
| Access | Constructor and Description |
|---|---|
| public |
| AttributeChangeTrackingPolicy | back to summary |
|---|---|
| public AttributeChangeTrackingPolicy() | |
| buildBackupClone | back to summary |
|---|---|
| public Object buildBackupClone(Object clone, ObjectBuilder builder, UnitOfWorkImpl uow) Overrides org. Implements org. INTERNAL: Only build backup clone
| |
| calculateChangesForExistingObject | back to summary |
|---|---|
| public ObjectChangeSet calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent) Implements org. INTERNAL: PERF: Calculate change for the existing object, avoids check for new since already know. Avoid backup clone, as not used.
| |
| createObjectChangeSet | back to summary |
|---|---|
| public ObjectChangeSet createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor) INTERNAL: Create ObjectChangeSet
| |
| isAttributeChangeTrackingPolicy | back to summary |
|---|---|
| public boolean isAttributeChangeTrackingPolicy() Implements org. Used to track instances of the change policies without doing an instance of check
| |
| revertChanges | back to summary |
|---|---|
| public void revertChanges(Object clone, ClassDescriptor descriptor, UnitOfWorkImpl uow, Map<K, V> cloneMapping, boolean forRefresh) Overrides org. Implements org. INTERNAL: Clear the change set in the change event listener.
| |
| setAggregateChangeListener | back to summary |
|---|---|
| public void setAggregateChangeListener(Object parent, Object aggregate, UnitOfWorkImpl uow, ClassDescriptor descriptor, String mappingAttribute) Implements org. INTERNAL: Assign ChangeListener to an aggregate object
| |
| setChangeListener | back to summary |
|---|---|
| public PropertyChangeListener setChangeListener(Object clone, UnitOfWorkImpl uow, ClassDescriptor descriptor) Overrides org. Implements org. INTERNAL: Assign AttributeChangeListener to PropertyChangeListener
| |
| setChangeSetOnListener | back to summary |
|---|---|
| public void setChangeSetOnListener(ObjectChangeSet objectChangeSet, Object clone) Implements org. INTERNAL: Set the ObjectChangeSet on the Listener, initially used for aggregate support
| |
| updateListenerForSelfMerge | back to summary |
|---|---|
| public void updateListenerForSelfMerge(ObjectChangeListener listener, ForeignReferenceMapping mapping, Object source, Object target, UnitOfWorkImpl unitOfWork) Implements org. INTERNAL: In cases where a relationship with detached or new entities is merged into itself previous changes may have been recorded for the detached/new entity that need to be updated.
| |
| updateWithChanges | back to summary |
|---|---|
| public void updateWithChanges(Object object, ObjectChangeSet changeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor) Overrides org. Implements org. INTERNAL: Clear the change set in the change event listener.
| |