stub for the dom tree update event generator.
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 6 Mar 2007 12:57:09 +0000 (12:57 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 6 Mar 2007 12:57:09 +0000 (12:57 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@349 be28352e-c001-0410-b1a7-c7978e42abec

src/uk/ac/vamsas/objects/DocumentUpdaterEngine.java [new file with mode: 0644]

diff --git a/src/uk/ac/vamsas/objects/DocumentUpdaterEngine.java b/src/uk/ac/vamsas/objects/DocumentUpdaterEngine.java
new file mode 100644 (file)
index 0000000..370fcc8
--- /dev/null
@@ -0,0 +1,25 @@
+package uk.ac.vamsas.objects;\r
+\r
+import uk.ac.vamsas.client.IClientDocument;\r
+\r
+public class DocumentUpdaterEngine {\r
+  private IDocumentUpdater hander;\r
+  /**\r
+   * initialise the engine with an implementation\r
+   * of the interface.\r
+   * @param hander\r
+   */\r
+  public DocumentUpdaterEngine(IDocumentUpdater hander) {\r
+    super();\r
+    this.hander = hander;\r
+  }\r
+  /**\r
+   * call the necessary update handlers at\r
+   * each point on the VamsasDocument OM\r
+   */\r
+  public void callHandlers(IClientDocument cdoc) {\r
+    // TODO: walk down the hierarchy until we find an update and call the handler for it.\r
+    // TODO: determine if the User, private or public appData has changed\r
+  \r
+  }\r
+}\r