Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
ChangeEntitiesTransient
Change multiple workspace member permissions for a transient workspace.
Parameters
Name Type Description

documentPaths

Set(String)

Default value: new HashSet<>()

Files to add to the path

folderPaths

Set(String)

Default value: new HashSet<>()

Folders to add to the path

forceAction

Boolean

Not null
Default value: FALSE

Whether to do the action on the entities that haven't failed (true) Or through error on first error found (false)

forceInheritanceOnDescendants

Boolean

Not null
Default value: FALSE

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)

permittedEntitiesWithPermissions

Set(PermittedEntityWithPermissionsFromUser)

Required
Not null

The entities with their new permissions

workspaceUuid

String

Required
Not null

The workspace's UUID

Json Format
{
workspaceUuid: String,
permittedEntitiesWithPermissions: Set(
{
permittedEntity:
{
address: String,
entityType: EntityType
},
permissions:
{
downloadOriginal: Boolean,
download: Boolean,
copy: Boolean,
print: Boolean,
edit: Boolean,
spotlight: Boolean,
watermark: Boolean,
expirationDate: Date,
defaultExpirationDays: Integer,
neverExpires: Boolean,
progAccess: Boolean,
comment: Boolean
},
isDefault: Boolean,
revokePermissions: Boolean,
role: String
}),
folderPaths: Set(String),
documentPaths: Set(String),
forceAction: Boolean,
forceInheritanceOnDescendants: Boolean
}