Class SearchDataStoreProvider
Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke.dll
Syntax
public abstract class SearchDataStoreProvider : object
Methods
| Improve this Doc View SourceGetSearchItems(Int32, Int32, Int32)
GetSearchItems gets a collection of Search Items for a Module/Tab/Portal.
Declaration
public abstract SearchResultsInfoCollection GetSearchItems(int portalId, int tabId, int moduleId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | A Id of the Portal. |
System.Int32 | tabId | A Id of the Tab. |
System.Int32 | moduleId | A Id of the Module. |
Returns
Type | Description |
---|---|
SearchResultsInfoCollection |
GetSearchResults(Int32, String)
GetSearchResults gets the search results for a passed in criteria string.
Declaration
public abstract SearchResultsInfoCollection GetSearchResults(int portalId, string criteria)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | A Id of the Portal. |
System.String | criteria | The criteria string. |
Returns
Type | Description |
---|---|
SearchResultsInfoCollection |
Instance()
Declaration
public static SearchDataStoreProvider Instance()
Returns
Type | Description |
---|---|
SearchDataStoreProvider |
StoreSearchItems(SearchItemInfoCollection)
StoreSearchItems adds the Search Item to the Data Store.
Declaration
public abstract void StoreSearchItems(SearchItemInfoCollection searchItems)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfoCollection | searchItems | A Collection of SearchItems. |