fixing isioc_type comment 450c435d69b9
authorLaure Bourgois <Laure.Bourgois@logilab.fr>
Wed, 01 Apr 2009 17:25:40 +0200
branch450c435d69b9
changeset 1199 7fa66717175b
parent 1127 894685124c68
child 1200 0d12d4371d11
child 1812 4307a461f029
fixing isioc_type comment adding method (from existing cube blog code) to ISiocItem (isioc_replies, isioc_topics) adding method (from existing cube blog code) to ISiocContainer (isioc_items)
interfaces.py
--- a/interfaces.py	Fri Mar 20 15:08:18 2009 +0100
+++ b/interfaces.py	Wed Apr 01 17:25:40 2009 +0200
@@ -246,12 +246,26 @@
         """return content entity"""
 
     def isioc_container(self):
-        """return container entity"""           
+        """return container entity"""
+
+    def isioc_type(self):
+        """return container type (post, BlogPost, MailMessage)"""
+
+    def isioc_replies(self):
+        """return replies items"""       
+
+    def isioc_topics(self):
+        """return topics items"""
             
 class ISiocContainer(Interface):
     """interface for entities (which are container
     in sioc specification) with sioc views"""
 
     def isioc_type(self):
-        """return container type (forum, weblog, mailinglist)"""
+        """return container type (forum, Weblog, MailingList)"""
+
+    def isioc_items(self):
+        """return contained items"""
+
+