doExportToPDX
public static void doExportToPDX
public static void doExportToPDX(
ExportPackageForPDX expPackage, String attachmentOption,
File dirToSave, String zipName)
throws wt.util.WTException
• Purpose: Creates pdx file on server.
• Parameters:
◦ container — Source container
◦ expPackage — Export package
◦ attachmentOption — Attachments option. Possible values are:
▪ PDXExportHandler.XML_VALUE_ATTACHMENTS — content files are included into pdx package (default option)
▪ PDXExportHandler.XML_VALUE_NO_ATTACHMENTS — content files are ignored (not mentioned in pdx.xml)
▪ PDXExportHandler.XML_VALUE_ATTACHMENTS_AS_FILE_NAMES — contend files are mentioned in pdx.xml but are not included into zip
◦ dirToSave — directory on server where the resulting pdx file will be stored
◦ zipName — name for the resulting pdx file (pass name without extension since extension '.pdx' is added)
• Throws: wt.util.WTException
public static void doExportToPDX
public static void doExportToPDX(
ExportPackageForPDX expPackage, java.lang.String
java.io.File dirToSave, attachmentOption,
throws wt.util.WTException java.lang.String zipName)
• Purpose: Creates pdx file on server.
• Parameters:
◦ expPackage — Export package
◦ attachmentOption — Attachments option. Possible values are:
▪ PDXExportHandler.XML_VALUE_ATTACHMENTS — content files are included into pdx package (default option)
▪ PDXExportHandler.XML_VALUE_NO_ATTACHMENTS — content files are ignored (not mentioned in pdx.xml)
▪ PDXExportHandler.XML_VALUE_ATTACHMENTS_AS_FILE_NAMES — content files are mentioned in pdx.xml but are not included into zip
◦ dirToSave — directory on server where the resulting pdx file will be stored
◦ zipName — name for the resulting pdx file (pass without extension since extension '.pdx' is added)
• Throws: wt.util.WTException