C# Class erminas.SmartAPI.CMS.Project.ContentClasses.ContentClass

Represents a content class in RedDot.
Inheritance: PartialRedDotProjectObject, IContentClass
Exibir arquivo Open project: erminas/smartapi Class Usage Examples

Private Properties

Property Type Description
AddProjectVariants void
AddTemplateDescriptions void
AddTemplateVariants void
ContentClass System
ContentClass System
CopyAllElementsToCC void
CopyAttributesToCC void
CopyPreassignedKeywordsToCC void
CopyProjectVariantAssignmentToCC void
CreateContentClass ContentClass
CreateCopyInProject ContentClass
CreateTemplateXmlElement System.Xml.XmlElement
Init void

Public Methods

Method Description
Commit ( ) : void

Commit changes on attributes to the server.

CopyElementsToContentClass ( IContentClass targetCC ) : void

Copy selected elements from this content class to another target content class.

CopyToProject ( IProject project, System.Guid targetFolderGuid ) : void

Copy this content class to another project

Delete ( ) : void

Delete this content class

ToString ( ) : string

Protected Methods

Method Description
LoadWholeObject ( ) : void
RetrieveWholeObject ( ) : XmlElement

Private Methods

Method Description
AddProjectVariants ( IProject project, XmlElement template ) : void
AddTemplateDescriptions ( IProject project, XmlElement template ) : void
AddTemplateVariants ( XmlElement template ) : void
ContentClass ( IProject project, System.Guid guid ) : System
ContentClass ( IProject project, XmlElement xmlElement ) : System
CopyAllElementsToCC ( IContentClass targetCC ) : void
CopyAttributesToCC ( IContentClass targetCC ) : void
CopyPreassignedKeywordsToCC ( IContentClass targetCC ) : void
CopyProjectVariantAssignmentToCC ( ContentClass targetCC ) : void
CreateContentClass ( IProject project, XmlElement template ) : ContentClass
CreateCopyInProject ( IProject project, System.Guid targetFolderGuid ) : ContentClass
CreateTemplateXmlElement ( XmlDocument xmlDoc, IContentClassFolder folder ) : XmlElement
Init ( ) : void

Method Details

Commit() public method

Commit changes on attributes to the server.
public Commit ( ) : void
return void

CopyElementsToContentClass() public method

Copy selected elements from this content class to another target content class.
public CopyElementsToContentClass ( IContentClass targetCC ) : void
targetCC IContentClass Target content class to copy the elements to
return void

CopyToProject() public method

Copy this content class to another project
public CopyToProject ( IProject project, System.Guid targetFolderGuid ) : void
project IProject The target project to copy the content class to
targetFolderGuid System.Guid Guid of the target content class folder in the target project
return void

Delete() public method

Delete this content class
public Delete ( ) : void
return void

LoadWholeObject() protected method

protected LoadWholeObject ( ) : void
return void

RetrieveWholeObject() protected method

protected RetrieveWholeObject ( ) : XmlElement
return System.Xml.XmlElement

ToString() public method

public ToString ( ) : string
return string