rql_download.entities.IEntityAdapter

class rql_download.entities.IEntityAdapter(req, **extra)[source]

Action to download entity attributes.

Add items in the global list ‘RQL_DOWNLOAD_EXPORT_ENTITIES’ to activate such an action. The rset will be exported in csv format.

Methods

__init__(req, **extra)
actual_actions()
build_action(title, url, **kwargs)
critical(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘CRITICAL’.
cw_propval(propid) return cw property value associated to key
debug(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘DEBUG’.
error(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘ERROR’.
exception(msg, *args, **kwargs) Convenience method for logging an ERROR with exception information.
fill_menu(box, menu) add action(s) to the given submenu of the given box
html_class()
info(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘INFO’.
rql(rql, parameter_name[, identifier]) Method that simply return the input rql.
url() return the url associated with this action
warning(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘WARNING’.

Attributes

category
order
submenu
__module__ = 'rql_download.entities'
rql(rql, parameter_name, identifier=None)[source]

Method that simply return the input rql.