Class TermController
Inheritance
TermController
Assembly: DotNetNuke.dll
Syntax
public class TermController : ITermController
Constructors
TermController()
Declaration
TermController(IDataService)
Declaration
public TermController(IDataService dataService)
Parameters
Methods
AddTerm(Term)
Declaration
public int AddTerm(Term term)
Parameters
Type |
Name |
Description |
Term |
term |
|
Returns
AddTermToContent(Term, ContentItem)
Declaration
public void AddTermToContent(Term term, ContentItem contentItem)
Parameters
DeleteTerm(Term)
Declaration
public void DeleteTerm(Term term)
Parameters
Type |
Name |
Description |
Term |
term |
|
GetTerm(int)
Declaration
public Term GetTerm(int termId)
Parameters
Type |
Name |
Description |
int |
termId |
|
Returns
GetTermUsage(int)
Declaration
public TermUsage GetTermUsage(int termId)
Parameters
Type |
Name |
Description |
int |
termId |
|
Returns
GetTermsByContent(int)
Declaration
public IQueryable<Term> GetTermsByContent(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
GetTermsByVocabulary(int)
Declaration
public IQueryable<Term> GetTermsByVocabulary(int vocabularyId)
Parameters
Type |
Name |
Description |
int |
vocabularyId |
|
Returns
GetTermsByVocabulary(string)
Declaration
public IQueryable<Term> GetTermsByVocabulary(string vocabularyName)
Parameters
Type |
Name |
Description |
string |
vocabularyName |
|
Returns
RemoveTermsFromContent(ContentItem)
Declaration
public void RemoveTermsFromContent(ContentItem contentItem)
Parameters
UpdateTerm(Term)
Declaration
public void UpdateTerm(Term term)
Parameters
Type |
Name |
Description |
Term |
term |
|
Implements
Extension Methods