org.xwiki.gwt.wysiwyg.client.plugin.sync
Class SyncResult

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncResult
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class SyncResult
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

The synchronization result.

Version:
$Id: SyncResult.java 32975 2010-11-19 10:09:01Z vmassol $

Field Summary
protected  Revision revision
          The revision that needs to be applied on the client in order to update its content to the latest version.
protected  boolean status
          The status.
protected  int version
          The new version.
 
Constructor Summary
SyncResult()
           
 
Method Summary
 Revision getRevision()
           
 int getVersion()
           
 boolean isStatus()
           
 void setRevision(Revision revision)
          Sets the revision.
 void setStatus(boolean status)
          Sets the status.
 void setVersion(int version)
          Sets the version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

revision

protected Revision revision
The revision that needs to be applied on the client in order to update its content to the latest version.


status

protected boolean status
The status.


version

protected int version
The new version.

Constructor Detail

SyncResult

public SyncResult()
Method Detail

getRevision

public Revision getRevision()
Returns:
revision

setRevision

public void setRevision(Revision revision)
Sets the revision.

Parameters:
revision - a revision

isStatus

public boolean isStatus()
Returns:
status

setStatus

public void setStatus(boolean status)
Sets the status.

Parameters:
status - the status

getVersion

public int getVersion()
Returns:
version

setVersion

public void setVersion(int version)
Sets the version.

Parameters:
version - the version number


Copyright © 2004-2011 XWiki. All Rights Reserved.