interfaces.py
branchtls-sprint
changeset 1263 01152fffd593
parent 1006 92a0601b2523
parent 1199 7fa66717175b
child 1553 3f91ef2397d0
equal deleted inserted replaced
1246:76b3cd5d4f31 1263:01152fffd593
   244     
   244     
   245     def isioc_content(self):
   245     def isioc_content(self):
   246         """return content entity"""
   246         """return content entity"""
   247 
   247 
   248     def isioc_container(self):
   248     def isioc_container(self):
   249         """return container entity"""           
   249         """return container entity"""
       
   250 
       
   251     def isioc_type(self):
       
   252         """return container type (post, BlogPost, MailMessage)"""
       
   253 
       
   254     def isioc_replies(self):
       
   255         """return replies items"""       
       
   256 
       
   257     def isioc_topics(self):
       
   258         """return topics items"""
   250             
   259             
   251 class ISiocContainer(Interface):
   260 class ISiocContainer(Interface):
   252     """interface for entities (which are container
   261     """interface for entities (which are container
   253     in sioc specification) with sioc views"""
   262     in sioc specification) with sioc views"""
   254 
   263 
   255     def isioc_type(self):
   264     def isioc_type(self):
   256         """return container type (forum, weblog, mailinglist)"""
   265         """return container type (forum, Weblog, MailingList)"""
   257     
   266 
       
   267     def isioc_items(self):
       
   268         """return contained items"""
       
   269 
       
   270    
       
   271