+ +
+

pyams_content.shared.news package

+ +
+

Submodules

+
+
+

pyams_content.shared.news.manager module

+
+
+class pyams_content.shared.news.manager.NewsManager
+

Bases: pyams_content.shared.common.manager.SharedTool

+

News manager class

+
+
+allowed_paragraphs
+

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.

+
+ +
+
+auto_created_paragraphs
+

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.

+
+ +
+
+shared_content_factory
+

alias of NewsEvent

+
+ +
+
+shared_content_type = 'news'
+
+ +
+ +
+
+pyams_content.shared.news.manager.handle_added_news_manager(event)
+

Register news manager when added

+
+ +
+
+

Module contents

+
+
+class pyams_content.shared.news.NewsEvent
+

Bases: pyams_content.shared.common.SharedContent

+

Workflow managed news event class

+
+
+content_class
+

alias of WfNewsEvent

+
+ +
+ +
+
+class pyams_content.shared.news.WfNewsEvent
+

Bases: pyams_content.shared.common.WfSharedContent

+

Base news event

+
+
+content_name = 'News topic'
+
+ +
+
+content_type = 'news'
+
+ +
+ +
+
+ + +