interfaces.py
changeset 990 5f1ff5b6907a
parent 626 97924df9168c
child 993 c1ce4c3a7c8f
--- a/interfaces.py	Fri Feb 27 17:29:08 2009 +0100
+++ b/interfaces.py	Fri Feb 27 17:32:44 2009 +0100
@@ -238,7 +238,37 @@
     def rss_feed_url(self):
         """return an url which layout sub-entities item
         """
-class ISIOC(Interface):
-    """interface for entities with sioc views"""
+class ISiocItem(Interface):
+    """interface for entities (which are item
+    in sioc specification) with sioc views"""
+
+    def isioc_item_creator(self):
+        """return creator entity"""
+
+    def isioc_item_content(self):
+        """return content entity"""
+
+    def isioc_item_container(self):
+        """return container entity"""
+           
+    def isioc_item_get_reply(self):
+         """return list of item reply"""
+
+    def isioc_item_creation_date(self):
+        """return creation date entity"""
+
+    def item_modification_date(self):
+        """return modification date"""
     
-   
+class ISiocContainer(Interface):
+    """interface for entities (which are container
+    in sioc specification) with sioc views"""
+
+    def isioc_container_type(self):
+        """return container type (forum, weblog, mailinglist)"""
+
+    def isioc_container_creation_date(self):
+        """return creation date entity"""
+        
+    def isico_container_modification_date(self):
+        """return modification date"""