Interface ISearchContentRepository
- Namespace
- Oqtane.Repository
- Assembly
- Oqtane.Server.dll
public interface ISearchContentRepository
Methods
AddSearchContent(SearchContent)
SearchContent AddSearchContent(SearchContent searchContent)
Parameters
searchContent
SearchContent
Returns
- SearchContent
AddSearchContentWord(SearchContentWord)
SearchContentWord AddSearchContentWord(SearchContentWord searchContentWord)
Parameters
searchContentWord
SearchContentWord
Returns
- SearchContentWord
AddSearchWord(SearchWord)
SearchWord AddSearchWord(SearchWord searchWord)
Parameters
searchWord
SearchWord
Returns
- SearchWord
DeleteAllSearchContent()
void DeleteAllSearchContent()
DeleteSearchContent(int)
void DeleteSearchContent(int searchContentId)
Parameters
searchContentId
int
DeleteSearchContent(string)
void DeleteSearchContent(string uniqueKey)
Parameters
uniqueKey
string
DeleteSearchContent(string, string)
void DeleteSearchContent(string entityName, string entryId)
Parameters
entityName
string
entryId
string
GetSearchContentWords(int)
IEnumerable<SearchContentWord> GetSearchContentWords(int searchContentId)
Parameters
searchContentId
int
Returns
- IEnumerable<SearchContentWord>
GetSearchContentsAsync(SearchQuery)
Task<IEnumerable<SearchContent>> GetSearchContentsAsync(SearchQuery searchQuery)
Parameters
searchQuery
SearchQuery
Returns
- Task<IEnumerable<SearchContent>>
GetSearchWord(string)
SearchWord GetSearchWord(string word)
Parameters
word
string
Returns
- SearchWord
UpdateSearchContentWord(SearchContentWord)
SearchContentWord UpdateSearchContentWord(SearchContentWord searchContentWord)
Parameters
searchContentWord
SearchContentWord
Returns
- SearchContentWord