Class UploadFilesExample
- java.lang.Object
-
- com.blackberry.workspaces.sdk.api.examples.UploadFilesExample
-
public class UploadFilesExample extends Object
Examples of uploading a file- Author:
- tasfaw
-
-
Constructor Summary
Constructors Constructor Description UploadFilesExample(APISession apiSession)
Creates an instances of the UploadFilesExample class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadResult
uploadDocument(String localPath, String filename, HashSet<String> userRecipients, HashSet<String> ADGroupsRecipients, HashSet<String> listRecipients)
UploadDocumentUploadResult
uploadDocumentToRoom(int roomId, String destinationFileName, String filename, String folder, List<String> groups, List<String> domains)
UploadDocumentToRoom
-
-
-
Constructor Detail
-
UploadFilesExample
public UploadFilesExample(APISession apiSession)
Creates an instances of the UploadFilesExample class- Parameters:
apiSession
- An ApiSession instance to be used.
-
-
Method Detail
-
uploadDocument
public UploadResult uploadDocument(String localPath, String filename, HashSet<String> userRecipients, HashSet<String> ADGroupsRecipients, HashSet<String> listRecipients)
UploadDocument- Parameters:
localPath
-filename
-userRecipients
-ADGroupsRecipients
-listRecipients
-- Returns:
-
-