Package org.opencms.importexport
Class A_CmsImport
java.lang.Object
org.opencms.importexport.A_CmsImport
- All Implemented Interfaces:
I_CmsImport
- Direct Known Subclasses:
CmsImportVersion2,CmsImportVersion3,CmsImportVersion4,CmsImportVersion5
Deprecated.
Collection of common used methods for implementing OpenCms Import classes.
This class does not implement a real OpenCms import, real import implementation should be inherited form this class.
- Since:
- 6.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userinfo/entry@name" attribute, contains the additional user info entry name.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userinfo/entry@type" attribute, contains the additional user info entry data type name.protected CmsObjectDeprecated.The cms context to do the import operations with.protected booleanDeprecated.Flag for conversion to xml pages.protected org.dom4j.DocumentDeprecated.The xml manifest-file.Deprecated.Groups to create during import are stored here.protected StringDeprecated.The import-path to write resources into the cms.protected FileDeprecated.The import-resource (folder) to load resources from.protected ZipFileDeprecated.The import-resource (zip) to load resources from.protected Map<String, List<CmsProperty>> Deprecated.Storage for all pointer properties which must be converted into links.Deprecated.Storage for all pointers which must be converted into links.protected I_CmsReportDeprecated.The object to report the log messages.protected I_CmsMessageBundleDeprecated.Messages object with the locale of the current user.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "access" node.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "allowed" node, to identify allowed user permissions.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "denied" node, to identify denied user permissions.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "accesscontrol" node, to identify access control entries.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "accessentry" node, to identify a single access control entry.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "permissionset" node, to identify a permission set.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "uuidprincipal" node, to identify a principal UUID.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "datecreated" node, contains the date created VFS file attribute.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "dateexpired" node, contains the expiration date VFS file attribute.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "datelastmodified" node, contains the date last modified VFS file attribute.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "datereleased" node, contains the release date VFS file attribute.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "defaultgroup" node, for backward compatibility with OpenCms 5.x.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "description" node, contains a users description test.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "destination" node, contains target VFS file name.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "email" node, contains a users email.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "file" node, container node for all VFS resources.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "firstname" node, contains a users first name.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "flags" node, contains the flags of a VFS resource.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "groupdata" node, contains a users group data.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "groupname" node, contains a groups name.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "id" node, only required for backward compatibility with import version 2.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "lastmodified" node, only required for backward compatibility with import version 2.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "lastname" node, contains a users last name.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "name" node, contains a users login name.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "orgunitdatas" node, starts the organizational unit data.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "parentgroup" node, contains a groups parent group name.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "password" node, contains a users encrypted password.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "properties" node, starts the list of properties of a VFS resource.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "property" node, starts a property for a VFS resource.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "type" property attribute, contains a property type.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "shared" property type attribute value.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "relation" node, starts a relation for a VFS resource.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "id" relation attribute, contains the structure id of the target resource of the relation.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "path" relation attribute, contains the path to the target resource of the relation.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "type" relation attribute, contains the type of relation.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "relations" node, starts the list of relations of a VFS resources.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "source" node, contains the source path of a VFS resource in the import zip (or folder).static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "address" node, contains a users address.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "type" node, the resource type name of a VFS resource.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "user" node, starts the user data.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "usercreated" node, contains the name of the user who created the VFS resource.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userdata" node, starts the list of users.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "usergroupdatas" node, starts the users group data.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "usergroups" node, starts the users group data.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userinfo" node, contains the additional user info.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userinfo/entry" node, contains the additional user info entry value.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userlastmodified" node, contains the name of the user who last modified the VFS resource.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "uuidresource" node, contains a the resource UUID of a VFS resource.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "uuidstructure" node, only required for backward compatibility with import version 2.static final StringDeprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "value" node, contains the value of a property.static final StringDeprecated.The name of the legacy resource type "page".protected static final intDeprecated.The id of the legacy resource type "link".protected static final StringDeprecated.The name of the legacy resource type "link".protected static final intDeprecated.The id of the legacy resource type "newpage".protected static final StringDeprecated.The name of the legacy resource type "newpage". -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckImmutable(String translatedName, List<String> immutableResources) Deprecated.Checks if the resources is in the list of immutalbe resources.protected voidcleanUp()Deprecated.Cleans up member variables after the import is finished.convertDigestEncoding(String value) Deprecated.Converts a given digest to base64 encoding.protected voidDeprecated.Converts old style pointers to siblings if possible.getChildElementTextValue(org.dom4j.Element parentElement, String elementName) Deprecated.Returns the value of a child element with a specified name for a given parent element.protected byte[]getFileBytes(String filename) Deprecated.Returns a byte array containing the content of the file.protected CmsAccessControlEntrygetImportAccessControlEntry(CmsResource res, String id, String allowed, String denied, String flags) Deprecated.Creates a new access control entry and stores it for later write out.protected LocalegetLocale(String destination, List<CmsProperty> properties) Deprecated.Returns the appropriate locale for the given destination.protected voidimportAccessControlEntries(CmsResource resource, List<CmsAccessControlEntry> aceList) Deprecated.Writes already imported access control entries for a given resource.protected voidimportGroup(String name, String description, String flags, String parentgroupName) Deprecated.Imports a single group.protected voidDeprecated.Imports the OpenCms groups.protected voidimportUser(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 voidDeprecated.Imports the OpenCms users.protected voidDeprecated.Initializes all member variables before the import is started.booleanmatches(CmsImportParameters parameters) Deprecated.Checks if the file given as parameter matches this import version implementation.protected List<CmsProperty> readPropertiesFromManifest(org.dom4j.Element parentElement, List<String> ignoredPropertyKeys) Deprecated.Reads all properties below a specified parent element from themanifest.xml.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.importexport.I_CmsImport
getVersion, importData, importResources
-
Field Details
-
A_NAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userinfo/entry@name" attribute, contains the additional user info entry name.- See Also:
-
A_TYPE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userinfo/entry@type" attribute, contains the additional user info entry data type name.- See Also:
-
N_ACCESS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "access" node.- See Also:
-
N_ACCESSCONTROL_ALLOWEDPERMISSIONS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "allowed" node, to identify allowed user permissions.- See Also:
-
N_ACCESSCONTROL_DENIEDPERMISSIONS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "denied" node, to identify denied user permissions.- See Also:
-
N_ACCESSCONTROL_ENTRIES
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "accesscontrol" node, to identify access control entries.- See Also:
-
N_ACCESSCONTROL_ENTRY
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "accessentry" node, to identify a single access control entry.- See Also:
-
N_ACCESSCONTROL_PERMISSIONSET
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "permissionset" node, to identify a permission set.- See Also:
-
N_ACCESSCONTROL_PRINCIPAL
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "uuidprincipal" node, to identify a principal UUID.- See Also:
-
N_DATECREATED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "datecreated" node, contains the date created VFS file attribute.- See Also:
-
N_DATEEXPIRED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "dateexpired" node, contains the expiration date VFS file attribute.- See Also:
-
N_DATELASTMODIFIED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "datelastmodified" node, contains the date last modified VFS file attribute.- See Also:
-
N_DATERELEASED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "datereleased" node, contains the release date VFS file attribute.- See Also:
-
N_DEFAULTGROUP
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "defaultgroup" node, for backward compatibility with OpenCms 5.x.- See Also:
-
N_DESCRIPTION
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "description" node, contains a users description test.- See Also:
-
N_DESTINATION
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "destination" node, contains target VFS file name.- See Also:
-
N_EMAIL
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "email" node, contains a users email.- See Also:
-
N_FILE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "file" node, container node for all VFS resources.- See Also:
-
N_FIRSTNAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "firstname" node, contains a users first name.- See Also:
-
N_FLAGS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "flags" node, contains the flags of a VFS resource.- See Also:
-
N_GROUPDATA
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "groupdata" node, contains a users group data.- See Also:
-
N_GROUPNAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "groupname" node, contains a groups name.- See Also:
-
N_ID
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "id" node, only required for backward compatibility with import version 2.- See Also:
-
N_LASTMODIFIED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "lastmodified" node, only required for backward compatibility with import version 2.- See Also:
-
N_LASTNAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "lastname" node, contains a users last name.- See Also:
-
N_NAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "name" node, contains a users login name.- See Also:
-
N_ORGUNITDATA
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "orgunitdatas" node, starts the organizational unit data.- See Also:
-
N_PARENTGROUP
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "parentgroup" node, contains a groups parent group name.- See Also:
-
N_PASSWORD
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "password" node, contains a users encrypted password.- See Also:
-
N_PROPERTIES
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "properties" node, starts the list of properties of a VFS resource.- See Also:
-
N_PROPERTY
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "property" node, starts a property for a VFS resource.- See Also:
-
N_PROPERTY_ATTRIB_TYPE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "type" property attribute, contains a property type.- See Also:
-
N_PROPERTY_ATTRIB_TYPE_SHARED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "shared" property type attribute value.- See Also:
-
N_RELATION
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "relation" node, starts a relation for a VFS resource.- See Also:
-
N_RELATION_ATTRIBUTE_ID
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "id" relation attribute, contains the structure id of the target resource of the relation.- See Also:
-
N_RELATION_ATTRIBUTE_PATH
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "path" relation attribute, contains the path to the target resource of the relation.- See Also:
-
N_RELATION_ATTRIBUTE_TYPE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "type" relation attribute, contains the type of relation.- See Also:
-
N_RELATIONS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "relations" node, starts the list of relations of a VFS resources.- See Also:
-
N_SOURCE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "source" node, contains the source path of a VFS resource in the import zip (or folder).- See Also:
-
N_TAG_ADDRESS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "address" node, contains a users address.- See Also:
-
N_TYPE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "type" node, the resource type name of a VFS resource.- See Also:
-
N_USER
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "user" node, starts the user data.- See Also:
-
N_USERCREATED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "usercreated" node, contains the name of the user who created the VFS resource.- See Also:
-
N_USERDATA
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userdata" node, starts the list of users.- See Also:
-
N_USERGROUPDATA
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "usergroupdatas" node, starts the users group data.- See Also:
-
N_USERGROUPS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "usergroups" node, starts the users group data.- See Also:
-
N_USERINFO
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userinfo" node, contains the additional user info.- See Also:
-
N_USERINFO_ENTRY
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userinfo/entry" node, contains the additional user info entry value.- See Also:
-
N_USERLASTMODIFIED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "userlastmodified" node, contains the name of the user who last modified the VFS resource.- See Also:
-
N_UUIDRESOURCE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "uuidresource" node, contains a the resource UUID of a VFS resource.- See Also:
-
N_UUIDSTRUCTURE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "uuidstructure" node, only required for backward compatibility with import version 2.- See Also:
-
N_VALUE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFESTfor the "value" node, contains the value of a property.- See Also:
-
RESOURCE_TYPE_LEGACY_PAGE_NAME
Deprecated.The name of the legacy resource type "page".- See Also:
-
RESOURCE_TYPE_LINK_ID
Deprecated.The id of the legacy resource type "link".- See Also:
-
RESOURCE_TYPE_LINK_NAME
Deprecated.The name of the legacy resource type "link".- See Also:
-
RESOURCE_TYPE_NEWPAGE_ID
Deprecated.The id of the legacy resource type "newpage".- See Also:
-
RESOURCE_TYPE_NEWPAGE_NAME
Deprecated.The name of the legacy resource type "newpage".- See Also:
-
m_cms
Deprecated.The cms context to do the import operations with. -
m_convertToXmlPage
Deprecated.Flag for conversion to xml pages. -
m_docXml
Deprecated.The xml manifest-file. -
m_groupsToCreate
Deprecated.Groups to create during import are stored here. -
m_importPath
Deprecated.The import-path to write resources into the cms. -
m_importResource
Deprecated.The import-resource (folder) to load resources from. -
m_importZip
Deprecated.The import-resource (zip) to load resources from. -
m_linkPropertyStorage
Deprecated.Storage for all pointer properties which must be converted into links. -
m_linkStorage
Deprecated.Storage for all pointers which must be converted into links. -
m_report
Deprecated.The object to report the log messages. -
m_userMessages
Deprecated.Messages object with the locale of the current user.
-
-
Constructor Details
-
A_CmsImport
public A_CmsImport()Deprecated.
-
-
Method Details
-
convertDigestEncoding
Deprecated.Converts a given digest to base64 encoding.- Parameters:
value- the digest value in the legacy encoding- Returns:
- the digest in the new encoding
-
getChildElementTextValue
Deprecated.Returns the value of a child element with a specified name for a given parent element.- Parameters:
parentElement- the parent elementelementName- the child element name- Returns:
- the value of the child node, or null if something went wrong
-
matches
Deprecated.Description copied from interface:I_CmsImportChecks if the file given as parameter matches this import version implementation.- Specified by:
matchesin interfaceI_CmsImport- Parameters:
parameters- the parameters to use during matching- Returns:
trueif the file can be imported by this import version implementation- Throws:
CmsImportExportException- if something goes wrong- See Also:
-
checkImmutable
Deprecated.Checks if the resources is in the list of immutalbe resources.- Parameters:
translatedName- the name of the resourceimmutableResources- the list of the immutable resources- Returns:
- true or false
-
cleanUp
Deprecated.Cleans up member variables after the import is finished.This is required since there is only one instance for each import version that is kept in memory and reused.
-
convertPointerToSiblings
Deprecated.Converts old style pointers to siblings if possible. -
getFileBytes
Deprecated.Returns a byte array containing the content of the file.- Parameters:
filename- the name of the file to read- Returns:
- a byte array containing the content of the file
-
getImportAccessControlEntry
protected CmsAccessControlEntry getImportAccessControlEntry(CmsResource res, String id, String allowed, String denied, String flags) Deprecated.Creates a new access control entry and stores it for later write out.- Parameters:
res- the resourceid- the id of the principalallowed- the allowed permissionsdenied- the denied permissionsflags- the flags- Returns:
- the created ACE
-
getLocale
Deprecated.Returns the appropriate locale for the given destination.- Parameters:
destination- the destination path (parent must exist)properties- the properties to check at first- Returns:
- the locale
-
importAccessControlEntries
protected void importAccessControlEntries(CmsResource resource, List<CmsAccessControlEntry> aceList) Deprecated.Writes already imported access control entries for a given resource.- Parameters:
resource- the resource assigned to the access control entriesaceList- the access control entries to create
-
importGroup
protected void importGroup(String name, String description, String flags, String parentgroupName) throws CmsImportExportException Deprecated.Imports a single group.- Parameters:
name- the name of the groupdescription- group descriptionflags- group flagsparentgroupName- name of the parent group- Throws:
CmsImportExportException- if something goes wrong
-
importGroups
Deprecated.Imports the OpenCms groups.- Throws:
CmsImportExportException- if something goes wrong
-
importUser
protected void importUser(String name, String flags, String password, String firstname, String lastname, String email, long dateCreated, Map<String, Object> userInfo, List<String> userGroups) throws CmsImportExportExceptionDeprecated.Imports a single user.- Parameters:
name- user nameflags- user flagspassword- user passwordfirstname- firstname of the userlastname- lastname of the useremail- user emaildateCreated- creation dateuserInfo- user infouserGroups- user groups- Throws:
CmsImportExportException- in case something goes wrong
-
importUsers
Deprecated.Imports the OpenCms users.- Throws:
CmsImportExportException- if something goes wrong
-
initialize
Deprecated.Initializes all member variables before the import is started.This is required since there is only one instance for each import version that is kept in memory and reused.
-
readPropertiesFromManifest
protected List<CmsProperty> readPropertiesFromManifest(org.dom4j.Element parentElement, List<String> ignoredPropertyKeys) Deprecated.Reads all properties below a specified parent element from themanifest.xml.- Parameters:
parentElement- the current file nodeignoredPropertyKeys- a list of properties to be ignored- Returns:
- a list with all properties
-
CmsImportVersion7with the digester