public class OnlyofficeEditorUIService extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
OnlyofficeEditorUIService.EditorListener
The listener interface for receiving editor events.
|
protected static class |
OnlyofficeEditorUIService.State
The Enum State.
|
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<String,OnlyofficeEditorUIService.State> |
editors
Open editors.
|
protected OnlyofficeEditorService |
editorService
The editor service.
|
| Constructor and Description |
|---|
OnlyofficeEditorUIService(OnlyofficeEditorService editorService)
Instantiates a new onlyoffice editor UI service.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canClose(String userId,
String workspace,
String path)
Can close.
|
boolean |
canOpen(String userId,
String workspace,
String path)
Can open.
|
boolean |
canShow(String userId,
String workspace,
String path)
Can show.
|
boolean |
close(String userId,
String workspace,
String path)
Close.
|
boolean |
closed(String userId,
String workspace,
String path)
Closed.
|
protected String |
editorId(String userId,
String workspace,
String path)
Editor id.
|
boolean |
isClosed(String userId,
String workspace,
String path)
Checks if is closed.
|
boolean |
isClosing(String userId,
String workspace,
String path)
Checks if is closing.
|
boolean |
isOpen(String userId,
String workspace,
String path)
Checks if is open.
|
boolean |
isOpening(String userId,
String workspace,
String path)
Checks if is opening.
|
boolean |
open(String userId,
String workspace,
String path)
Open.
|
boolean |
opened(String userId,
String workspace,
String path)
Opened.
|
boolean |
reset(String userId,
String workspace,
String path)
Reset.
|
protected final ConcurrentHashMap<String,OnlyofficeEditorUIService.State> editors
protected final OnlyofficeEditorService editorService
public OnlyofficeEditorUIService(OnlyofficeEditorService editorService)
editorService - the editor servicepublic boolean open(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean opened(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean close(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean closed(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean reset(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean isOpening(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean isOpen(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean isClosing(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean isClosed(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean canShow(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean canOpen(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathpublic boolean canClose(String userId, String workspace, String path)
userId - the user idworkspace - the workspacepath - the pathCopyright © 2003–2017 eXo Platform SAS. All rights reserved.