public class BoxCollaboration extends BoxTypedObject
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_ACCESSIBLE_BY |
static String |
FIELD_ACKNOWLEGED_AT |
static String |
FIELD_CREATED_BY |
static String |
FIELD_EXPIRES_AT |
static String |
FIELD_FOLDER |
static String |
FIELD_ROLE |
static String |
FIELD_STATUS |
static String |
STATUS_ACCEPTED
Collaboration invitation is accepted.
|
static String |
STATUS_PENDING
Collaboration invitation is pending.
|
static String |
STATUS_REJECTED
Collaboration invitation is rejected.
|
FIELD_CREATED_AT, FIELD_ID, FIELD_MODIFIED_AT, FIELD_TYPE
Constructor and Description |
---|
BoxCollaboration()
Constructor.
|
BoxCollaboration(BoxCollaboration obj)
Copy constructor, this does deep copy for all the fields.
|
BoxCollaboration(Map<String,Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
Date |
dateExpiresAt()
Get the time this collaboration expires.
|
BoxUser |
getAccessibleBy()
Get the user this collaboration applies to.
|
String |
getAcknowledgedAt()
Get the time when the status of this collaboration was changed.
|
BoxUser |
getCreatedBy()
Get the user creating this collaboration.
|
String |
getExpiresAt()
Get the time this collaboration expires.
|
BoxFolder |
getFolder()
Get the folder this collaboration is related to.
|
String |
getRole()
Get the role/permission.
|
String |
getStatus()
Get the status of this collaboration.
|
dateCreatedAt, dateModifiedAt, getCreatedAt, getId, getModifiedAt, getType, resourceType, setType
contains, equals, getExtraData, getKeySet, getValue, handleUnknown, hashCode, properties, put, putAll
toJSONString
public static final String FIELD_CREATED_BY
public static final String FIELD_EXPIRES_AT
public static final String FIELD_ACCESSIBLE_BY
public static final String FIELD_STATUS
public static final String FIELD_ACKNOWLEGED_AT
public static final String FIELD_FOLDER
public static final String FIELD_ROLE
public static final String STATUS_ACCEPTED
public static final String STATUS_PENDING
public static final String STATUS_REJECTED
public BoxCollaboration()
public BoxCollaboration(BoxCollaboration obj)
obj
- public BoxCollaboration(Map<String,Object> map)
map
- public BoxUser getCreatedBy()
public BoxUser getAccessibleBy()
public String getExpiresAt()
Date
bypublic Date dateExpiresAt() throws ParseException
ParseException
public String getStatus()
public String getRole()
public String getAcknowledgedAt()
Date
byCopyright © 2015 Nuxeo SA. All rights reserved.