Interface OnlyofficeEditorListener
public interface OnlyofficeEditorListener
Created by The eXo Platform SAS.
- Version:
- $Id: OnlyofficeEditorListener.java 00000 Mar 4, 2016 pnedonosko $
- Author:
- Peter Nedonosko
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe FILE_DELEDED_ERROR code. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidThe document content was written outside the editor session ofDocumentStatus.getConfig(): that session's key, and every other active key of the document, no longer matches the stored content.voidonCreate(DocumentStatus status) New editor just created.voidonError(DocumentStatus status) Error saving document in editor.voidonGet(DocumentStatus status) Existing editor obtained by user.voidonJoined(DocumentStatus status) User joined co-editing document (it's second or more user).voidonLeaved(DocumentStatus status) User leaved co-editing document (it's at least second user gone).voidonSaved(DocumentStatus status) Document was saved and editor released.
-
Field Details
-
FILE_DELETED_ERROR
static final long FILE_DELETED_ERRORThe FILE_DELEDED_ERROR code.- See Also:
-
-
Method Details
-
onCreate
-
onGet
-
onJoined
User joined co-editing document (it's second or more user).- Parameters:
status- the status
-
onLeaved
User leaved co-editing document (it's at least second user gone).- Parameters:
status- the status
-
onSaved
Document was saved and editor released.- Parameters:
status- the status
-
onError
Error saving document in editor. Error message if found, will be set in theConfig.getError().- Parameters:
status- the status
-
onContentUpdatedOutsideEditor
The document content was written outside the editor session ofDocumentStatus.getConfig(): that session's key, and every other active key of the document, no longer matches the stored content.- Parameters:
status- the status, its user is the one who wrote the content
-