Ektron.Cms.Framework.Content.TemplateManager

Template 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.
TemplateService returns an instance of the business objects Template Service.
UserId Gets or sets the currently logged in user ID.
Method Description
TemplateManager constructor
TemplateManager(ApiAccessMode) constructor
Add(TemplateData) Adds a new Template based on information in a TemplateData.
Update(TemplateData) Updates an existing Template in the CMS.
Delete(Int64) Deletes a Template in the CMS.
GetItem(Int64) Retrieves a single TemplateData object from the CMS.
GetList(TemplateCriteria) Retrieves a list of TemplateData objects based upon the supplied criteria.