From: jprocter Date: Mon, 23 Jan 2006 10:54:24 +0000 (+0000) Subject: clarified the getSessionUrn function and added new importDocument method X-Git-Tag: Release_0.2~357 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c27473dc597ba14552cea0ea3a8f38f08496bf22;p=vamsas.git clarified the getSessionUrn function and added new importDocument method git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@163 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/client/IClient.java b/src/org/vamsas/client/IClient.java index 12ac53f..5c538b1 100644 --- a/src/org/vamsas/client/IClient.java +++ b/src/org/vamsas/client/IClient.java @@ -28,7 +28,7 @@ public interface IClient { public String getAbout(); /** - * TODO: Is this not be the same as the SessionUrn ? + * convenience method to get the SessionUrn as a string (for passing directly to a text box...). * @return current SessionUrn */ public String getSessionUrn(); @@ -91,6 +91,14 @@ public interface IClient { */ public void storeDocument(java.io.File location); /** + * Any application may call importDocument to merge a stored + * vamsasDocument into the current session. + * Note: use a IClientFactory's implementation to make sessions out of vamsas documnts + * TODO: LATER: VAMSAS: The IClient implementation will handle all ID 'relocations' + * @param location + */ + public void importDocument(java.io.File location); + /** * Add a listener to a particular event chain. * See org.vamsas.client.Events for allowed * values for EventChain.