From: jprocter Date: Wed, 13 Dec 2006 16:45:02 +0000 (+0000) Subject: IObjectUpdate interface introduction. X-Git-Tag: Release_0.2~268 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=976cdda19a1aea2797ffe37bfdadff1066cc43c1;p=vamsas.git IObjectUpdate interface introduction. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@252 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/client/IObjectUpdate.java b/src/org/vamsas/client/IObjectUpdate.java index f725c3c..cda754d 100644 --- a/src/org/vamsas/client/IObjectUpdate.java +++ b/src/org/vamsas/client/IObjectUpdate.java @@ -6,7 +6,7 @@ package org.vamsas.client; * Introduced November 2006 Vamsas Meeting * TODO: verify this is sufficient for the per-object update event mechanism */ -interface IObjectUpdate { +public interface IObjectUpdate { /** * Called by the library to find out which vamsas document object this update handler is interested in * @return class that extends org.vamsas.Vobject diff --git a/src/org/vamsas/client/simpleclient/SimpleClient.java b/src/org/vamsas/client/simpleclient/SimpleClient.java index e21c359..ab9799e 100644 --- a/src/org/vamsas/client/simpleclient/SimpleClient.java +++ b/src/org/vamsas/client/simpleclient/SimpleClient.java @@ -23,6 +23,7 @@ import org.vamsas.client.ClientHandle; import org.vamsas.client.Events; import org.vamsas.client.IClient; import org.vamsas.client.IClientDocument; +import org.vamsas.client.IObjectUpdate; import org.vamsas.client.InvalidSessionUrnException; import org.vamsas.client.SessionHandle; import org.vamsas.client.UserHandle; @@ -388,4 +389,24 @@ public class SimpleClient implements IClient { // TODO LATER: implement SimpleClient.importDocument() log.error("importDocument is not yet implemented for a SimpleClient Session."); } + + public IObjectUpdate getUpdateHandler(Class rootObject) { + // TODO Auto-generated method stub + return null; + } + + public IObjectUpdate[] getUpdateHandlers() { + // TODO Auto-generated method stub + return null; + } + + public void removeUpdateHandler(Class rootObject) { + // TODO Auto-generated method stub + + } + + public void setUpdateHandler(IObjectUpdate handler) { + // TODO Auto-generated method stub + + } }