public class BoxItem extends BoxTypedObject
BoxFileV2
/BoxFolder
/...)Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FIELD_ALLOWED_SHARED_LINK_ACCESS_LEVELS |
static java.lang.String |
FIELD_CREATED_BY |
static java.lang.String |
FIELD_DESCRIPTION |
static java.lang.String |
FIELD_ETAG |
static java.lang.String |
FIELD_ITEM_STATUS |
static java.lang.String |
FIELD_MODIFIED_BY |
static java.lang.String |
FIELD_NAME |
static java.lang.String |
FIELD_OWNED_BY |
static java.lang.String |
FIELD_PARENT |
static java.lang.String |
FIELD_PATH_COLLECTION |
static java.lang.String |
FIELD_SEQUENCE_ID |
static java.lang.String |
FIELD_SHARED_LINK |
static java.lang.String |
FIELD_SIZE |
static java.lang.String |
FIELD_TAGS |
FIELD_CREATED_AT, FIELD_ID, FIELD_MODIFIED_AT, FIELD_TYPE
Constructor and Description |
---|
BoxItem() |
BoxItem(BoxItem obj)
Copy constructor, this does deep copy for all the fields.
|
BoxItem(IBoxParcelWrapper in) |
BoxItem(java.util.Map<java.lang.String,java.lang.Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAllowedSharedLinkAccessLevels()
Get a list of the allowed shared link access levels for this item.
|
BoxUser |
getCreatedBy()
Get the user creating this item.
|
java.lang.String |
getDescription()
Get description of the item.
|
java.lang.String |
getEtag()
Get etag.
|
java.lang.String |
getItemStatus()
Get the status of this item, which indicates whether this item is deleted or not.
|
BoxUser |
getModifiedBy()
Get the user last modified the item.
|
java.lang.String |
getName()
Get name of the item.
|
BoxUser |
getOwnedBy()
Get owner of the item.
|
BoxFolder |
getParent()
Get parent folder.
|
BoxCollection |
getPathCollection()
Get the path of folders to this item, starting at the root.
|
java.lang.String |
getSequenceId()
Getter.
|
BoxSharedLink |
getSharedLink()
Get shared link of box item.
|
java.lang.Double |
getSize()
Get size of the box item.
|
java.lang.String[] |
getTags()
Get the tags that are set on this item.
|
dateCreatedAt, dateModifiedAt, getCreatedAt, getId, getModifiedAt, getType, resourceType, setType
contains, equals, extraProperties, getExtraData, getValue, handleUnknown, hashCode, put, writeToParcel
public static final java.lang.String FIELD_ETAG
public static final java.lang.String FIELD_SEQUENCE_ID
public static final java.lang.String FIELD_NAME
public static final java.lang.String FIELD_DESCRIPTION
public static final java.lang.String FIELD_SIZE
public static final java.lang.String FIELD_ITEM_STATUS
public static final java.lang.String FIELD_SHARED_LINK
public static final java.lang.String FIELD_CREATED_BY
public static final java.lang.String FIELD_MODIFIED_BY
public static final java.lang.String FIELD_OWNED_BY
public static final java.lang.String FIELD_PARENT
public static final java.lang.String FIELD_PATH_COLLECTION
public static final java.lang.String FIELD_TAGS
public static final java.lang.String FIELD_ALLOWED_SHARED_LINK_ACCESS_LEVELS
public BoxItem()
public BoxItem(BoxItem obj)
obj
- public BoxItem(java.util.Map<java.lang.String,java.lang.Object> map)
map
- public BoxItem(IBoxParcelWrapper in)
public BoxCollection getPathCollection()
public java.lang.String[] getTags()
public java.lang.String getSequenceId()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.Double getSize()
public BoxSharedLink getSharedLink()
public BoxUser getCreatedBy()
public BoxUser getModifiedBy()
public BoxUser getOwnedBy()
public BoxFolder getParent()
public java.lang.String getEtag()
public java.lang.String getItemStatus()
public java.lang.String[] getAllowedSharedLinkAccessLevels()