|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivityService
The activity service
Method Summary | |
---|---|
boolean |
existsFeedControl(FeedControl feedControl)
For current user, does the feed control exist ? |
java.util.List |
getFeedControls()
For current user, get feed controls |
java.util.List |
getFeedControls(java.lang.String userId)
For given user, get feed controls |
int |
getMaxFeedItems()
Return maximum configured item entries (per feed) |
java.util.List |
getSiteFeedEntries(java.lang.String siteId,
java.lang.String format)
Retrieve site feed |
java.util.List |
getUserFeedEntries(java.lang.String userId,
java.lang.String format,
java.lang.String siteId)
Retrieve user feed with optional site filter Will return activities for all users across all sites, or optionally for all users for specified site. |
java.util.List |
getUserFeedEntries(java.lang.String userId,
java.lang.String format,
java.lang.String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers)
Retrieve user feed with optional site filter and optional user filters Will return activities for users across all sites, or optionally for users for specified site. |
java.util.List |
getUserFeedEntries(java.lang.String feedUserId,
java.lang.String format,
java.lang.String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers,
long minFeedId)
Retrieve user feed with optional site filter and optional user filters and optional min feed DB id Will return activities for users across all sites, or optionally for users for specified site. |
java.util.List |
getUserFeedEntries(java.lang.String userId,
java.lang.String format,
java.lang.String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers,
java.util.Set userFilter,
java.util.Set actvityFilter)
Retrieve user feed with optional site filter and optional user filters Will return activities for users across all sites, or optionally for users for specified site. |
java.util.List |
getUserFeedEntries(java.lang.String feedUserId,
java.lang.String format,
java.lang.String siteId,
boolean excludeThisUser,
boolean excludeOtherUsers,
java.util.Set userFilter,
java.util.Set actvityFilter,
long minFeedId)
Retrieve user feed with optional site filter and optional user filters and optional min feed DB id Will return activities for users across all sites, or optionally for users for specified site. |
void |
setFeedControl(FeedControl feedControl)
For current user, set feed control (opt-out) for a site or an appTool or a site/appTool combination |
void |
unsetFeedControl(FeedControl feedControl)
For current user, unset feed control |
Methods inherited from interface org.alfresco.service.cmr.activities.ActivityPostService |
---|
postActivity, postActivity, postActivity, postActivity |
Method Detail |
---|
@NotAuditable java.util.List getUserFeedEntries(java.lang.String userId, java.lang.String format, java.lang.String siteId)
userId
- - requiredformat
- - requiredsiteId
- - optional, if set then will filter by given siteId else return all sites
@NotAuditable java.util.List getUserFeedEntries(java.lang.String userId, java.lang.String format, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers)
userId
- - requiredformat
- - requiredsiteId
- - optional, if set then will filter by given siteId else return all sitesexcludeThisUser
- - if TRUE then will exclude activities for this user (hence returning other users only)excludeOthersUsers
- - if TRUE then will exclude activities for other users (hence returning this user only)
@NotAuditable java.util.List getUserFeedEntries(java.lang.String userId, java.lang.String format, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, java.util.Set userFilter, java.util.Set actvityFilter)
userId
- - requiredformat
- - requiredsiteId
- - optional, if set then will filter by given siteId else return all sitesexcludeThisUser
- - if TRUE then will exclude activities for this user (hence returning other users only)excludeOthersUsers
- - if TRUE then will exclude activities for other users (hence returning this user only)userFilter
- - if not NULL then will only return activities of users in this setactvityFilter
- - if not NULL then will only return activities that are in this set
@NotAuditable java.util.List getUserFeedEntries(java.lang.String feedUserId, java.lang.String format, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, long minFeedId)
userId
- - requiredformat
- - requiredsiteId
- - optional, if set then will filter by given siteId else return all sitesexcludeThisUser
- - if TRUE then will exclude activities for this user (hence returning other users only)excludeOthersUsers
- - if TRUE then will exclude activities for other users (hence returning this user only)onlyFollowing
- - if TRUE then will only return activities of users this user followsminFeedId
- - inclusive from min feed DB id, if -1 then return all available
@NotAuditable java.util.List getUserFeedEntries(java.lang.String feedUserId, java.lang.String format, java.lang.String siteId, boolean excludeThisUser, boolean excludeOtherUsers, java.util.Set userFilter, java.util.Set actvityFilter, long minFeedId)
userId
- - requiredformat
- - requiredsiteId
- - optional, if set then will filter by given siteId else return all sitesexcludeThisUser
- - if TRUE then will exclude activities for this user (hence returning other users only)excludeOthersUsers
- - if TRUE then will exclude activities for other users (hence returning this user only)onlyFollowing
- - if TRUE then will only return activities of users this user followsuserFilter
- - if not NULL then will only return activities of users in this setactvityFilter
- - if not NULL then will only return activities that are in this setminFeedId
- - inclusive from min feed DB id, if -1 then return all available
@NotAuditable java.util.List getSiteFeedEntries(java.lang.String siteId, java.lang.String format)
activityType
- - requiredformat
- - required
@NotAuditable int getMaxFeedItems()
@NotAuditable void setFeedControl(FeedControl feedControl)
feedControl
- - required@NotAuditable java.util.List getFeedControls(java.lang.String userId)
userId
- - required (must match
@NotAuditable java.util.List getFeedControls()
@NotAuditable void unsetFeedControl(FeedControl feedControl)
feedControl
- - required@NotAuditable boolean existsFeedControl(FeedControl feedControl)
feedControl
- - required
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |