DeferredChangeDetectionPolicy, ChangeTracker
| Access | Constructor and Description |
|---|---|
| public |
| ObjectChangeTrackingPolicy | back to summary |
|---|---|
| public ObjectChangeTrackingPolicy() | |
| clearChanges | back to summary |
|---|---|
| public void clearChanges(Object clone, UnitOfWorkImpl uow, ClassDescriptor descriptor, boolean forRefresh) Overrides org. Implements org. INTERNAL: Clear the changes in the ObjectChangeListener
| |
| dissableEventProcessing | back to summary |
|---|---|
| public void dissableEventProcessing(Object changeTracker) Implements org. INTERNAL: This method is used to disable changetracking temporarily
| |
| enableEventProcessing | back to summary |
|---|---|
| public void enableEventProcessing(Object changeTracker) Implements org. INTERNAL: This method is used to enable changetracking temporarily
| |
| initialize | back to summary |
|---|---|
| public void initialize(AbstractSession session, ClassDescriptor descriptor) Overrides org. Implements org. INTERNAL: initialize the Policy
| |
| isDeferredChangeDetectionPolicy | back to summary |
|---|---|
| public boolean isDeferredChangeDetectionPolicy() Implements org. Used to track instances of the change policies without doing an instance of check
| |
| isObjectChangeTrackingPolicy | back to summary |
|---|---|
| public boolean isObjectChangeTrackingPolicy() Implements org. Used to track instances of the change policies without doing an instance of check
| |
| raiseInternalPropertyChangeEvent | back to summary |
|---|---|
| public void raiseInternalPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue) Implements org. INTERNAL: This may cause a property change event to be raised to a listner in the case that a listener exists. If there is no listener then this call is a no-op
| |
| 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 ObjectChangeListener to PropertyChangeListener
| |
| shouldCompareExistingObjectForChange | back to summary |
|---|---|
| public boolean shouldCompareExistingObjectForChange(Object object, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor) Implements org. INTERNAL: Return true if the Object should be compared, false otherwise. In ObjectChangeTrackingPolicy or AttributeChangeTracking Policy this method will return true if the object is new, if the object is in the OptimisticReadLock list or if the listener.hasChanges() returns true.
| |