Exemple #1
0
 def view_setup(self, action, coll_id, type_id, view_id, entity_id):
     """
     Assemble display information for entity view request handler
     """
     viewinfo = DisplayInfo(self, action)
     viewinfo.get_site_info(self.get_request_host())
     viewinfo.get_coll_info(coll_id)
     viewinfo.get_type_info(type_id)
     viewinfo.get_view_info(viewinfo.get_view_id(type_id, view_id))
     viewinfo.get_entity_info(action, entity_id)
     # viewinfo.get_entity_data()
     viewinfo.check_authorization(action)
     return viewinfo
Exemple #2
0
 def view_setup(self, coll_id, type_id, entity_id, request_dict):
     """
     Assemble display information for entity view request handler
     """
     action                        = "view"
     self.default_continuation_url = None
     viewinfo = DisplayInfo(self, action, request_dict, self.default_continuation_url)
     viewinfo.get_site_info(self.get_request_host())
     viewinfo.get_coll_info(coll_id)
     viewinfo.get_request_type_info(type_id)
     viewinfo.get_entity_info(action, entity_id)
     viewinfo.check_authorization(action)
     return viewinfo
Exemple #3
0
 def view_setup(self, coll_id, type_id, entity_id, request_dict):
     """
     Assemble display information for entity view request handler
     """
     action = "view"
     self.default_continuation_url = None
     viewinfo = DisplayInfo(self, action, request_dict,
                            self.default_continuation_url)
     viewinfo.get_site_info(self.get_request_host())
     viewinfo.get_coll_info(coll_id)
     viewinfo.get_request_type_info(type_id)
     viewinfo.get_entity_info(action, entity_id)
     # viewinfo.get_entity_data()
     viewinfo.check_authorization(action)
     return viewinfo
 def view_setup(self, coll_id, type_id, entity_id, request_dict):
     """
     Assemble display information for entity view request handler
     """
     action                        = "view"
     #@@ self.site_view_url            = self.view_uri("AnnalistSiteView")
     #@@ self.collection_view_url      = self.view_uri("AnnalistCollectionView", coll_id=coll_id)
     self.default_continuation_url = None
     viewinfo = DisplayInfo(self, action, request_dict, self.default_continuation_url)
     viewinfo.get_site_info(self.get_request_host())
     viewinfo.get_coll_info(coll_id)
     viewinfo.get_type_info(type_id)
     viewinfo.get_entity_info(action, entity_id)
     # viewinfo.get_entity_data()
     viewinfo.check_authorization(action)
     return viewinfo