|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ComponentRole public interface SyncEngine
This class is responsible for synchronizing the editors when the real-time editing is enabled.
| Method Summary | |
|---|---|
SyncStatus |
getSyncStatus(java.lang.String key)
|
void |
setSyncStatus(java.lang.String key,
SyncStatus syncStatus)
Sets the status of a synchronization key. |
SyncResult |
sync(SyncStatus syncStatus,
Revision revision,
int version)
Commits the given revision and updates the status. |
| Method Detail |
|---|
SyncStatus getSyncStatus(java.lang.String key)
key - a synchronization key; this can be for instance the full name of the edited page
void setSyncStatus(java.lang.String key,
SyncStatus syncStatus)
key - the synchronization keysyncStatus - the new status for the given key
SyncResult sync(SyncStatus syncStatus,
Revision revision,
int version)
throws SyncException
syncStatus - the latest version of the contentrevision - the revision to be committedversion - the revision version; specifies what version is affected by the given revision
SyncException - if the synchronization fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||