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