... Confluence handles the following types of content, relevant to the CEQ service, together with a list of available content-related acitivities: || Content Type \\ || Description \\ || Create || View \\ || Update \\ || Remove \\ || Trashed \\ || Restore \\ || Move \\ || Convert \\ || ActivityStrea.ms Base Object Type\\ || | Attachment \\ | File attached to a wiki page. \\ | X | X \\ | X | X \\ | | | | | File\\ http://activitystrea.ms/schema/1.0/file\\ [Documentation|http://martin.atkins.me.uk/specs/activitystreams/activityschema#anchor9] \\ | | BlogPost \\ | Blog post \:) \\ | X | X \\ | X \\ | X \\ | X \\ | X \\ | | | Blog Entry\\ http://activitystrea.ms/schema/1.0/blog-entry\\ [Documentation|http://martin.atkins.me.uk/specs/activitystreams/activityschema#anchor7] \\ | | Comment \\ | Comment. \\ | X | | X \\ | X \\ | | | | | Comment\\ [Documentation|http://martin.atkins.me.uk/specs/activitystreams/activityschema#comment] \\ http://activitystrea.ms/schema/1.0/comment\\ | | Mail \\ | Mail Message - it is possible to send emails from \\ within confluence system. Either automatically, or manually. \\ | X | | X \\ | X \\ | | | | | TODO\\ | | Page \\ | Wiki page. \\ | X | X \\ | X \\ | X \\ | X \\ | X \\ | X \\ | | Article\\ [Documentation|http://martin.atkins.me.uk/specs/activitystreams/activityschema#article] \\ http://activitystrea.ms/schema/1.0/article\\ | | PersonalInformation \\ | User-related metadata. Similar to the 'profile information' in \\ other social services. \\ | X | | X \\ | X \\ | | | | | TODO\\ | | Group \\ | Group of users, used mainly for ARM. \\ | X | | | X \\ | | | | | Group\\ [Documentation|http://martin.atkins.me.uk/specs/activitystreams/activityschema#group] \\ http://activitystrea.ms/schema/1.0/group\\ | | Label \\ | Keyword assigned to a content. Tag. \\ | X | | | X \\ | | | | | TODO\\ | | Space \\ | Container for related content. Either personal or non-personal. \\ | X | | X \\ | X \\ | | | | X \\ | TODO\\ | | User \\ | User of the system. \\ | X | | | X \\ | | | | | Person\\ [Documentation|http://martin.atkins.me.uk/specs/activitystreams/activityschema#anchor13] \\ http://activitystrea.ms/schema/1.0/person\\ |
h3. Confluence Events
This chapter lists confluence events which are relevant for the consumption by the CEQ service. The [ConfluenceEvent javadoc|http://docs.atlassian.com/com/atlassian/confluence/atlassian-confluence/latest/index.html?com/atlassian/confluence/event/events/ConfluenceEvent.html] was used as a base for this list.
h4. Confluence Events naming conventions
In Confluence, the names of concrete event classes are composed of the following components:
<Content_Type> + <Activity_name> + Event
*Examples:*
AttachmentCreateEvent
BlogPostViewEvent
PageTrash{*}ed{*}Event - this an exception, as the activity name has the '-ed' suffix
GroupRemoveEvent
h4. Notes on Labels
Confluence defines the following 4 subclasses of the [LabelEvent class|http://docs.atlassian.com/com/atlassian/confluence/atlassian-confluence/latest/com/atlassian/confluence/event/events/label/LabelEvent.html] (which in turn is a subclass of the [ConfluenceEvent class|http://docs.atlassian.com/com/atlassian/confluence/atlassian-confluence/latest/com/atlassian/confluence/event/events/ConfluenceEvent.html] ): # *LabelAddEvent* \- fired when an *existing label is assigned* to a content # *LabelCreateEvent* \- fired, when a new, yet *unexisting label is created* in the system # *Label DeleteEvent* \- fired, when a label is *completely removed* from the system # *LabelRemoveEvent* \- fired, when an *existing label is* *de-assigned* from a content
h4. Confluence Events table
The following table contains a list of confluence events, their targets and their mappings to the appropriate General Activities, as defined in the [Activity Streams document|ceqdoc:Activity Streams] .
|| Confluence Activity Name \\ || Target \\ || Description \\ || General Activity \\ || | Create \\ | CO \\ | | Create \\ | | View \\ | Attachment \\ Blog Post \\ Page \\ | | Read, View, Attention \\ | | Update | Attachment \\ BlogPost \\ Comment \\ Mail \\ Page \\ PersonalInformation \\ Space \\ | | Update \\ | | Remove | CO | Given CO was completely removed from \\ the system. \\ | Delete \\ | | Trashed | BlogPost \\ Page \\ | The 'Move to trash' operation \\ known from Windows \\ _BlogPostTrashedEvent_\\ _PageTrashedEvent_\\ | | | Restore | BlogPost \\ Page \\ | | | | Move | Page | Move the page from one space to another \\ | Update \\ (spacekey attribute/relation) \\ | | Convert | Space \\ | Change of the space type \\ | Update \\ (spacetype attribute) \\ | | Add | Label \\ | Assign an existing tag to a content \\ | Tag | | Delete | Label \\ | Remove tag completely from the system \\ | Untag \\ | | NotificationAdded | Content(Page/Blog) \\ Space \\ | Start watching a page, blog or a space \\ \\ _ContentNotificationAddedEvent_\\ _SpaceNotificationAddedEvent_ | Follow | | NotificationRemoved | Content(Page/Blog) \\ Space \\ | Stop watching a page, blog or a space \\ \\ _ContentNotificationRemovedEvent_\\ _SpaceNotificationRemovedEvent_ | Unfollow | | | | | | | | | | |
|