Methods Summary |
---|
public java.lang.Object | buildBackupClone(java.lang.Object clone, oracle.toplink.essentials.internal.descriptors.ObjectBuilder builder, oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl uow)INTERNAL:
Build back up clone.
|
public oracle.toplink.essentials.internal.sessions.ObjectChangeSet | calculateChanges(java.lang.Object clone, java.lang.Object backUp, oracle.toplink.essentials.internal.sessions.UnitOfWorkChangeSet changes, oracle.toplink.essentials.internal.sessions.AbstractSession session, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, boolean shouldRiseEvent)INTERNAL:
calculateChanges creates a change set for a particular object
|
public void | clearChanges(java.lang.Object object, oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl uow, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)INTERNAL:
This is a place holder for reseting the listener on one of the subclasses
|
public oracle.toplink.essentials.internal.sessions.ObjectChangeSet | createObjectChangeSetThroughComparison(java.lang.Object clone, java.lang.Object backUp, oracle.toplink.essentials.internal.sessions.UnitOfWorkChangeSet changeSet, boolean isNew, oracle.toplink.essentials.internal.sessions.AbstractSession session, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)INTERNAL:
Create ObjectChangeSet through comparison. Used in cases where we need to force change calculation (ie aggregates)
|
public void | dissableEventProcessing(java.lang.Object changeTracker)INTERNAL:
This method is used to dissable changetracking temporarily
|
public void | enableEventProcessing(java.lang.Object changeTracker)INTERNAL:
This method is used to enable changetracking temporarily
|
public void | initialize(oracle.toplink.essentials.internal.sessions.AbstractSession session, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)INTERNAL:
initialize the Policy
|
public boolean | isAttributeChangeTrackingPolicy()Used to track instances of the change policies without doing an instance of check
|
public boolean | isDeferredChangeDetectionPolicy()Used to track instances of the change policies without doing an instance of check
|
public boolean | isObjectChangeTrackingPolicy()Used to track instances of the change policies without doing an instance of check
|
public void | raiseInternalPropertyChangeEvent(java.lang.Object source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)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
|
public void | revertChanges(java.lang.Object clone, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl uow, oracle.toplink.essentials.internal.helper.IdentityHashtable cloneMapping)INTERNAL:
This method is used to revert an object within the unit of work
|
public void | setAggregateChangeListener(java.lang.Object parent, java.lang.Object aggregate, oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl uow, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, java.lang.String mappingAttribute)INTERNAL:
Assign Changelistner to an aggregate object
|
public void | setChangeListener(java.lang.Object clone, oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl uow, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)INTERNAL:
Assign appropriate ChangeListener to PropertyChangeListener based on the policy.
|
public void | setChangeSetOnListener(oracle.toplink.essentials.internal.sessions.ObjectChangeSet objectChangeSet, java.lang.Object clone)INTERNAL:
Set the ObjectChangeSet on the Listener, initially used for aggregate support
|
public boolean | shouldCompareForChange(java.lang.Object object, oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl unitOfWork, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)INTERNAL:
Return true if the Object should be compared, false otherwise. This method is implemented to allow
run time determination of whether a change set should be computed for an object. In general, calculateChanges()
will only be executed in a UnitOfWork if this method returns true.
|
public void | updateWithChanges(java.lang.Object clone, oracle.toplink.essentials.internal.sessions.ObjectChangeSet objectChangeSet, oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl uow, oracle.toplink.essentials.descriptors.ClassDescriptor descriptor)INTERNAL:
This method is used internally to rest the policies back to original state
This is used when the clones are to be reused.
|