Class Items
java.lang.Object
com.blackberry.workspaces.sdk.api.resource.Items
public class Items extends Object
Functions for managing groups of items: documents, folders, workspaces
-
Constructor Summary
Constructors Constructor Description Items(NetworkConnectionManager connection, APISession apiSession)
-
Method Summary
Modifier and Type Method Description PagingItemListJson<BaseJson>
getAllFavoritesV30(ListAllFavoriteItemsJson listAllFavoriteItemsJson)
Gets a list of all starred (favorite) items workspaces, documents or folders for the userPagingItemListJson<BaseJson>
getFavoritesV30(ListFavoriteItemsJson listFavoriteItemsJson)
Gets a list of starred (favorite) items workspaces, documents or folders for the user under the specified locationItemListJson<SharedWithMeResponseJson>
getRecentSharedWithMeV30(RecentSharedWithMeJson recentSharedWithMeJson)
PagingItemListJson<SharedWithMeResponseJson>
getSharedWithMeV30(SharedWithMeJson sharedWithMeJson)
BulkOperationResultJson
markItemsFavoriteV30(MarkItemsStarredJson markItemsStarredJson)
Marks a specified list of items (folders, workspaces/rooms, documents) as starred or unstarred (favorite).
-
Constructor Details
-
Method Details
-
getAllFavoritesV30
public PagingItemListJson<BaseJson> getAllFavoritesV30(ListAllFavoriteItemsJson listAllFavoriteItemsJson)Gets a list of all starred (favorite) items workspaces, documents or folders for the user- Parameters:
listFavoriteItemsJson
-request
-response
-- Returns:
- A list of favorite objects
-
getFavoritesV30
Gets a list of starred (favorite) items workspaces, documents or folders for the user under the specified location- Parameters:
listFavoriteItemsJson
-request
-response
-- Returns:
- A list of favorite objects
-
getRecentSharedWithMeV30
public ItemListJson<SharedWithMeResponseJson> getRecentSharedWithMeV30(RecentSharedWithMeJson recentSharedWithMeJson) -
getSharedWithMeV30
public PagingItemListJson<SharedWithMeResponseJson> getSharedWithMeV30(SharedWithMeJson sharedWithMeJson) -
markItemsFavoriteV30
Marks a specified list of items (folders, workspaces/rooms, documents) as starred or unstarred (favorite).- Parameters:
markItemsSelectionJson
- a list of items and a mark for them.- Returns:
- bulkOperationResultJson - indicates if actions were successful or, if not, the problems.
-