Class PersonalizedViewSettingsManager
Inheritance
System.Object
PersonalizedViewSettingsManager
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.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 11.20.7Syntax
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class PersonalizedViewSettingsManager
Constructors
PersonalizedViewSettingsManager(IPersonalizedViewSettingsRepository, IViewManager)
Declaration
public PersonalizedViewSettingsManager(IPersonalizedViewSettingsRepository repository, IViewManager viewManager)
Parameters
| Type | Name | Description |
|---|---|---|
| IPersonalizedViewSettingsRepository | repository | |
| IViewManager | viewManager |
Properties
Repository
Declaration
public IPersonalizedViewSettingsRepository Repository { get; }
Property Value
| Type | Description |
|---|---|
| IPersonalizedViewSettingsRepository |
Methods
DeleteComponent(IPrincipal, String, Guid)
Declaration
public void DeleteComponent(IPrincipal principal, string viewName, Guid id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Security.Principal.IPrincipal | principal | |
| System.String | viewName | |
| System.Guid | id |
GetOrCreateCustomizedComponent(IPrincipal, String, Guid)
Declaration
public IComponent GetOrCreateCustomizedComponent(IPrincipal principal, string viewName, Guid containerId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Security.Principal.IPrincipal | principal | |
| System.String | viewName | |
| System.Guid | containerId |
Returns
| Type | Description |
|---|---|
| IComponent |
GetOrCreatePersonalizedComponent(IPrincipal, String, Guid, out PersonalizedViewSettings, out IContainer)
Declaration
public IComponent GetOrCreatePersonalizedComponent(IPrincipal principal, string viewName, Guid componentId, out PersonalizedViewSettings personalizedViewSettings, out IContainer personalizationContainer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Security.Principal.IPrincipal | principal | |
| System.String | viewName | |
| System.Guid | componentId | |
| PersonalizedViewSettings | personalizedViewSettings | |
| IContainer | personalizationContainer |
Returns
| Type | Description |
|---|---|
| IComponent |
GetUserSettings(String, IPrincipal, Boolean)
Declaration
public PersonalizedViewSettings GetUserSettings(string viewName, IPrincipal principal, bool createIfItemDoesNotExist)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | viewName | |
| System.Security.Principal.IPrincipal | principal | |
| System.Boolean | createIfItemDoesNotExist |
Returns
| Type | Description |
|---|---|
| PersonalizedViewSettings |