public class EditorService extends AbstractOfficeOnlineService
| Modifier and Type | Field and Description |
|---|---|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
ALGORITHM, authenticator, documentService, EXO_DATE_MODIFIED, EXO_LAST_MODIFIED_DATE, EXO_LAST_MODIFIER, EXO_NAME, EXO_OWNER, EXO_PRIVILEGEABLE, EXO_TITLE, identityRegistry, JCR_CONTENT, JCR_DATA, JCR_LAST_MODIFIED, JCR_MIME_TYPE, jcrService, KEY_CACHE_NAME, keyCache, MIX_VERSIONABLE, MSOFFICE_FILE, MSOFFICE_PREFERENCES, MSOFFICE_USER_PREFERENCES, nodeFinder, organization, PATH, SECRET_KEY, sessionProviders, TOKEN_DELIMITER, TOKEN_DELIMITER_PATTERN, TOKEN_EXPIRES, userACL, UTF_8, WOPITEST, WOPITESTX| Constructor and Description |
|---|
EditorService(org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.organization.OrganizationService organization,
org.exoplatform.services.cms.documents.DocumentService documentService,
org.exoplatform.services.cache.CacheService cacheService,
org.exoplatform.portal.config.UserACL userACL,
org.exoplatform.services.security.IdentityRegistry identityRegistry,
org.exoplatform.services.security.Authenticator authenticator,
org.exoplatform.services.cms.link.NodeFinder nodeFinder)
Instantiates a new editor service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createToken(String userId,
String fileId)
WARNING: ONLY FOR TESTING PURPOSES.
|
void |
start()
Start.
|
void |
stop()
Stop.
|
addFilePreferences, buildEditorConfig, createEditorConfig, explorerLink, explorerUri, generateAccessToken, getContent, getNode, getSize, getSymlink, getUser, getUserSession, nodeByUUID, nodeContent, nodeTitle, platformRestUrl, platformUrl, restoreConvoState, setUserConvoState, userIdentitypublic EditorService(org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.organization.OrganizationService organization,
org.exoplatform.services.cms.documents.DocumentService documentService,
org.exoplatform.services.cache.CacheService cacheService,
org.exoplatform.portal.config.UserACL userACL,
org.exoplatform.services.security.IdentityRegistry identityRegistry,
org.exoplatform.services.security.Authenticator authenticator,
org.exoplatform.services.cms.link.NodeFinder nodeFinder)
sessionProviders - the session providersjcrService - the jcr serviceorganization - the organizationdocumentService - the document servicecacheService - the cache serviceuserACL - the user ACLidentityRegistry - the identity registryauthenticator - the authenticatornodeFinder - the node finderpublic String createToken(String userId, String fileId) throws OfficeOnlineException
userId - the user idfileId - the file idOfficeOnlineException - the office online exceptionpublic void start()
public void stop()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.