|
||||||||||
| 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 String |
pageName
The name of the edited page. |
protected List<String> |
versions
The list of versions. |
| Constructor Summary | |
|---|---|
SyncStatus(String pageName,
String version,
String content)
Creates a new synchronization status. |
|
| Method Summary | |
|---|---|
void |
addVersion(String newContent)
Adds a new version. |
String |
getCurrentVersion()
|
int |
getCurrentVersionNumber()
|
String |
getLastXWikiContent()
|
String |
getLastXWikiVersion()
|
String |
getVersion(int version)
|
List<String> |
getVersions()
|
void |
setLastXWikiContent(String version,
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 List<String> versions
protected String pageName
| Constructor Detail |
|---|
public SyncStatus(String pageName,
String version,
String content)
pageName - the name of the edited pageversion - the version of the edited pagecontent - the content of the edited page| Method Detail |
|---|
public List<String> getVersions()
versionspublic int getCurrentVersionNumber()
currentVersionNumberpublic String getVersion(int version)
version - version index
public void addVersion(String newContent)
newContent - the content for the new versionpublic String getCurrentVersion()
public String getLastXWikiVersion()
lastXWikiVersionpublic String getLastXWikiContent()
lastXWikiContent
public void setLastXWikiContent(String version,
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 | |||||||||