code: private void storeFolderFilter(Set<String> folders) {
  
          JSONObject storedFilters = readUserFolderFilters();
          try {
              storedFilters.put(getCmsObject().getRequestContext().getSiteRoot(), folders);
              CmsUser user = getCmsObject().getRequestContext().getCurrentUser();
              user.setAdditionalInfo(FOLDER_FILTER_ADD_INFO_KEY, storedFilters.toString());
              getCmsObject().writeUser(user);
          } catch (Exception e) {
              LOG.error(e.getLocalizedMessage(), e);
          }
      }
docs: Stores the folder filters for the current site.<p>
  
  @param folders the folder filters