public class ListCollaborationsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ListCollaborationsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
ListCollaborationsManager() |
protected |
ListCollaborationsManager(ListCollaborationsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuth() |
CollaborationsOffsetPaginated |
getCollaborations(GetCollaborationsQueryParams queryParams)
Retrieves all pending collaboration invites for this user.
|
CollaborationsOffsetPaginated |
getCollaborations(GetCollaborationsQueryParams queryParams,
GetCollaborationsHeaders headers)
Retrieves all pending collaboration invites for this user.
|
Collaborations |
getFileCollaborations(String fileId)
Retrieves a list of pending and active collaborations for a file.
|
Collaborations |
getFileCollaborations(String fileId,
GetFileCollaborationsHeaders headers)
Retrieves a list of pending and active collaborations for a file.
|
Collaborations |
getFileCollaborations(String fileId,
GetFileCollaborationsQueryParams queryParams)
Retrieves a list of pending and active collaborations for a file.
|
Collaborations |
getFileCollaborations(String fileId,
GetFileCollaborationsQueryParams queryParams,
GetFileCollaborationsHeaders headers)
Retrieves a list of pending and active collaborations for a file.
|
Collaborations |
getFolderCollaborations(String folderId)
Retrieves a list of pending and active collaborations for a folder.
|
Collaborations |
getFolderCollaborations(String folderId,
GetFolderCollaborationsHeaders headers)
Retrieves a list of pending and active collaborations for a folder.
|
Collaborations |
getFolderCollaborations(String folderId,
GetFolderCollaborationsQueryParams queryParams)
Retrieves a list of pending and active collaborations for a folder.
|
Collaborations |
getFolderCollaborations(String folderId,
GetFolderCollaborationsQueryParams queryParams,
GetFolderCollaborationsHeaders headers)
Retrieves a list of pending and active collaborations for a folder.
|
CollaborationsOffsetPaginated |
getGroupCollaborations(String groupId)
Retrieves all the collaborations for a group.
|
CollaborationsOffsetPaginated |
getGroupCollaborations(String groupId,
GetGroupCollaborationsHeaders headers)
Retrieves all the collaborations for a group.
|
CollaborationsOffsetPaginated |
getGroupCollaborations(String groupId,
GetGroupCollaborationsQueryParams queryParams)
Retrieves all the collaborations for a group.
|
CollaborationsOffsetPaginated |
getGroupCollaborations(String groupId,
GetGroupCollaborationsQueryParams queryParams,
GetGroupCollaborationsHeaders headers)
Retrieves all the collaborations for a group.
|
NetworkSession |
getNetworkSession() |
public Authentication auth
public NetworkSession networkSession
public ListCollaborationsManager()
protected ListCollaborationsManager(ListCollaborationsManager.Builder builder)
public Collaborations getFileCollaborations(String fileId)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
public Collaborations getFileCollaborations(String fileId, GetFileCollaborationsQueryParams queryParams)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
queryParams - Query parameters of getFileCollaborations methodpublic Collaborations getFileCollaborations(String fileId, GetFileCollaborationsHeaders headers)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
headers - Headers of getFileCollaborations methodpublic Collaborations getFileCollaborations(String fileId, GetFileCollaborationsQueryParams queryParams, GetFileCollaborationsHeaders headers)
fileId - The unique identifier that represents a file.
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
queryParams - Query parameters of getFileCollaborations methodheaders - Headers of getFileCollaborations methodpublic Collaborations getFolderCollaborations(String folderId)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. Example: "12345"
public Collaborations getFolderCollaborations(String folderId, GetFolderCollaborationsQueryParams queryParams)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. Example: "12345"
queryParams - Query parameters of getFolderCollaborations methodpublic Collaborations getFolderCollaborations(String folderId, GetFolderCollaborationsHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. Example: "12345"
headers - Headers of getFolderCollaborations methodpublic Collaborations getFolderCollaborations(String folderId, GetFolderCollaborationsQueryParams queryParams, GetFolderCollaborationsHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. Example: "12345"
queryParams - Query parameters of getFolderCollaborations methodheaders - Headers of getFolderCollaborations methodpublic CollaborationsOffsetPaginated getCollaborations(GetCollaborationsQueryParams queryParams)
queryParams - Query parameters of getCollaborations methodpublic CollaborationsOffsetPaginated getCollaborations(GetCollaborationsQueryParams queryParams, GetCollaborationsHeaders headers)
queryParams - Query parameters of getCollaborations methodheaders - Headers of getCollaborations methodpublic CollaborationsOffsetPaginated getGroupCollaborations(String groupId)
Each collaboration object has details on which files or folders the group has access to and with what role.
groupId - The ID of the group. Example: "57645"public CollaborationsOffsetPaginated getGroupCollaborations(String groupId, GetGroupCollaborationsQueryParams queryParams)
Each collaboration object has details on which files or folders the group has access to and with what role.
groupId - The ID of the group. Example: "57645"queryParams - Query parameters of getGroupCollaborations methodpublic CollaborationsOffsetPaginated getGroupCollaborations(String groupId, GetGroupCollaborationsHeaders headers)
Each collaboration object has details on which files or folders the group has access to and with what role.
groupId - The ID of the group. Example: "57645"headers - Headers of getGroupCollaborations methodpublic CollaborationsOffsetPaginated getGroupCollaborations(String groupId, GetGroupCollaborationsQueryParams queryParams, GetGroupCollaborationsHeaders headers)
Each collaboration object has details on which files or folders the group has access to and with what role.
groupId - The ID of the group. Example: "57645"queryParams - Query parameters of getGroupCollaborations methodheaders - Headers of getGroupCollaborations methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()