public class BoxEvent extends BoxItem
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 |
---|
BoxEvent()
Constructor.
|
BoxEvent(BoxEvent obj)
Copy constructor, this does deep copy for all the fields.
|
BoxEvent(Map<String,Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
String |
getEventType()
Get event type.
|
String |
getId()
Get event id.
|
BoxTypedObject |
getSource()
Get the source item for this event.
|
getCreatedBy, getDescription, getEtag, getItemStatus, getModifiedBy, getName, getOwnedBy, getParent, getPathCollection, getSequenceId, getSharedLink, getSize, getTags
dateCreatedAt, dateModifiedAt, getCreatedAt, getModifiedAt, getType, resourceType, setType
contains, equals, getExtraData, getKeySet, getValue, handleUnknown, hashCode, properties, put, putAll
toJSONString
public static final String FIELD_EVENT_TYPE
public static final String FIELD_SOURCE
public static final String FIELD_EVENT_ID
public static final String EVENT_TYPE_ITEM_CREATE
public static final String EVENT_TYPE_ITEM_UPLOAD
public static final String EVENT_TYPE_COMMENT_CREATE
public static final String EVENT_TYPE_ITEM_DOWNLOAD
public static final String EVENT_TYPE_ITEM_PREVIEW
public static final String EVENT_TYPE_ITEM_MOVE
public static final String EVENT_TYPE_ITEM_COPY
public static final String EVENT_TYPE_TASK_ASSIGNMENT_CREATE
public static final String EVENT_TYPE_LOCK_CREATE
public static final String EVENT_TYPE_LOCK_DESTROY
public static final String EVENT_TYPE_ITEM_TRASH
public static final String EVENT_TYPE_ITEM_UNDELETE_VIA_TRASH
public static final String EVENT_TYPE_COLLAB_ADD_COLLABORATOR
public static final String EVENT_TYPE_COLLAB_INVITE_COLLABORATOR
public static final String EVENT_TYPE_ITEM_SYNC
public static final String EVENT_TYPE_ITEM_UNSYNC
public static final String EVENT_TYPE_ITEM_RENAME
public static final String EVENT_TYPE_ITEM_SHARED_CREATE
public static final String EVENT_TYPE_ITEM_SHARED_UNSHARE
public static final String EVENT_TYPE_ITEM_SHARED
public static final String EVENT_TYPE_TAG_ITEM_CREATE
public static final String EVENT_TYPE_ADD_LOGIN_ACTIVITY_DEVICE
public BoxEvent()
public BoxEvent(BoxEvent obj)
obj
- public String getId()
getId
in class BoxTypedObject
public String getEventType()
public BoxTypedObject getSource()
Copyright © 2015 Nuxeo SA. All rights reserved.