Package com.alfresco.content.models
Class Activity
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class ActivityActivities describe any past activity in a site, for example creating an item of content, commenting on a node, liking an item of content.
-
-
Field Summary
Fields Modifier and Type Field Description private StringpostPersonIdprivate Longidprivate StringfeedPersonIdprivate StringactivityTypeprivate StringsiteIdprivate ZonedDateTimepostedAtprivate Map<String, String>activitySummary
-
Method Summary
Modifier and Type Method Description final StringgetPostPersonId()The id of the person who performed the activity final UnitsetPostPersonId(@Json(name = "postPersonId") String postPersonId)The id of the person who performed the activity final LonggetId()The unique id of the activity final UnitsetId(@Json(name = "id") Long id)The unique id of the activity final StringgetFeedPersonId()The feed on which this activity was posted final UnitsetFeedPersonId(@Json(name = "feedPersonId") String feedPersonId)The feed on which this activity was posted final StringgetActivityType()The type of the activity posted final UnitsetActivityType(@Json(name = "activityType") String activityType)The type of the activity posted final StringgetSiteId()The unique id of the site on which the activity was performed final UnitsetSiteId(@Json(name = "siteId") String siteId)The unique id of the site on which the activity was performed final ZonedDateTimegetPostedAt()The date time at which the activity was performed final UnitsetPostedAt(@Json(name = "postedAt") ZonedDateTime postedAt)The date time at which the activity was performed final Map<String, String>getActivitySummary()An object summarizing the activity final UnitsetActivitySummary(@Json(name = "activitySummary") Map<String, String> activitySummary)An object summarizing the activity -
-
Method Detail
-
getPostPersonId
final String getPostPersonId()
The id of the person who performed the activity
-
setPostPersonId
final Unit setPostPersonId(@Json(name = "postPersonId") String postPersonId)
The id of the person who performed the activity
-
getFeedPersonId
final String getFeedPersonId()
The feed on which this activity was posted
-
setFeedPersonId
final Unit setFeedPersonId(@Json(name = "feedPersonId") String feedPersonId)
The feed on which this activity was posted
-
getActivityType
final String getActivityType()
The type of the activity posted
-
setActivityType
final Unit setActivityType(@Json(name = "activityType") String activityType)
The type of the activity posted
-
setSiteId
final Unit setSiteId(@Json(name = "siteId") String siteId)
The unique id of the site on which the activity was performed
-
getPostedAt
final ZonedDateTime getPostedAt()
The date time at which the activity was performed
-
setPostedAt
final Unit setPostedAt(@Json(name = "postedAt") ZonedDateTime postedAt)
The date time at which the activity was performed
-
getActivitySummary
final Map<String, String> getActivitySummary()
An object summarizing the activity
-
setActivitySummary
final Unit setActivitySummary(@Json(name = "activitySummary") Map<String, String> activitySummary)
An object summarizing the activity
-
-
-
-