Package org.opencms.importexport
Class CmsImportVersion6
- java.lang.Object
-
- org.opencms.importexport.A_CmsImport
-
- org.opencms.importexport.CmsImportVersion5
-
- org.opencms.importexport.CmsImportVersion6
-
- All Implemented Interfaces:
I_CmsImport
@Deprecated public class CmsImportVersion6 extends CmsImportVersion5
Deprecated.this import class is no longer in use and should only be used to import old export filesImplementation of the OpenCms Import Interface (I_CmsImport
) for the import version 6.This import format is used in OpenCms since 6.5.6.
- Since:
- 6.5.6
- See Also:
A_CmsImport
-
-
Field Summary
Fields Modifier and Type Field Description static int
IMPORT_VERSION6
Deprecated.The version number of this import implementation.-
Fields inherited from class org.opencms.importexport.CmsImportVersion5
IMPORT_VERSION, m_importedRelations, m_keepPermissions, m_parseables
-
Fields inherited from class org.opencms.importexport.A_CmsImport
A_NAME, A_TYPE, m_cms, m_convertToXmlPage, m_docXml, m_groupsToCreate, m_importPath, m_importResource, m_importZip, m_linkPropertyStorage, m_linkStorage, m_report, m_userMessages, N_ACCESS, N_ACCESSCONTROL_ALLOWEDPERMISSIONS, N_ACCESSCONTROL_DENIEDPERMISSIONS, N_ACCESSCONTROL_ENTRIES, N_ACCESSCONTROL_ENTRY, N_ACCESSCONTROL_PERMISSIONSET, N_ACCESSCONTROL_PRINCIPAL, N_DATECREATED, N_DATEEXPIRED, N_DATELASTMODIFIED, N_DATERELEASED, N_DEFAULTGROUP, N_DESCRIPTION, N_DESTINATION, N_EMAIL, N_FILE, N_FIRSTNAME, N_FLAGS, N_GROUPDATA, N_GROUPNAME, N_ID, N_LASTMODIFIED, N_LASTNAME, N_NAME, N_ORGUNITDATA, N_PARENTGROUP, N_PASSWORD, N_PROPERTIES, N_PROPERTY, N_PROPERTY_ATTRIB_TYPE, N_PROPERTY_ATTRIB_TYPE_SHARED, N_RELATION, N_RELATION_ATTRIBUTE_ID, N_RELATION_ATTRIBUTE_PATH, N_RELATION_ATTRIBUTE_TYPE, N_RELATIONS, N_SOURCE, N_TAG_ADDRESS, N_TYPE, N_USER, N_USERCREATED, N_USERDATA, N_USERGROUPDATA, N_USERGROUPS, N_USERINFO, N_USERINFO_ENTRY, N_USERLASTMODIFIED, N_UUIDRESOURCE, N_UUIDSTRUCTURE, N_VALUE, RESOURCE_TYPE_LEGACY_PAGE_NAME, RESOURCE_TYPE_LINK_ID, RESOURCE_TYPE_LINK_NAME, RESOURCE_TYPE_NEWPAGE_ID, RESOURCE_TYPE_NEWPAGE_NAME
-
-
Constructor Summary
Constructors Constructor Description CmsImportVersion6()
Deprecated.Creates a new CmsImportVerion7 object.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getVersion()
Deprecated.Returns the version of the import implementation.protected void
importUsers()
Deprecated.Imports the OpenCms users.-
Methods inherited from class org.opencms.importexport.CmsImportVersion5
convertTimestamp, importData, importRelations, importRelations, importResource, importResources, importUser, readResourcesFromManifest, rewriteParseables
-
Methods inherited from class org.opencms.importexport.A_CmsImport
checkImmutable, cleanUp, convertDigestEncoding, convertPointerToSiblings, getChildElementTextValue, getFileBytes, getImportAccessControlEntry, getLocale, importAccessControlEntries, importGroup, importGroups, initialize, matches, readPropertiesFromManifest
-
-
-
-
Field Detail
-
IMPORT_VERSION6
public static final int IMPORT_VERSION6
Deprecated.The version number of this import implementation.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsImportVersion6
public CmsImportVersion6()
Deprecated.Creates a new CmsImportVerion7 object.
-
-
Method Detail
-
getVersion
public int getVersion()
Deprecated.Description copied from interface:I_CmsImport
Returns the version of the import implementation.- 0 indicates an export file without a version number, that is before version 4.3.23 of OpenCms
- 1 indicates an export file of OpenCms with a version before 5.0.0
- 2 indicates an export file of OpenCms with a version before 5.1.2
- 3 indicates an export file of OpenCms with a version before 5.1.6
- 4 indicates an export file of OpenCms with a version before 6.3.0
- 5 indicates an export file of OpenCms with a version before 6.5.6
- 6 indicates an export file of OpenCms with a version before 7.0.4
- 7 indicates an export file of OpenCms with a version after 7.0.3
- Specified by:
getVersion
in interfaceI_CmsImport
- Overrides:
getVersion
in classCmsImportVersion5
- Returns:
- the version of the import implementation
- See Also:
I_CmsImport.getVersion()
-
importUsers
protected void importUsers() throws CmsImportExportException
Deprecated.Imports the OpenCms users.- Overrides:
importUsers
in classA_CmsImport
- Throws:
CmsImportExportException
- if something goes wrong
-
-