Class ChangeEntitiesVdrJson
- java.lang.Object
-
- com.blackberry.workspaces.sdk.api.json.BaseJson
-
- com.blackberry.workspaces.sdk.api.json.ChangeEntitiesVdrJson
-
- All Implemented Interfaces:
Serializable
public class ChangeEntitiesVdrJson extends BaseJson
Change multiple workspace member permissions for a workspace.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChangeEntitiesVdrJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathOrFolderIdJson
getFolderPathOrId()
Id or path of a single folder to modifySet<PathOrFolderIdJson>
getFolderPathsOrIds()
Id or paths of multiple folders to modifyBoolean
getForceAction()
Whether to do the action on the entities that haven't failed (true) Or through error on first error found (false)Boolean
getForceInheritanceOnDescendants()
if set to TRUE, all subfolders and files of the input folders will inherit permissions and get their parents' permissions (including the change made by this operation)Set<PermittedEntityWithPermissionsFromUserJson>
getPermittedEntitiesWithPermissions()
The entities with their new permissions.String
getRoomGuid()
Guid of the workspace where the folder existsInteger
getRoomId()
Id of the workspace where the folder existsvoid
setFolderPathOrId(PathOrFolderIdJson folderPathOrId)
Id or path of a single folder to modifyvoid
setFolderPathsOrIds(Set<PathOrFolderIdJson> folderPathsOrIds)
Id or paths of multiple folders to modifyvoid
setForceAction(Boolean forceAction)
Whether to do the action on the entities that haven't failed (true) Or through error on first error found (false)void
setForceInheritanceOnDescendants(Boolean forceInheritanceOnDescendants)
if set to TRUE, all subfolders and files of the input folders will inherit permissions and get their parents' permissions (including the change made by this operation)void
setPermittedEntitiesWithPermissions(Set<PermittedEntityWithPermissionsFromUserJson> permittedEntitiesWithPermissions)
The entities with their new permissions.void
setRoomGuid(String roomGuid)
Guid of the workspace where the folder existsvoid
setRoomId(Integer roomId)
Id of the workspace where the folder exists-
Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getRoomGuid
public String getRoomGuid()
Guid of the workspace where the folder exists- Returns:
- Guid of the workspace where the folder exists
-
setRoomGuid
public void setRoomGuid(String roomGuid)
Guid of the workspace where the folder exists- Parameters:
roomGuid
- Guid of the workspace where the folder exists
-
getPermittedEntitiesWithPermissions
public Set<PermittedEntityWithPermissionsFromUserJson> getPermittedEntitiesWithPermissions()
The entities with their new permissions.- Returns:
- The entities with their new permissions.
-
setPermittedEntitiesWithPermissions
public void setPermittedEntitiesWithPermissions(Set<PermittedEntityWithPermissionsFromUserJson> permittedEntitiesWithPermissions)
The entities with their new permissions.- Parameters:
permittedEntitiesWithPermissions
- The entities with their new permissions.
-
getFolderPathOrId
public PathOrFolderIdJson getFolderPathOrId()
Id or path of a single folder to modify- Returns:
- Id or path of a single folder to modify
-
setFolderPathOrId
public void setFolderPathOrId(PathOrFolderIdJson folderPathOrId)
Id or path of a single folder to modify- Parameters:
folderPathOrId
- Id or path of a single folder to modify
-
getFolderPathsOrIds
public Set<PathOrFolderIdJson> getFolderPathsOrIds()
Id or paths of multiple folders to modify- Returns:
- Id or paths of multiple folders to modify
-
setFolderPathsOrIds
public void setFolderPathsOrIds(Set<PathOrFolderIdJson> folderPathsOrIds)
Id or paths of multiple folders to modify- Parameters:
folderPathsOrIds
- Id or paths of multiple folders to modify
-
getForceInheritanceOnDescendants
public Boolean getForceInheritanceOnDescendants()
if set to TRUE, all subfolders and files of the input folders will inherit permissions and get their parents' permissions (including the change made by this operation)- Returns:
- if set to TRUE, all subfolders and files of the input folders will inherit permissions and get their parents' permissions (including the change made by this operation)
-
setForceInheritanceOnDescendants
public void setForceInheritanceOnDescendants(Boolean forceInheritanceOnDescendants)
if set to TRUE, all subfolders and files of the input folders will inherit permissions and get their parents' permissions (including the change made by this operation)- Parameters:
forceInheritanceOnDescendants
- if set to TRUE, all subfolders and files of the input folders will inherit permissions and get their parents' permissions (including the change made by this operation)
-
getRoomId
public Integer getRoomId()
Id of the workspace where the folder exists- Returns:
- Id of the workspace where the folder exists
-
setRoomId
public void setRoomId(Integer roomId)
Id of the workspace where the folder exists- Parameters:
roomId
- Id of the workspace where the folder exists
-
getForceAction
public Boolean getForceAction()
Whether to do the action on the entities that haven't failed (true) Or through error on first error found (false)- Returns:
- Whether to do the action on the entities that haven't failed (true) Or through error on first error found (false)
-
setForceAction
public void setForceAction(Boolean forceAction)
Whether to do the action on the entities that haven't failed (true) Or through error on first error found (false)- Parameters:
forceAction
- Whether to do the action on the entities that haven't failed (true) Or through error on first error found (false)
-
-