-
public final class ActivityDataA data model representing an activity in the Stream Feeds system.
This class contains all the information about an activity, including its content, metadata, reactions, comments, bookmarks, and user information. It supports hierarchical activities with parent-child relationships and real-time interaction tracking.
Features:
Hierarchical Activities: Supports parent-child activity relationships
Reactions: Tracks user reactions and reaction counts
Comments: Supports comment threads and comment counts
Bookmarks: Tracks user bookmarks and bookmark counts
Mentions: Supports user mentions with metadata
Attachments: Supports file and media attachments
Polls: Supports embedded poll functionality
Moderation: Includes moderation and scoring data
Real-time Updates: Designed for real-time state management
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ActivityData(List<Attachment> attachments, Integer bookmarkCount, Map<String, CollectionData> collections, Integer commentCount, List<CommentData> comments, Date createdAt, FeedData currentFeed, Map<String, Object> custom, Date deletedAt, Date editedAt, Date expiresAt, List<FeedId> feeds, List<String> filterTags, Integer friendReactionCount, List<FeedsReactionData> friendReactions, Boolean hidden, String id, List<String> interestTags, Boolean isRead, Boolean isSeen, Boolean isWatched, List<FeedsReactionData> latestReactions, Location location, List<UserData> mentionedUsers, Map<String, Integer> metrics, Moderation moderation, String moderationAction, NotificationContext notificationContext, List<BookmarkData> ownBookmarks, List<FeedsReactionData> ownReactions, ActivityData parent, PollData poll, Integer popularity, Boolean preview, Integer reactionCount, Map<String, ReactionGroupData> reactionGroups, RestrictReplies restrictReplies, Float score, Map<String, Object> scoreVars, Map<String, Object> searchData, String selectorSource, Integer shareCount, String text, String type, Date updatedAt, UserData user, ActivityDataVisibility visibility, String visibilityTag)
-
Method Summary
-
-
Constructor Detail
-
ActivityData
ActivityData(List<Attachment> attachments, Integer bookmarkCount, Map<String, CollectionData> collections, Integer commentCount, List<CommentData> comments, Date createdAt, FeedData currentFeed, Map<String, Object> custom, Date deletedAt, Date editedAt, Date expiresAt, List<FeedId> feeds, List<String> filterTags, Integer friendReactionCount, List<FeedsReactionData> friendReactions, Boolean hidden, String id, List<String> interestTags, Boolean isRead, Boolean isSeen, Boolean isWatched, List<FeedsReactionData> latestReactions, Location location, List<UserData> mentionedUsers, Map<String, Integer> metrics, Moderation moderation, String moderationAction, NotificationContext notificationContext, List<BookmarkData> ownBookmarks, List<FeedsReactionData> ownReactions, ActivityData parent, PollData poll, Integer popularity, Boolean preview, Integer reactionCount, Map<String, ReactionGroupData> reactionGroups, RestrictReplies restrictReplies, Float score, Map<String, Object> scoreVars, Map<String, Object> searchData, String selectorSource, Integer shareCount, String text, String type, Date updatedAt, UserData user, ActivityDataVisibility visibility, String visibilityTag)
-
-
Method Detail
-
getAttachments
final List<Attachment> getAttachments()
-
getBookmarkCount
final Integer getBookmarkCount()
-
getCollections
final Map<String, CollectionData> getCollections()
-
getCommentCount
final Integer getCommentCount()
-
getComments
final List<CommentData> getComments()
-
getCreatedAt
final Date getCreatedAt()
-
getCurrentFeed
final FeedData getCurrentFeed()
-
getDeletedAt
final Date getDeletedAt()
-
getEditedAt
final Date getEditedAt()
-
getExpiresAt
final Date getExpiresAt()
-
getFilterTags
final List<String> getFilterTags()
-
getFriendReactionCount
final Integer getFriendReactionCount()
-
getFriendReactions
final List<FeedsReactionData> getFriendReactions()
-
getInterestTags
final List<String> getInterestTags()
-
getIsWatched
final Boolean getIsWatched()
-
getLatestReactions
final List<FeedsReactionData> getLatestReactions()
-
getLocation
final Location getLocation()
-
getMentionedUsers
final List<UserData> getMentionedUsers()
-
getMetrics
final Map<String, Integer> getMetrics()
-
getModeration
final Moderation getModeration()
-
getModerationAction
final String getModerationAction()
-
getNotificationContext
final NotificationContext getNotificationContext()
-
getOwnBookmarks
final List<BookmarkData> getOwnBookmarks()
-
getOwnReactions
final List<FeedsReactionData> getOwnReactions()
-
getParent
final ActivityData getParent()
-
getPopularity
final Integer getPopularity()
-
getPreview
final Boolean getPreview()
-
getReactionCount
final Integer getReactionCount()
-
getReactionGroups
final Map<String, ReactionGroupData> getReactionGroups()
-
getRestrictReplies
final RestrictReplies getRestrictReplies()
-
getScoreVars
final Map<String, Object> getScoreVars()
-
getSearchData
final Map<String, Object> getSearchData()
-
getSelectorSource
final String getSelectorSource()
-
getShareCount
final Integer getShareCount()
-
getUpdatedAt
final Date getUpdatedAt()
-
getVisibility
final ActivityDataVisibility getVisibility()
-
getVisibilityTag
final String getVisibilityTag()
-
-
-
-