Class GroovyPortalExporter
java.lang.Object
de.uplanet.lucy.server.portalmanager.GroovyPortalExporter
- Since:
- Intrexx 7.0.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidexportPortal(de.uplanet.jdbc.JdbcConnection p_conn, File p_dirExport, String p_strExportName, String p_strType) Export a portal to the given directory.static voidexportPortal(de.uplanet.jdbc.JdbcConnection p_conn, File p_dirExport, String p_strExportName, String p_strType, Map<String, Object> p_options) Export a portal to the given directory.static voidexportPortal(de.uplanet.jdbc.JdbcConnection p_conn, String p_strExportDirectory, String p_strExportName, String p_strType) Export a portal to the given directory.static voidexportPortal(de.uplanet.jdbc.JdbcConnection p_conn, String p_strExportDirectory, String p_strExportName, String p_strType, Map<String, Object> p_options) Export a portal to the given directory.
-
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- Eitherdirectory, orzip, ortar, ortar.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 ThrowableExport 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- Eitherdirectory, orzip, ortar, ortar.gz.p_options- Additional options (seeexportPortal(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- Eitherdirectory, orzip, ortar, ortar.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 ThrowableExport 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-trueif existing exports should be overwritten, orfalseotherwise. Default:false.clearPasswords-trueif passwords in configuration files should be cleared, orfalseotherwise. Default:true.speedOptimized-trueif database XML files should be optimized for speed, orfalseotherwise. Default:true.exportMarkedDirs-trueif directories marked as.noexportshould be exported, orfalseotherwise Default:false.cleanMailConfiguration-trueif the mail service configuration should be cleaned, orfalseotherwise. Default:true.maxNumberOfExports- The maximum number of portal exports to be retained. Default: infinite.sendWorkflowEvents-trueif workflow events should be sent, orfalseotherwise. 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- Eitherdirectory, orzip, ortar, ortar.gz.p_options- Additional options (see above).- Throws:
Throwable- If an error occurred during the export.
-