Click or drag to resize

ISchemaCommon Methods


The ISchemaCommon type exposes the following members.

Methods
  Name Description
Public method AddAllowedRootCategory Adds a new root category to the allowed root categories collection.
Public method AddDefaultCategory Adds a new default category.
Public method AddField Adds a new schema field to the collection, either at the specified position or at the end.
Public method AllowedCategoryRoots Retrieves the collection of categories. Categories and their descendants in this collection are allowed to be associated with pages created with this schema.
Public method AllowedCategoryRootsCount Gets the count of allowed root categories.
Public method ClearAllowedCategoryRoots Clears all allowed root categories.
Public method ClearDefaultCategories Clear all default categories.
Public method ClearFields Clears all Fields from the collection.
Public method DefaultCategories Retrieves the default categories collection for pages created with this schema. When page is created, these categories are automaticaly applied to the page.
Public method DefaultCategoriesCount Gets the count of default categories.
Public method Field(Int32) Retrieves a schema field by its positional index.
Public method Field(String) Retrieves a schema field by its name.
Public method Fields Gets the collection of fields in this schema.
Public method FieldsCount Gets the count of fields in this schema.
Public method GetDuplicateFieldUniqueIds Detects if there are fields in the schema that contain colliding UniqueIds
Public method RemoveAllowedRootCategory Removes a category from the the allowed root categories collection.
Public method RemoveDefaultCategory Removes a default category.
Public method RemoveField Removes from the collection a schema field at a specified index.
Public method Touch Updated the entity's LastModified value to the current time.
(Inherited from IEntity)
Public method ValidateData Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity)
Public method ValidateUserPermission 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