Back to index

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

List of all members.

Public Member Functions

def createReply
def getReplies
def quotedContents

Private Member Functions

def _getReplyResults

Detailed Description

Interface for things which can have responses.

Definition at line 47 of file _content.py.


Member Function Documentation

Return the ZCatalog results that represent this object's replies.

o XXX: Huh?

o Often, the actual objects are not needed.  This is less expensive
  than fetching the objects.

o Permission: View

Definition at line 77 of file _content.py.

00077 
00078     def _getReplyResults():
00079         """ Return the ZCatalog results that represent this object's replies.
00080 
00081         o XXX: Huh?
00082 
00083         o Often, the actual objects are not needed.  This is less expensive
00084           than fetching the objects.
00085 
00086         o Permission: View
00087         """
00088 

Here is the caller graph for this function:

def CMFCore.interfaces._content.IDiscussable.createReply (   title,
  text,
  Creator = None 
)
Interface for things which can have responses.
Create a reply in the proper place.

o Returns: HTML (directly or via redirect) # XXX

o Permission: Reply to item

Definition at line 52 of file _content.py.

00052 
00053     def createReply(title, text, Creator=None):
00054         """ Create a reply in the proper place.
00055 
00056         o Returns: HTML (directly or via redirect) # XXX
00057 
00058         o Permission: Reply to item
00059         """

Return a sequence of IDiscussionResponse objects which are
    replies to this IDiscussable

o Permission: View

Definition at line 60 of file _content.py.

00060 
00061     def getReplies():
00062         """ Return a sequence of IDiscussionResponse objects which are
00063             replies to this IDiscussable
00064 
00065         o Permission: View
00066         """

Return this object's contents in a form suitable for inclusion
    as a quote in a response.

o The default implementation returns an empty string.  It might be
   overridden to return a '>' quoted version of the item.

o Permission: Reply to item

Definition at line 67 of file _content.py.

00067 
00068     def quotedContents():
00069         """ Return this object's contents in a form suitable for inclusion
00070             as a quote in a response.
00071 
00072         o The default implementation returns an empty string.  It might be
00073            overridden to return a '>' quoted version of the item.
00074 
00075         o Permission: Reply to item
00076         """


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