2010-03-24 08:56:53 +01:00
|
|
|
API/Interfaces
|
|
|
|
--------------
|
2010-03-18 15:32:29 +01:00
|
|
|
|
2010-03-24 08:56:53 +01:00
|
|
|
The conversation and replies adapters.
|
2010-03-18 15:32:29 +01:00
|
|
|
|
2010-03-24 08:56:53 +01:00
|
|
|
The conversation is responsible for storing all comments. It provides a
|
|
|
|
dict-like API for accessing comments, where keys are integers and values
|
|
|
|
are IComment objects. It also provides features for finding comments quickly.
|
2010-03-18 15:32:29 +01:00
|
|
|
|
2010-03-24 08:56:53 +01:00
|
|
|
The IReplies adapter provides an API for finding and manipulating the comments
|
|
|
|
directly in reply to a particular comment (implemented by the CommentReplies
|
|
|
|
adpater) or at the top level of the conversation (implemented by the
|
|
|
|
ConversationReplies adapter).
|
|
|
|
|
|
|
|
.. autointerface:: plone.app.discussion.interfaces.IConversation
|
|
|
|
:members:
|
|
|
|
|
|
|
|
.. autointerface:: plone.app.discussion.interfaces.IReplies
|
|
|
|
:members:
|
|
|
|
|
|
|
|
.. autointerface:: plone.app.discussion.interfaces.IComment
|
|
|
|
:members:
|
|
|
|
|
|
|
|
|
|
|
|
|