|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.opencms.importexport.A_CmsImport
org.opencms.importexport.CmsImportVersion3
public class CmsImportVersion3
Implementation of the OpenCms Import Interface (I_CmsImport) for
the import version 3.
This import format was used in OpenCms 5.1.2 - 5.1.6.
A_CmsImport| Field Summary |
|---|
| Constructor Summary | |
|---|---|
CmsImportVersion3()
Deprecated. Creates a new CmsImportVerion3 object. |
|
| Method Summary | |
|---|---|
int |
getVersion()
Deprecated. Returns the version of the import implementation. |
void |
importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters params)
Deprecated. Imports the data. |
void |
importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
Deprecated. use importData(CmsObject, I_CmsReport, CmsImportParameters) instead |
protected void |
importUser(java.lang.String name,
java.lang.String flags,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
long dateCreated,
java.util.Map userInfo,
java.util.List userGroups)
Deprecated. Imports a single user. |
| Methods inherited from class org.opencms.importexport.A_CmsImport |
|---|
checkImmutable, cleanUp, convertDigestEncoding, convertPointerToSiblings, getChildElementTextValue, getFileBytes, getImportAccessControlEntry, getLocale, importAccessControlEntries, importGroup, importGroups, importUsers, initialize, matches, readPropertiesFromManifest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsImportVersion3()
| Method Detail |
|---|
public int getVersion()
I_CmsImport
I_CmsImport.getVersion()
public void importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
throws CmsImportExportException
importData(CmsObject, I_CmsReport, CmsImportParameters) instead
I_CmsImport
cms - the current users OpenCms contextimportPath - the path in the OpenCms VFS to import intoreport - a report object to output the progress information toimportResource - the import-resource (folder) to load resources fromimportZip - the import-resource (zip) to load resources fromdocXml - the manifest.xml file which contains the meta information of the imported files
CmsImportExportException - if something goes wrongI_CmsImport.importResources(org.opencms.file.CmsObject, java.lang.String, org.opencms.report.I_CmsReport, java.io.File, java.util.zip.ZipFile, org.dom4j.Document)
public void importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters params)
throws CmsImportExportException,
CmsXmlException
I_CmsImport
cms - the current users OpenCms contextreport - a report object to output the progress information toparams - the parameters to use during the import
CmsImportExportException - if something goes wrong
CmsXmlException - if the manifest file could not be unmarshalledI_CmsImport.importData(CmsObject, I_CmsReport, CmsImportParameters)
protected void importUser(java.lang.String name,
java.lang.String flags,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
long dateCreated,
java.util.Map userInfo,
java.util.List userGroups)
throws CmsImportExportException
A_CmsImport
importUser in class A_CmsImportname - user nameflags - user flagspassword - user passwordfirstname - firstname of the userlastname - lastname of the useremail - user emaildateCreated - creation dateuserInfo - user infouserGroups - user groups
CmsImportExportException - in case something goes wrongA_CmsImport.importUser(String, String, String, String, String, String, long, Map, List)
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||