With Opticon around the corner, we'll be canceling this month's (Sept) Happy Hour.

Class AssociationStore

Inheritance
System.Object
AssociationStore
Namespace: EPiServer.Commerce.Shell.Rest
Assembly: EPiServer.Commerce.Shell.dll
Version: 13.30.0
Syntax
public class AssociationStore : LinkStoreBase

Constructors

AssociationStore(IAssociationRepository, IContentLoader, ReferenceConverter, RestStoreHelper, UIDescriptorRegistry)

Declaration
public AssociationStore(IAssociationRepository associationRepository, IContentLoader contentLoader, ReferenceConverter referenceConverter, RestStoreHelper restStoreHelper, UIDescriptorRegistry uiDescriptorRegistry)
Parameters
Type Name Description
IAssociationRepository associationRepository
EPiServer.IContentLoader contentLoader
ReferenceConverter referenceConverter
RestStoreHelper restStoreHelper
EPiServer.Shell.UIDescriptorRegistry uiDescriptorRegistry

Methods

Delete(String)

Declaration
public RestResultBase Delete(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
EPiServer.Shell.Services.Rest.RestResultBase

Get(String, ContentReference, ItemRange)

Declaration
public RestResultBase Get(string id, ContentReference referenceId, ItemRange range)
Parameters
Type Name Description
System.String id
EPiServer.Core.ContentReference referenceId
EPiServer.Shell.Services.Rest.ItemRange range
Returns
Type Description
EPiServer.Shell.Services.Rest.RestResultBase

GetAssociationModels(ContentReference)

Declaration
protected IEnumerable<AssociationModel> GetAssociationModels(ContentReference contentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
Returns
Type Description
System.Collections.Generic.IEnumerable<AssociationModel>

Post(AssociationModel)

Declaration
public ActionResult Post(AssociationModel model)
Parameters
Type Name Description
AssociationModel model
Returns
Type Description
System.Web.Mvc.ActionResult

Put(AssociationModel)

Declaration
public ActionResult Put(AssociationModel model)
Parameters
Type Name Description
AssociationModel model
Returns
Type Description
System.Web.Mvc.ActionResult