Ektron.Cms.Framework.Settings.TaskManager

Task Manager Class

Properties
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.
TaskManagerService returns an instance of the business objects task manager service.
UserId Gets or sets the currently logged in user ID.
Method Description
TaskManager constructor
TaskManager(ApiAccessMode) constructor
Add(TaskData) Adds a new task based on information in an TaskData object. message.Id will be populated with the newly created ID.
Update(TaskData) Updates an existing task in the CMS.
Delete(Int64) Deletes a task in the CMS.
GetItem(Int64) Retrieves a single TaskData object from the CMS.
GetList(TaskCriteria) Retrieves a list of TaskData objects based upon the supplied criteria.