hawat.blueprints.settings_reporting package

Description

This pluggable module provides access to group reporting settings management features. These features include:

  • detailed reporting settings view

  • creating new reporting settings

  • updating existing reporting settings

  • deleting existing reporting settings

hawat.blueprints.settings_reporting.BLUEPRINT_NAME = 'settings_reporting'

Name of the blueprint as module global constant.

class hawat.blueprints.settings_reporting.CreateView[source]

Bases: hawat.base.HTMLMixin, hawat.base.SQLAlchemyMixin, hawat.base.ItemCreateView

View for creating new reporting settings.

authentication = True
classmethod authorize_item_action(**kwargs)[source]

Perform access authorization for current user to particular item.

property dbmodel

Implementation of hawat.base.SQLAlchemyMixin.dbmodel().

do_before_response(**kwargs)[source]

Hook method. Implementation of hawat.base.HawatDbmodelView.do_before_render() interface.

static get_item_form()[source]

Implementation of hawat.base.ItemCreateView.get_item_form().

classmethod get_menu_title(**kwargs)[source]

Implementation of hawat.base.BaseView.get_menu_title().

static get_message_cancel(**kwargs)[source]

Implementation of hawat.base.ItemActionView.get_message_cancel().

static get_message_failure(**kwargs)[source]

Implementation of hawat.base.ItemActionView.get_message_failure().

static get_message_success(**kwargs)[source]

Implementation of hawat.base.ItemActionView.get_message_success().

classmethod get_view_title(**kwargs)[source]

Implementation of hawat.base.BaseView.get_view_title().

methods = ['GET', 'POST']
class hawat.blueprints.settings_reporting.SettingsReportingBlueprint(name, import_name, **kwargs)[source]

Bases: hawat.base.HawatBlueprint

Hawat pluggable module - reporting settings.

classmethod get_module_title()[source]

Implementation of hawat.base.HawatBlueprint.get_module_title().

class hawat.blueprints.settings_reporting.ShowView[source]

Bases: hawat.base.HTMLMixin, hawat.base.SQLAlchemyMixin, hawat.base.ItemShowView

Detailed reporting settings view.

authentication = True
classmethod authorize_item_action(**kwargs)[source]

Perform access authorization for current user to particular item.

property dbmodel

Implementation of hawat.base.SQLAlchemyMixin.dbmodel().

do_before_response(**kwargs)[source]

Hook method. Implementation of hawat.base.HawatDbmodelView.do_before_render() interface.

classmethod get_action_menu()[source]

Get action menu for particular item.

classmethod get_breadcrumbs_menu()[source]

Get breadcrumbs menu.

classmethod get_view_icon()[source]

Implementation of hawat.base.BaseView.get_view_icon().

classmethod get_view_title(**kwargs)[source]

Implementation of hawat.base.BaseView.get_menu_title().

methods = ['GET']
class hawat.blueprints.settings_reporting.UpdateView[source]

Bases: hawat.base.HTMLMixin, hawat.base.SQLAlchemyMixin, hawat.base.ItemUpdateView

View for updating existing reporting settings.

authentication = True
classmethod authorize_item_action(**kwargs)[source]

Perform access authorization for current user to particular item.

property dbmodel

Implementation of hawat.base.SQLAlchemyMixin.dbmodel().

do_before_response(**kwargs)[source]

Hook method. Implementation of hawat.base.HawatDbmodelView.do_before_render() interface.

static get_item_form(item)[source]

Implementation of hawat.base.ItemUpdateView.get_item_form().

classmethod get_menu_legend(**kwargs)[source]

Implementation of hawat.base.BaseView.get_menu_title().

static get_message_cancel(**kwargs)[source]

Implementation of hawat.base.ItemActionView.get_message_cancel().

static get_message_failure(**kwargs)[source]

Implementation of hawat.base.ItemActionView.get_message_failure().

static get_message_success(**kwargs)[source]

Implementation of hawat.base.ItemActionView.get_message_success().

get_url_next()[source]

Hook method. Implementation of hawat.base.ItemUpdateView.get_url_next() interface.

classmethod get_view_title(**kwargs)[source]

Implementation of hawat.base.BaseView.get_view_title().

methods = ['GET', 'POST']
hawat.blueprints.settings_reporting.get_blueprint()[source]

Mandatory interface and factory function. This function must return a valid instance of hawat.base.HawatBlueprint or flask.Blueprint.