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

Interface IModuleSearchResultController

Module can optionally specify custom behavior to provide Permission and Url Services.

Namespace: DotNetNuke.Services.Search.Controllers
Assembly: DotNetNuke.dll
Syntax
public interface IModuleSearchResultController
Remarks

This is needed only when Module wants additional capabilities on top of what Core already performs.

Methods

| Improve this Doc View Source

GetDocUrl(SearchResult)

Return a Url that can be shown in search results.

Declaration
string GetDocUrl(SearchResult searchResult)
Parameters
Type Name Description
SearchResult searchResult

Search Result.

Returns
Type Description
System.String

Url.

Remarks

The Query Strings in the Document (if present) should be appended while returning the Url.

| Improve this Doc View Source

HasViewPermission(SearchResult)

Does the user in the Context have View Permission on the Document.

Declaration
bool HasViewPermission(SearchResult searchResult)
Parameters
Type Name Description
SearchResult searchResult

Search Result.

Returns
Type Description
System.Boolean

True or False.

Remarks

This is needed only when Module wants additional capabilities on top of what Core already performs.

Extension Methods

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