1 package uk.ac.vamsas.objects;
\r
3 import uk.ac.vamsas.client.IClientDocument;
\r
5 public class DocumentUpdaterEngine {
\r
6 private IDocumentUpdater hander;
\r
8 * initialise the engine with an implementation
\r
12 public DocumentUpdaterEngine(IDocumentUpdater hander) {
\r
14 this.hander = hander;
\r
17 * call the necessary update handlers at
\r
18 * each point on the VamsasDocument OM
\r
20 public void callHandlers(IClientDocument cdoc) {
\r
21 // TODO: walk down the hierarchy until we find an update and call the handler for it.
\r
22 // TODO: determine if the User, private or public appData has changed
\r