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

Class VisitorGroupsController

Inheritance
System.Object
VisitorGroupsController
Namespace: EPiServer.Cms.Shell.UI.Controllers.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public class VisitorGroupsController : Controller

Constructors

VisitorGroupsController(LocalizationService, IVisitorGroupRepository, IVisitorGroupCriterionRepository, ModuleTable, IVisitorGroupsStatisticsLoggerRegistry, EpochToIsoConverter, IClientGeolocationResolver)

Declaration
public VisitorGroupsController(LocalizationService localizationService, IVisitorGroupRepository visitorGroupStore, IVisitorGroupCriterionRepository visitorGroupCriterionStore, ModuleTable moduleTable, IVisitorGroupsStatisticsLoggerRegistry visitorGroupsStatisticsLoggerRegistry, EpochToIsoConverter epochToIsoConverter, IClientGeolocationResolver clientGeolocationResolver)
Parameters
Type Name Description
LocalizationService localizationService
IVisitorGroupRepository visitorGroupStore
IVisitorGroupCriterionRepository visitorGroupCriterionStore
ModuleTable moduleTable
IVisitorGroupsStatisticsLoggerRegistry visitorGroupsStatisticsLoggerRegistry
EpochToIsoConverter epochToIsoConverter
IClientGeolocationResolver clientGeolocationResolver

Methods

Copy(Guid)

Declaration
public JsonResult Copy(Guid groupId)
Parameters
Type Name Description
System.Guid groupId
Returns
Type Description
System.Web.Mvc.JsonResult

Create()

Declaration
public ActionResult Create()
Returns
Type Description
System.Web.Mvc.ActionResult

CriteriaModelDefinition(String)

Declaration
public ActionResult CriteriaModelDefinition(string typeName)
Parameters
Type Name Description
System.String typeName
Returns
Type Description
System.Web.Mvc.ActionResult

CriteriaUI(String)

Declaration
public ActionResult CriteriaUI(string typeName)
Parameters
Type Name Description
System.String typeName
Returns
Type Description
System.Web.Mvc.ActionResult

Delete(Guid)

Declaration
public JsonResult Delete(Guid groupId)
Parameters
Type Name Description
System.Guid groupId
Returns
Type Description
System.Web.Mvc.JsonResult

DeleteStatistics(Guid)

Declaration
public JsonResult DeleteStatistics(Guid groupId)
Parameters
Type Name Description
System.Guid groupId
Returns
Type Description
System.Web.Mvc.JsonResult

Edit(Nullable<Guid>)

Declaration
public ActionResult Edit(Guid? groupId)
Parameters
Type Name Description
System.Nullable<System.Guid> groupId
Returns
Type Description
System.Web.Mvc.ActionResult

GetCriteriaByCategory()

Declaration
public JsonResult GetCriteriaByCategory()
Returns
Type Description
System.Web.Mvc.JsonResult

GetVisitorGroup(Guid)

Declaration
public JsonResult GetVisitorGroup(Guid visitorGroupId)
Parameters
Type Name Description
System.Guid visitorGroupId
Returns
Type Description
System.Web.Mvc.JsonResult

Index()

Declaration
public ActionResult Index()
Returns
Type Description
System.Web.Mvc.ActionResult

SaveVisitorGroup(VisitorGroup)

Declaration
public JsonResult SaveVisitorGroup(VisitorGroup visitorGroup)
Parameters
Type Name Description
VisitorGroup visitorGroup
Returns
Type Description
System.Web.Mvc.JsonResult

Translate(String)

Declaration
public ActionResult Translate(string keys)
Parameters
Type Name Description
System.String keys
Returns
Type Description
System.Web.Mvc.ActionResult

Extension Methods