public class BoxFolder extends BoxItem
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_FOLDER_UPLOAD_EMAIL |
static String |
FIELD_HAS_COLLABORATIONS |
static String |
FIELD_ITEM_COLLECTION |
FIELD_CREATED_BY, FIELD_DESCRIPTION, FIELD_ETAG, FIELD_ITEM_STATUS, FIELD_MODIFIED_BY, FIELD_NAME, FIELD_OWNED_BY, FIELD_PARENT, FIELD_PATH_COLLECTION, FIELD_SEQUENCE_ID, FIELD_SHARED_LINK, FIELD_SIZE, FIELD_TAGS
FIELD_CREATED_AT, FIELD_ID, FIELD_MODIFIED_AT, FIELD_TYPE
Constructor and Description |
---|
BoxFolder()
Constructor.
|
BoxFolder(BoxFolder obj)
Copy constructor, this does deep copy for all the fields.
|
BoxFolder(Map<String,Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
BoxEmail |
getFolderUploadEmail()
This is folder specific field, get the email that can be used to upload file into the folder.
|
BoxCollection |
getItemCollection()
Getter.Get the items(files, subfolders, web links...) under this box folder.
|
Boolean |
hasCollaborations()
Getter.Get whether this box folder has collaborations.
|
boolean |
hasCollaborations(boolean defaultValue) |
protected void |
setFolderUploadEmail(BoxEmail folderUploadEmail)
Setter.
|
protected void |
setHasCollaborations(Boolean hasCollaborations)
Setter.
|
protected void |
setItemCollection(BoxCollection itemCollection)
Setter.
|
getCreatedBy, getDescription, getEtag, getItemStatus, getModifiedBy, getName, getOwnedBy, getParent, getPathCollection, getSequenceId, getSharedLink, getSize, getTags
dateCreatedAt, dateModifiedAt, getCreatedAt, getId, getModifiedAt, getType, resourceType, setType
contains, equals, getExtraData, getKeySet, getValue, handleUnknown, hashCode, properties, put, putAll
toJSONString
public static final String FIELD_FOLDER_UPLOAD_EMAIL
public static final String FIELD_ITEM_COLLECTION
public static final String FIELD_HAS_COLLABORATIONS
public BoxFolder()
public BoxFolder(BoxFolder obj)
obj
- public BoxEmail getFolderUploadEmail()
protected void setFolderUploadEmail(BoxEmail folderUploadEmail)
folderUploadEmail
- public BoxCollection getItemCollection()
protected void setItemCollection(BoxCollection itemCollection)
itemCollection
- children item.public Boolean hasCollaborations()
public boolean hasCollaborations(boolean defaultValue)
protected void setHasCollaborations(Boolean hasCollaborations)
hasCollaborations
- whether folder has collaborations.Copyright © 2015 Nuxeo SA. All rights reserved.