Class ComponentStore
Inheritance
System.Object
ComponentStore
Implements
System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer
Assembly: EPiServer.Shell.UI.dll
Version: 11.20.7
Syntax
[RestStore("component")]
public class ComponentStore : RestControllerBase, IAsyncController, IController, IAsyncManagerContainer
Constructors
ComponentStore(IComponentManager, IViewManager, PersonalizedViewSettingsManager)
Declaration
public ComponentStore(IComponentManager componentManager, IViewManager viewManager, PersonalizedViewSettingsManager personalizedViewSettingsManager)
Parameters
Methods
Delete(Guid, String)
Declaration
public RestResult Delete(Guid id, string viewName)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
viewName |
|
Returns
Get(String, Nullable<Guid>, Nullable<Guid>, String)
Declaration
public RestResult Get(string viewName, Guid? parentId, Guid? componentId, string componentTypeName)
Parameters
Type |
Name |
Description |
System.String |
viewName |
|
System.Nullable<System.Guid> |
parentId |
|
System.Nullable<System.Guid> |
componentId |
|
System.String |
componentTypeName |
|
Returns
Post(ComponentViewModel)
Declaration
public RestResult Post(ComponentViewModel data)
Parameters
Returns
PrepareForSaveRecursive(IComponent)
Declaration
protected void PrepareForSaveRecursive(IComponent component)
Parameters
Put(ComponentViewModel)
Declaration
public RestResult Put(ComponentViewModel data)
Parameters
Returns
Save(IEnumerable<ComponentViewModel>)
Declaration
public RestResult Save(IEnumerable<ComponentViewModel> components)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<ComponentViewModel> |
components |
|
Returns
UpdateSettings(IComponent)
Declaration
protected void UpdateSettings(IComponent component)
Parameters
Implements
System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer
Extension Methods