ISchema
|
The ISchemaWithVersionsT type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
AddAllowedRootCategory |
Adds a new root category to the allowed root categories collection.
(Inherited from ISchemaCommon) |
|
|
AddDefaultCategory |
Adds a new default category.
(Inherited from ISchemaCommon) |
|
|
AddField |
Adds a new schema field to the collection, either at the specified position or at the end.
(Inherited from ISchemaCommon) |
|
|
AllowedCategoryRoots |
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) |
|
|
AllowedCategoryRootsCount |
Gets the count of allowed root categories.
(Inherited from ISchemaCommon) |
|
|
ClearAllowedCategoryRoots |
Clears all allowed root categories.
(Inherited from ISchemaCommon) |
|
|
ClearDefaultCategories |
Clear all default categories.
(Inherited from ISchemaCommon) |
|
|
ClearFields |
Clears all Fields from the collection.
(Inherited from ISchemaCommon) |
|
|
DefaultCategories |
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) |
|
|
DefaultCategoriesCount |
Gets the count of default categories.
(Inherited from ISchemaCommon) |
|
|
Field(Int32) |
Retrieves a schema field by its positional index.
(Inherited from ISchemaCommon) |
|
|
Field(String) |
Retrieves a schema field by its name.
(Inherited from ISchemaCommon) |
|
|
Fields |
Gets the collection of fields in this schema.
(Inherited from ISchemaCommon) |
|
|
FieldsCount |
Gets the count of fields in this schema.
(Inherited from ISchemaCommon) |
|
|
GetDuplicateFieldUniqueIds |
Detects if there are fields in the schema that contain colliding UniqueIds
(Inherited from ISchemaCommon) |
|
|
IsSystemSchema | Checks whether this Schema is an essential schema that comes with default CMS instance. |
|
|
RemoveAllowedRootCategory |
Removes a category from the the allowed root categories collection.
(Inherited from ISchemaCommon) |
|
|
RemoveDefaultCategory |
Removes a default category.
(Inherited from ISchemaCommon) |
|
|
RemoveField |
Removes from the collection a schema field at a specified index.
(Inherited from ISchemaCommon) |
|
|
Save |
Saves this schema.
(Inherited from ISchemaWithVersions) |
|
|
SetThumbnail |
Sets a thumbnail image for this schema
(Inherited from ISchemaWithVersions) |
|
|
Touch |
Updated the entity's LastModified value to the current time.
(Inherited from IEntity) |
|
|
UpdateContent |
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) |
|
|
ValidateData |
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity) |
|
|
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) |
|
|
Version | Retrieves the specific version for this schema |
|
|
Versions | Retrieves a collection of version objects belongs to schema |
|
|
VersionsCount |
Retrieved the number of versions existing for this schema
(Inherited from ISchemaWithVersions) |