Ektron.Cms.Framework.Activity.ActivityTypeManager

Api class for managing builtin activity types and creating custom activity types in ActivityStreams.

Properties
ActivityTypeService Activity Type Service
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
ActivityTypeManager Constructor
ActivityTypeManager(ApiAccessMode) constructor
Add(ActivityTypeData) Adds a new ActivityType to Cms. The ActivityType.Id property will be populated with the new ActivityType's Id.
Update(ActivityTypeData) Updates an existing ActivityType in Cms.
Delete(Int64) Deletes a ActivityType from the Cms.
GetItem(Int64) Retrieves a ActivityType by Id.
GetList(ActivityTypeCriteria) Retrieves a list.