public class BoxFile extends BoxItem
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_COMMENT_COUNT |
static String |
FIELD_CONTENT_CREATED_AT |
static String |
FIELD_CONTENT_MODIFIED_AT |
static String |
FIELD_SHA1 |
static String |
FIELD_VERSION_NUMBER |
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 |
---|
BoxFile()
Constructor.
|
BoxFile(BoxFile obj)
Copy constructor, this does deep copy for all the fields.
|
BoxFile(Map<String,Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
Date |
dateContentCreatedAt()
Return the date content created on local machine, if this date was not provided when uploading the file, this
will be the time file was uploaded.
|
Date |
dateContentModifieddAt()
Return the date content last modified on local machine, if this date was not provided when uploading the file,
this will be the time file was uploaded.
|
Integer |
getCommentCount()
Get comment count of the file.
|
String |
getContentCreatedAt() |
String |
getContentModifiedAt() |
String |
getSha1()
Get sha1 of the file.
|
String |
getVersionNumber()
Get version number of the file.
|
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_SHA1
public static final String FIELD_VERSION_NUMBER
public static final String FIELD_COMMENT_COUNT
public static final String FIELD_CONTENT_CREATED_AT
public static final String FIELD_CONTENT_MODIFIED_AT
public BoxFile()
public BoxFile(BoxFile obj)
obj
- public String getContentCreatedAt()
public Date dateContentCreatedAt()
public String getContentModifiedAt()
public Date dateContentModifieddAt()
public String getVersionNumber()
public Integer getCommentCount()
Copyright © 2016 Nuxeo SA. All rights reserved.