Back to index

plone3  3.1.7
Public Member Functions
CMFCore.interfaces._content.IDiscussionResponse Class Reference
Inheritance diagram for CMFCore.interfaces._content.IDiscussionResponse:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.interfaces._content.IDiscussionResponse:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def inReplyTo
def setReplyTo
def parentsInThread

Detailed Description

Interface for objects which are replies to IDiscussable objects.

Definition at line 153 of file _content.py.


Member Function Documentation

Interface for objects which are replies to IDiscussable objects.
Return the IDiscussable object to which this item is a reply.

o Permission: None assigned

Definition at line 158 of file _content.py.

00158 
00159     def inReplyTo(REQUEST=None):
00160         """ Return the IDiscussable object to which this item is a reply.
00161 
00162         o Permission: None assigned
00163         """

Return a sequence of IDiscussables which are this object's parents,
    from the point of view of the threaded discussion.

o Parents are ordered oldest to newest.

o If 'size' is not zero, only the closest 'size' parents will be
  returned.

Definition at line 177 of file _content.py.

00177 
00178     def parentsInThread(size=0):
00179         """ Return a sequence of IDiscussables which are this object's parents,
00180             from the point of view of the threaded discussion.
00181 
00182         o Parents are ordered oldest to newest.
00183 
00184         o If 'size' is not zero, only the closest 'size' parents will be
00185           returned.
00186         """
00187 
00188 
00189 #
00190 #   DublinCore interfaces
#
Make this object a response to the passed object.

o 'reply_to' is an IDiscussable, or a path (as a string) to one.

o Raise ValueError if 'reply_to' is not an IDiscussable (or doesn't
  resolve to one as a path).

o XXX This does not seem like the right exception.

o Permission: None assigned

Definition at line 164 of file _content.py.

00164 
00165     def setReplyTo(reply_to):
00166         """ Make this object a response to the passed object.
00167 
00168         o 'reply_to' is an IDiscussable, or a path (as a string) to one.
00169 
00170         o Raise ValueError if 'reply_to' is not an IDiscussable (or doesn't
00171           resolve to one as a path).
00172 
00173         o XXX This does not seem like the right exception.
00174 
00175         o Permission: None assigned
00176         """


The documentation for this class was generated from the following file: