Class CmsImportVersion6

All Implemented Interfaces:
I_CmsImport

Deprecated.
this import class is no longer in use and should only be used to import old export files
Implementation of the OpenCms Import Interface (I_CmsImport) for the import version 6.

This import format is used in OpenCms since 6.5.6.

Since:
6.5.6
See Also:
  • Field Details

  • Constructor Details

    • CmsImportVersion6

      Deprecated.
      Creates a new CmsImportVerion7 object.

  • Method Details

    • getVersion

      public int getVersion()
      Deprecated.
      Description copied from interface: I_CmsImport
      Returns the version of the import implementation.

      • 0 indicates an export file without a version number, that is before version 4.3.23 of OpenCms
      • 1 indicates an export file of OpenCms with a version before 5.0.0
      • 2 indicates an export file of OpenCms with a version before 5.1.2
      • 3 indicates an export file of OpenCms with a version before 5.1.6
      • 4 indicates an export file of OpenCms with a version before 6.3.0
      • 5 indicates an export file of OpenCms with a version before 6.5.6
      • 6 indicates an export file of OpenCms with a version before 7.0.4
      • 7 indicates an export file of OpenCms with a version after 7.0.3
      Specified by:
      getVersion in interface I_CmsImport
      Overrides:
      getVersion in class CmsImportVersion5
      Returns:
      the version of the import implementation
      See Also:
    • importUsers

      protected void importUsers() throws CmsImportExportException
      Deprecated.
      Imports the OpenCms users.

      Overrides:
      importUsers in class A_CmsImport
      Throws:
      CmsImportExportException - if something goes wrong