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

Class RestStoreHelper

Inheritance
System.Object
RestStoreHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Shell.Rest
Assembly: EPiServer.Commerce.Shell.dll
Version: 13.30.0
Syntax
public class RestStoreHelper

Constructors

RestStoreHelper(IContentLoader, LocalizationService)

Declaration
public RestStoreHelper(IContentLoader contentLoader, LocalizationService localizationService)
Parameters
Type Name Description
EPiServer.IContentLoader contentLoader
EPiServer.Framework.Localization.LocalizationService localizationService

Methods

CheckAccess(ContentReference, AccessLevel, out RestResultBase)

Declaration
public virtual bool CheckAccess(ContentReference contentLink, AccessLevel requiredAccess, out RestResultBase errorResult)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
EPiServer.Security.AccessLevel requiredAccess
EPiServer.Shell.Services.Rest.RestResultBase errorResult
Returns
Type Description
System.Boolean

GetErrorResult(HttpStatusCode, String)

Declaration
public virtual RestResultBase GetErrorResult(HttpStatusCode statusCode, string errorMessage)
Parameters
Type Name Description
System.Net.HttpStatusCode statusCode
System.String errorMessage
Returns
Type Description
EPiServer.Shell.Services.Rest.RestResultBase