Interface ISettingsManager

Namespace: EPiServer.Shell.UI.Models.VisitorGroupsStatistics
Assembly: EPiServer.Shell.UI.dll
Version: 11.20.7
Syntax
[Obsolete("The Episerver gadget framework has been deprecated so the Visitor Group Statistics gadget will be removed after the upcoming major release.")]
public interface ISettingsManager

Methods

AddStatisticToCache(String, IVisitorGroupStatisitcViewResult)

Declaration
void AddStatisticToCache(string cacheKey, IVisitorGroupStatisitcViewResult statisticsResult)
Parameters
Type Name Description
System.String cacheKey
IVisitorGroupStatisitcViewResult statisticsResult

Delete(Guid)

Declaration
void Delete(Guid gadgetId)
Parameters
Type Name Description
System.Guid gadgetId

GetAllStatisticViews(String)

Declaration
IEnumerable<SelectListItem> GetAllStatisticViews(string selectedView)
Parameters
Type Name Description
System.String selectedView
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.Mvc.SelectListItem>

GetChartDetails(String)

Declaration
IVisitorGroupStatisticChartDetails GetChartDetails(string viewName)
Parameters
Type Name Description
System.String viewName
Returns
Type Description
IVisitorGroupStatisticChartDetails

GetSetting(String)

Declaration
VisitorGroupStatisticSetting GetSetting(string viewName)
Parameters
Type Name Description
System.String viewName
Returns
Type Description
VisitorGroupStatisticSetting

GetStatistics(String, VisitorGroupStatisticSetting)

Declaration
IVisitorGroupStatisitcViewResult GetStatistics(string viewName, VisitorGroupStatisticSetting settings)
Parameters
Type Name Description
System.String viewName
VisitorGroupStatisticSetting settings
Returns
Type Description
IVisitorGroupStatisitcViewResult

GetTranslatedView(String)

Declaration
string GetTranslatedView(string viewName)
Parameters
Type Name Description
System.String viewName
Returns
Type Description
System.String

GetVisitorGroups(Boolean)

Declaration
IEnumerable<VisitorGroup> GetVisitorGroups(bool useVisitorGroupCache)
Parameters
Type Name Description
System.Boolean useVisitorGroupCache
Returns
Type Description
System.Collections.Generic.IEnumerable<VisitorGroup>

IsValid(Settings, out IDictionary<String, String>)

Declaration
bool IsValid(Settings settings, out IDictionary<string, string> errors)
Parameters
Type Name Description
Settings settings
System.Collections.Generic.IDictionary<System.String, System.String> errors
Returns
Type Description
System.Boolean

Load(Guid, Boolean)

Declaration
Settings Load(Guid gadgetId, bool useVisitorGroupCache)
Parameters
Type Name Description
System.Guid gadgetId
System.Boolean useVisitorGroupCache
Returns
Type Description
Settings

RemoveAllStatisticsFromCache()

Declaration
void RemoveAllStatisticsFromCache()

RemoveStatisticsFromCache(String)

Declaration
void RemoveStatisticsFromCache(string cacheKey)
Parameters
Type Name Description
System.String cacheKey

Save(Settings)

Declaration
void Save(Settings settings)
Parameters
Type Name Description
Settings settings

Extension Methods