Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
ValidateDownloadDocumentsSelectionVdr
Used when validating files for download
Parameters
Name Type Description

documentGuids

Set(String)

Not null
Default value: new HashSet<>()

A list of file guids.

downloadType

DownloadTypes

Not null
Default value: MAX_ALLOWED

Download type.

Possible values: [MAX_ALLOWED, ORIGINAL, PROTECTED, ENCRYPTED].

folderGuids

Set(String)

Not null
Default value: new HashSet<>()

List of folder guids

folderIds

Set(Integer)

Not null
Default value: new HashSet<>()

List of folder ids

folderPaths

Set(String)

Not null
Default value: new HashSet()

A list of folder paths

forceAction

Boolean

Not null
Default value: true

Force the action even if not allowed for all files provided (only allowed files will be affected). Not all operations support this parameter.

shouldAggregateMessage

Boolean

Not null
Default value: TRUE

Should aggregate messgae

shouldInitiatePdfConversion

boolean

Deprecated
Default value: false

Not in use - newer versions will always initiate PDF conversion if required

Json Format
{
folderPaths: Set(String),
folderIds: Set(Integer),
folderGuids: Set(String),
documentGuids: Set(String),
forceAction: Boolean,
shouldAggregateMessage: Boolean,
downloadType: DownloadTypes,
shouldInitiatePdfConversion: Boolean
}