@Deprecated public class OnlyofficeEditorUIService extends Object
OnlyofficeEditorService.| Modifier and Type | Class and Description |
|---|---|
protected class |
OnlyofficeEditorUIService.EditorListener
Deprecated.
The listener interface for receiving editor events.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_NAME
Deprecated.
The Constant CACHE_NAME.
|
protected org.exoplatform.services.cache.ExoCache<String,String> |
editorsCache
Deprecated.
Cache of open by user editors (its states).
|
protected OnlyofficeEditorService |
editorService
Deprecated.
The editor service.
|
protected ReentrantLock |
editorsLock
Deprecated.
Lock for updating user editors cache.
|
protected static org.exoplatform.services.log.Log |
LOG
Deprecated.
The Constant LOG.
|
static String |
STATE_CLOSING
Deprecated.
The Constant STATE_CLOSING.
|
static String |
STATE_OPEN
Deprecated.
The Constant STATE_OPEN.
|
static String |
STATE_OPENING
Deprecated.
The Constant STATE_OPENING.
|
| Constructor and Description |
|---|
OnlyofficeEditorUIService(OnlyofficeEditorService editorService,
org.exoplatform.services.cache.CacheService cacheService)
Deprecated.
Instantiates a new onlyoffice editor UI service.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canClose(String userId,
String workspace,
String path)
Deprecated.
Can close.
|
boolean |
canOpen(String userId,
String workspace,
String path)
Deprecated.
Can open.
|
boolean |
canShow(String userId,
String workspace,
String path)
Deprecated.
Can show.
|
boolean |
close(String userId,
String workspace,
String path)
Deprecated.
Close.
|
boolean |
closed(String userId,
String workspace,
String path)
Deprecated.
Closed.
|
protected String |
editorId(String userId,
String workspace,
String path)
Deprecated.
Editor id.
|
boolean |
isClosed(String userId,
String workspace,
String path)
Deprecated.
Checks if is closed.
|
boolean |
isClosing(String userId,
String workspace,
String path)
Deprecated.
Checks if is closing.
|
boolean |
isOpen(String userId,
String workspace,
String path)
Deprecated.
Checks if is open.
|
boolean |
isOpening(String userId,
String workspace,
String path)
Deprecated.
Checks if is opening.
|
boolean |
open(String userId,
String workspace,
String path)
Deprecated.
Open.
|
boolean |
opened(String userId,
String workspace,
String path)
Deprecated.
Opened.
|
boolean |
reset(String userId,
String workspace,
String path)
Deprecated.
Reset.
|
public static final String CACHE_NAME
protected static final org.exoplatform.services.log.Log LOG
public static final String STATE_OPENING
public static final String STATE_OPEN
public static final String STATE_CLOSING
protected final org.exoplatform.services.cache.ExoCache<String,String> editorsCache
protected final ReentrantLock editorsLock
protected final OnlyofficeEditorService editorService
public OnlyofficeEditorUIService(OnlyofficeEditorService editorService, org.exoplatform.services.cache.CacheService cacheService)
editorService - the editor servicecacheService - the cache 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–2019 eXo Platform SAS. All rights reserved.