• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class SearchDataStoreProvider

Inheritance
System.Object
SearchDataStoreProvider
SearchDataStore
Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke.dll
Syntax
public abstract class SearchDataStoreProvider : object

Methods

| Improve this Doc View Source

GetSearchItems(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

A SearchResultsInfoCollection.

| Improve this Doc View Source

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

A SearchResultsInfoCollection.

| Improve this Doc View Source

Instance()

Declaration
public static SearchDataStoreProvider Instance()
Returns
Type Description
SearchDataStoreProvider
| Improve this Doc View Source

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.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS