|
|||||||||||
| 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.CmsImportVersion4
Implementation of the OpenCms Import Interface (I_CmsImport) for
the import version 4.
This import format is used in OpenCms since 5.1.6.
A_CmsImport| Field Summary |
| Fields inherited from class org.opencms.importexport.A_CmsImport |
DEBUG, m_cms, m_convertToXmlPage, m_docXml, m_groupsToCreate, m_importingChannelData, m_importPath, m_importResource, m_importZip, m_linkPropertyStorage, m_linkStorage, m_report, m_userMessages, RESOURCE_TYPE_LEGACY_PAGE_NAME, RESOURCE_TYPE_LINK_ID, RESOURCE_TYPE_LINK_NAME, RESOURCE_TYPE_NEWPAGE_ID, RESOURCE_TYPE_NEWPAGE_NAME |
| Constructor Summary | |
CmsImportVersion4()
Creates a new CmsImportVerion4 object. |
|
| Method Summary | |
int |
getVersion()
Returns the version of the import implementation. |
void |
importResources(CmsObject cms,
String importPath,
I_CmsReport report,
File importResource,
ZipFile importZip,
Document docXml)
Imports the resources. |
protected void |
importUser(String name,
String description,
String flags,
String password,
String firstname,
String lastname,
String email,
String address,
String type,
Map userInfo,
List userGroups)
Imports a single user. |
| Methods inherited from class org.opencms.importexport.A_CmsImport |
checkImmutable, cleanUp, convertDigestEncoding, convertPointerToSiblings, getFileBytes, getImportAccessControlEntry, getLocale, importAccessControlEntries, importGroup, importGroups, importUsers, initialize, readPropertiesFromManifest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsImportVersion4()
| Method Detail |
public int getVersion()
I_CmsImport
I_CmsImport.getVersion()
public void importResources(CmsObject cms,
String importPath,
I_CmsReport report,
File importResource,
ZipFile importZip,
Document docXml)
throws CmsImportExportException
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)
protected void importUser(String name,
String description,
String flags,
String password,
String firstname,
String lastname,
String email,
String address,
String type,
Map userInfo,
List userGroups)
throws CmsImportExportException
importUser in class A_CmsImportname - user namedescription - user descriptionflags - user flagspassword - user passwordfirstname - firstname of the userlastname - lastname of the useremail - user emailaddress - user addresstype - user typeuserInfo - user infouserGroups - user groups
CmsImportExportException - in case something goes wrong
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||