public class BoxCollabRequestObject extends BoxDefaultRequestObject
| Modifier and Type | Method and Description |
|---|---|
static BoxCollabRequestObject |
createCollabObject(String folderId,
String userId,
String login,
String role)
create a collaboration.
|
BoxCollabRequestObject |
setAccessibleBy(String userId,
String login) |
BoxCollabRequestObject |
setRole(String role)
Set the role.
|
BoxCollabRequestObject |
setStatus(String status) |
static BoxCollabRequestObject |
updateCollabObjects(String role)
update a collaboration.
|
getFromEntity, getJSONEntity, getRequestExtras, put, setPagepublic static BoxCollabRequestObject createCollabObject(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 BoxCollabRequestObject setAccessibleBy(String userId, String login)
userId - 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.)public static BoxCollabRequestObject updateCollabObjects(String role)
role - role/access level of this collaboration(This is a String defined in com.box.boxjavalibv2.dao.CollaborationRole.public BoxCollabRequestObject setRole(String role)
public BoxCollabRequestObject setStatus(String status)
Copyright © 2014. All Rights Reserved.