Exemple #1
0
 /** {@inheritDoc} */
 public List<Type> createList() {
   StackFrame frame = FlowContextHolder.getContext().peek();
   Map<String, Object> params = new HashMap<String, Object>();
   params.put("dataElementCollection", frame.getAttribute("dataElementCollection"));
   return getMainService()
       .findByNamedQuery(
           "gov.nih.nci.calims2.domain.common.Type.findByDataElementCollection", params);
 }
Exemple #2
0
 /**
  * Initialize the dataElementCollection attribute of the FlowCpntext based on the select box in
  * the manage page.
  *
  * @param dataElementCollection The value of the dataElementCollection parameter.
  */
 @InitBinder
 public void initFlowContext(
     @RequestParam(value = "dataElementCollection", required = false)
         String dataElementCollection) {
   if (dataElementCollection != null) {
     StackFrame frame = FlowContextHolder.getContext().peek();
     frame.addAttribute("dataElementCollection", dataElementCollection);
   }
 }