updated to castor-0.9.9M2 and added some comments
[vamsas.git] / src / org / vamsas / client / ClientDocument.java
1 /*
2  *
3  */
4 package org.vamsas.client;
5
6 import java.util.Hashtable;
7
8 /**
9  * @author jimp
10  * Contains a collection of vamsas objects and reference 
11  * to a specified ClientHandle's information.
12  */
13 public class ClientDocument implements IClientDocument {
14   IClient vorba;
15         /* (non-Javadoc)
16    * @see org.vamsas.client.IClientDocument#getApplicationData()
17    */
18   public byte[] getApplicationData() {
19     // Look up client byte stash using client and user handle
20     
21     return null;
22   }
23   /* (non-Javadoc)
24    * @see org.vamsas.client.IClientDocument#getObject(org.vamsas.client.VorbaId)
25    */
26   public object getObject(VorbaId id) {
27     // look up id in document object
28     // retrieve object and return
29     return null;
30   }
31   /* (non-Javadoc)
32    * @see org.vamsas.client.IClientDocument#getObjects(org.vamsas.client.VorbaId[])
33    */
34   public object[] getObjects(VorbaId[] ids) {
35     // getObject in bulk
36     return null;
37   }
38   /* (non-Javadoc)
39    * @see org.vamsas.client.IClientDocument#getVamsasRoots()
40    */
41   public object[] getVamsasRoots() {
42     // extract root objects
43     return null;
44   }
45   /* (non-Javadoc)
46    * @see org.vamsas.client.IClientDocument#registerObject(org.vamsas.client.object)
47    */
48   public VorbaId registerObject(object unregistered) {
49     // TODO Auto-generated method stub
50     return null;
51   }
52   /* (non-Javadoc)
53    * @see org.vamsas.client.IClientDocument#registerObjects(org.vamsas.client.object[])
54    */
55   public VorbaId[] registerObjects(object[] unregistered) {
56     // TODO Auto-generated method stub
57     return null;
58   }
59   /* (non-Javadoc)
60    * @see org.vamsas.client.IClientDocument#setApplicationData(byte[])
61    */
62   public void setApplicationData(byte[] newData) {
63     // TODO Auto-generated method stub
64
65   }
66   /**
67    * collection of org.vamsas.client.objects
68    */
69   Hashtable VamsasObjects;
70   byte[] appData;
71 }