Class GroovyPortalExporter

java.lang.Object
de.uplanet.lucy.server.portalmanager.GroovyPortalExporter

@Scriptable public final class GroovyPortalExporter extends Object
Since:
Intrexx 7.0.
  • Method Details

    • exportPortal

      public static void exportPortal(de.uplanet.jdbc.JdbcConnection p_conn, String p_strExportDirectory, String p_strExportName, String p_strType) throws Throwable
      Export a portal to the given directory.
      Parameters:
      p_conn - The system database connection to be used.
      p_strExportDirectory - The directory where the export is created in.
      p_strExportName - The name of the export directory, or file (without file extension).
      p_strType - Either directory, or zip, or tar, or tar.gz.
      Throws:
      Throwable - If an error occurred during the export.
    • exportPortal

      public static void exportPortal(de.uplanet.jdbc.JdbcConnection p_conn, String p_strExportDirectory, String p_strExportName, String p_strType, Map<String,Object> p_options) throws Throwable
      Export a portal to the given directory.
      Parameters:
      p_conn - The system database connection to be used.
      p_strExportDirectory - The directory where the export is created in.
      p_strExportName - The name of the export directory, or file (without file extension).
      p_strType - Either directory, or zip, or tar, or tar.gz.
      p_options - Additional options (see exportPortal(JdbcConnection, File, String, String, Map)).
      Throws:
      Throwable - If an error occurred during the export.
    • exportPortal

      public static void exportPortal(de.uplanet.jdbc.JdbcConnection p_conn, File p_dirExport, String p_strExportName, String p_strType) throws Throwable
      Export a portal to the given directory.
      Parameters:
      p_conn - The system database connection to be used.
      p_dirExport - The directory where the export is created in.
      p_strExportName - The name of the export directory, or file (without file extension).
      p_strType - Either directory, or zip, or tar, or tar.gz.
      Throws:
      Throwable - If an error occurred during the export.
    • exportPortal

      public static void exportPortal(de.uplanet.jdbc.JdbcConnection p_conn, File p_dirExport, String p_strExportName, String p_strType, Map<String,Object> p_options) throws Throwable
      Export a portal to the given directory.

      Valid options are:

      • defaultLanguage - The default language for the portal. Default is the default language of the portal.
      • titles - A map that contains titles in different languages.
      • descriptions - A map that contains descriptions in different languages. For each description there must exist a title.
      • overwrite - true if existing exports should be overwritten, or false otherwise. Default: false.
      • clearPasswords - true if passwords in configuration files should be cleared, or false otherwise. Default: true.
      • speedOptimized - true if database XML files should be optimized for speed, or false otherwise. Default: true.
      • exportMarkedDirs - true if directories marked as .noexport should be exported, or false otherwise Default: false.
      • cleanMailConfiguration - true if the mail service configuration should be cleaned, or false otherwise. Default: true.
      • maxNumberOfExports - The maximum number of portal exports to be retained. Default: infinite.
      • sendWorkflowEvents - true if workflow events should be sent, or false otherwise. Default: false.
      Parameters:
      p_conn - The system database connection to be used.
      p_dirExport - The directory where the export is created in.
      p_strExportName - The name of the export directory, or file (without file extension).
      p_strType - Either directory, or zip, or tar, or tar.gz.
      p_options - Additional options (see above).
      Throws:
      Throwable - If an error occurred during the export.