Uses of Interface
org.exoplatform.social.core.activity.model.ExoSocialActivity
Packages that use ExoSocialActivity
Package
Description
Provides Core Components: Identity, Profile, Space and Activity.
Models for Activity
-
Uses of ExoSocialActivity in io.meeds.activity.space.plugin
Constructors in io.meeds.activity.space.plugin with parameters of type ExoSocialActivityModifierConstructorDescriptionActivityCategoryLifeCycleEvent(ExoSocialActivity activity, String userId, List<Long> previousCategoryIds, ActivityLifeCycleEvent.Type type) -
Uses of ExoSocialActivity in org.exoplatform.social.core
Methods in org.exoplatform.social.core with parameters of type ExoSocialActivityModifier and TypeMethodDescriptionActivityTypePlugin.getActivityTitle(ExoSocialActivity activity) Return specific activity titleBaseActivityProcessorPlugin.getTemplateParamKeysToFilter(ExoSocialActivity activity) This method is helper for ActivityProcessor incase we want to get list of template params to be filter.booleanActivityTypePlugin.isActivityDeletable(ExoSocialActivity activity, org.exoplatform.services.security.Identity userAclIdentity) Return whether an activity is deletable or notbooleanActivityTypePlugin.isActivityEditable(ExoSocialActivity activity, org.exoplatform.services.security.Identity userAclIdentity) Return whether an activity is editable or notbooleanActivityTypePlugin.isActivityViewable(ExoSocialActivity activity, org.exoplatform.services.security.Identity userAclIdentity) Return whether an activity is viewable by a user or notbooleanActivityTypePlugin.isEnableNotification(ExoSocialActivity activity, String username) Makes a check whether the activity notification is enabled for a given user or not.voidActivityProcessor.processActivity(ExoSocialActivity activity) abstract voidBaseActivityProcessorPlugin.processActivity(ExoSocialActivity activity) -
Uses of ExoSocialActivity in org.exoplatform.social.core.activity
Methods in org.exoplatform.social.core.activity that return ExoSocialActivityMethods in org.exoplatform.social.core.activity with parameters of type ExoSocialActivityModifier and TypeMethodDescriptionvoidActivityLifeCycle.deleteActivity(ExoSocialActivity activity) voidActivityLifeCycle.deleteComment(ExoSocialActivity activity) voidActivityLifeCycle.deleteLikeActivity(ExoSocialActivity activity, String userIdentityId) voidActivityLifeCycle.deleteLikeComment(ExoSocialActivity activity, String userIdentityId) voidActivityLifeCycle.hideActivity(ExoSocialActivity activity) voidActivityLifeCycle.likeActivity(ExoSocialActivity activity, String userIdentityId) voidActivityLifeCycle.likeComment(ExoSocialActivity activity, String userIdentityId) voidActivityLifeCycle.pinActivity(ExoSocialActivity activity, String userIdentityId) voidActivityLifeCycle.saveActivity(ExoSocialActivity activity) voidActivityLifeCycle.saveComment(ExoSocialActivity activity) voidActivityLifeCycle.shareActivity(ExoSocialActivity activity) voidActivityLifeCycle.unpinActivity(ExoSocialActivity activity) voidActivityLifeCycle.updateActivity(ExoSocialActivity activity) voidActivityLifeCycle.updateCategories(ExoSocialActivity activity, String userId, List<Long> previousCategoryIds) voidActivityLifeCycle.updateComment(ExoSocialActivity activity) Constructors in org.exoplatform.social.core.activity with parameters of type ExoSocialActivityModifierConstructorDescriptionActivityLifeCycleEvent(ActivityLifeCycleEvent.Type type, ExoSocialActivity activity) ActivityLifeCycleEvent(ActivityLifeCycleEvent.Type type, ExoSocialActivity activity, String userId) -
Uses of ExoSocialActivity in org.exoplatform.social.core.activity.model
Classes in org.exoplatform.social.core.activity.model that implement ExoSocialActivity -
Uses of ExoSocialActivity in org.exoplatform.social.core.manager
Methods in org.exoplatform.social.core.manager that return ExoSocialActivityModifier and TypeMethodDescriptionActivityManager.getActivity(String activityId) Gets an activity by its Id.ActivityManager.getParentActivity(ExoSocialActivity comment) Gets an activity by its comment.default ExoSocialActivityActivityManager.hideActivity(String activityId) Hides an activity to not be displayed in stream, but keep it accessible in standalone modedefault ExoSocialActivityActivityManager.pinActivity(String activityId, String userIdentityId) Pins a specific activity to space stream.default ExoSocialActivityActivityManager.unpinActivity(String activityId) Unpins a specific activity from space stream.Methods in org.exoplatform.social.core.manager that return types with arguments of type ExoSocialActivityModifier and TypeMethodDescriptionActivityManager.getActivities(List<String> activityIdList) Load activities switch list of IDsdefault RealtimeListAccess<ExoSocialActivity> ActivityManager.getActivitiesByFilterWithListAccess(Identity viewerIdentity, ActivityFilter activityFilter) Gets activities by filter.ActivityManager.getActivitiesByPoster(Identity poster) Gets activities of a given poster.ActivityManager.getActivitiesByPoster(Identity posterIdentity, String... activityTypes) Gets activities of a given poster that are specified by activity types.ActivityManager.getActivitiesOfConnectionsWithListAccess(Identity identity) Gets activities posted by all connections with a given identity.ActivityManager.getActivitiesOfSpaceWithListAccess(Identity spaceIdentity) Gets activities posted on a space by its Id.ActivityManager.getActivitiesOfUserSpacesWithListAccess(Identity identity) Gets activities posted on all space activity streams in which an identity joins.ActivityManager.getActivitiesWithListAccess(Identity identity) Gets activities posted on the provided activity stream owner.ActivityManager.getActivitiesWithListAccess(Identity ownerIdentity, Identity viewerIdentity) Gets activities on the provided activity stream which is viewed by another.ActivityManager.getActivityFeedWithListAccess(Identity identity) Gets all activities accessible by a given identity.ActivityManager.getAllActivitiesWithListAccess()Get the list access of all activitiesActivityManager.getCommentsWithListAccess(ExoSocialActivity activity) Gets comments of a specific activity.ActivityManager.getCommentsWithListAccess(ExoSocialActivity activity, boolean loadSubComments) Gets comments of a specific activity.default RealtimeListAccess<ExoSocialActivity> ActivityManager.getCommentsWithListAccess(ExoSocialActivity activity, boolean loadSubComments, boolean sortDescending) Gets comments of a specific activity.ActivityManager.getSubComments(ExoSocialActivity comment) Get all sub comments of a commentdefault List<ExoSocialActivity> ActivityManager.shareActivity(ExoSocialActivity activityTemplate, String activityId, List<String> targetSpaces, org.exoplatform.services.security.Identity viewer) Shares an existing activity to a list of spaces identified by its pretty names with an optional messagedefault List<ExoSocialActivity> ActivityManager.shareActivity(ExoSocialActivity activityTemplate, ActivityShareAction activityShareAction, org.exoplatform.services.security.Identity viewer) Shares an existing activity to a list of spaces identified by its pretty names with an optional messageMethods in org.exoplatform.social.core.manager with parameters of type ExoSocialActivityModifier and TypeMethodDescriptiondefault booleanActivityManager.canPinActivity(ExoSocialActivity activity, Identity identity) Return whether a user can pin or unpin an activity or notvoidActivityManager.deleteActivity(ExoSocialActivity activity) Deletes a specific activity.voidActivityManager.deleteComment(ExoSocialActivity activity, ExoSocialActivity comment) Deletes a comment of an activity.voidActivityManager.deleteLike(ExoSocialActivity activity, Identity identity) Deletes a like of an identity from a specific activity.default StringActivityManager.getActivityTitle(ExoSocialActivity activity) Return specific activity titleActivityManager.getCommentsWithListAccess(ExoSocialActivity activity) Gets comments of a specific activity.ActivityManager.getCommentsWithListAccess(ExoSocialActivity activity, boolean loadSubComments) Gets comments of a specific activity.default RealtimeListAccess<ExoSocialActivity> ActivityManager.getCommentsWithListAccess(ExoSocialActivity activity, boolean loadSubComments, boolean sortDescending) Gets comments of a specific activity.ActivityManager.getParentActivity(ExoSocialActivity comment) Gets an activity by its comment.ActivityManager.getSubComments(ExoSocialActivity comment) Get all sub comments of a commentdefault booleanActivityManager.isActivityDeletable(ExoSocialActivity activity, org.exoplatform.services.security.Identity identity) Return whether an activity is deletable or notbooleanActivityManager.isActivityEditable(ExoSocialActivity activity, org.exoplatform.services.security.Identity viewer) default booleanActivityManager.isActivityManageable(ExoSocialActivity activity, org.exoplatform.services.security.Identity identity) Return whether an activity is manageable by the designated user or notdefault booleanActivityManager.isActivityViewable(ExoSocialActivity activity, org.exoplatform.services.security.Identity identity) Determines whether a user can view an activity or notdefault booleanActivityManager.isNotificationEnabled(ExoSocialActivity activity) default booleanActivityManager.isNotificationEnabled(ExoSocialActivity activity, String username) voidActivityManager.saveActivityNoReturn(ExoSocialActivity activity) Saves a newly created activity to the stream.voidActivityManager.saveActivityNoReturn(Identity streamOwner, ExoSocialActivity activity) Saves a newly created activity to a stream.voidActivityManager.saveComment(ExoSocialActivity activity, ExoSocialActivity newComment) Creates or updates a comment or a comment reply on a specific activity.voidActivityManager.saveLike(ExoSocialActivity activity, Identity identity) Saves the like information of an identity to a specific activity.default List<ExoSocialActivity> ActivityManager.shareActivity(ExoSocialActivity activityTemplate, String activityId, List<String> targetSpaces, org.exoplatform.services.security.Identity viewer) Shares an existing activity to a list of spaces identified by its pretty names with an optional messagedefault List<ExoSocialActivity> ActivityManager.shareActivity(ExoSocialActivity activityTemplate, ActivityShareAction activityShareAction, org.exoplatform.services.security.Identity viewer) Shares an existing activity to a list of spaces identified by its pretty names with an optional messagevoidActivityManager.updateActivity(ExoSocialActivity activity) Updates an existing activity.default voidActivityManager.updateActivity(ExoSocialActivity activity, boolean broadcast) Updates an existing activity. -
Uses of ExoSocialActivity in org.exoplatform.social.core.storage.api
Methods in org.exoplatform.social.core.storage.api that return ExoSocialActivityModifier and TypeMethodDescriptionActivityStorage.getActivity(String activityId) Load an activity by its id.ActivityStorage.getParentActivity(ExoSocialActivity comment) default ExoSocialActivityActivityStorage.hideActivity(String activityId) Hides an activity to not be displayed in stream, but keep it accessible in standalone modedefault ExoSocialActivityActivityStorage.pinActivity(String activityId, String userIdentityId) Pins a specific activity to space stream.ActivityStorage.saveActivity(Identity owner, ExoSocialActivity activity) Saves an activity into a stream.default ExoSocialActivityActivityStorage.unpinActivity(String activityId) Unpins a specific activity from space stream.Methods in org.exoplatform.social.core.storage.api that return types with arguments of type ExoSocialActivityModifier and TypeMethodDescriptionActivityStorage.getActivities(List<String> activityIdList) Load activities switch list of IDsActivityStorage.getActivities(Identity owner, Identity viewer, long offset, long limit) Gets the activities by identity owner but it's viewed by viewer.default List<ExoSocialActivity> ActivityStorage.getActivitiesByFilter(Identity viewerIdentity, ActivityFilter activityFilter, long offset, long limit) Get the activities by identity and activity filter.ActivityStorage.getActivitiesByPoster(Identity posterIdentity, int offset, int limit) Gets activities by poster.ActivityStorage.getActivitiesByPoster(Identity posterIdentity, int offset, int limit, String... activityTypes) Gets activities by poster and activity's typesActivityStorage.getActivitiesOfConnections(Identity ownerIdentity, int offset, int limit) Gets activities of connections of an identity with offset, limit.ActivityStorage.getActivitiesOfConnectionsForUpgrade(Identity ownerIdentity, int offset, int limit) Deprecated.not used anymoreActivityStorage.getActivitiesOfIdentity(Identity ownerIdentity, long offset, long limit) Gets the activities of the identity with offset, limit.ActivityStorage.getActivityFeed(Identity ownerIdentity, int offset, int limit) Gets activity feed from an identity.ActivityStorage.getActivityFeedForUpgrade(Identity ownerIdentity, int offset, int limit) Deprecated.not used anymoreActivityStorage.getAllActivities(int index, int limit) Get all activitiesActivityStorage.getComments(ExoSocialActivity existingActivity, boolean loadSubComments, int offset, int limit) Gets the comments of an activity with offset, limit.default List<ExoSocialActivity> ActivityStorage.getComments(ExoSocialActivity activity, boolean loadSubComments, int offset, int limit, boolean sortDescending) Gets the comments of an activity with offset, limit.ActivityStorage.getNewerActivitiesOfConnections(Identity owner, Long sinceTime, int limit) Gets connections' activities of an user base on since time.ActivityStorage.getNewerComments(ExoSocialActivity existingActivity, Long sinceTime, int limit) Gets the newer comments of an activity based on an updated time.ActivityStorage.getNewerComments(ExoSocialActivity existingActivity, ExoSocialActivity baseComment, int limit) Gets the newer comments of an activity based on a comment.ActivityStorage.getNewerFeedActivities(Identity owner, Long sinceTime, int limit) Gets feed activities base on since time.ActivityStorage.getNewerOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity, long limit) Gets the newer activities of connections based on baseActivity.ActivityStorage.getNewerOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of newer activities feed based on an existing activity.ActivityStorage.getNewerOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity, int limit) Gets list of newer activities of spaces where the identity can accessActivityStorage.getNewerOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of newer activities based on an existing activity.ActivityStorage.getNewerOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the newer activities of spaces where identity can access (manager or member), based on an existing activity.ActivityStorage.getNewerSpaceActivities(Identity owner, Long sinceTime, int limit) Gets space activities base on since time.ActivityStorage.getNewerUserActivities(Identity owner, Long sinceTime, int limit) Gets activities of an user base on since time.ActivityStorage.getNewerUserSpacesActivities(Identity owner, Long sinceTime, int limit) Gets activities of an user on spaces base on since time.ActivityStorage.getOlderActivitiesOfConnections(Identity owner, Long sinceTime, int limit) Gets connections' activities of an user base on since time.ActivityStorage.getOlderComments(ExoSocialActivity existingActivity, Long sinceTime, int limit) Gets the older comments of an activity based on an updated time.ActivityStorage.getOlderComments(ExoSocialActivity existingActivity, ExoSocialActivity baseComment, int limit) Gets the older comments of an activity based on a comment.ActivityStorage.getOlderFeedActivities(Identity owner, Long sinceTime, int limit) Gets feed activities base on since time.ActivityStorage.getOlderOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the older of activities of connections based on base an activity.ActivityStorage.getOlderOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of older activities feed based on an existing activity.ActivityStorage.getOlderOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of older activities of spaces where the identity can access and based on an existing postedTime of baseActivity.ActivityStorage.getOlderOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of older activities based on an existing activity.ActivityStorage.getOlderOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the older activities of spaces where identity can access (manager or member), based on an existing activity.ActivityStorage.getOlderSpaceActivities(Identity owner, Long sinceTime, int limit) Gets space activities base on since time.ActivityStorage.getOlderUserActivities(Identity owner, Long sinceTime, int limit) Gets activities of an user base on since time.ActivityStorage.getOlderUserSpacesActivities(Identity owner, Long sinceTime, int limit) Gets activities of an user on spaces base on since time.ActivityStorage.getSpaceActivities(Identity spaceIdentity, int index, int limit) Gets list of activities of spaces where the identity can access.ActivityStorage.getSpaceActivitiesForUpgrade(Identity spaceIdentity, int index, int limit) Gets list of activities of spaces where the identity can access for upgrade Stream featureActivityStorage.getSubComments(ExoSocialActivity comment) Get all sub comments of a chosen commentActivityStorage.getUserActivities(Identity owner) Gets all the activities by identity.ActivityStorage.getUserActivities(Identity owner, long offset, long limit) Gets the activities by identity.ActivityStorage.getUserActivitiesForUpgrade(Identity owner, long offset, long limit) Gets the activities by identity for upgrade Activity Stream feature Access a user's activity stream by specifying the offset and limit.ActivityStorage.getUserSpacesActivities(Identity ownerIdentity, int offset, int limit) Gets the activities of spaces where identity can access (manager or member).ActivityStorage.getUserSpacesActivitiesForUpgrade(Identity ownerIdentity, int offset, int limit) Gets the activities of spaces where identity can access (manager or member) for upgrade Activity Stream featureMethods in org.exoplatform.social.core.storage.api with parameters of type ExoSocialActivityModifier and TypeMethodDescriptionActivityStorage.getComments(ExoSocialActivity existingActivity, boolean loadSubComments, int offset, int limit) Gets the comments of an activity with offset, limit.default List<ExoSocialActivity> ActivityStorage.getComments(ExoSocialActivity activity, boolean loadSubComments, int offset, int limit, boolean sortDescending) Gets the comments of an activity with offset, limit.ActivityStorage.getNewerComments(ExoSocialActivity existingActivity, Long sinceTime, int limit) Gets the newer comments of an activity based on an updated time.ActivityStorage.getNewerComments(ExoSocialActivity existingActivity, ExoSocialActivity baseComment, int limit) Gets the newer comments of an activity based on a comment.ActivityStorage.getNewerOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity, long limit) Gets the newer activities of connections based on baseActivity.ActivityStorage.getNewerOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of newer activities feed based on an existing activity.ActivityStorage.getNewerOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity, int limit) Gets list of newer activities of spaces where the identity can accessActivityStorage.getNewerOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of newer activities based on an existing activity.ActivityStorage.getNewerOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the newer activities of spaces where identity can access (manager or member), based on an existing activity.intActivityStorage.getNumberOfComments(ExoSocialActivity existingActivity) Gets the number of comments of an activity.intActivityStorage.getNumberOfNewerComments(ExoSocialActivity existingActivity, Long sinceTime) Gets the number of newer commentsintActivityStorage.getNumberOfNewerComments(ExoSocialActivity existingActivity, ExoSocialActivity baseComment) Gets the number of newer comments of an activity based on a comment.intActivityStorage.getNumberOfNewerOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity) Gets the number of newer activities based on base activity of connections.intActivityStorage.getNumberOfNewerOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity) Gets the list of newer activities feed based on an existing activity.intActivityStorage.getNumberOfNewerOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity) Gets the number of newer activities of spaces where the identity can access and based on an existing postedTime of baseActivity.intActivityStorage.getNumberOfNewerOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity) Gets the number of newer activities based on an existing activity.intActivityStorage.getNumberOfNewerOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity) Gets the number of newer activities of spaces where the identity can access, based on an existing activity.intActivityStorage.getNumberOfOlderComments(ExoSocialActivity existingActivity, Long sinceTime) Gets the number of older commentsintActivityStorage.getNumberOfOlderComments(ExoSocialActivity existingActivity, ExoSocialActivity baseComment) Gets the number of newer comments of an activity based on a comment.intActivityStorage.getNumberOfOlderOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity) Gets the number of older activities of connections based on baseActivity.intActivityStorage.getNumberOfOlderOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity) Gets the list of older activities feed based on an existing activity.intActivityStorage.getNumberOfOlderOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity) Gets the number of older activities of spaces where the identity can access and based on an existing postedTime of baseActivity.intActivityStorage.getNumberOfOlderOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity) Gets the number of older activities based on an existing activity.intActivityStorage.getNumberOfOlderOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity) Gets the number of newer activities of spaces where the identity can access, based on an existing activity.ActivityStorage.getOlderComments(ExoSocialActivity existingActivity, Long sinceTime, int limit) Gets the older comments of an activity based on an updated time.ActivityStorage.getOlderComments(ExoSocialActivity existingActivity, ExoSocialActivity baseComment, int limit) Gets the older comments of an activity based on a comment.ActivityStorage.getOlderOnActivitiesOfConnections(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the older of activities of connections based on base an activity.ActivityStorage.getOlderOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of older activities feed based on an existing activity.ActivityStorage.getOlderOnSpaceActivities(Identity spaceIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of older activities of spaces where the identity can access and based on an existing postedTime of baseActivity.ActivityStorage.getOlderOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the list of older activities based on an existing activity.ActivityStorage.getOlderOnUserSpacesActivities(Identity ownerIdentity, ExoSocialActivity baseActivity, int limit) Gets the older activities of spaces where identity can access (manager or member), based on an existing activity.ActivityStorage.getParentActivity(ExoSocialActivity comment) ActivityStorage.getSubComments(ExoSocialActivity comment) Get all sub comments of a chosen commentActivityStorage.saveActivity(Identity owner, ExoSocialActivity activity) Saves an activity into a stream.voidActivityStorage.saveComment(ExoSocialActivity activity, ExoSocialActivity comment) Save comment to an activity.voidActivityStorage.updateActivity(ExoSocialActivity existingActivity) Updates an existing activity.