The CContent type exposes the following members.

Constructors

  NameDescription
Public methodCContent(IiMISUser, CNavMenu)
Constructor for new Content
Public methodCContent(IiMISUser, Decimal)
Constructor to instantiate existing Contact.

Methods

  NameDescription
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodCheckSecurity
Checks to see if the current user has appropriate privilege to perform requested action.
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetContentFiles
Gets CContentFiles that belong to this CContent.
Public methodGetContentLinks
Gets CContentLinks that belongs to this CContent.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetPublishedContentId
Gets unique identifier of the most recently published version.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWorkingCopy
Gets a working version of CContent.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave()()()()
Saves the Content, along with all of its child records, to the database
Public methodSave(DataServer)
Saves the Content, along with all of its child records, to the database
Public methodSave(DataServer, Boolean)
Saves the Content, along with all of its child records, to the database
Protected methodSetWorkflowStatus(String)
Sets the ContentWorkflowStatus on the content. Only available to derived classes.
Protected methodSetWorkflowStatus(ContentWorkflowStatus)
Sets the WorkflowStatus on the content. Only available to derived classes.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Makes sure that all of the property data passes the iMIS business rules.
(Inherited from iboBase.)
Public methodValidateContentAccess
Validates whether a specified CWebUser has access to this CContent.

Fields

  NameDescription
Protected fieldmEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
Protected fieldmErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Public propertyContentHtml
Gets CContentHtml that belongs to this CContent.
Public propertyContentId
Gets an identifier for CContent.
Public propertyDescription
Gets or sets description.
Public propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyErrors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
Public propertyErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
Public propertyFileCount
Gets the number of CContentFile associated with this CContent.
Public propertyHasContentHtml
Gets a boolean value indicating whether this content has CContentHtml.
Public propertyKeywords
Gets or sets keywords.
Public propertyLastUpdatedProducer
Gets the CContentProducer who lasted updated the content.
Public propertyLinkCount
Gets the number of CContentLink associated with this CContentLink.
Public propertyMembersOnly
Gets or sets a boolean value indicating whether this CContent is restricted to loggedin users.
Public propertyName
Gets or sets the name of CContent.
Public propertyNavMenu
Gets an instance of CNavMenu which this CContent belongs to.
Public propertyNavMenuId
Gets or sets the identifier of CNavMenu which this CContent belongs to.
Public propertyOpenInNewWindow
Gets or sets a boolean value indicating whether this CContent should be opened in a new window.
Public propertyPostFuseURL
Gets URL to the content after it is published.
Public propertyPreFuseURL
Gets URL to the content before it is published.
Public propertyPreviousContent
Gets the previous version of the CContent using the PreviousContentId property.
Public propertyPreviousContentId
Unique identifier of content that's previous version of the current content.
Public propertyProducerAuthority
Gets the CProducerAuthority of the CContent
Public propertyProducerId
Gets an identifier of the CContentProducer who last updated the content.
Public propertySecurityGroups
Gets an array of CSecurityGroup which this CContent belongs to.
Public propertyShowInTemplate
Gets or sets a boolean value indicating whether this CContent is displayed within a template.
Public propertySortOrder
Gets SortOrder of the CContent
Public propertyWebsiteKey
Gets the unique identifier of the website to which this CContent belongs
Public propertyWorkflowStatus
Gets workflow status of content

See Also