docs: protected void initDatabaseExportObject() {
  
          Object o;
  
          if (CmsStringUtil.isEmpty(getParamAction())) {
              o = new CmsExportParameters();
          } else {
              // this is not the initial call, get the job object from session
              o = getDialogObject();
          }
  
          if (!(o instanceof CmsExportParameters)) {
              // create a new export parameters object
              m_exportParams = new CmsExportParameters();
          } else {
              // reuse export parameters object stored in session
              m_exportParams = (CmsExportParameters)o;
          }
  
          if (CmsStringUtil.isEmpty(getParamAction()) && (m_exportParams.getResources().size() < 1)) {
              // on initial call, at least on resource input field has to be present
              List initialPaths = new ArrayList(1);
              initialPaths.add("/");
              m_exportParams.setResources(initialPaths);
          }
      }