JBoss.orgCommunity Documentation
The soc:activity node type has the following properties:
| Property Name | Required Type | Mutiple | Description |
|---|---|---|---|
| soc:identity | Reference | false | The identity whose activity stream contains an activity. |
| soc:posterIdentity | Reference | false | The identity of the user who creates an activity. |
| soc:title | String | false | The string which specifies the primary text of an activity. |
| soc:titleId | String | false | The title Id of an activity. |
| soc:appId | String | false | The application Id which creates an activity. |
| soc:body | String | false | The string which specifies the body template message Id in the gadget specification. The body is an optional extended version of an activity. |
| soc:bodyId | String | false | The body Id of an activity. |
| soc:type | String | false | The application Id which creates an activity. |
| soc:externalId | String | false | An optional string Id which is generated by the posting application. |
| soc:url | String | false | The URL to access an activity. |
| soc:priority | Float | false | A float number between '0' and '1' which represents the relative priority level of an activity in relation to other activities from the same source. |
| soc:likes | String | true | The list of identity Ids who like the activity. |
| soc:isComment | Boolean | false | Specify if an activity is a comment or not. The default value is false, meaning that it is a normal activity. |
| soc:postedTime | Long | false | The number which specifies the time at which an activity took place in milliseconds since the epoch. |
The soc:activity node type has the following child nodes:
| Child Nodes | Default Primary Type | Description |
|---|---|---|
| childName | soc:activity | All comments of the identity. The child is the posted time stamp. |
| soc:params | soc:activityparam | The activity parameters. |