add enabled property to IConversation interface.

svn path=/plone.app.discussion/trunk/; revision=27368
This commit is contained in:
Timo Stollenwerk 2009-06-10 20:13:29 +00:00
parent 799365dd94
commit c1696a9756

View File

@ -80,6 +80,10 @@ class IConversation(IIterableMapping):
size specified.
"""
def enabled():
"""Return True if discussion is enabled on this conversation.
"""
def getThreads(start=0, size=None, root=0, depth=None):
"""Return a batch of comment objects for rendering.