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

Interface IAdministrationSettingsService

Handles administration settings for content types and properties.

Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public interface IAdministrationSettingsService

Methods

GetAttribute(ContentType)

Get administration settings attribute if specified on content type or just default values

Declaration
AdministrationSettingsAttribute GetAttribute(ContentType contentType)
Parameters
Type Name Description
ContentType contentType

The content type

Returns
Type Description
AdministrationSettingsAttribute

Administration settings

GetAttribute(PropertyDefinition)

Get administration settings attribute if specified on property or just default values

Declaration
AdministrationSettingsAttribute GetAttribute(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
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
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.

Extension Methods