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
All Methods Instance Methods Concrete Methods 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 Detail
-
Items
public Items(NetworkConnectionManager connection, APISession apiSession)
-
-
Method Detail
-
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
public PagingItemListJson<BaseJson> getFavoritesV30(ListFavoriteItemsJson listFavoriteItemsJson)
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
public BulkOperationResultJson markItemsFavoriteV30(MarkItemsStarredJson markItemsStarredJson)
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.
-
-