Uses of Class
org.opencms.importexport.CmsImportExportException
Packages that use CmsImportExportException
Package
Description
Contains functions to import and export resources from the OpenCms VFS.
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
-
Uses of CmsImportExportException in org.opencms.importexport
Methods in org.opencms.importexport that throw CmsImportExportExceptionModifier and TypeMethodDescriptionprotected void
CmsExport.addChildResources
(String folderName) Exports the given folder and all child resources.protected void
Adds all files in fileNames to the manifest.xml file.protected void
CmsExport.addParentFolders
(String resourceName) Adds the parent folders of the given resource to the config file, starting at the top, excluding the root folder.protected void
CmsExport.appendResourceToManifest
(CmsResource resource, boolean source) protected void
CmsExport.appendResourceToManifest
(CmsResource resource, boolean source, boolean isSuperFolder) Writes the data for a resource (like access-rights) to themanifest.xml
file.static CmsXmlPage
CmsXmlPageConverter.convertToXmlPage
(CmsObject cms, byte[] content, Locale locale, String encoding) Deprecated.Converts the contents of a page into an xml page.protected void
CmsExport.exportAllResources
(org.dom4j.Element parent, List<String> resourcesToExport) Exports all resources and possible sub-folders form the provided list of resources.void
CmsExport.exportData
(CmsExportParameters parameters) Export the data.void
CmsImportExportManager.exportData
(CmsObject cms, I_CmsImportExportHandler handler, I_CmsReport report) Checks if the current user has permissions to export Cms data of a specified export handler, and if so, triggers the handler to write the export.void
CmsVfsImportExportHandler.exportData
(CmsObject cms, I_CmsReport report) void
I_CmsImportExportHandler.exportData
(CmsObject cms, I_CmsReport report) Exports the data from the Cms.protected void
CmsExport.exportFile
(CmsFile file) Exports one single file with all its data and content.protected void
CmsExport.exportGroup
(org.dom4j.Element parent, CmsGroup group) Exports one single group with all it's data.protected void
CmsExport.exportGroups
(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports all groups of the given organizational unit.protected void
CmsExport.exportOrgUnits
(org.dom4j.Element parent) Exports all organizational units with all data.protected void
CmsExport.exportProject
(org.dom4j.Element parent, CmsProject project) Exports one single project with all it's data.protected void
CmsExport.exportProjects
(org.dom4j.Element parent) Exports all projects with all data.protected void
CmsExport.exportUser
(org.dom4j.Element parent, CmsUser user) Exports one single user with all its data.protected void
CmsExport.exportUsers
(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports all users of the given organizational unit.protected void
CmsImportVersion10.findContentFiles()
This method goes through the manifest, records all files from the manifest for which the content also exists in the zip file, and stores their resource ids in m_contentFiles.protected void
CmsImportVersion7.findContentFiles()
Deprecated.This method goes through the manifest, records all files from the manifest for which the content also exists in the zip file, and stores their resource ids in m_contentFiles.byte[]
CmsImportHelper.getFileBytes
(String filename) Returns a byte array containing the content of the file.long
CmsImportHelper.getFileModification
(String filename) CmsImportHelper.getFileStream
(String fileName) Returns a stream for the content of the file.CmsImportExportManager.getImportExportHandler
(CmsImportParameters parameters) Returns an instance of an import/export handler implementation that is able to import a specified resource.void
CmsImport.importData
(CmsImportParameters parameters) Imports the resources and writes them to the cms VFS, even if there already exist files with the same name.void
CmsImportExportManager.importData
(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.void
CmsImportExportManager.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Checks if the current user has permissions to import data into the Cms, and if so, creates a new import handler instance that imports the data.void
CmsImportVersion2.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.void
CmsImportVersion3.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.void
CmsImportVersion4.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.void
CmsImportVersion5.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.void
CmsVfsImportExportHandler.importData
(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.void
CmsVfsImportExportHandler.importData
(CmsObject cms, I_CmsReport report) void
I_CmsImport.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Imports the data.void
I_CmsImportExportHandler.importData
(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.void
I_CmsImportExportHandler.importData
(CmsObject cms, I_CmsReport report) Imports the data into the Cms.protected void
A_CmsImport.importGroup
(String name, String description, String flags, String parentgroupName) Deprecated.Imports a single group.protected void
A_CmsImport.importGroups()
Deprecated.Imports the OpenCms groups.void
CmsImportVersion2.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
CmsImportVersion3.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
CmsImportVersion4.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
CmsImportVersion5.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
I_CmsImport.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.protected void
A_CmsImport.importUser
(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.Imports a single user.protected void
CmsImportVersion2.importUser
(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.protected void
CmsImportVersion3.importUser
(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.protected void
CmsImportVersion4.importUser
(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.protected void
CmsImportVersion5.importUser
(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.protected void
A_CmsImport.importUsers()
Deprecated.Imports the OpenCms users.protected void
CmsImportVersion6.importUsers()
Deprecated.Imports the OpenCms users.boolean
A_CmsImport.matches
(CmsImportParameters parameters) Deprecated.boolean
CmsImportVersion10.matches
(CmsImportParameters parameters) boolean
CmsImportVersion7.matches
(CmsImportParameters parameters) Deprecated.boolean
I_CmsImport.matches
(CmsImportParameters parameters) Checks if the file given as parameter matches this import version implementation.protected void
CmsImportVersion5.readResourcesFromManifest()
Deprecated.Reads all file nodes plus their meta-information (properties, ACL) from themanifest.xml
and imports them as Cms resources to the VFS.protected void
CmsImportVersion10.setDefaultsForEmptyResourceFields()
Fills the unset fields for an imported resource with default values. -
Uses of CmsImportExportException in org.opencms.module
Methods in org.opencms.module that throw CmsImportExportExceptionModifier and TypeMethodDescriptionvoid
CmsModuleImportExportHandler.exportData
(CmsObject cms, I_CmsReport report) void
CmsModuleImportExportHandler.importData
(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.void
CmsModuleImportExportHandler.importData
(CmsObject cms, I_CmsReport report)
CmsImportExportManager.importData(CmsObject, I_CmsReport, CmsImportParameters)
instead