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
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public sealed class ContentProviderCapabilities : EnumFields
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 CopyField 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 CreateField 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 DeleteField 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 EditField 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 MoveField 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 MultiLanguageField 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 NoneField Value
| Type | Description | 
|---|---|
| ContentProviderCapabilities | 
PageFolder
States whether page provider stores resources in page folders.
Declaration
public const ContentProviderCapabilities PageFolderField Value
| Type | Description | 
|---|---|
| ContentProviderCapabilities | 
Search
Supports search in page data served by the provider.
Declaration
public const ContentProviderCapabilities SearchField 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 SecurityField 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 WastebasketField Value
| Type | Description | 
|---|---|
| ContentProviderCapabilities | 
