IContent
|
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
The IContentItemVersion type exposes the following members.
| Name | Description | |
|---|---|---|
| Archived |
Gets/sets the archived value of this entity
(Inherited from IEntity) | |
| Comments |
Gets/sets the comment of this version.
Comments are set during check-in of a IContentItemContent Item .However, it can be changed anytime afterwards. | |
| Created |
Gets the entity's creation date.
(Inherited from IEntity) | |
| CreationUser |
Gets the ID of the User who created this entity.
(Inherited from IEntity) | |
| Date | Gets the date and time when this version was last changed. | |
| LastModified |
Gets the date when the entity was most recently modified.
(Inherited from IEntity) | |
| LastModifiedUser |
Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity) | |
| Manager |
Gets the manager that retrieved this entity instance.
(Inherited from IEntityTManager) | |
| SchemaName | Gets the root name of the Schema, which is also the root element name of this version's serialized XML document. | |
| Session |
Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity) | |
| SessionId |
Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity) | |
| VersionNumber | Gets the version number of this version. |
| Name | Description | |
|---|---|---|
| AddElement | Adds one or multiple elements to the Elements collection. | |
| AddElementAfter | Adds one or more elements to the Elements collection after the specified anchor element. | |
| AddElementBefore | Adds one or more elements to the Elements collection before a specified anchor element. | |
| AddElementFirst | Adds one or more elements to the front of the Elements collection. | |
| AddElements | Adds a group of elements to the Elements collection. | |
| AddElementsAfter | Adds a group of elements to the Elements collection after the specified anchor element. | |
| AddElementsBefore | Adds a group of elements to Elements collection before a specified anchor element. | |
| AddElementsFirst | Adds a group of elements to the front of the Elements collection. | |
| AllElements | Retrieves the collection of descendant Elements on which the filter callback method returns true. | |
| ClearElements | Removes all Elements from the collection. | |
| DecorateElement | Manually apply Session, Manager, and Owner information on an Element field on this version object | |
| Element | Retrieves an Element by its name. | |
| ElementById | Retrieves an Element by its unique ID. | |
| Elements | Retrieves the direct child Elements of this version. | |
| Elements(String) | Retrieves the direct child Elements of this version with names that match the specified name. Case-sensitive. | |
| ElementsCount | Gets the count of all direct child Elements. | |
| QuickEditableFields | Retrieves the collection of fields, that represents the version object and contains the summary of the version | |
| RemoveElement | Removes an Element from the descendants collection. | |
| Touch |
Updated the entity's LastModified value to the current time.
(Inherited from IEntity) | |
| 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) |
| Name | Description | |
|---|---|---|
| AfterEntitySave |
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents) | |
| BeforeEntitySave |
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents) |