Click or drag to resize

ISchemaManager Methods


The ISchemaManager type exposes the following members.

Methods
  NameDescription
Public methodAddFavorite
Adds a new schema field favorite entry to a collection.
Public methodAssetFolderSchema
Public methodAssetSchema
Retrieves an asset schema with the provided asset type.
Public methodAssetSchemaByExtention
Retrieves the first asset schema found that allows the provided extension.
Public methodAssetSchemaByFriendlyName
Retrieves a asset schema by its friendly name. Friendly names are unique to a schema's collection.
Public methodAssetSchemaById
Retrieves a asset schema by its ID.
Public methodAssetSchemaByRootName
Retrieves a asset schema by its root element name. Root element names are unique to a schema's collection.
Public methodAssetSchemas(String)
Retrieves asset schemas by unique ID.
Public methodAssetSchemas(Int32, Int32, Int32)
Retrieves asset schemas in a paginated fashion.
Public methodAssetSchemasByTypes
Gets a paginated list of Asset Schemas with the provided asset types.
Public methodAssetSchemasCount
Gets the count of all asset schemas, including schemas with errors that cannot be used to create assets.
Public methodCreateAssetSchema
Creates a new asset schema.
Public methodCode exampleCreateComponentSchema
Creates a new component schema. This schema creates a component page, which doesn't have a fixed view associated with it.
Public methodCreateSchema(String, String, Int32, Boolean, Boolean, String, IPagePresentationCollection, String) Obsolete.
Creates a new Schema. This can be either a page or component schema.
Public methodCode exampleCreateSchema(String, String, Int32, Boolean, EnumPageSchemaType, String, String, IPagePresentationCollection, String)
Creates a new Schema. This can be either a page or component schema.
Public methodDeepCloneT, TManager
Duplicates an object instance, not including its unique ID.
(Inherited from ITransactionalEntity.)
Public methodExtensionAllowedAssetSchemas
Retrieves a paginated list of asset schemas that allow the provided extension.
Public methodFavorite
Retrieves a schema field favorite entry by it unique ID.
Public methodFavorites
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 methodHasSchemaFriendlyName
Checks whether a schema with a given friendly name exists in the collection.
Public methodHasSchemaID
Checks whether a schema with a given ID exists in collection.
Public methodImportAssetSchema
Imports an asset schema with a string serialization of the previous-generation schema XML file.
Public methodImportSchema(String, Boolean, Boolean)
Imports a schema with a string serialization of the previous-generation schema XML file.
Public methodImportSchema(XDocument, Boolean, Boolean)
Imports a schema with a string serialization of the previous-generation schema XML file.
Public methodParseAssetSchema
Parse xml document and convert it into an asset schema entity. Please note that this entity is not saved to database yet.
Public methodParseSchema
Parse xml document and convert it into a schema entity. Please note that this entity is not saved to database yet.
Public methodQuickWrite
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 methodRemoveAssetSchema
Removes an existing asset schema.
Public methodRemoveFavorite
Removes a schema field favorite entry from a collection by its unique ID.
Public methodRemoveSchema
Removes an existing schema.
Public methodSchemaByFriendlyName
Retrieves a schema by its friendly name. Friendly names are unique to a schema's collection.
Public methodSchemaByID
Retrieves a schema by its ID.
Public methodSchemaByRootName
Retrieves a schema by its page root element name. Root element names are unique to a schema's collection.
Public methodSchemaRootNameAvailable
Checks whether a schema with a given page root element name exists in the collection.
Public methodSchemas(String)
Retrieves schemas by unique ID.
Public methodSchemas(Int32, Int32, Int32)
Retrieves schemas in a paginated fashion.
Public methodSchemasCount
Gets the count of all schemas, including schemas with errors that cannot be used to create pages.
Public methodSystemSchema
Retrieves one of the six system schemas. These system schemas are essential to CMS functionality and cannot be modified via the CSAPI.
Public methodValidSchemasCount
Gets the count of valid schemas, which can be used to create pages.
Top
See Also