code: private List<CmsRole> getRolesList(VerticalLayout parent, boolean importCase) {
  
          List<CmsRole> res = new ArrayList<CmsRole>();
  
          CmsEditableGroup editableGroup = importCase ? m_importRolesGroup : m_exportRolesGroup;
          for (I_CmsEditableGroupRow row : editableGroup.getRows()) {
              res.add(((ComboBox<CmsRole>)row.getComponent()).getValue());
          }
          return res;
      }
docs: Get selected roles list.<p>
  
  @param parent layout
  @param importCase boolean
  @return List of roles