|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.sync.SyncStatus
public class SyncStatus
The synchronization status.
| Field Summary | |
|---|---|
protected int |
currentVersionNumber
The current version number. |
protected java.lang.String |
pageName
The name of the edited page. |
protected java.util.List<java.lang.String> |
versions
The list of versions. |
| Constructor Summary | |
|---|---|
SyncStatus(java.lang.String pageName,
java.lang.String version,
java.lang.String content)
Creates a new synchronization status. |
|
| Method Summary | |
|---|---|
void |
addVersion(java.lang.String newContent)
Adds a new version. |
java.lang.String |
getCurrentVersion()
|
int |
getCurrentVersionNumber()
|
java.lang.String |
getLastXWikiContent()
|
java.lang.String |
getLastXWikiVersion()
|
java.lang.String |
getVersion(int version)
|
java.util.List<java.lang.String> |
getVersions()
|
void |
setLastXWikiContent(java.lang.String version,
java.lang.String content)
Updates the state of the edited page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int currentVersionNumber
protected java.util.List<java.lang.String> versions
protected java.lang.String pageName
| Constructor Detail |
|---|
public SyncStatus(java.lang.String pageName,
java.lang.String version,
java.lang.String content)
pageName - the name of the edited pageversion - the version of the edited pagecontent - the content of the edited page| Method Detail |
|---|
public java.util.List<java.lang.String> getVersions()
versionspublic int getCurrentVersionNumber()
currentVersionNumberpublic java.lang.String getVersion(int version)
version - version index
public void addVersion(java.lang.String newContent)
newContent - the content for the new versionpublic java.lang.String getCurrentVersion()
public java.lang.String getLastXWikiVersion()
lastXWikiVersionpublic java.lang.String getLastXWikiContent()
lastXWikiContent
public void setLastXWikiContent(java.lang.String version,
java.lang.String content)
version - the current version of the edited pagecontent - the current content of the edited page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||