SaaS CMS has officially launched! Learn more now.

Class ContentProviderCapabilities

Specifies which capabilitites that a content provider instance supports. The class ContentProvider will during it's initialization read the passed in configaration values and see which capabilites attributes that are present and set the capabilities for the page provider instance from those values.

Inheritance
System.Object
ContentProviderCapabilities
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public sealed class ContentProviderCapabilities : Enum

Fields

Copy

Supports copy of pages internally within the pages served by the provider. To support copy of pages between different page providers the capability that has to supported is Create/>.

Declaration
public const ContentProviderCapabilities Copy
Field Value
Type Description
ContentProviderCapabilities
Remarks

The ContentProvider class implementation will check if attribute "copy" exist in configruation attributes and has value "true" if so it returns true else it returns false.

Create

Supports creation of new pages

Declaration
public const ContentProviderCapabilities Create
Field Value
Type Description
ContentProviderCapabilities
Remarks

The ContentProvider class implementation will check if attribute "create" exist in configruation attributes and has value "true" if so it returns true else it returns false.

Delete

Supports deletion of pages

Declaration
public const ContentProviderCapabilities Delete
Field Value
Type Description
ContentProviderCapabilities
Remarks

The ContentProvider class implementation will check if attribute "delete" exist in configruation attributes and has value "true" if so it returns true else it returns false.

Edit

Supports editing of existing pages

Declaration
public const ContentProviderCapabilities Edit
Field Value
Type Description
ContentProviderCapabilities
Remarks

The ContentProvider class implementation will check if attribute "edit" exist in configruation attributes and has value "true" if so it returns true else it returns false.

Move

Supports moving of pages internally within the pages served by the provider. To support moving of pages between different page providers the capability that has to supported is Create/>.

Declaration
public const ContentProviderCapabilities Move
Field Value
Type Description
ContentProviderCapabilities
Remarks

The ContentProvider class implementation will check if attribute "move" exist in configruation attributes and has value "true" if so it returns true else it returns false.

MultiLanguage

Gets a value indicating wether this page provider instance supports pages with multiple languages

Declaration
public const ContentProviderCapabilities MultiLanguage
Field Value
Type Description
ContentProviderCapabilities
Remarks

The ContentProvider class implementation will check if attribute "multiLanguage" exist in configruation attributes and has value "true" if so it returns true else it returns false.

None

The provider supports only read of pages.

Declaration
public const ContentProviderCapabilities None
Field Value
Type Description
ContentProviderCapabilities

PageFolder

States whether page provider stores resources in page folders.

Declaration
public const ContentProviderCapabilities PageFolder
Field Value
Type Description
ContentProviderCapabilities

Supports search in page data served by the provider.

Declaration
public const ContentProviderCapabilities Search
Field Value
Type Description
ContentProviderCapabilities
Remarks

The ContentProvider class implementation will check if attribute "search" exist in configruation attributes and has value "true" if so it returns true else it returns false.

Security

Gets a value indicating wether this page provider instance supports access checks

Declaration
public const ContentProviderCapabilities Security
Field Value
Type Description
ContentProviderCapabilities
Remarks

The ContentProvider class implementation will check if attribute "security" exist in configruation attributes and has value "true" if so it returns true else it returns false.

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Wastebasket

Get a value indication wether this provider supports the wastebasket concept

Declaration
public const ContentProviderCapabilities Wastebasket
Field Value
Type Description
ContentProviderCapabilities

Extension Methods