@Override
 public Object newCommand(PortletRequest request) throws Exception {
   HomeForm form = (HomeForm) super.createCommand();
   form.setEditor(true);
   form.setOwner(true);
   form.setSubscriber(true);
   return form;
 }
 private List<SympaListCriterion> formToCriterion(HomeForm form) {
   if (form == null) return null;
   List<SympaListCriterion> crits = new ArrayList<SympaListCriterion>();
   if (form.isEditor())
     crits.add(new SympaListCriterion(SympaListFields.editor, new Boolean(form.isEditor())));
   if (form.isOwner())
     crits.add(new SympaListCriterion(SympaListFields.owner, new Boolean(form.isOwner())));
   if (form.isSubscriber())
     crits.add(
         new SympaListCriterion(SympaListFields.subscriber, new Boolean(form.isSubscriber())));
   return crits;
 }