org.xwiki.gwt.wysiwyg.client.plugin.sync
Interface SyncService

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService

@ComponentRole
@RemoteServiceRelativePath(value="SyncService.gwtrpc")
public interface SyncService
extends com.google.gwt.user.client.rpc.RemoteService

The service interface used on the server.

Version:
$Id: SyncService.java 26786 2010-02-07 16:46:17Z mflorea $

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

Method Detail

syncEditorContent

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

Parameters:
syncedRevision - 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


Copyright © 2004-2011 XWiki. All Rights Reserved.