public class UpdateFilter
extends ome.util.ContextFilter
collections or arrays are passed into the
UpdateImpl save methods.IUpdate,
UpdateImpl| Constructor and Description |
|---|
UpdateFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
alreadySeen(java.lang.Object o) |
java.util.Collection |
filter(java.lang.String fieldId,
java.util.Collection c)
overrides
ContextFilter.filter(String, Collection) to return
previously checked collections. |
ome.util.Filterable |
filter(java.lang.String fieldId,
ome.util.Filterable f)
overrides
ContextFilter.filter(String, Filterable) to return
previously merged or previously checked items. |
java.util.Map |
filter(java.lang.String fieldId,
java.util.Map m)
Prevents CountPerOwner from being loaded unnecessarily.
|
java.lang.Object |
filter(java.lang.String fieldId,
java.lang.Object o)
overrides
ContextFilter.filter(String, Object) to allow only
certain types to enter the Hibernate system |
protected boolean |
hasReplacement(java.lang.Object o) |
protected java.lang.Object |
returnSeen(java.lang.Object o) |
void |
unloadReplacedObjects()
provides an external hook to unload all files which have already been
merged.
|
public void unloadReplacedObjects()
Merging produces a copy of an entity, so that all old entities should be
considered stale. By unloading them, one is forcing the API user to use
the replacement
instead.
The replacement is set by MergeEventListener and this is the
signal that that entity can be unloaded. Usually, this method is invoked
by UpdateImpl
MergeEventListener,
UpdateImpl,
IObject.unload()public java.lang.Object filter(java.lang.String fieldId,
java.lang.Object o)
ContextFilter.filter(String, Object) to allow only
certain types to enter the Hibernate systemfilter in interface ome.util.Filterfilter in class ome.util.ContextFilterpublic ome.util.Filterable filter(java.lang.String fieldId,
ome.util.Filterable f)
ContextFilter.filter(String, Filterable) to return
previously merged or previously checked items.filter in interface ome.util.Filterfilter in class ome.util.ContextFilterpublic java.util.Collection filter(java.lang.String fieldId,
java.util.Collection c)
ContextFilter.filter(String, Collection) to return
previously checked collections.filter in interface ome.util.Filterfilter in class ome.util.ContextFilterpublic java.util.Map filter(java.lang.String fieldId,
java.util.Map m)
filter in interface ome.util.Filterfilter in class ome.util.ContextFilterprotected boolean hasReplacement(java.lang.Object o)
protected boolean alreadySeen(java.lang.Object o)
protected java.lang.Object returnSeen(java.lang.Object o)