Class ContentController
Inheritance
ContentController
Assembly: DotNetNuke.dll
Syntax
public class ContentController : ServiceLocator<IContentController, ContentController>, IContentController
Constructors
ContentController()
Declaration
public ContentController()
ContentController(IDataService)
Declaration
public ContentController(IDataService dataService)
Parameters
Methods
AddContentItem(ContentItem)
Declaration
public int AddContentItem(ContentItem contentItem)
Parameters
Returns
AddMetaData(ContentItem, string, string)
Declaration
public void AddMetaData(ContentItem contentItem, string name, string value)
Parameters
DeleteContentItem(ContentItem)
Declaration
public void DeleteContentItem(ContentItem contentItem)
Parameters
DeleteContentItem(int)
Declaration
public void DeleteContentItem(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
DeleteMetaData(ContentItem, string)
Declaration
public void DeleteMetaData(ContentItem contentItem, string name)
Parameters
DeleteMetaData(ContentItem, string, string)
Declaration
public void DeleteMetaData(ContentItem contentItem, string name, string value)
Parameters
GetContentItem(int)
Declaration
public ContentItem GetContentItem(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
GetContentItems(int, int, int)
Declaration
public IQueryable<ContentItem> GetContentItems(int contentTypeId, int tabId, int moduleId)
Parameters
Type |
Name |
Description |
int |
contentTypeId |
|
int |
tabId |
|
int |
moduleId |
|
Returns
GetContentItemsByContentType(ContentType)
Declaration
public IQueryable<ContentItem> GetContentItemsByContentType(ContentType contentType)
Parameters
Returns
GetContentItemsByContentType(int)
Declaration
public IQueryable<ContentItem> GetContentItemsByContentType(int contentTypeId)
Parameters
Type |
Name |
Description |
int |
contentTypeId |
|
Returns
GetContentItemsByModuleId(int)
Declaration
public IQueryable<ContentItem> GetContentItemsByModuleId(int moduleId)
Parameters
Type |
Name |
Description |
int |
moduleId |
|
Returns
GetContentItemsByTabId(int)
Declaration
public IQueryable<ContentItem> GetContentItemsByTabId(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
GetContentItemsByTerm(Term)
Declaration
public IQueryable<ContentItem> GetContentItemsByTerm(Term term)
Parameters
Type |
Name |
Description |
Term |
term |
|
Returns
GetContentItemsByTerm(string)
Declaration
public IQueryable<ContentItem> GetContentItemsByTerm(string term)
Parameters
Type |
Name |
Description |
string |
term |
|
Returns
GetContentItemsByTerms(IList<Term>)
Declaration
public IQueryable<ContentItem> GetContentItemsByTerms(IList<Term> terms)
Parameters
Returns
GetContentItemsByTerms(string[])
Declaration
public IQueryable<ContentItem> GetContentItemsByTerms(string[] terms)
Parameters
Type |
Name |
Description |
string[] |
terms |
|
Returns
GetContentItemsByVocabularyId(int)
Declaration
public IQueryable<ContentItem> GetContentItemsByVocabularyId(int vocabularyId)
Parameters
Type |
Name |
Description |
int |
vocabularyId |
|
Returns
GetFactory()
Declaration
protected override Func<IContentController> GetFactory()
Returns
Overrides
GetMetaData(int)
Declaration
public NameValueCollection GetMetaData(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
GetUnIndexedContentItems()
Declaration
public IQueryable<ContentItem> GetUnIndexedContentItems()
Returns
UpdateContentItem(ContentItem)
Declaration
public void UpdateContentItem(ContentItem contentItem)
Parameters
Implements
Extension Methods