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 voidCmsExport.addChildResources(String folderName) Exports the given folder and all child resources.protected voidAdds all files in fileNames to the manifest.xml file.protected voidCmsExport.addParentFolders(String resourceName) Adds the parent folders of the given resource to the config file, starting at the top, excluding the root folder.protected voidCmsExport.appendResourceToManifest(CmsResource resource, boolean source) protected voidCmsExport.appendResourceToManifest(CmsResource resource, boolean source, boolean isSuperFolder) Writes the data for a resource (like access-rights) to themanifest.xmlfile.static CmsXmlPageCmsXmlPageConverter.convertToXmlPage(CmsObject cms, byte[] content, Locale locale, String encoding) Deprecated.Converts the contents of a page into an xml page.protected voidCmsExport.exportAllResources(org.dom4j.Element parent, List<String> resourcesToExport) Exports all resources and possible sub-folders form the provided list of resources.voidCmsExport.exportData(CmsExportParameters parameters) Export the data.voidCmsImportExportManager.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.voidCmsVfsImportExportHandler.exportData(CmsObject cms, I_CmsReport report) voidI_CmsImportExportHandler.exportData(CmsObject cms, I_CmsReport report) Exports the data from the Cms.protected voidCmsExport.exportFile(CmsFile file) Exports one single file with all its data and content.protected voidCmsExport.exportGroup(org.dom4j.Element parent, CmsGroup group) Exports one single group with all it's data.protected voidCmsExport.exportGroups(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports all groups of the given organizational unit.protected voidCmsExport.exportOrgUnits(org.dom4j.Element parent) Exports all organizational units with all data.protected voidCmsExport.exportProject(org.dom4j.Element parent, CmsProject project) Exports one single project with all it's data.protected voidCmsExport.exportProjects(org.dom4j.Element parent) Exports all projects with all data.protected voidCmsExport.exportUser(org.dom4j.Element parent, CmsUser user) Exports one single user with all its data.protected voidCmsExport.exportUsers(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports all users of the given organizational unit.protected voidCmsImportVersion10.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 voidCmsImportVersion7.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.longCmsImportHelper.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.voidCmsImport.importData(CmsImportParameters parameters) Imports the resources and writes them to the cms VFS, even if there already exist files with the same name.voidCmsImportExportManager.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidCmsImportExportManager.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.voidCmsImportVersion2.importData(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.voidCmsImportVersion3.importData(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.voidCmsImportVersion4.importData(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.voidCmsImportVersion5.importData(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.voidCmsVfsImportExportHandler.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidCmsVfsImportExportHandler.importData(CmsObject cms, I_CmsReport report) voidI_CmsImport.importData(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Imports the data.voidI_CmsImportExportHandler.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidI_CmsImportExportHandler.importData(CmsObject cms, I_CmsReport report) Imports the data into the Cms.protected voidA_CmsImport.importGroup(String name, String description, String flags, String parentgroupName) Deprecated.Imports a single group.protected voidA_CmsImport.importGroups()Deprecated.Imports the OpenCms groups.voidCmsImportVersion2.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidCmsImportVersion3.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidCmsImportVersion4.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidCmsImportVersion5.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidI_CmsImport.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.protected voidA_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 voidCmsImportVersion2.importUser(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.protected voidCmsImportVersion3.importUser(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.protected voidCmsImportVersion4.importUser(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.protected voidCmsImportVersion5.importUser(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) Deprecated.protected voidA_CmsImport.importUsers()Deprecated.Imports the OpenCms users.protected voidCmsImportVersion6.importUsers()Deprecated.Imports the OpenCms users.booleanA_CmsImport.matches(CmsImportParameters parameters) Deprecated.booleanCmsImportVersion10.matches(CmsImportParameters parameters) booleanCmsImportVersion7.matches(CmsImportParameters parameters) Deprecated.booleanI_CmsImport.matches(CmsImportParameters parameters) Checks if the file given as parameter matches this import version implementation.protected voidCmsImportVersion5.readResourcesFromManifest()Deprecated.Reads all file nodes plus their meta-information (properties, ACL) from themanifest.xmland imports them as Cms resources to the VFS.protected voidCmsImportVersion10.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 TypeMethodDescriptionvoidCmsModuleImportExportHandler.exportData(CmsObject cms, I_CmsReport report) voidCmsModuleImportExportHandler.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidCmsModuleImportExportHandler.importData(CmsObject cms, I_CmsReport report)
CmsImportExportManager.importData(CmsObject, I_CmsReport, CmsImportParameters)instead