|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicService 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 |
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. |
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 getSiteFeedEntries(java.lang.String siteId, java.lang.String format)
activityType
- - requiredformat
- - required
@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 |