Class AdministrationSettingsService
Handles administration settings for content types and properties.
Inheritance
Inherited Members
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[ServiceConfiguration]
public class AdministrationSettingsServiceConstructors
AdministrationSettingsService()
Declaration
public AdministrationSettingsService()AdministrationSettingsService(IContentTypeRepository, ContentTypeModelRepository, PropertyDefinitionSynchronizer)
Declaration
public AdministrationSettingsService(IContentTypeRepository contentTypeRepository, ContentTypeModelRepository contentTypeModelRepository, PropertyDefinitionSynchronizer propertyDefinitionSynchronizer)Parameters
| Type | Name | Description | 
|---|---|---|
| IContentTypeRepository | contentTypeRepository | |
| ContentTypeModelRepository | contentTypeModelRepository | |
| PropertyDefinitionSynchronizer | propertyDefinitionSynchronizer | 
Methods
GetAdministrationSettings(ContentType)
Get administration settings if content type is found or just default values
Declaration
public virtual AdministrationSettingsAttribute GetAdministrationSettings(ContentType contentType)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentType | contentType | The content type | 
Returns
| Type | Description | 
|---|---|
| AdministrationSettingsAttribute | Administration settings | 
GetAdministrationSettings(PropertyDefinition)
Get administration settings if content type is found or just default values
Declaration
public virtual AdministrationSettingsAttribute GetAdministrationSettings(PropertyDefinition propertyDefinition)Parameters
| Type | Name | Description | 
|---|---|---|
| PropertyDefinition | propertyDefinition | The property definition | 
Returns
| Type | Description | 
|---|---|
| AdministrationSettingsAttribute | Administration settings | 
GetEnabledFields(ContentType)
Gets the settings indicating what fields that should enabled/disabled when administrating the specified ContentType.
Declaration
public virtual ContentTypeFields GetEnabledFields(ContentType contentType)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentType | contentType | The content type the fields are regarding. | 
Returns
| Type | Description | 
|---|---|
| ContentTypeFields | The fields that should be available for administration. | 
GetEnabledFields(PropertyDefinition)
Gets the settings indicating what fields that should enabled/disabled when administrating the specified PropertyDefinition.
Declaration
public virtual PropertyDefinitionFields GetEnabledFields(PropertyDefinition propertyDefinition)Parameters
| Type | Name | Description | 
|---|---|---|
| PropertyDefinition | propertyDefinition | The property definition to get the enabled field for. | 
Returns
| Type | Description | 
|---|---|
| PropertyDefinitionFields | The fields that should be available for administration. | 
