Sitefinity CMS

Telerik.Cms.Engine Send comments on this topic.
ContentManager Class Members
See Also  Fields  Properties  Methods 
Telerik.Cms.Engine Namespace : ContentManager Class


The following tables list the members exposed by ContentManager.

Public Constructors

 NameDescription
Public ConstructorContentManager ConstructorOverloaded.  Creates a new instance of ContentManager class with default provider, specified in web.config (telerik/cmsEngine section, property - defaultProvider).  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic)CategoryKeyCategoryKey is a constant specifying the QueryString key that will be used for carrying the value of the Category string on a page.  
Public Fieldstatic (Shared in Visual Basic)CategoryPageKeyCategoryPageKey is a constant specifying the QueryString key that will be used for carrying the current page number if paging is turned on and if controls are displaying only IContent object belonging to a particular category.  
Public Fieldstatic (Shared in Visual Basic)ContentItemKeyContentItemKey is a constant specifying the QueryString key that will be used for carrying the value of the ID property (primary key) of IContent object on a page.  
Public Fieldstatic (Shared in Visual Basic)ContentProviderKeyContentProviderKey is a constant specifying the QueryString key that will be used for carrying the value of ProviderName property of IContent object on a page.  
Public Fieldstatic (Shared in Visual Basic)PageKeyPageKey is a constant specifying the QueryString key that will be used for carrying the value current page if paging is turned on.  
Public Fieldstatic (Shared in Visual Basic)TagKeyTagKey is a constant specifying the QueryString key that will be used for carrying the value of the Tag ID property (primary key) of ITag object on a page.  
Public Fieldstatic (Shared in Visual Basic)TagPageKeyTagPageKey is a constant specifying the QueryString key that will be used for carrying the current page number if paging is turned on and if controls are displaying only IContent object tagged by a particular tag.  
Top

Public Properties

 NameDescription
Public PropertyCommentsSortExpression Gets or sets the expression for sorting comments.  
Public PropertyDefaultProviderOverridden.  Gets the default provider for user and role management  
Public Propertystatic (Shared in Visual Basic)DefaultProviderNameGets the name of the default provider to be used by this module  
Public PropertyFilterExpression Gets or sets the expression for filtering generic content.  
Public PropertyLocalization Gets localization of the content manager.  
Public PropertyMetaKeys Gets a Dictionary<string, IMetaInfo> which represents all the meta keys for the provider with which ContentManager has been created. The key of the dictionary represents the meta key, while the value (IMetaInfo) provides all the necessary information about meta field, such as the value type, is the meta field searchable, sortable and so on.  
Public PropertyModuleNameOverridden.  Gets the name of the module that this manager belongs to.  
Public PropertyPermissions Gets the permissions for the current provider.  
Public PropertyProvider The current provider (Inherited from Telerik.ManagerBase<ContentProviderBase>)
Public Propertystatic (Shared in Visual Basic)Providers Gets a collection of the providers.  
Public Propertystatic (Shared in Visual Basic)SecurityRoots Gets key/value information for provider/global permissions. Preserves information for all providers.  
Public PropertySelectCount Gets the number of the objects returned by a function.  
Top

Protected Properties

 NameDescription
Protected PropertyProvidersSettingsOverridden.  Gets collection of Sytem.Configuration.ProviderSetings  
Top

Public Methods

 NameDescription
Public MethodAddThumbnailCreates a new IThumbnail object for the given content item.  
Public MethodCancelChanges Deletes the last version for the item with the specified ID.  
Public MethodCategoriesCount  
Public MethodContentCountOverloaded.  Returns number of generic content objects.  
Public MethodCreateCategoryOverloaded.  Creates a new catefory  
Public MethodCreateComment Creates comment for the specified content item.  
Public MethodCreateContentOverloaded.  Creates the content for the specified MIME type.  
Public MethodCreateTagOverloaded.  Creates a new tag  
Public MethodDeleteCategory Deletes a category  
Public MethodDeleteCommentOverloaded.  Deletes the comment with the specified ID.  
Public MethodDeleteContentOverloaded.  Deletes the content for the specified generic content item id.  
Public MethodDeleteTag Deletes a tag.  
Public MethodGetCategoriesOverloaded.  Gets all categories  
Public MethodGetCategoryOverloaded.  Gets a category  
Public MethodGetChildItemsOverloaded.  Returns the list of all generic content objects with the specified Parent ID  
Public MethodGetComment Returns the comment with the specified ID.  
Public MethodGetCommentsOverloaded.  Returns the list of all comments for the specified content item id.  
Public MethodGetContentOverloaded.  Returns the content for the specified id.  
Public MethodGetCurrentStateOverloaded.  Returns the current state for the specified generic content item id.  
Public MethodGetDescriptor Returns an extended ICustomTypeDescriptor that can provide extended metadata for the object  
Public MethodGetFilter Returns the filter for the specified filtering expression.  
Public MethodGetMetaData Returns the meta data for the specified filter.  
Public MethodGetMetaKeys This function returns a dictionary of meta keys and IMetaInfo objects, which represent all meta keys for given Generic Content based module.  
Public MethodGetPermissionOverloaded.  Returns the permissions for the current provider.  
Public MethodGetProviders Gets a collection of the providers for the application. (Inherited from Telerik.ManagerBase<ContentProviderBase>)
Public MethodGetStagedContent Returns staged content for the specified generic content item id.  
Public MethodGetTagOverloaded.  Gets a tag based on its primary key  
Public MethodGetTagsOverloaded.  Gets all tags  
Public MethodGetUrlRewriterService  
Public MethodGetVariableOverloaded.  Returns the variable for the specified name.  
Public MethodMarkCommentAsRead  
Public MethodMarkCommentAsUnread  
Public MethodMarkCommentsAsRead  
Public MethodMarkCommentsAsUnread  
Public MethodParseCondition Parses condition for the specified expression.  
Public MethodPublishContentOverloaded.  Publishes the content for the specified id.  
Public MethodSaveCategory Saves a category  
Public MethodSaveComment Saves the specified comment for the current provider.  
Public MethodSaveContentOverloaded.  Saves the specified IContent object.  
Public MethodSavedStagedContent saves the staged content with status  
Public MethodSaveTag Saves a tag  
Public MethodSaveTagsOverloaded.   
Public MethodSaveThumbnailSaves a IThumbnail object to the database.  
Public MethodSelectCommentsCountOverloaded.  Returns number of comments.  
Public MethodSetVariableOverloaded.  Sets a value to the variable with the specified name.  
Public MethodTaggedContentCountOverloaded.   
Public MethodUpdateCategory Updates a category  
Public MethodUpdateContentCategory Reassignes content belonging to one category to another category  
Top

Protected Methods

 NameDescription
Protected MethodInitialize (Inherited from Telerik.ManagerBase<ContentProviderBase>)
Protected MethodOnInitializedOverridden.   
Protected MethodOnInitializing (Inherited from Telerik.ManagerBase<ContentProviderBase>)
Protected MethodSetProvider Sets the provider for this instance. (Inherited from Telerik.ManagerBase<ContentProviderBase>)
Top

See Also