IContentItem Interface |
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
The IContentItem type exposes the following members.
Name | Description | |
---|---|---|
_Locale |
Gets/sets the locale name of this object, if this object
has language property
| |
AdminRightsEnabled |
Gets and sets whether the content item has admin rights enabled. Admin rights will allow actions to the item that cannot normally be done by the user whose session is processing the request.
(Inherited from IContentItemWorkflowSuper.) | |
AssignedGroup |
Gets the Group to which this page is currently assigned. If the page is not assigned to a group, this method returns null.
| |
AssignedUser |
Gets the User to whom this page is currently assigned. If the page is not assigned to a user, this method returns null.
| |
AssignmentComment |
Gets the comments from assignments when the page was not in workflow.
| |
CanMarkForPublish |
Controls whether the page is allowed to mark for publish.
| |
CanParentRegionRoots |
Gets and sets whether this content item allows region roots (content items with a noninherited locale) when the content item isn't language-neutral.
| |
CheckedOut | ||
Comments |
Gets/sets the comment of this version.
(Inherited from IContentItemVersion.)Comments are set during check-in of a IContentItemContent Item .However, it can be changed anytime afterwards. | |
ContentItemType | ||
Created |
Gets the entity's creation date.
(Inherited from IEntity.) | |
CreationUser |
Gets the ID of the User who created this entity.
(Inherited from IEntity.) | |
CurrentWorkflow |
Gets the workflow this page is in. If page is not in a workflow, this method returns null.
| |
Date |
Gets the date and time when this version was last changed.
(Inherited from IContentItemVersion.) | |
EndDate |
Gets and sets the end date of the page. When set, this page will not be included in navigations when current time is greater than the EndDate value.
| |
Hierarchy | Obsolete. | |
Icon |
Gets and sets the icon of the page. The value is the numeric representation of the icon images.
| |
InWorkflowTransition |
Gets and sets whether the content item is being accessed within the bounds of a workflow transition.
(Inherited from IContentItemWorkflowSuper.) | |
JustSynced |
Gets whether the page's content was updated via Schema synchronization and hasn't yet been modified directly.
| |
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.) | |
Locale |
Gets and sets the language of this page.
| |
LocaleInherited |
Gets whether this page inherits its locale from its ancestor page.
| |
Manager |
Gets the manager that retrieved this entity instance.
(Inherited from IEntityTManager.) | |
MasterLingualMap |
Gets the lingual map between this page and its Master Page.
| |
Name |
Gets and sets the entity's name.
(Inherited from IEntity.) | |
NowSyncing |
Gets whether the page is currently being synchronized to the latest version of the Schema used to create it.
| |
ParentId |
Gets the unique ID of the parent object
| |
Removed |
Gets whether the page is under Removed status, which means it is currently a descendant of the Recycle Folder.
| |
SchemaName |
Gets the root name of the Schema, which is also the root element name of this version's serialized XML document.
(Inherited from IContentItemVersion.) | |
SecurityDescriptor |
Gets the security descriptor of this content item
| |
SecurityInherited |
Gets whether this content item has security inherited from
its parent
| |
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.) | |
SiblingPosition |
Gets the position of this object among its siblings
| |
StartDate |
Gets and sets the start date of the page. When set, this page will not be included in navigations when current time is less than the StartDate value.
| |
VersionNumber |
Gets the version number of this version.
(Inherited from IContentItemVersion.) |
Name | Description | |
---|---|---|
AddCategories |
Adds Categories association to this Page. Which also means, categorized this page
with given categories.
| |
AddElement |
Adds one or multiple elements to the Elements collection.
(Inherited from IContentItemVersion.) | |
AddElementAfter |
Adds one or more elements to the Elements collection after the specified anchor element.
(Inherited from IContentItemVersion.) | |
AddElementBefore |
Adds one or more elements to the Elements collection before a specified anchor element.
(Inherited from IContentItemVersion.) | |
AddElementFirst |
Adds one or more elements to the front of the Elements collection.
(Inherited from IContentItemVersion.) | |
AddElements |
Adds a group of elements to the Elements collection.
(Inherited from IContentItemVersion.) | |
AddElementsAfter |
Adds a group of elements to the Elements collection after the specified anchor element.
(Inherited from IContentItemVersion.) | |
AddElementsBefore |
Adds a group of elements to Elements collection before a specified anchor element.
(Inherited from IContentItemVersion.) | |
AddElementsFirst |
Adds a group of elements to the front of the Elements collection.
(Inherited from IContentItemVersion.) | |
AddToWorkflow |
Adds this page to workflow. This operation creates a new workflow instance for this page based on the Workflow Definition provided
and assigns the page to the specified User.
| |
AddToWorkflowDefault |
Adds this page to a workflow.
If the initial Transition has a Default User specified, the page will be assigned to that user.
Otherwise, it will be assigned to the Next Group specified by the transition.
This operation creates a new workflow instance for this page based on the Workflow Definition provided.
| |
AllElements |
Retrieves the collection of descendant Elements on which the filter callback method returns true.
(Inherited from IContentItemVersion.) | |
AllowUser |
Checks whether the given user was granted the specified access level.
| |
AssignGroup |
Assigns this page to a specific User Group.
| |
AssignUser |
Assigns this page to a specific User.
| |
AssociatedCategories |
Retrieves the collection of Categories associated with this page.
| |
AssociatedCategoriesCount |
Gets the count of the Categories that are associated with this page.
| |
CheckIn |
Checks in either the page itself or the page and its descendants.
| |
CheckInOnProfile |
Checks in either the page itself or the page and its descendants toward the Publishing Targets included in the Publishing Profile.
| |
CheckInSingle(IEnumerableString, String) | ||
CheckInSingle(IEnumerableIPublishingTarget, String) | ||
CheckInSingleWithNoValidate |
Checks in the page itself without applying validations before check-in.
| |
CheckInSingleWithNoValidateOnProfile |
Checks in the page itself, without applying validations before check-in, toward the Publishing Targets included in the Publishing Profile.
| |
CheckOut |
Checks out the page and assigns it to the current user.
A page can only be edited after it is checked out to the current user.
| |
ClaimPageForCurrentUser |
Assigns the Page to the current operating User.
| |
ClearElements |
Removes all Elements from the collection.
(Inherited from IContentItemVersion.) | |
ClearSecurity |
Clears all access to this page. Note that if no further security setting procedures are taken, no one except administrators will have access to this page .
This action permenantly removes the security descriptor for this page.
| |
CloneLingualMaps |
Retrieves the lingual maps between this page and its clone pages.
| |
CloneLingualMapsCount |
Returns the count of all clone lingual maps.
| |
DecorateElement |
Manually apply Session, Manager, and Owner information on
an Element field on this version object
(Inherited from IContentItemVersion.) | |
DescendantIDsWithMaxDepth |
Retrieves metadata of the descendants of this page within the given depth limit.
| |
DescendantIDsWithMaxDepthForPreview |
Retrieves the collection of descendants hierarchy information,
under the limitations of maximum descendants depth, and maximum
descendants count.
| |
DescendantsCount |
Calculates the count of this items descendant items
| |
DescendantsIDs |
Retrieves metadata of the descendants of this page. The results are returned in ascending order based on the pages' hierarchy level.
| |
Element |
Retrieves an Element by its name.
(Inherited from IContentItemVersion.) | |
ElementById |
Retrieves an Element by its unique ID.
(Inherited from IContentItemVersion.) | |
Elements |
Retrieves the direct child Elements of this version.
(Inherited from IContentItemVersion.) | |
Elements(String) |
Retrieves the direct child Elements of this version with names that match the specified name. Case-sensitive.
(Inherited from IContentItemVersion.) | |
ElementsCount |
Gets the count of all direct child Elements.
(Inherited from IContentItemVersion.) | |
GetSystemAttribute |
Retrieves a system attribute by its enum value. System attributes are attributes on a page document that contain the page's metadata.
| |
MarkedForPublish |
Finds out whether the page is marked for publish on any Publishing Target.
| |
MarkedForPublishOnTarget(String) |
Finds out whether the page is marked for publish on a specific Publishing Target.
| |
MarkedForPublishOnTarget(IPublishingTarget) |
Finds out whether the page is marked for publish on a specific Publishing Target.
| |
MarkedForPublishPropagated |
Finds out whether the page is marked on all Publishing Targets, and the marked versions are the targets are the latest version of this page.
| |
MarkedVersion(String) |
Retrieves the marked version object on a specific Publishing Target.
Can be null if not marked on that Publishing Target
| |
MarkedVersion(IPublishingTarget) |
Retrieves the marked version object on a specific Publishing Target.
Can be null if not marked on that Publishing Target
| |
MarkedVersionNumber(String) |
Retrieves the marking version number on a specific Publishing Target.
If item is not marked on that target, returns -1
| |
MarkedVersionNumber(IPublishingTarget) |
Retrieves the marking version number on a specific Publishing Target.
If item is not marked on that target, returns -1
| |
MarkForPublish |
Marks this version for publish on the specified Publishing Target | |
NextChildPosition |
Retrieves position reversed for the next child object to be created
under this object
| |
Path |
Retrieves the string path of the page names, starting from the content store root node. Delimited by "/".
| |
QuickEditableFields |
Retrieves the collection of fields, that represents the version object
and contains the summary of the version
(Inherited from IContentItemVersion.) | |
RemoveCategory |
Removes the association between this page and the specified Category.
| |
RemoveElement |
Removes an Element from the descendants collection.
(Inherited from IContentItemVersion.) | |
RemoveFromWorkflow |
Removes the page from its Current Workflow.
| |
RemoveSecurityGroup |
Removes the access rights of a given user group to this page.
| |
Rollback |
Reverts a page's content to that of its latest previous Version.
| |
Save |
Saves this page's XML content. This method must be called to update a page's XML content.
| |
SecurityGroups |
Retrieves the collection of User Groups that have the given access level on this page.
| |
SecurityGroupsCount |
Retrieves the count of User Groups that have a security setting—either explicit or inherited from parent pages—on this page.
| |
SecurityLevel |
Retrieves the access level of specific User. The access level is the highest access level of all the
Groups to which this user belongs.
| |
SendGroupNotificationMail | ||
SendWorkFlowNotificationMail |
Sends a workflow notification email to the given recipients.
| |
SerializeCheckedInVersion |
Returns the XML element that was serialized from the checked-in version of this page.
| |
SetSecurityGroup |
Sets the access level to this page for a specific User Group.
Successful execution of this method causes the SecurityInherited property to be set to false.
| |
SetSystemAttribute(EnumSystemAttributes, IAttribute) |
Sets value for a system attribute.
| |
SetSystemAttribute(EnumSystemAttributes, String) |
Sets string value for a system attribute.
| |
Unassign | ||
UndoCheckOut |
Discards the changes in checked-out content and reverts the page to a checked-in state.
| |
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.) | |
VersionsCount |
Gets the count of all previous versions of this page.
|
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.) |