Click or drag to resize

ISchemaCommon Methods


The ISchemaCommon type exposes the following members.

Methods
  NameDescription
Public methodAddAllowedRootCategory
Adds a new root category to the allowed root categories collection.
Public methodAddDefaultCategory
Adds a new default category.
Public methodAddField
Adds a new schema field to the collection, either at the specified position or at the end.
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.
Public methodAllowedCategoryRootsCount
Gets the count of allowed root categories.
Public methodClearAllowedCategoryRoots
Clears all allowed root categories.
Public methodClearDefaultCategories
Clear all default categories.
Public methodClearFields
Clears all Fields from the collection.
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.
Public methodDefaultCategoriesCount
Gets the count of default categories.
Public methodField(Int32)
Retrieves a schema field by its positional index.
Public methodField(String)
Retrieves a schema field by its name.
Public methodFields
Gets the collection of fields in this schema.
Public methodFieldsCount
Gets the count of fields in this schema.
Public methodGetDuplicateFieldUniqueIds
Detects if there are fields in the schema that contain colliding UniqueIds
Public methodRemoveAllowedRootCategory
Removes a category from the the allowed root categories collection.
Public methodRemoveDefaultCategory
Removes a default category.
Public methodRemoveField
Removes from the collection a schema field at a specified index.
Public methodTouch
Updated the entity's LastModified value to the current time.
(Inherited from IEntity.)
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.)
Top
See Also