Ektron.Cms.Framework.Activity.ActivityStreamManager

Api class for managing activities in ActivityStreams.

Properties
ActivityStreamService Gets instance to IActivityStream.
ApiMode Gets or sets the current API access mode. If set to Admin, the API runs with the permissions of an administrator.
ContentLanguage Gets or sets the current content language.
InPreviewMode Gets or sets the current Preview Mode. Returns true if the site is in site preview mode.
RequestInformation Gets the current Request Information.
SitePath Gets the site path.
UserId Gets or sets the currently logged in user ID.
Method Description
ActivityStreamManager constructor
ActivityStreamManager(ApiAccessMode)
GetUserActivityStream(Int64,PagingInfo) Returns a list of activities in a user's ActivityStream.
GetUserActivityStream(ActivityCriteria,Int64) Returns a list of activities in a user's ActivityStream based upon supplied criteria.
SendActivityToUsersStream(Int64,Int64) Adds an activity existing in the general feed to a user's feed.
SendActivityToStreams(Int64) Sends the activity to all applicable streams based upon the activity and users preferences.
SendActivityToAllStreams(Int64) Sends the activity directly to all user's streams.