com.xpn.xwiki.wysiwyg.server.plugin.sync
Class XWikiSyncService

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.server.plugin.sync.XWikiSyncService
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, SyncService

public class XWikiSyncService
extends java.lang.Object
implements SyncService

XWiki specific implementation of SyncService.

Version:
$Id: XWikiSyncService.java 24746 2009-10-28 10:51:16Z mflorea $

Constructor Summary
XWikiSyncService()
           
 
Method Summary
 SyncResult syncEditorContent(Revision revision, java.lang.String pageName, int version, boolean syncReset)
          Synchronizes this editor with others that edit the same page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWikiSyncService

public XWikiSyncService()
Method Detail

syncEditorContent

public SyncResult syncEditorContent(Revision revision,
                                    java.lang.String pageName,
                                    int version,
                                    boolean syncReset)
Synchronizes this editor with others that edit the same page.

Specified by:
syncEditorContent in interface SyncService
Parameters:
revision - the changes to this editor's content, since the last update
pageName - the page being edited
version - the version affected by syncedRevision
syncReset - resets the sync server for this page
Returns:
the result of synchronizing this editor with others editing the same page
See Also:
SyncService.syncEditorContent(Revision, String, int, boolean)


Copyright © 2004-2010 XWiki. All Rights Reserved.