Package org.exoplatform.onlyoffice
Class Config.Document
java.lang.Object
org.exoplatform.onlyoffice.Config.Document
- Enclosing class:
Config
The Onlyoffice Document.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Class EditPermissions.static classThe Class Info.static classstatic classThe Class Permissions. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StringThe file type.protected final Config.Document.InfoThe info.protected final StringThe key.protected final Config.Document.PermissionsThe permissions.protected final StringThe title.protected final StringThe url. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDocument(String key, String fileType, String title, String url, Config.Document.Info info, Config.Document.Permissions permissions) Instantiates a new document. -
Method Summary
Modifier and TypeMethodDescriptionprotected Config.DocumentFor user.Gets the file type.getInfo()Gets the info.getKey()Gets the key.Gets the permissions.getTitle()Gets the title.getUrl()Gets the url.
-
Field Details
-
fileType
The file type. -
key
The key. -
title
The title. -
url
The url. -
info
The info. -
permissions
The permissions.
-
-
Constructor Details
-
Document
protected Document(String key, String fileType, String title, String url, Config.Document.Info info, Config.Document.Permissions permissions) Instantiates a new document.- Parameters:
key- the keyfileType- the file typetitle- the titleurl- the urlinfo- the infopermissions- the permissions
-
-
Method Details
-
forUser
For user.- Parameters:
id- the idname- the nameurl- the url- Returns:
- the document
-
getFileType
Gets the file type.- Returns:
- the fileType
-
getKey
Gets the key.- Returns:
- the key
-
getTitle
Gets the title.- Returns:
- the title
-
getUrl
Gets the url.- Returns:
- the url
-
getInfo
Gets the info.- Returns:
- the info
-
getPermissions
Gets the permissions.- Returns:
- the permissions
-