void |
ActivityStorage.deleteActivity(String activityId) |
Deletes activity by its id.
|
void |
ActivityStorage.deleteComment(String activityId,
String commentId) |
Delete comment by its id.
|
List<ExoSocialActivity> |
ActivityStorage.getActivities(Identity owner,
Identity viewer,
long offset,
long limit) |
Gets the activities by identity owner but it's viewed by viewer.
|
ExoSocialActivity |
ActivityStorage.getActivity(String activityId) |
Load an activity by its id.
|
int |
ActivityStorage.getNumberOfUserActivities(Identity owner) |
Count the number of activities from an ownerIdentity
|
int |
ActivityStorage.getNumberOfUserActivitiesForUpgrade(Identity owner) |
Count the number of activities from an ownerIdentity for upgrade Activity
Stream feature
|
ExoSocialActivity |
ActivityStorage.getParentActivity(ExoSocialActivity comment) |
|
List<ExoSocialActivity> |
ActivityStorage.getUserActivities(Identity owner) |
Gets all the activities by identity.
|
List<ExoSocialActivity> |
ActivityStorage.getUserActivities(Identity owner,
long offset,
long limit) |
Gets the activities by identity.
|
List<ExoSocialActivity> |
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.
|
List<String> |
ActivityStorage.getUserIdsActivities(Identity owner,
long offset,
long limit) |
Gets the activity ids by identity.
|
ExoSocialActivity |
ActivityStorage.saveActivity(Identity owner,
ExoSocialActivity activity) |
Saves an activity into a stream.
|
void |
ActivityStorage.saveComment(ExoSocialActivity activity,
ExoSocialActivity comment) |
Save comment to an activity.
|
void |
ActivityStorage.updateActivity(ExoSocialActivity existingActivity) |
Updates an existing activity.
|