pyams_content.features.review package¶
+Subpackages¶
+ +Submodules¶
+pyams_content.features.review.interfaces module¶
+-
+
-
+class
pyams_content.features.review.interfaces.
CommentAddedEvent
(object, comment)¶
+ Bases:
+zope.interface.interfaces.ObjectEvent
Comment added event
+
Module contents¶
+-
+
-
+class
pyams_content.features.review.
ContentReviewNotificationHandler
(context)¶
+ Bases:
+pyams_utils.adapter.ContextAdapter
Content review notification handler
+-
+
-
+
get_target
()¶
+
-
+
-
+
-
+class
pyams_content.features.review.
ReviewComment
(owner, comment, comment_type='comment', reviewers=None)¶
+ Bases:
+persistent.Persistent
,zope.container.contained.Contained
Review comment persistent class
+-
+
-
+
comment
¶
+ 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.
+
-
+
-
+
comment_type
¶
+ 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.
+
-
+
-
+
creation_date
¶
+ 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.
+
-
+
-
+
is_reviewer_comment
¶
+ 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.
+
-
+
-
+
owner
¶
+ 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.
+
-
+
-
+
reviewers
¶
+ 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.
+
-
+
-
+
-
+class
pyams_content.features.review.
ReviewCommentsContainer
¶
+ Bases:
+pyams_utils.container.BTreeOrderedContainer
Review comments container
+-
+
-
+
add_comment
(comment)¶
+
-
+
-
+
clear
()¶
+
-
+
-
+
reviewers
¶
+ 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.
+
-
+
-
+
Bases:
+pyams_utils.adapter.ContextAdapter
Shared content review adapter
+-
+
Ask for content review
+
-
+
-
+
Shared content review comments factory
+
-
+
Bases:
+pyams_utils.adapter.ContextAdapter
++review-comments++ namespace traverser
+-
+
-
+
Bases:
+pyams_utils.adapter.ContextAdapter
Shared content review comments sub-location adapter
+-
+
-
+
-
+
pyams_content.features.review.
handle_new_comment
(event)¶
+ Handle new review comment
+