public class Permissions extends Object
| Modifier and Type | Field and Description |
|---|---|
private Boolean |
chat
Defines if the chat functionality is enabled in the document or not.
|
private Boolean |
comment
Defines if the document can be commented or not.
|
private CommentGroups |
commentGroups
Defines the
groups whose comments the
user can edit, remove and/or view. |
private Boolean |
copy
Defines if the content can be copied to the clipboard or not.
|
private Boolean |
deleteCommentAuthorOnly
Defines if the user can delete only his/her comments.
|
private Boolean |
download
Defines if the document can be downloaded or only viewed or edited online.
|
private Boolean |
edit
Defines if the document can be edited or only viewed.
|
private Boolean |
editCommentAuthorOnly
Defines if the user can edit only his/her comments.
|
private Boolean |
fillForms
Defines if the forms can be filled.
|
private Boolean |
modifyContentControl
Defines if the content control settings can be changed.
|
private Boolean |
modifyFilter
Defines if the filter can applied globally ("true") affecting all the other users, or locally ("false"), i.e.
|
private Boolean |
print
Defines if the document can be printed or not.
|
private Boolean |
protect
Defines if the "Protection" tab on the toolbar and the "Protect" button in the left menu are displayed ("true")
or hidden ("false").
|
private Boolean |
rename
Deprecated.
|
private Boolean |
review
Defines if the document can be reviewed or not.
|
private List<String> |
reviewGroups
Defines the
groups whose changes the user
can accept/reject. |
private List<String> |
userInfoGroups
Defines the groups of users whose information is displayed in the editors:
1) the usernames are displayed in the list of the editing users in the editor header,
2) when typing text, the user cursors and tooltips with their names are displayed,
3) when locking objects in the strict co-editing mode, the usernames are displayed.
|
| Constructor and Description |
|---|
Permissions() |
private Boolean chat
private Boolean comment
mode parameter is set to "edit". The default
value coincides with the value of the edit parameter.private CommentGroups commentGroups
groups whose comments the
user can edit, remove and/or view. The [""] value means that the user can edit/remove/view comments made by
someone who belongs to none of these groups (for example, if the document is reviewed in third-party editors).
If the value is [], the user cannot edit/remove/view comments made by any group. If the "edit", "remove" and
"view" parameters are "" or not specified, then the user can view/edit/remove comments made by any user.private Boolean copy
private Boolean deleteCommentAuthorOnly
private Boolean download
private Boolean edit
mode parameter is set to "edit".
The default value is "true".private Boolean editCommentAuthorOnly
private Boolean fillForms
private Boolean modifyContentControl
mode parameter is set to "edit".
The default value is "true".private Boolean modifyFilter
mode parameter is set to "edit".
The default value is "true".private Boolean print
private Boolean protect
@Deprecated private Boolean rename
private Boolean review
mode parameter is set to "edit".
The default value coincides with the value of the edit parameter.private List<String> reviewGroups
groups whose changes the user
can accept/reject. The [""] value means that the user can review changes made by someone who belongs to none of
these groups (for example, if the document is reviewed in third-party editors).
If the value is [], the user cannot review changes made by any group.
If the value is "" or not specified, then the user can review changes made by any user.private List<String> userInfoGroups
Copyright © 2023–2024. All rights reserved.