code: def get_samples_from_request(self):
          
          uids = self.request.form.get("uids", "")
          if isinstance(uids, basestring):
              uids = uids.split(",")
  
          uids = list(set(uids))
          if not uids:
              return []
  
          # Filter those analysis requests "reject" transition is allowed
          query = dict(portal_type="AnalysisRequest", UID=uids)
          brains = api.search(query, CATALOG_ANALYSIS_REQUEST_LISTING)
          samples = map(api.get_object, brains)
          return filter(lambda ob: wf.isTransitionAllowed(ob, "reject"), samples)
docs: Returns a list of objects coming from the "uids" request parameter