From c27473dc597ba14552cea0ea3a8f38f08496bf22 Mon Sep 17 00:00:00 2001
From: jprocter <jprocter@compbio.dundee.ac.uk>
Date: Mon, 23 Jan 2006 10:54:24 +0000
Subject: [PATCH] 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
---
 src/org/vamsas/client/IClient.java |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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.
-- 
1.7.10.2