interfaces.py
changeset 993 c1ce4c3a7c8f
parent 990 5f1ff5b6907a
child 994 98f19cf755a1
equal deleted inserted replaced
992:d5fe2626695b 993:c1ce4c3a7c8f
   239         """return an url which layout sub-entities item
   239         """return an url which layout sub-entities item
   240         """
   240         """
   241 class ISiocItem(Interface):
   241 class ISiocItem(Interface):
   242     """interface for entities (which are item
   242     """interface for entities (which are item
   243     in sioc specification) with sioc views"""
   243     in sioc specification) with sioc views"""
   244 
   244     
   245     def isioc_item_creator(self):
   245     def isioc_content(self):
   246         """return creator entity"""
       
   247 
       
   248     def isioc_item_content(self):
       
   249         """return content entity"""
   246         """return content entity"""
   250 
   247 
   251     def isioc_item_container(self):
   248     def isioc_container(self):
   252         """return container entity"""
   249         """return container entity"""
   253            
   250            
   254     def isioc_item_get_reply(self):
   251     def isioc_get_reply(self):
   255          """return list of item reply"""
   252          """return list of item reply"""
   256 
   253         
   257     def isioc_item_creation_date(self):
       
   258         """return creation date entity"""
       
   259 
       
   260     def item_modification_date(self):
       
   261         """return modification date"""
       
   262     
       
   263 class ISiocContainer(Interface):
   254 class ISiocContainer(Interface):
   264     """interface for entities (which are container
   255     """interface for entities (which are container
   265     in sioc specification) with sioc views"""
   256     in sioc specification) with sioc views"""
   266 
   257 
   267     def isioc_container_type(self):
   258     def isioc_type(self):
   268         """return container type (forum, weblog, mailinglist)"""
   259         """return container type (forum, weblog, mailinglist)"""
   269 
   260     
   270     def isioc_container_creation_date(self):
       
   271         """return creation date entity"""
       
   272         
       
   273     def isico_container_modification_date(self):
       
   274         """return modification date"""