- -
-

pyams_content.shared.view package

- -
-

Submodules

-
-
-

pyams_content.shared.view.manager module

-
-
-class pyams_content.shared.view.manager.ViewsManager
-

Bases: pyams_content.shared.common.manager.SharedTool

-

Views manager class

-
-
-shared_content_factory
-

alias of View

-
- -
-
-shared_content_type = 'view'
-
- -
- -
-
-pyams_content.shared.view.manager.handle_added_views_manager(event)
-

Register views manager when added

-
- -
-
-

pyams_content.shared.view.reference module

-
-
-class pyams_content.shared.view.reference.ViewInternalReferencesQueryFilterExtension(context)
-

Bases: pyams_utils.adapter.ContextAdapter

-

View internal references filter extension

-
-
-filter(context, items)
-
- -
-
-weight = 999
-
- -
- -
-
-class pyams_content.shared.view.reference.ViewInternalReferencesSettings
-

Bases: persistent.Persistent, zope.container.contained.Contained

-

View internal references settings

-
-
-references
-

Computed attributes based on schema fields

-

Field properties provide default values, data validation and error messages -based on data found in field meta-data.

-

Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.

-
- -
-
-references_mode
-

Computed attributes based on schema fields

-

Field properties provide default values, data validation and error messages -based on data found in field meta-data.

-

Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.

-
- -
- -
-
-pyams_content.shared.view.reference.ViewInternalReferencesSettingsFactory(view)
-

View internal references settings factory

-
- -
-
-

pyams_content.shared.view.theme module

-
-
-class pyams_content.shared.view.theme.ViewThemesSettings
-

Bases: persistent.Persistent, zope.container.contained.Contained

-

View themes settings

-
-
-get_themes(context)
-
- -
-
-get_themes_index(context)
-
- -
-
-select_context_themes
-

Computed attributes based on schema fields

-

Field properties provide default values, data validation and error messages -based on data found in field meta-data.

-

Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.

-
- -
-
-themes
-

Computed attributes based on schema fields

-

Field properties provide default values, data validation and error messages -based on data found in field meta-data.

-

Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.

-
- -
- -
-
-pyams_content.shared.view.theme.ViewThemesSettingsFactory(view)
-

View themes settings factory

-
- -
-
-

Module contents

-
-
-class pyams_content.shared.view.View
-

Bases: pyams_content.shared.common.SharedContent

-

Workflow managed view class

-
-
-content_class
-

alias of WfView

-
- -
- -
-
-class pyams_content.shared.view.ViewQuery(context)
-

Bases: pyams_utils.adapter.ContextAdapter

-

View query

-
-
-get_params(context)
-
- -
-
-get_results(context, limit=None)
-
- -
- -
-
-class pyams_content.shared.view.WfView
-

Bases: pyams_content.shared.common.WfSharedContent

-

Base view

-
-
-content_name = 'View'
-
- -
-
-content_type = 'view'
-
- -
-
-get_results(context)
-
- -
-
-limit
-

Computed attributes based on schema fields

-

Field properties provide default values, data validation and error messages -based on data found in field meta-data.

-

Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.

-
- -
-
-order_by
-

Computed attributes based on schema fields

-

Field properties provide default values, data validation and error messages -based on data found in field meta-data.

-

Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.

-
- -
-
-reversed_order
-

Computed attributes based on schema fields

-

Field properties provide default values, data validation and error messages -based on data found in field meta-data.

-

Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.

-
- -
-
-selected_content_types
-

Computed attributes based on schema fields

-

Field properties provide default values, data validation and error messages -based on data found in field meta-data.

-

Note that FieldProperties cannot be used with slots. They can only -be used for attributes stored in instance dictionaries.

-
- -
- -
-
-pyams_content.shared.view.handle_modified_view(view)
-

Invalidate views cache when a view is modified

-
- -
-
- - -