add objectIds method to Conversation class to make publish comment work.

svn path=/plone.app.discussion/trunk/; revision=27468
This commit is contained in:
Timo Stollenwerk 2009-06-16 11:52:00 +00:00
parent 282e592c8f
commit f8b317ac7a

View File

@ -126,6 +126,9 @@ class Conversation(Traversable, Persistent, Explicit):
def commentators(self): def commentators(self):
return self._commentators.keys() return self._commentators.keys()
def objectIds(self):
return self._comments.keys()
def getComments(self, start=0, size=None): def getComments(self, start=0, size=None):
"""Get unthreaded comments """Get unthreaded comments
""" """