clarified the getSessionUrn function and added new importDocument method
[vamsas.git] / src / org / vamsas / client / IClient.java
index 12ac53f..5c538b1 100644 (file)
@@ -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.