code: public void removeFolderParam(String key) {
  
          if (m_searchObject.getFolders().contains(key)) {
              m_handler.onClearFolders(Collections.singletonList(key));
              m_searchObject.removeFolder(key);
              updateResultsTab(false);
              ValueChangeEvent.fire(this, m_searchObject);
          }
      }
docs: Removes the folder from the search object.<p>
  
  @param key the folder