public class TokenHolder extends Object
IObject
instances for special almost-administrative handling.
Identifies loose "ownership" of certain objects.IObject.getGraphHolder()
,
GraphHolder.hasToken()
Constructor and Description |
---|
TokenHolder() |
Modifier and Type | Method and Description |
---|---|
void |
clearToken(ome.model.internal.GraphHolder gh) |
void |
copyToken(ome.model.IObject source,
ome.model.IObject copy)
copy a token from one
IObject to another. |
boolean |
hasPrivilegedToken(ome.model.IObject obj) |
void |
setToken(ome.model.internal.GraphHolder gh) |
public void setToken(ome.model.internal.GraphHolder gh)
public void clearToken(ome.model.internal.GraphHolder gh)
public boolean hasPrivilegedToken(ome.model.IObject obj)
public void copyToken(ome.model.IObject source, ome.model.IObject copy)
IObject
to another. This is currently
insecure and should take a third token implying the rights to copy.
Should only be called by MergeEventListener
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.