Interface ISearchContentRepository
- Namespace
- Oqtane.Repository
- Assembly
- Oqtane.Server.dll
public interface ISearchContentRepository
Methods
AddSearchContent(SearchContent)
SearchContent AddSearchContent(SearchContent searchContent)
Parameters
searchContent
SearchContent
Returns
AddSearchContentWord(SearchContentWord)
SearchContentWord AddSearchContentWord(SearchContentWord searchContentWord)
Parameters
searchContentWord
SearchContentWord
Returns
AddSearchWord(SearchWord)
SearchWord AddSearchWord(SearchWord searchWord)
Parameters
searchWord
SearchWord
Returns
DeleteAllSearchContent(int)
void DeleteAllSearchContent(int siteId)
Parameters
siteId
int
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
stringentryId
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
UpdateSearchContentWord(SearchContentWord)
SearchContentWord UpdateSearchContentWord(SearchContentWord searchContentWord)
Parameters
searchContentWord
SearchContentWord