SaaS CMS has officially launched! Learn more now.

Interface IContentService

Namespace: EPiServer.Cms.Shell.Service
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public interface IContentService

Methods

Copy(IContent, ContentReference)

Declaration
ContentReference Copy(IContent content, ContentReference destination)
Parameters
Type Name Description
IContent content
ContentReference destination
Returns
Type Description
ContentReference

Delete(ContentReference, Boolean, AccessLevel)

Declaration
void Delete(ContentReference contentReference, bool forceDelete, AccessLevel accessLevel)
Parameters
Type Name Description
ContentReference contentReference
System.Boolean forceDelete
AccessLevel accessLevel

Move(IContent, ContentReference)

Declaration
ContentReference Move(IContent content, ContentReference destination)
Parameters
Type Name Description
IContent content
ContentReference destination
Returns
Type Description
ContentReference

Save(IContent, SaveAction)

Declaration
ContentReference Save(IContent content, SaveAction saveAction)
Parameters
Type Name Description
IContent content
SaveAction saveAction
Returns
Type Description
ContentReference

Save(IContent, SaveAction, AccessLevel)

Declaration
ContentReference Save(IContent content, SaveAction saveAction, AccessLevel accessLevel)
Parameters
Type Name Description
IContent content
SaveAction saveAction
AccessLevel accessLevel
Returns
Type Description
ContentReference

Extension Methods