Click or drag to resize

ISchemaManager Methods


The ISchemaManager type exposes the following members.

Methods
  Name Description
Public method AddFavorite Adds a new schema field favorite entry to a collection.
Public method AssetFolderSchema Gets the schema for asset folders.
Public method AssetSchema Retrieves an asset schema with the provided asset type.
Public method AssetSchemaByExtention Retrieves the first asset schema found that allows the provided extension.
Public method AssetSchemaByFriendlyName Retrieves a asset schema by its friendly name. Friendly names are unique to a schema's collection.
Public method AssetSchemaById Retrieves a asset schema by its ID.
Public method AssetSchemaByRootName Retrieves a asset schema by its root element name. Root element names are unique to a schema's collection.
Public method AssetSchemas(String) Retrieves asset schemas by unique ID.
Public method AssetSchemas(Int32, Int32, Int32) Retrieves asset schemas in a paginated fashion.
Public method AssetSchemasByTypes Gets a paginated list of Asset Schemas with the provided asset types.
Public method AssetSchemasCount Gets the count of all asset schemas, including schemas with errors that cannot be used to create assets.
Public method CreateAssetSchema Creates a new asset schema.
Public method Code example CreateComponentSchema Creates a new component schema. This schema creates a component page, which doesn't have a fixed view associated with it.
Public method CreateSchema(String, String, Int32, Boolean, Boolean, String, IPagePresentationCollection, String) Obsolete.
Creates a new Schema. This can be either a page or component schema.
Public method Code example CreateSchema(String, String, Int32, Boolean, EnumPageSchemaType, String, String, IPagePresentationCollection, String) Creates a new Schema. This can be either a page or component schema.
Public method DeepCloneT, TManager Duplicates an object instance, not including its unique ID.
(Inherited from ITransactionalEntity)
Public method ExtensionAllowedAssetSchemas Retrieves a paginated list of asset schemas that allow the provided extension.
Public method Favorite Retrieves a schema field favorite entry by it unique ID.
Public method Favorites Retrieves all the schema field favorites, in a paginated fashion. These favorites are field combinations used to make schema design more convenient for users.
Public method HasSchemaFriendlyName Checks whether a schema with a given friendly name exists in the collection.
Public method HasSchemaID Checks whether a schema with a given ID exists in collection.
Public method ImportAssetSchema Imports an asset schema with a string serialization of the previous-generation schema XML file.
Public method ImportSchema(String, Boolean, Boolean) Imports a schema with a string serialization of the previous-generation schema XML file.
Public method ImportSchema(XDocument, Boolean, Boolean) Imports a schema with a string serialization of the previous-generation schema XML file.
Public method ParseAssetSchema Parse xml document and convert it into an asset schema entity. Please note that this entity is not saved to database yet.
Public method ParseSchema Parse xml document and convert it into a schema entity. Please note that this entity is not saved to database yet.
Public method QuickWrite Creates a temporary Write Session to quickly write something outside the current Session and transaction. This is a way to bypass the transaction and quickly put something into the content store.
(Inherited from ITransactionalEntity)
Public method RemoveAssetSchema Removes an existing asset schema.
Public method RemoveFavorite Removes a schema field favorite entry from a collection by its unique ID.
Public method RemoveSchema Removes an existing schema.
Public method SchemaByFriendlyName Retrieves a schema by its friendly name. Friendly names are unique to a schema's collection.
Public method SchemaByID Retrieves a schema by its ID.
Public method SchemaByRootName Retrieves a schema by its page root element name. Root element names are unique to a schema's collection.
Public method SchemaRootNameAvailable Checks whether a schema with a given page root element name exists in the collection.
Public method Schemas(String) Retrieves schemas by unique ID.
Public method Schemas(Int32, Int32, Int32) Retrieves schemas in a paginated fashion.
Public method SchemasCount Gets the count of all schemas, including schemas with errors that cannot be used to create pages.
Public method SystemSchema Retrieves one of the six system schemas. These system schemas are essential to CMS functionality and cannot be modified via the CSAPI.
Public method ValidSchemasCount Gets the count of valid schemas, which can be used to create pages.
Top
See Also