November Happy Hour will be moved to Thursday December 5th.

Class ContentVersionStore

Inheritance
System.Object
ContentVersionStore
Implements
System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer
Namespace: EPiServer.Cms.Shell.UI.Rest.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
[RestStore("contentversion")]
public class ContentVersionStore : RestControllerBase, IAsyncController, IController, IAsyncManagerContainer

Constructors

ContentVersionStore(IContentRepository, IContentVersionRepository, LocalizationService)

Declaration
public ContentVersionStore(IContentRepository contentRepository, IContentVersionRepository contentVersionRepository, LocalizationService localizationService)
Parameters
Type Name Description
IContentRepository contentRepository
IContentVersionRepository contentVersionRepository
LocalizationService localizationService

Methods

Delete(ContentReference, Nullable<Boolean>)

Declaration
public RestResultBase Delete(ContentReference id, bool? deleteLanguageBranch)
Parameters
Type Name Description
ContentReference id
System.Nullable<System.Boolean> deleteLanguageBranch
Returns
Type Description
RestResultBase

Get(ContentReference, ContentReference, String, IEnumerable<SortColumn>, String, ItemRange)

Declaration
public RestResultBase Get(ContentReference id, ContentReference contentLink, string language, IEnumerable<SortColumn> sortColumns, string query, ItemRange range)
Parameters
Type Name Description
ContentReference id
ContentReference contentLink
System.String language
System.Collections.Generic.IEnumerable<SortColumn> sortColumns
System.String query
ItemRange range
Returns
Type Description
RestResultBase

Patch(ContentVersionViewModel)

Declaration
public RestResultBase Patch(ContentVersionViewModel entity)
Parameters
Type Name Description
ContentVersionViewModel entity
Returns
Type Description
RestResultBase

Post(CreateContentVersionViewModel)

Declaration
public RestResultBase Post(CreateContentVersionViewModel entity)
Parameters
Type Name Description
CreateContentVersionViewModel entity
Returns
Type Description
RestResultBase

Implements

System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer

Extension Methods