Click or drag to resize

IContentItemVersion Interface


Represents the base version object of a content item object that has the following properties:

1. Has multiple versions

2. Can be checked out and checked in

3. Contains content including elements and attributes

4. Can be added and advanced in workflow

5. Always created from a Schema

6. Part of a tree structure

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
public interface IContentItemVersion : IEntity<ISite>, 
	IEntity, IEntityEvents

The IContentItemVersion type exposes the following members.

Properties
  NameDescription
Public propertyComments
Gets/sets the comment of this version.

Comments are set during check-in of a IContentItemContent Item

.

However, it can be changed anytime afterwards.

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 propertyDate
Gets the date and time when this version was last changed.
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 propertyName
Gets and sets the entity's name.
(Inherited from IEntity.)
Public propertySchemaName
Gets the root name of the Schema, which is also the root element name of this version's serialized XML document.
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 propertyVersionNumber
Gets the version number of this version.
Top
Methods
  NameDescription
Public methodAddElement
Adds one or multiple elements to the Elements collection.
Public methodAddElementAfter
Adds one or more elements to the Elements collection after the specified anchor element.
Public methodAddElementBefore
Adds one or more elements to the Elements collection before a specified anchor element.
Public methodAddElementFirst
Adds one or more elements to the front of the Elements collection.
Public methodAddElements
Adds a group of elements to the Elements collection.
Public methodAddElementsAfter
Adds a group of elements to the Elements collection after the specified anchor element.
Public methodAddElementsBefore
Adds a group of elements to Elements collection before a specified anchor element.
Public methodAddElementsFirst
Adds a group of elements to the front of the Elements collection.
Public methodAllElements
Retrieves the collection of descendant Elements on which the filter callback method returns true.
Public methodClearElements
Removes all Elements from the collection.
Public methodDecorateElement
Manually apply Session, Manager, and Owner information on an Element field on this version object
Public methodElement
Retrieves an Element by its name.
Public methodElementById
Retrieves an Element by its unique ID.
Public methodElements
Retrieves the direct child Elements of this version.
Public methodElements(String)
Retrieves the direct child Elements of this version with names that match the specified name. Case-sensitive.
Public methodElementsCount
Gets the count of all direct child Elements.
Public methodQuickEditableFields
Retrieves the collection of fields, that represents the version object and contains the summary of the version
Public methodRemoveElement
Removes an Element from the descendants collection.
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