Class Config.Editor
java.lang.Object
org.exoplatform.onlyoffice.Config.Editor
- Enclosing class:
Config
The Onlyoffice Editor.
- Version:
- $Id: Editor.java 00000 Feb 12, 2016 pnedonosko $
- Author:
- Peter Nedonosko
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StringThe callback url.protected booleanprotected StringThe lang.protected StringThe mode.protected final Config.Editor.UserThe user. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEditor(String callbackUrl, String lang, String mode, Config.Editor.User user) Instantiates a new editor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Config.EditorFor user.Gets the callback url.getLang()Gets the language of user editor.getMode()Gets the mode.getUser()Gets the user.Is canAccessDocumentLocation.voidsetCanAccessDocumentLocation(boolean canAccess) Sets if can access to document path.voidSets the lang.voidSets the mode.
-
Field Details
-
callbackUrl
The callback url. -
user
The user. -
lang
The lang. -
mode
The mode. -
canAccessDocumentLocation
protected boolean canAccessDocumentLocation
-
-
Constructor Details
-
Editor
Instantiates a new editor.- Parameters:
callbackUrl- the callback urllang- the langmode- the modeuser- the user
-
-
Method Details
-
setCanAccessDocumentLocation
public void setCanAccessDocumentLocation(boolean canAccess) Sets if can access to document path.- Parameters:
canAccess- the can access variable
-
isCanAccessDocumentLocation
Is canAccessDocumentLocation.- Returns:
- the isCanAccessDocumentLocation
-
getCallbackUrl
-
getLang
Gets the language of user editor.- Returns:
- the lang can be
nullif unable to define from user profile
-
setLang
-
getMode
-
setMode
-
getUser
-
forUser
For user.- Parameters:
id- the idname- the namelang- the langcallbackUrl- the callback url- Returns:
- the editor
-