package uk.ac.vamsas.objects; import uk.ac.vamsas.client.IClientDocument; public class DocumentUpdaterEngine { private IDocumentUpdater hander; /** * initialise the engine with an implementation * of the interface. * @param hander */ public DocumentUpdaterEngine(IDocumentUpdater hander) { super(); this.hander = hander; } /** * call the necessary update handlers at * each point on the VamsasDocument OM */ public void callHandlers(IClientDocument cdoc) { // TODO: walk down the hierarchy until we find an update and call the handler for it. // TODO: determine if the User, private or public appData has changed } }