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