Ektron.Cms.Framework.Content.AssetManager

Asset Manager

Properties
ApiMode Gets or sets the current API access mode. If set to Admin, the API runs with the permissions of an administrator.
AssetService returns an instance of the business objects Asset Service.
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
AssetManager constructor
AssetManager(ApiAccessMode)
Add(ContentAssetData) Adds new content. (This Method is Not Supported on WCF mode.)
Update(ContentAssetData) Update content. (This Method is Not Supported on WCF mode.)
Delete(Int64) Delete content
GetItem(Int64,Boolean) Retrieves a single asset item by ID.
GetList(AssetCriteria) Retrieves a list based on the supplied criteria.