Class SearchDataStoreController
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Inheritance
Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke.dll
Syntax
public class SearchDataStoreController : object
Methods
| Improve this Doc View SourceAddSearchItem(SearchItemInfo)
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Declaration
public static int AddSearchItem(SearchItemInfo item)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo | item |
Returns
Type | Description |
---|---|
System.Int32 |
DeleteSearchItem(Int32)
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Declaration
public static void DeleteSearchItem(int searchItemId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | searchItemId |
DeleteSearchItemWords(Int32)
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Declaration
public static void DeleteSearchItemWords(int searchItemId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | searchItemId |
GetSearchItem(Int32, String)
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Declaration
public static SearchItemInfo GetSearchItem(int moduleId, string searchKey)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | moduleId | |
System.String | searchKey |
Returns
Type | Description |
---|---|
SearchItemInfo | An empty SearchItemInfo. |
GetSearchItems(Int32, Int32, Int32)
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Declaration
public static ArrayList GetSearchItems(int portalId, int tabId, int moduleId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | |
System.Int32 | tabId | |
System.Int32 | moduleId |
Returns
Type | Description |
---|---|
ArrayList | An empty |
GetSearchItems(Int32)
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Declaration
public static Dictionary<string, SearchItemInfo> GetSearchItems(int moduleId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | moduleId |
Returns
Type | Description |
---|---|
Dictionary<System.String, SearchItemInfo> | An empty |
GetSearchResults(Int32, Int32, Int32)
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Declaration
public static SearchResultsInfoCollection GetSearchResults(int portalId, int tabId, int moduleId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | |
System.Int32 | tabId | |
System.Int32 | moduleId |
Returns
Type | Description |
---|---|
SearchResultsInfoCollection | An empty SearchResultsInfoCollection. |
GetSearchResults(Int32, String)
GetSearchResults gets the search results for a single word.
Declaration
public static SearchResultsInfoCollection GetSearchResults(int portalID, string word)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalID | A Id of the Portal. |
System.String | word | The word. |
Returns
Type | Description |
---|---|
SearchResultsInfoCollection | An empty SearchResultsInfoCollection. |
GetSearchSettings(Int32)
GetSearchSettings gets the search settings for a single module.
Declaration
public static Dictionary<string, string> GetSearchSettings(int moduleId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | moduleId | The Id of the Module. |
Returns
Type | Description |
---|---|
Dictionary<System.String, System.String> | A |
UpdateSearchItem(SearchItemInfo)
The SearchDataStoreController is the Business Controller class for SearchDataStore.
Declaration
public static void UpdateSearchItem(SearchItemInfo item)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfo | item |