C# Class RockWeb.Blocks.Cms.UniversalSearch

Inheritance: Rock.Web.UI.RockBlockCustomSettings
Show file Open project: NewSpring/Rock

Protected Methods

Method Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

ShowSettings ( ) : void

Shows the settings.

btnSearch_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSearch control.

lbRefineSearch_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRefineSearch control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

Private Methods

Method Description
BuildUrl ( int pageOffset ) : string

Builds the URL.

ConfigureSettings ( ) : void

Configures the settings.

ConfigureSmartSearchSettings ( ) : void

Configures the smart search settings.

GetFieldFilters ( List selectedEntities ) : List

Gets the field filters.

GetIndexFilterConfig ( Type entityType ) : ModelFieldFilterConfig

Gets the index filter configuration.

GetSearchEntities ( ) : List

Gets the search entities.

RedirectToDocument ( string documentType, string documentId ) : void

Redirects to document.

Search ( ) : void

Performs the search

SupportsIndexFieldFiltering ( Type entityType ) : bool

Supportses the index field filtering.

Method Details

Block_BlockUpdated() protected method

Handles the BlockUpdated event of the control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

ShowSettings() protected method

Shows the settings.
protected ShowSettings ( ) : void
return void

btnSearch_Click() protected method

Handles the Click event of the btnSearch control.
protected btnSearch_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbRefineSearch_Click() protected method

Handles the Click event of the lbRefineSearch control.
protected lbRefineSearch_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbSave_Click() protected method

Handles the Click event of the lbSave control.
protected lbSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void