Ektron.Cms.Framework.Content.MetadataTypeManager

Meta data type manager

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.
MetadataTypeService returns an instance of the business objects MetadataType Service.
RequestInformation Gets the current Request Information.
SitePath Gets the site path.
UserId Gets or sets the currently logged in user ID.
Method Description
MetadataTypeManager Constructor
MetadataTypeManager(ApiAccessMode) Constructor with Api mode
Add(ContentMetaData) Adds new metadata type
Update(ContentMetaData) Update metadata type
Delete(Int64) Delete metadata type
GetItem(Int64) Get the content item
GetList(MetadataTypeCriteria) Retrieves a list based on the criteria