- -
-

pyams_content.features.review package

- -
-

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.

-
- -
- -
-
-class pyams_content.features.review.SharedContentReviewAdapter(context)
-

Bases: pyams_utils.adapter.ContextAdapter

-

Shared content review adapter

-
-
-ask_review(reviewers, comment, notify_all=True)
-

Ask for content review

-
- -
-
-review_template = <PageTemplateFile /home/tflorac/Dropbox/src/PyAMS/pyams_content/src/pyams_content/features/review/zmi/templates/review-notification.pt>
-
- -
- -
-
-pyams_content.features.review.SharedContentReviewCommentsFactory(context)
-

Shared content review comments factory

-
- -
-
-class pyams_content.features.review.SharedContentReviewCommentsNamespace(context)
-

Bases: pyams_utils.adapter.ContextAdapter

-

++review-comments++ namespace traverser

-
-
-traverse(name, furtherpath=None)
-
- -
- -
-
-class pyams_content.features.review.SharedContentReviewCommentsSublocations(context)
-

Bases: pyams_utils.adapter.ContextAdapter

-

Shared content review comments sub-location adapter

-
-
-sublocations()
-
- -
- -
-
-pyams_content.features.review.handle_new_comment(event)
-

Handle new review comment

-
- -
-
- - -