The search mechanism

Description

This cube provides an action button that shows up if current rset is adaptable in IFSetAdapter or IEntityAdapter (adpaters also provided by this cube). This button allows to create a CWSearch entity to store filepath computed by the adapter from the entities in result set.

rql_download: Entities

Adapters

entities.BaseIDownloadAdapter(req, **extra) Base adapter class.
entities.IFSetAdapter(req, **extra) Action to download ExternalFile entities to a FileSet entity.
entities.IEntityAdapter(req, **extra) Action to download entity attributes.

rql_download.views: Views

Components

components.SaveCWSearchFilterBox(req, **extra) Class that enables us to display a ‘Save search’ box when the selected entities fulfill the ‘__select__’ requirements.
components.HelpCWSearchBox(req, **extra) Class that display a help box to download a cwsearch.

Widgets

cwsearch.CWSearchPathWidget([attrs, ...]) Custom widget to edit the query string from the ‘path’ attribute.

Cwbrowser utilities

cwsearch_export.CWSearchRsetView([req, rset]) Create a new CWSearch entity by calling this view.
cwsearch_export.CubicwebConfigView([req, rset]) Dumps the fuse configuration in JSON format.