SaaS CMS has officially launched! Learn more now.

Class SystemSchemaElementHandler

Represents default schema element handler.

Inheritance
System.Object
SystemSchemaElementHandler
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: Mediachase.BusinessFoundation.Data.Meta.Schema
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public sealed class SystemSchemaElementHandler : ISchemaElementHandler

Constructors

SystemSchemaElementHandler()

Initializes a new instance of the SystemSchemaElementHandler class.

Declaration
public SystemSchemaElementHandler()

Fields

MetaClassAttributesElementName

Declaration
public const string MetaClassAttributesElementName = "MetaClass_Attributes"
Field Value
Type Description
System.String

MetaClassContainerName

Declaration
public const string MetaClassContainerName = "MetaClass"
Field Value
Type Description
System.String

MetaClassDataSourceElementName

Declaration
public const string MetaClassDataSourceElementName = "MetaClass_DataSource"
Field Value
Type Description
System.String

MetaClassFriendlyNameElementName

Declaration
public const string MetaClassFriendlyNameElementName = "MetaClass_FriendlyName"
Field Value
Type Description
System.String

MetaClassModuleContainerName

Declaration
public const string MetaClassModuleContainerName = "MetaClass_Module"
Field Value
Type Description
System.String

MetaClassModuleMetaDataContainerName

Declaration
public const string MetaClassModuleMetaDataContainerName = "MetaClass_ModuleMetaData"
Field Value
Type Description
System.String

MetaClassPluralNameElementName

Declaration
public const string MetaClassPluralNameElementName = "MetaClass_PluralName"
Field Value
Type Description
System.String

MetaClassTitleFieldNameElementName

Declaration
public const string MetaClassTitleFieldNameElementName = "MetaClass_TitleFieldName"
Field Value
Type Description
System.String

MetaClassValidatorsElementName

Declaration
public const string MetaClassValidatorsElementName = "MetaClass_Validators"
Field Value
Type Description
System.String

MetaEnumAttributesElementName

Declaration
public const string MetaEnumAttributesElementName = "MetaEnum_Attributes"
Field Value
Type Description
System.String

MetaEnumContainerName

Declaration
public const string MetaEnumContainerName = "MetaEnum"
Field Value
Type Description
System.String

MetaEnumItemContainerName

Declaration
public const string MetaEnumItemContainerName = "MetaEnumItem"
Field Value
Type Description
System.String

MetaEnumItemNameElementName

Declaration
public const string MetaEnumItemNameElementName = "MetaEnumItem_Name"
Field Value
Type Description
System.String

MetaEnumItemOrderIdElementName

Declaration
public const string MetaEnumItemOrderIdElementName = "MetaEnumItem_OrderId"
Field Value
Type Description
System.String

MetaFieldAttributesElementName

Declaration
public const string MetaFieldAttributesElementName = "MetaField_Attributes"
Field Value
Type Description
System.String

MetaFieldContainerName

Declaration
public const string MetaFieldContainerName = "MetaField"
Field Value
Type Description
System.String

MetaFieldDataSourceElementName

Declaration
public const string MetaFieldDataSourceElementName = "MetaField_DataSource"
Field Value
Type Description
System.String

MetaFieldDefaultValueElementName

Declaration
public const string MetaFieldDefaultValueElementName = "MetaField_DefaultValue"
Field Value
Type Description
System.String

MetaFieldFriendlyNameElementName

Declaration
public const string MetaFieldFriendlyNameElementName = "MetaField_FriendlyName"
Field Value
Type Description
System.String

MetaFieldReadOnlyElementName

Declaration
public const string MetaFieldReadOnlyElementName = "MetaField_ReadOnly"
Field Value
Type Description
System.String

ModuleContainerName

Declaration
public const string ModuleContainerName = "Module"
Field Value
Type Description
System.String

ModuleMetaDataContainerName

Declaration
public const string ModuleMetaDataContainerName = "ModuleMetaData"
Field Value
Type Description
System.String

Methods

GetMetaClassLevel(MetaClass)

Gets the meta class level.

Declaration
public static AccessLevel GetMetaClassLevel(MetaClass metaClass)
Parameters
Type Name Description
MetaClass metaClass

The meta class.

Returns
Type Description
AccessLevel

GetMetaFieldLevel(MetaField)

Gets the meta field level.

Declaration
public static AccessLevel GetMetaFieldLevel(MetaField metaField)
Parameters
Type Name Description
MetaField metaField

The meta field.

Returns
Type Description
AccessLevel

Explicit Interface Implementations

ISchemaElementHandler.AfterWriteElements(XmlWriter, String[], String)

Afters the write elements.

Declaration
void ISchemaElementHandler.AfterWriteElements(XmlWriter writer, string[] parentKeys, string containerId)
Parameters
Type Name Description
System.Xml.XmlWriter writer

The writer.

System.String[] parentKeys

The parent keys.

System.String containerId

Name of the container.

ISchemaElementHandler.BeforeWriteElements(XmlWriter, String[], String)

Befores the write elements.

Declaration
void ISchemaElementHandler.BeforeWriteElements(XmlWriter writer, string[] parentKeys, string containerId)
Parameters
Type Name Description
System.Xml.XmlWriter writer

The writer.

System.String[] parentKeys

The parent keys.

System.String containerId

Name of the container.

ISchemaElementHandler.ExecuteCommand(SyncCommand)

Applies the add command.

Declaration
void ISchemaElementHandler.ExecuteCommand(SyncCommand cmd)
Parameters
Type Name Description
SyncCommand cmd

The sync command.

ISchemaElementHandler.GetAvailableElements(String[], String, AccessLevel)

Gets the available items for specific container.

Declaration
MetaModelElement[] ISchemaElementHandler.GetAvailableElements(string[] parentKeys, string containerId, AccessLevel outputLevel)
Parameters
Type Name Description
System.String[] parentKeys

The parent keys.

System.String containerId

Name of the container.

AccessLevel outputLevel

The output level.

Returns
Type Description
MetaModelElement[]

ISchemaElementHandler.GetSyncCommandOrderId(SyncCommand)

Declaration
int ISchemaElementHandler.GetSyncCommandOrderId(SyncCommand cmd)
Parameters
Type Name Description
SyncCommand cmd
Returns
Type Description
System.Int32

ISchemaElementHandler.WriteElementProperties(XmlWriter, MetaModelElement)

Writes the start element.

Declaration
void ISchemaElementHandler.WriteElementProperties(XmlWriter writer, MetaModelElement element)
Parameters
Type Name Description
System.Xml.XmlWriter writer

The writer.

MetaModelElement element

The element.

ISchemaElementHandler.WriteEndElement(XmlWriter, MetaModelElement)

Writes the end element.

Declaration
void ISchemaElementHandler.WriteEndElement(XmlWriter writer, MetaModelElement element)
Parameters
Type Name Description
System.Xml.XmlWriter writer

The writer.

MetaModelElement element

The element.

ISchemaElementHandler.WriteStartElement(XmlWriter, MetaModelElement)

Writes the start element.

Declaration
void ISchemaElementHandler.WriteStartElement(XmlWriter writer, MetaModelElement element)
Parameters
Type Name Description
System.Xml.XmlWriter writer

The writer.

MetaModelElement element

The element.

Implements