Click or drag to resize

ISchemaVersionCommon Interface


Represents the collection of common features in schema version objects.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface ISchemaVersionCommon : ISchemaCommon, 
	IEntity<ISchemaManager>, IEntity, IEntityEvents

The ISchemaVersionCommon type exposes the following members.

Properties
  NameDescription
Public propertyArchived
Gets/sets the archived value of this entity
(Inherited from IEntity.)
Public propertyCreated
Gets the entity's creation date.
(Inherited from IEntity.)
Public propertyCreationUser
Gets the ID of the User who created this entity.
(Inherited from IEntity.)
Public propertyDrafting
Gets whether the schema is in drafting state. When a schema is in drafting state, it cannot be used for page creation.
(Inherited from ISchemaCommon.)
Public propertyFriendlyName
Gets and sets the schema's friendly name.
(Inherited from ISchemaCommon.)
Public propertyIcon
Gets and sets the icon of the page to be created with this schema.
(Inherited from ISchemaCommon.)
Public propertyIsCurrentVersion
Gets whether this version is the schema's current version.
Public propertyLastModified
Gets the date when the entity was most recently modified.
(Inherited from IEntity.)
Public propertyLastModifiedUser
Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity.)
Public propertyManager
Gets the manager that retrieved this entity instance.
(Inherited from IEntityTManager.)
Public propertyRootName
Gets and sets the name of the schema's root element.
(Inherited from ISchemaCommon.)
Public propertySchemaId
Gets the entity ID of the schema that this schema version belongs to.
Public propertySession
Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity.)
Public propertySessionId
Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity.)
Public propertyVersioning
Represents the version number of the object
(Inherited from ISchemaCommon.)
Public propertyVersionNumber
Gets the this schema version's version number.
Public propertyWorkflowDefinition
Gets and sets the workflow defintion for this schema. If set, pages created with this schema will be added to a workflow based on this defintion right away.
(Inherited from ISchemaCommon.)
Public propertyWorkflowRequired
Gets and sets whether pages created via this schema are added to a workflow after creation. If this property is set to true, the WorkflowDefinition property must be set to a valid workflow definition. Otherwise, validation will fail.
(Inherited from ISchemaCommon.)
Top
Methods
  NameDescription
Public methodAddAllowedRootCategory
Adds a new root category to the allowed root categories collection.
(Inherited from ISchemaCommon.)
Public methodAddDefaultCategory
Adds a new default category.
(Inherited from ISchemaCommon.)
Public methodAddField
Adds a new schema field to the collection, either at the specified position or at the end.
(Inherited from ISchemaCommon.)
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.
(Inherited from ISchemaCommon.)
Public methodAllowedCategoryRootsCount
Gets the count of allowed root categories.
(Inherited from ISchemaCommon.)
Public methodClearAllowedCategoryRoots
Clears all allowed root categories.
(Inherited from ISchemaCommon.)
Public methodClearDefaultCategories
Clear all default categories.
(Inherited from ISchemaCommon.)
Public methodClearFields
Clears all Fields from the collection.
(Inherited from ISchemaCommon.)
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.
(Inherited from ISchemaCommon.)
Public methodDefaultCategoriesCount
Gets the count of default categories.
(Inherited from ISchemaCommon.)
Public methodField(Int32)
Retrieves a schema field by its positional index.
(Inherited from ISchemaCommon.)
Public methodField(String)
Retrieves a schema field by its name.
(Inherited from ISchemaCommon.)
Public methodFields
Gets the collection of fields in this schema.
(Inherited from ISchemaCommon.)
Public methodFieldsCount
Gets the count of fields in this schema.
(Inherited from ISchemaCommon.)
Public methodGetDuplicateFieldUniqueIds
Detects if there are fields in the schema that contain colliding UniqueIds
(Inherited from ISchemaCommon.)
Public methodRemoveAllowedRootCategory
Removes a category from the the allowed root categories collection.
(Inherited from ISchemaCommon.)
Public methodRemoveDefaultCategory
Removes a default category.
(Inherited from ISchemaCommon.)
Public methodRemoveField
Removes from the collection a schema field at a specified index.
(Inherited from ISchemaCommon.)
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
Events
  NameDescription
Public eventAfterEntitySave
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents.)
Public eventBeforeEntitySave
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents.)
Top
See Also