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

Class ContentDataStore

Inheritance
System.Object
ContentDataStore
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("contentdata")]
public class ContentDataStore : RestControllerBase, IAsyncController, IController, IAsyncManagerContainer

Constructors

ContentDataStore(IContentRepository, IContentVersionRepository, IContentChangeManager, IContentStoreModelCreator, ILocalAssetNameGenerator, LanguageResolver)

Declaration
public ContentDataStore(IContentRepository contentRepository, IContentVersionRepository contentVersionRepository, IContentChangeManager contentChangeManager, IContentStoreModelCreator contentStoreModelCreator, ILocalAssetNameGenerator localAssetNameGenerator, LanguageResolver languageResolver)
Parameters
Type Name Description
IContentRepository contentRepository
IContentVersionRepository contentVersionRepository
IContentChangeManager contentChangeManager
IContentStoreModelCreator contentStoreModelCreator
ILocalAssetNameGenerator localAssetNameGenerator
LanguageResolver languageResolver

Methods

ChangeStatus(ContentReference, SaveAction)

Declaration
public ActionResult ChangeStatus(ContentReference id, SaveAction action)
Parameters
Type Name Description
ContentReference id
SaveAction action
Returns
Type Description
System.Web.Mvc.ActionResult

Get(ContentReference, ContentReference, String[])

Declaration
public ActionResult Get(ContentReference id, ContentReference parentLink, string[] typeIdentifiers)
Parameters
Type Name Description
ContentReference id
ContentReference parentLink
System.String[] typeIdentifiers
Returns
Type Description
System.Web.Mvc.ActionResult

Patch(PatchContentDataModel)

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

Post(PostContentModel)

Declaration
public ActionResult Post(PostContentModel entity)
Parameters
Type Name Description
PostContentModel entity
Returns
Type Description
System.Web.Mvc.ActionResult

Implements

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

Extension Methods