public class ChangeEntityVdrJson extends BaseJson
Constructor and Description |
---|
ChangeEntityVdrJson() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Set description (only for groups)
|
PathOrFolderIdJson |
getFolderPathOrId() |
String |
getIdentifier()
Only for workspace groups - adds another identifier to find the group
by.
|
boolean |
getIsDefaultEntity()
Deprecated.
|
String |
getNewGroupName()
Only for workspace groups - change the workspace group name to the name
given here.
|
PermissionFromUserJson |
getNewPermissions()
Workspace permissions
|
PermittedEntityFromUserJson |
getPermittedEntity()
The entities to modify.
|
String |
getRole()
The new role in the workspace.
|
boolean |
isAddEntityToAllDocs()
If left empty will be treated as false.
|
boolean |
isApplyToExistingDocs()
Apply these permissions to the files this entity is already authorized
for.
|
boolean |
isIsDefaultEntity()
Set if the entity is default for workspace
|
void |
setAddEntityToAllDocs(boolean addEntityToAllDocs)
If left empty will be treated as false.
|
void |
setApplyToExistingDocs(boolean applyToExistingDocs)
Apply these permissions to the files this entity is already authorized
for.
|
void |
setDescription(String description)
Set description (only for groups)
|
void |
setFolderPathOrId(PathOrFolderIdJson folderPathOrId) |
void |
setIdentifier(String identifier)
Only for workspace groups - adds another identifier to find the group
by.
|
void |
setIsDefaultEntity(boolean isDefaultEntity)
Set if the entity is default for workspace
|
void |
setNewGroupName(String newGroupName)
Only for workspace groups - change the workspace group name to the name
given here.
|
void |
setNewPermissions(PermissionFromUserJson newPermissions)
Workspace permissions
|
void |
setPermittedEntity(PermittedEntityFromUserJson permittedEntity)
The entities to modify.
|
void |
setRole(String role)
The new role in the workspace.
|
getObjType, setObjType, toString
public String getIdentifier()
public void setIdentifier(String identifier)
identifier
- Only for workspace groups - adds another identifier
to find the group by. This identifier may be supplied instead of
workspace group name or address, in all workspace group based
operations.public PermittedEntityFromUserJson getPermittedEntity()
public void setPermittedEntity(PermittedEntityFromUserJson permittedEntity)
permittedEntity
- The entities to modify.public String getRole()
public void setRole(String role)
role
- The new role in the workspace.public boolean isAddEntityToAllDocs()
public void setAddEntityToAllDocs(boolean addEntityToAllDocs)
addEntityToAllDocs
- If left empty will be treated as false.public PathOrFolderIdJson getFolderPathOrId()
public void setFolderPathOrId(PathOrFolderIdJson folderPathOrId)
public String getNewGroupName()
public void setNewGroupName(String newGroupName)
newGroupName
- Only for workspace groups - change the workspace
group name to the name given here.public boolean isIsDefaultEntity()
@Deprecated public boolean getIsDefaultEntity()
public void setIsDefaultEntity(boolean isDefaultEntity)
isDefaultEntity
- Set if the entity is default for workspacepublic String getDescription()
public void setDescription(String description)
description
- Set description (only for groups)public PermissionFromUserJson getNewPermissions()
public void setNewPermissions(PermissionFromUserJson newPermissions)
newPermissions
- Workspace permissionspublic boolean isApplyToExistingDocs()
public void setApplyToExistingDocs(boolean applyToExistingDocs)
applyToExistingDocs
- Apply these permissions to the files this
entity is already authorized for.Copyright © 2019. All rights reserved.