public class BoxBookmark extends BoxItem
BoxItem.PermissionBoxEntity.BoxEntityCreatorBoxJsonObject.BoxJsonObjectCreator<E extends BoxJsonObject>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
ALL_FIELDS |
static java.lang.String |
FIELD_COMMENT_COUNT |
static java.lang.String |
FIELD_URL |
static java.lang.String |
TYPE |
FIELD_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 |
|---|
BoxBookmark()
Constructs an empty BoxBookmark object.
|
BoxBookmark(com.eclipsesource.json.JsonObject object)
Constructs a BoxBookmark with the provided map values.
|
| Modifier and Type | Method and Description |
|---|---|
static BoxBookmark |
createFromId(java.lang.String bookmarkId)
A convenience method to create an empty bookmark with just the id and type fields set.
|
java.lang.Long |
getCommentCount()
Gets the number of comments on the item.
|
java.lang.Long |
getSize()
This always returns null as size doesn't make sense for bookmarks.
|
java.lang.String |
getUrl()
Gets the URL of the bookmark.
|
createBoxItemFromJson, createBoxItemFromJson, getAllowedSharedLinkAccessLevels, getCollections, getContentCreatedAt, getContentModifiedAt, 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_URL
public static final java.lang.String FIELD_COMMENT_COUNT
public static final java.lang.String[] ALL_FIELDS
public BoxBookmark()
public BoxBookmark(com.eclipsesource.json.JsonObject object)
object - JsonObject representing this classpublic static BoxBookmark createFromId(java.lang.String bookmarkId)
bookmarkId - the id of folder to createpublic java.lang.String getUrl()
public java.lang.Long getCommentCount()
BoxItemgetCommentCount in class BoxItem