Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
AddEntitiesTransient
Add users to transient workspaces.
Parameters
Name Type Description

access

Boolean

Default value: TRUE

Set if the entity ( new gruop) has access

documentPaths

Set(String)

Default value: new HashSet<>()

Collection of file paths to use

emailMessage

String

emailSubject

String

folderPath

String

Folder path to use

includeAllSubItems

Boolean

Default value: false

isSendMail

boolean

Default value: false

newPermissions

PermissionFromUser

Required
Not null

Path permissions

role

String

The new role in the specified paths.

roomEntities

Set(PermittedEntityFromUser)

Default value: new HashSet<>()

Collection of entities to add

roomGroups

List(GroupAndMembers)

Default value: new ArrayList<>()

Collection of workspaces to use

workspaceUuid

String

Required
Not null

GUID of the workspace

Json Format
{
workspaceUuid: String,
folderPath: String,
documentPaths: Set(String),
roomEntities: Set(
{
address: String,
entityType: EntityType
}),
roomGroups: List(
{
groupName: String,
description: String,
membersList: List(
{
entity:
{
address: String,
entityType: EntityType
}
}),
managersList: List(
{
entity:
{
address: String,
entityType: EntityType
}
})
}),
newPermissions:
{
downloadOriginal: Boolean,
download: Boolean,
copy: Boolean,
print: Boolean,
edit: Boolean,
spotlight: Boolean,
watermark: Boolean,
expirationDate: Date,
defaultExpirationDays: Integer,
neverExpires: Boolean,
progAccess: Boolean,
comment: Boolean
},
role: String,
access: Boolean,
includeAllSubItems: Boolean,
emailSubject: String,
emailMessage: String,
isSendMail: Boolean
}