|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.sharing.DefaultStructureSharingDelegate
Default structure sharing delegate. Methods in this class do nothing
or return empty lists.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
DefaultStructureSharingDelegate()
|
Method Summary | |
static ObjectIdentifier |
getOid(Object object)
|
QueryResult |
getStructureObjects(Persistable struct_handle)
Returns all objects in the structure to be shared given the handle. |
void |
processCheckIn(Iterated object)
Adds and removes shared objects. |
void |
processCreateLink(BinaryLink link)
Adds new objects to be shared. |
void |
processDeleteLink(Class link_class,
QueryKey role_a_id,
QueryKey role_b_id)
Removes new objects from the shared table. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(DefaultStructureSharingDelegate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public DefaultStructureSharingDelegate()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(DefaultStructureSharingDelegate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public QueryResult getStructureObjects(Persistable struct_handle) throws WTException
getStructureObjects
in interface StructureSharingDelegate
struct_handle
-
WTException
public void processCreateLink(BinaryLink link) throws WTException
processCreateLink
in interface StructureSharingDelegate
link
-
WTException
public void processDeleteLink(Class link_class, QueryKey role_a_id, QueryKey role_b_id)
processDeleteLink
in interface StructureSharingDelegate
link_class
- role_a_id
- role_b_id
- public void processCheckIn(Iterated object) throws WTException
Iterated
object is created. Typically when an object is checked
in, new relationships are added or removed and new shared objects
may be added or removed.
processCheckIn
in interface StructureSharingDelegate
object
-
WTException
public static ObjectIdentifier getOid(Object object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |