public class BoxFolder extends BoxCollaborationItem
| Modifier and Type | Class and Description |
|---|---|
static class |
BoxFolder.SyncState
Enumerates the possible sync states that a folder can have.
|
BoxItem.PermissionBoxEntity.BoxEntityCreatorBoxJsonObject.BoxJsonObjectCreator<E extends BoxJsonObject>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
ALL_FIELDS |
static java.lang.String |
FIELD_CONTENT_CREATED_AT |
static java.lang.String |
FIELD_CONTENT_MODIFIED_AT |
static java.lang.String |
FIELD_FOLDER_UPLOAD_EMAIL |
static java.lang.String |
FIELD_ITEM_COLLECTION |
static java.lang.String |
FIELD_SHA1 |
static java.lang.String |
FIELD_SIZE |
static java.lang.String |
FIELD_SYNC_STATE |
static java.lang.String |
TYPE |
FIELD_ALLOWED_INVITEE_ROLES, FIELD_CAN_NON_OWNERS_INVITE, FIELD_HAS_COLLABORATIONS, FIELD_IS_EXTERNALLY_OWNEDFIELD_ALLOWED_SHARED_LINK_ACCESS_LEVELS, FIELD_COLLECTIONS, FIELD_CREATED_AT, FIELD_CREATED_BY, FIELD_DESCRIPTION, FIELD_ETAG, FIELD_ITEM_STATUS, FIELD_MODIFIED_AT, FIELD_MODIFIED_BY, FIELD_NAME, FIELD_OWNED_BY, FIELD_PARENT, FIELD_PATH_COLLECTION, FIELD_PERMISSIONS, FIELD_PURGED_AT, FIELD_SEQUENCE_ID, FIELD_SHARED_LINK, FIELD_SYNCED, FIELD_TAGS, FIELD_TRASHED_AT, mPermissionsFIELD_ID, FIELD_ITEM_ID, FIELD_ITEM_TYPE, FIELD_TYPE| Constructor and Description |
|---|
BoxFolder()
Constructs an empty BoxFolder object.
|
BoxFolder(com.eclipsesource.json.JsonObject object)
Constructs a BoxFolder with the provided map values.
|
| Modifier and Type | Method and Description |
|---|---|
static BoxFolder |
createFromId(java.lang.String folderId)
A convenience method to create an empty folder with just the id and type fields set.
|
static BoxFolder |
createFromIdAndName(java.lang.String folderId,
java.lang.String name)
A convenience method to create an empty folder with just the id and type fields set.
|
java.util.ArrayList<BoxSharedLink.Access> |
getAllowedSharedLinkAccessLevels()
Access level settings for shared links set by administrator.
|
java.util.Date |
getContentCreatedAt()
Gets the time that the item was created according to the uploader.
|
java.util.Date |
getContentModifiedAt()
Gets the time that the item was last modified according to the uploader.
|
BoxIteratorItems |
getItemCollection()
Gets collection of mini file, folder, and bookmark objects contained in this folder.
|
java.lang.Long |
getSize()
Gets the size of the item in bytes.
|
BoxFolder.SyncState |
getSyncState()
Gets the sync state of the folder.
|
BoxUploadEmail |
getUploadEmail()
Gets the upload email for the folder.
|
getAllowedInviteeRoles, getCanNonOwnersInvite, getHasCollaborations, getIsExternallyOwnedcreateBoxItemFromJson, createBoxItemFromJson, getCollections, getCommentCount, getCreatedAt, getCreatedBy, getDescription, getEtag, getIsSynced, getItemStatus, getModifiedAt, getModifiedBy, getName, getOwnedBy, getParent, getPathCollection, getPermissions, getPurgedAt, getSequenceID, getSharedLink, getTags, getTrashedAt, parsePermissionsaddEntityType, createEntityFromJson, createEntityFromJson, getBoxJsonObjectCreator, getId, getTypeaddInJsonArray, addInJsonArray, createFromJson, createFromJson, equals, getBoxJsonObjectCreator, getPropertiesKeySet, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsJsonArray, getPropertyAsJsonObject, getPropertyAsJsonObjectArray, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, getPropertyAsStringHashSet, getPropertyValue, hashCode, parseJSONMember, remove, set, set, set, set, set, set, set, set, set, toJson, toJsonObjectpublic static final java.lang.String TYPE
public static final java.lang.String FIELD_SHA1
public static final java.lang.String FIELD_FOLDER_UPLOAD_EMAIL
public static final java.lang.String FIELD_SYNC_STATE
public static final java.lang.String FIELD_ITEM_COLLECTION
public static final java.lang.String FIELD_SIZE
public static final java.lang.String FIELD_CONTENT_CREATED_AT
public static final java.lang.String FIELD_CONTENT_MODIFIED_AT
public static final java.lang.String[] ALL_FIELDS
public BoxFolder()
public BoxFolder(com.eclipsesource.json.JsonObject object)
object - JsonObject representing this classpublic static BoxFolder createFromId(java.lang.String folderId)
folderId - the id of folder to createpublic static BoxFolder createFromIdAndName(java.lang.String folderId, java.lang.String name)
folderId - the id of folder to createname - the name of the folder to createpublic BoxUploadEmail getUploadEmail()
public BoxFolder.SyncState getSyncState()
public BoxIteratorItems getItemCollection()
public java.util.ArrayList<BoxSharedLink.Access> getAllowedSharedLinkAccessLevels()
getAllowedSharedLinkAccessLevels in class BoxItempublic java.util.Date getContentCreatedAt()
BoxItemgetContentCreatedAt in class BoxItempublic java.lang.Long getSize()
BoxItempublic java.util.Date getContentModifiedAt()
BoxItemgetContentModifiedAt in class BoxItem