public class BoxCollabRequestObject extends BoxDefaultRequestObject
| Modifier and Type | Method and Description |
|---|---|
static BoxCollabRequestObject |
createCollaborationObject(String folderId,
String userId,
String login,
String role)
Create an request object used to do create Collaboration request.
|
MapJSONStringEntity |
getAccessible_by() |
static BoxCollabRequestObject |
getAllCollaborationsRequestObject(String status)
Create an request object used to make get all collaborations request.
|
MapJSONStringEntity |
getItem() |
String |
getRole() |
String |
getStatus() |
BoxCollabRequestObject |
setStatus(String status) |
static BoxCollabRequestObject |
updateCollaborationObject(String role)
Create an v used to make update collaboration request.
|
addField, addFields, addHeader, addQueryParam, get, getEntity, getFields, getHeaders, getJSONEntity, getJSONParser, getQueryParams, put, put, put, setJSONParser, setPagepublic static BoxCollabRequestObject createCollaborationObject(String folderId, String userId, String login, String role)
folderId - id of the folderuserId - id of the user to collaborate, this is optional, if you don't want to supply a user id, use null.login - login email of the collaborator(Can be non-box email.)role - role/access level of this collaboration(This is a String defined in com.box.boxjavalibv2.dao.CollaborationRolepublic static BoxCollabRequestObject updateCollaborationObject(String role)
role - role/access level of this collaboration(This is a String defined in com.box.boxjavalibv2.dao.CollaborationRolepublic static BoxCollabRequestObject getAllCollaborationsRequestObject(String status)
status - status of the collaborations requested( This field is required and currently only support
com.box.boxjavalibv2.dao.BoxCollaboration.STATUS_PENDINGpublic MapJSONStringEntity getItem()
public MapJSONStringEntity getAccessible_by()
public String getRole()
public String getStatus()
public BoxCollabRequestObject setStatus(String status)
Copyright © 2014. All Rights Reserved.