Click or drag to resize

ISchema Methods


The ISchema type exposes the following members.

Methods
  NameDescription
Public methodAddAllowedRootCategory
Adds a new root category to the allowed root categories collection.
(Inherited from ISchemaCommon.)
Public methodAddDefaultCategory
Adds a new default category.
(Inherited from ISchemaCommon.)
Public methodAddField
Adds a new schema field to the collection, either at the specified position or at the end.
(Inherited from ISchemaCommon.)
Public methodAllowedCategoryRoots
Retrieves the collection of categories. Categories and their descendants in this collection are allowed to be associated with pages created with this schema.
(Inherited from ISchemaCommon.)
Public methodAllowedCategoryRootsCount
Gets the count of allowed root categories.
(Inherited from ISchemaCommon.)
Public methodClearAllowedCategoryRoots
Clears all allowed root categories.
(Inherited from ISchemaCommon.)
Public methodClearDefaultCategories
Clear all default categories.
(Inherited from ISchemaCommon.)
Public methodClearFields
Clears all Fields from the collection.
(Inherited from ISchemaCommon.)
Public methodDefaultCategories
Retrieves the default categories collection for pages created with this schema. When page is created, these categories are automaticaly applied to the page.
(Inherited from ISchemaCommon.)
Public methodDefaultCategoriesCount
Gets the count of default categories.
(Inherited from ISchemaCommon.)
Public methodField(Int32)
Retrieves a schema field by its positional index.
(Inherited from ISchemaCommon.)
Public methodField(String)
Retrieves a schema field by its name.
(Inherited from ISchemaCommon.)
Public methodFields
Gets the collection of fields in this schema.
(Inherited from ISchemaCommon.)
Public methodFieldsCount
Gets the count of fields in this schema.
(Inherited from ISchemaCommon.)
Public methodIsSystemSchema
Checks whether this Schema is an essential schema that comes with default CMS instance.
(Inherited from ISchemaWithVersionsT.)
Public methodRemoveAllowedRootCategory
Removes a category from the the allowed root categories collection.
(Inherited from ISchemaCommon.)
Public methodRemoveDefaultCategory
Removes a default category.
(Inherited from ISchemaCommon.)
Public methodRemoveField
Removes from the collection a schema field at a specified index.
(Inherited from ISchemaCommon.)
Public methodSave
Saves this schema.
(Inherited from ISchemaWithVersions.)
Public methodSetThumbnail (Inherited from ISchemaWithVersions.)
Public methodTouch
Updated the entity's LastModified value to the current time.
(Inherited from IEntity.)
Public methodUpdateContent
Updates the schema with provided XML content and saves the schema in draft mode. If new content doesn't have a matching root name and friendly name, it will not be accepted.
(Inherited from ISchemaWithVersions.)
Public methodValidateData
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.)
Public methodValidateUserPermission
Validates the user permission on the current entity. Implemented by concrete inheriting types. It is called automatically upon saving an entity.
(Inherited from IEntity.)
Public methodVersion (Inherited from ISchemaWithVersionsT.)
Public methodVersions (Inherited from ISchemaWithVersionsT.)
Public methodVersionsCount (Inherited from ISchemaWithVersions.)
Top
See Also