Interface IDataService
Assembly: DotNetNuke.dll
Syntax
public interface IDataService
Methods
AddContentItem(ContentItem, int)
Declaration
int AddContentItem(ContentItem contentItem, int createdByUserId)
Parameters
Returns
AddContentType(ContentType)
Declaration
int AddContentType(ContentType contentType)
Parameters
Returns
AddHeirarchicalTerm(Term, int)
Declaration
int AddHeirarchicalTerm(Term term, int createdByUserId)
Parameters
Type |
Name |
Description |
Term |
term |
|
int |
createdByUserId |
|
Returns
AddMetaData(ContentItem, string, string)
Declaration
void AddMetaData(ContentItem contentItem, string name, string value)
Parameters
AddScopeType(ScopeType)
Declaration
int AddScopeType(ScopeType scopeType)
Parameters
Returns
AddSimpleTerm(Term, int)
Declaration
int AddSimpleTerm(Term term, int createdByUserId)
Parameters
Type |
Name |
Description |
Term |
term |
|
int |
createdByUserId |
|
Returns
AddTermToContent(Term, ContentItem)
Declaration
void AddTermToContent(Term term, ContentItem contentItem)
Parameters
AddVocabulary(Vocabulary, int)
Declaration
int AddVocabulary(Vocabulary vocabulary, int createdByUserId)
Parameters
Returns
DeleteContentItem(int)
Declaration
void DeleteContentItem(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
DeleteContentType(ContentType)
Declaration
void DeleteContentType(ContentType contentType)
Parameters
DeleteHeirarchicalTerm(Term)
Declaration
void DeleteHeirarchicalTerm(Term term)
Parameters
Type |
Name |
Description |
Term |
term |
|
DeleteMetaData(ContentItem, string, string)
Declaration
void DeleteMetaData(ContentItem contentItem, string name, string value)
Parameters
DeleteScopeType(ScopeType)
Declaration
void DeleteScopeType(ScopeType scopeType)
Parameters
DeleteSimpleTerm(Term)
Declaration
void DeleteSimpleTerm(Term term)
Parameters
Type |
Name |
Description |
Term |
term |
|
DeleteVocabulary(Vocabulary)
Declaration
void DeleteVocabulary(Vocabulary vocabulary)
Parameters
GetContentItem(int)
Declaration
IDataReader GetContentItem(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
GetContentItems(int, int, int)
Declaration
IDataReader GetContentItems(int contentTypeId, int tabId, int moduleId)
Parameters
Type |
Name |
Description |
int |
contentTypeId |
|
int |
tabId |
|
int |
moduleId |
|
Returns
GetContentItemsByContentType(int)
Declaration
IDataReader GetContentItemsByContentType(int contentTypeId)
Parameters
Type |
Name |
Description |
int |
contentTypeId |
|
Returns
GetContentItemsByModuleId(int)
Declaration
IDataReader GetContentItemsByModuleId(int moduleId)
Parameters
Type |
Name |
Description |
int |
moduleId |
|
Returns
GetContentItemsByTabId(int)
Declaration
IDataReader GetContentItemsByTabId(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
GetContentItemsByTerm(string)
Declaration
IDataReader GetContentItemsByTerm(string term)
Parameters
Type |
Name |
Description |
string |
term |
|
Returns
GetContentItemsByVocabularyId(int)
Declaration
IDataReader GetContentItemsByVocabularyId(int vocabularyId)
Parameters
Type |
Name |
Description |
int |
vocabularyId |
|
Returns
GetContentTypes()
Declaration
IDataReader GetContentTypes()
Returns
GetMetaData(int)
Declaration
IDataReader GetMetaData(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
GetScopeTypes()
Declaration
IDataReader GetScopeTypes()
Returns
GetTerm(int)
Declaration
IDataReader GetTerm(int termId)
Parameters
Type |
Name |
Description |
int |
termId |
|
Returns
GetTermUsage(int)
Declaration
IDataReader GetTermUsage(int termId)
Parameters
Type |
Name |
Description |
int |
termId |
|
Returns
GetTermsByContent(int)
Declaration
IDataReader GetTermsByContent(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
GetTermsByVocabulary(int)
Declaration
IDataReader GetTermsByVocabulary(int vocabularyId)
Parameters
Type |
Name |
Description |
int |
vocabularyId |
|
Returns
GetUnIndexedContentItems()
Declaration
IDataReader GetUnIndexedContentItems()
Returns
GetVocabularies()
Declaration
IDataReader GetVocabularies()
Returns
RemoveTermsFromContent(ContentItem)
Declaration
void RemoveTermsFromContent(ContentItem contentItem)
Parameters
SynchronizeMetaData(ContentItem, IEnumerable<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>)
Declaration
void SynchronizeMetaData(ContentItem contentItem, IEnumerable<KeyValuePair<string, string>> added, IEnumerable<KeyValuePair<string, string>> deleted)
Parameters
UpdateContentItem(ContentItem, int)
Declaration
void UpdateContentItem(ContentItem contentItem, int lastModifiedByUserId)
Parameters
Type |
Name |
Description |
ContentItem |
contentItem |
|
int |
lastModifiedByUserId |
|
UpdateContentType(ContentType)
Declaration
void UpdateContentType(ContentType contentType)
Parameters
UpdateHeirarchicalTerm(Term, int)
Declaration
void UpdateHeirarchicalTerm(Term term, int lastModifiedByUserId)
Parameters
Type |
Name |
Description |
Term |
term |
|
int |
lastModifiedByUserId |
|
UpdateScopeType(ScopeType)
Declaration
void UpdateScopeType(ScopeType scopeType)
Parameters
UpdateSimpleTerm(Term, int)
Declaration
void UpdateSimpleTerm(Term term, int lastModifiedByUserId)
Parameters
Type |
Name |
Description |
Term |
term |
|
int |
lastModifiedByUserId |
|
UpdateVocabulary(Vocabulary, int)
Declaration
void UpdateVocabulary(Vocabulary vocabulary, int lastModifiedByUserId)
Parameters
Type |
Name |
Description |
Vocabulary |
vocabulary |
|
int |
lastModifiedByUserId |
|
Extension Methods