rql_download.hooks.CWSearchDelete

class rql_download.hooks.CWSearchDelete(req, event, **kwargs)[source]

On startup, register a task to delete old CWSearch entities.

Methods

__init__(req, event, **kwargs)
check_events()
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.
filterable_selectors(*args, **kwargs)
info(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘INFO’.
warning(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘WARNING’.

Attributes

category
eidfrom
eidto
entity
events
known_args
order
repo
rtype
__call__()[source]

Method to execute the ‘CWSearchDelete’ hook.

__module__ = 'rql_download.hooks'
__regid__ = 'rqldownload.search_delete_hook'
events = ('server_startup',)