SaveSearchToolbarRenderer

SaveSearchToolbarRenderer

Renders the search form built in save and load search commands to toolbar.

Constructor

new SaveSearchToolbarRenderer()

Methods

addSaveSearchToolbarItems()

Adds built in save and load search commands to toolbar.

deleteSearch(searchId)

Deletes the selected save search

Parameters:
Name Type Description
searchId string

saved search id

doSearch(searchId)

Loads the saved search criteria in to the search form, perform search and load results into table.

Parameters:
Name Type Description
searchId string

saved search id

getTerm() → {Object}

Returns:

return object with term values as of now it is empty. future improvement to include term also in query?

Type
Object

initializeSaveService()

Initializes the save search service.

loadSearch(searchId)

Loads the saved search criteria in to the search form.

Parameters:
Name Type Description
searchId string

saved search id

registerToolbarEvents()

Registers events on savesearch toolbar associated with this searchpanel.

saveSearch(param0)

Saves the search criteria into db.

Parameters:
Name Type Description
param0 object

object containing search name & id