Table B-7 shows the complete parentage of a CMS Posting class. The properties and methods listed in italics in the table are defined by the class in the column header and then inherited by the derived class(es) to the left. So, for instance, only GetHashCode is coded in the CmsObject class, whereas Equals, GetType, and ToString are coded in the System. Object class and then inherited by the CmsObject class. All these members are inherited by the HierarchyItem class, the ChannelItem class, and finally the Posting class. CanApprove, for example, is coded in the Posting class and is not inherited by any other class.
Like Channels, Postings inherit much of their functionality from ChannelItem and HierarchyItem.
Table B-8 defines all the members listed for the Channel class in Table B-7.
Table B-8. Posting Member Descriptions
Posting | Classification | Description |
---|
Public Properties |
CanApprove | User right | Gets a value indicating whether the Posting requires approval and whether the current user has sufficient rights to either approve or decline it. |
CanDelete | User right | Gets a value indicating whether the current user has sufficient rights to delete this class instance. |
CanMove | User right | Gets a value indicating whether the current user has sufficient rights to move the Posting to another Channel. |
CanSetProperties | User right | Gets a value indicating whether the current user has sufficient rights to modify the properties of this class instance. |
CanSubmit | User right | Gets a value indicating whether the Posting requires submitting and whether the current user has rights to do so. |
ChangeDate | Read-only | Gets the Coordinated Universal Time (UTC) when ChannelItem was last changed. |
ChangeToken | Read-only | Gets a value used to determine whether a modification has occurred in a Posting. |
ConnectedPostings | Child object | Gets the collection of Postings that are connected to the current Posting. |
ConnectedTemplates | Child object | Gets the collection of templates connected to the template associated with this Posting. |
CreatedBy | Read-only | Gets the User that created this class instance. |
CreatedDate | Read-only | Gets the UTC when the HierarchyItem was created. |
CustomProperties | Child object | Gets the CustomPropertyCollection for this ChannelItem object. |
Description | Read/write | Gets or sets descriptive text for this class instance. |
DisplayName | Read-only | Gets and sets the display name for this ChannelItem object. |
DisplayPath | Read-only | Gets the fully qualified path of a Channel Item. |
ExpiryDate | Read/write | Gets and sets the UTC at which this ChannelItem expires and ceases to be a visible part of the published Web site. |
Guid | Read-only | Gets a string representation of the globally unique identifier (GUID) for this object. |
HasInaccessible ConnectedPostings | Read-only | Gets a value indicating whether the Posting is connected to other Postings that the user does not have rights to access. |
IsConnected | Read-only | Gets a value indicating whether this Posting is connected to other Postings. |
IsDeleted | Read-only | Gets a value indicating whether this class instance has been deleted, regardless of whether the deletion has been committed. |
IsHiddenMode Published | Read/write | Gets and sets a flag indicating whether this ChannelItem is hidden in the navigation hierarchy of the live (published) CMS Web site. |
IsImportant | Read/write | Gets or sets a value indicating whether a ChannelItem is important. |
IsRobotFollowable | Read/write | Gets and sets a value indicating whether Web robots should follow any hyperlinks found in the Web page corresponding to this ChannelItem object. |
IsRobotIndexable | Read/write | Gets and sets a value indicating whether Web robots should index the Web page corresponding to this ChannelItem object. |
IsWorkingRevision | Read-only | Gets a value indicating whether the HierarchyItem is a working revision. |
LastApproved DeclinedBy | Read/write | Gets a value that identifies the CMS user that last approved or declined the Posting. |
LastModifiedBy | Read-only | Gets the User that last modified the HierarchyItem. |
LastModifiedDate | Read-only | Gets the UTC when this HierarchyItem was last modified. |
Name | Read/write | Gets or sets the name of this Hierarchy Item. |
OwnedBy | Read-only | Gets the User who currently owns the class instance. |
Parent | Child object | Gets the Channel that contains this ChannelItem object. |
Path | Read-only | Gets the fully qualified path of the HierarchyItem. |
Placeholders | Child object | Gets a collection of named Placeholder objects associated with this Posting. |
QueryString | Read-only | Gets the URL QueryString parameters for this ChannelItem. |
QueryStringMode Unpublished | Read-only | Gets the URL QueryString parameters used to view this ChannelItem when in Unpublished mode. |
QueryStringMode Update | Read-only | Gets the URL QueryString parameters used by this ChannelItem when in Update mode. |
RevisionCause | Child object | Gets the cause of a revision for historical revisions of this Posting. |
RevisionDate | Child object | Gets a System.DateTime that gets the UTC when this historical revision of this HierarchyItem was created. |
SortOrdinal | Read/write | Gets and sets the relative position of this ChannelItem with respect to its sibling ChannelItem objects. |
StartDate | Read/write | Gets and sets the UTC at which this ChannelItem becomes visible in the published Web site. |
State | Read-only | Gets the state of the current version of this Posting. |
StateApproved Version | Read-only | Gets the state of the Approved version of this Posting, regardless of whether it is the current version. |
StateUnapproved Version | Read-only | Gets the state of the Unapproved version of this Posting, regardless of whether it is the current version. |
Template | Child object | Gets the template used to create this Posting. |
Url | Read-only | Gets the URL for this ChannelItem object. |
UrlInner | Read-only | Gets a URL that references the Channel Item, bypassing the outer script file. |
UrlInnerPlain | Read-only | Gets a URL that references the ChannelItem, bypassing the outer script file and not propagating any QueryString parameters from the current request. |
UrlModePublished | Read-only | Gets the URL for this ChannelItem in Published mode. |
UrlMode Unpublished | Read-only | Gets the URL for this ChannelItem in Unpublished mode. |
UrlModeUpdate | Read-only | Gets the URL for this ChannelItem in Update mode. |
WorkingRevision | Child object | Gets the working revision of this Posting. |
Public Methods |
AcquireOwnership | Managing | Takes ownership of the Posting, thereby restricting editing by others. |
Approve | Managing | Marks a Posting for approval. |
Approvers | Child object | Checks which CMS users have rights to approve the Posting in its current state. |
CopyTo | Managing | Copies the current Posting to the specified Channel. |
Decline | Managing | Marks a Posting as declined. |
Delete | Managing | Deletes the HierarchyItem. |
Equals | System | Determines whether two Object instances are equal. |
GetByRelativePath | Child object | Locates a ChannelItem in the channel hierarchy according to its position relative to this ChannelItem. |
GetHashCode | Read-only | Gets the hash code for the object. |
GetType | Read-only | Gets the Type of the current instance. |
IsDescendantOf | Read-only | Determines whether this object is a descendant of the specified object. |
MoveTo | Managing | Moves this Posting to the specified Channel. |
ReleaseOwnership | Managing | Releases the ownership of a Posting previously acquired using AcquireOwnership. |
RevisionForDate | Child object | Returns the historical revision of a Posting for a specified date and time (GMT). |
Revisions | Child object | Returns a collection of historical revisions of a Posting. |
Submit | Managing | Marks a Posting as submitted. |
ToString | System | Returns a String that represents the current object type. |
ValidateChangeToken | Managing | Confirms that the Posting has not been altered since the last time it was read and that it is in the expected state for the next edit operation. |
We have included a classification column in the Table B-8. This is not a CMS classification. It was included to make it easier to locate the discussion about each member in Chapter 26.