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
Modifier and TypeFieldDescriptionstatic final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry@name" attribute, contains the additional user info entry name.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry@type" attribute, contains the additional user info entry data type name.protected CmsObject
Deprecated.The cms context to do the import operations with.protected boolean
Deprecated.Flag for conversion to xml pages.protected org.dom4j.Document
Deprecated.The xml manifest-file.Deprecated.Groups to create during import are stored here.protected String
Deprecated.The import-path to write resources into the cms.protected File
Deprecated.The import-resource (folder) to load resources from.protected ZipFile
Deprecated.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_CmsReport
Deprecated.The object to report the log messages.protected I_CmsMessageBundle
Deprecated.Messages object with the locale of the current user.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "access" node.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "allowed" node, to identify allowed user permissions.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "denied" node, to identify denied user permissions.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "accesscontrol" node, to identify access control entries.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "accessentry" node, to identify a single access control entry.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "permissionset" node, to identify a permission set.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "uuidprincipal" node, to identify a principal UUID.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "datecreated" node, contains the date created VFS file attribute.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "dateexpired" node, contains the expiration date VFS file attribute.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "datelastmodified" node, contains the date last modified VFS file attribute.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "datereleased" node, contains the release date VFS file attribute.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "defaultgroup" node, for backward compatibility with OpenCms 5.x.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "description" node, contains a users description test.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "destination" node, contains target VFS file name.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "email" node, contains a users email.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "file" node, container node for all VFS resources.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "firstname" node, contains a users first name.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "flags" node, contains the flags of a VFS resource.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "groupdata" node, contains a users group data.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "groupname" node, contains a groups name.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "id" node, only required for backward compatibility with import version 2.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "lastmodified" node, only required for backward compatibility with import version 2.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "lastname" node, contains a users last name.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "name" node, contains a users login name.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "orgunitdatas" node, starts the organizational unit data.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "parentgroup" node, contains a groups parent group name.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "password" node, contains a users encrypted password.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "properties" node, starts the list of properties of a VFS resource.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "property" node, starts a property for a VFS resource.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "type" property attribute, contains a property type.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "shared" property type attribute value.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "relation" node, starts a relation for a VFS resource.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "id" relation attribute, contains the structure id of the target resource of the relation.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "path" relation attribute, contains the path to the target resource of the relation.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "type" relation attribute, contains the type of relation.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "relations" node, starts the list of relations of a VFS resources.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "source" node, contains the source path of a VFS resource in the import zip (or folder).static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "address" node, contains a users address.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "type" node, the resource type name of a VFS resource.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "user" node, starts the user data.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "usercreated" node, contains the name of the user who created the VFS resource.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userdata" node, starts the list of users.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "usergroupdatas" node, starts the users group data.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "usergroups" node, starts the users group data.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userinfo" node, contains the additional user info.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry" node, contains the additional user info entry value.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userlastmodified" node, contains the name of the user who last modified the VFS resource.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "uuidresource" node, contains a the resource UUID of a VFS resource.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "uuidstructure" node, only required for backward compatibility with import version 2.static final String
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "value" node, contains the value of a property.static final String
Deprecated.The name of the legacy resource type "page".protected static final int
Deprecated.The id of the legacy resource type "link".protected static final String
Deprecated.The name of the legacy resource type "link".protected static final int
Deprecated.The id of the legacy resource type "newpage".protected static final String
Deprecated.The name of the legacy resource type "newpage". -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkImmutable
(String translatedName, List<String> immutableResources) Deprecated.Checks if the resources is in the list of immutalbe resources.protected void
cleanUp()
Deprecated.Cleans up member variables after the import is finished.convertDigestEncoding
(String value) Deprecated.Converts a given digest to base64 encoding.protected void
Deprecated.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 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.protected Locale
getLocale
(String destination, List<CmsProperty> properties) Deprecated.Returns the appropriate locale for the given destination.protected void
importAccessControlEntries
(CmsResource resource, List<CmsAccessControlEntry> aceList) Deprecated.Writes already imported access control entries for a given resource.protected void
importGroup
(String name, String description, String flags, String parentgroupName) Deprecated.Imports a single group.protected void
Deprecated.Imports the OpenCms groups.protected void
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 void
Deprecated.Imports the OpenCms users.protected void
Deprecated.Initializes all member variables before the import is started.boolean
matches
(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, wait
Methods inherited from interface org.opencms.importexport.I_CmsImport
getVersion, importData, importResources
-
Field Details
-
A_NAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry@name" attribute, contains the additional user info entry name.- See Also:
-
A_TYPE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry@type" attribute, contains the additional user info entry data type name.- See Also:
-
N_ACCESS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "access" node.- See Also:
-
N_ACCESSCONTROL_ALLOWEDPERMISSIONS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "allowed" node, to identify allowed user permissions.- See Also:
-
N_ACCESSCONTROL_DENIEDPERMISSIONS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "denied" node, to identify denied user permissions.- See Also:
-
N_ACCESSCONTROL_ENTRIES
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "accesscontrol" node, to identify access control entries.- See Also:
-
N_ACCESSCONTROL_ENTRY
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "accessentry" node, to identify a single access control entry.- See Also:
-
N_ACCESSCONTROL_PERMISSIONSET
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "permissionset" node, to identify a permission set.- See Also:
-
N_ACCESSCONTROL_PRINCIPAL
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "uuidprincipal" node, to identify a principal UUID.- See Also:
-
N_DATECREATED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "datecreated" node, contains the date created VFS file attribute.- See Also:
-
N_DATEEXPIRED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "dateexpired" node, contains the expiration date VFS file attribute.- See Also:
-
N_DATELASTMODIFIED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "datelastmodified" node, contains the date last modified VFS file attribute.- See Also:
-
N_DATERELEASED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "datereleased" node, contains the release date VFS file attribute.- See Also:
-
N_DEFAULTGROUP
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "defaultgroup" node, for backward compatibility with OpenCms 5.x.- See Also:
-
N_DESCRIPTION
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "description" node, contains a users description test.- See Also:
-
N_DESTINATION
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "destination" node, contains target VFS file name.- See Also:
-
N_EMAIL
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "email" node, contains a users email.- See Also:
-
N_FILE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "file" node, container node for all VFS resources.- See Also:
-
N_FIRSTNAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "firstname" node, contains a users first name.- See Also:
-
N_FLAGS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "flags" node, contains the flags of a VFS resource.- See Also:
-
N_GROUPDATA
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "groupdata" node, contains a users group data.- See Also:
-
N_GROUPNAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "groupname" node, contains a groups name.- See Also:
-
N_ID
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "id" node, only required for backward compatibility with import version 2.- See Also:
-
N_LASTMODIFIED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "lastmodified" node, only required for backward compatibility with import version 2.- See Also:
-
N_LASTNAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "lastname" node, contains a users last name.- See Also:
-
N_NAME
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "name" node, contains a users login name.- See Also:
-
N_ORGUNITDATA
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "orgunitdatas" node, starts the organizational unit data.- See Also:
-
N_PARENTGROUP
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "parentgroup" node, contains a groups parent group name.- See Also:
-
N_PASSWORD
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "password" node, contains a users encrypted password.- See Also:
-
N_PROPERTIES
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "properties" node, starts the list of properties of a VFS resource.- See Also:
-
N_PROPERTY
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "property" node, starts a property for a VFS resource.- See Also:
-
N_PROPERTY_ATTRIB_TYPE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "type" property attribute, contains a property type.- See Also:
-
N_PROPERTY_ATTRIB_TYPE_SHARED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "shared" property type attribute value.- See Also:
-
N_RELATION
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "relation" node, starts a relation for a VFS resource.- See Also:
-
N_RELATION_ATTRIBUTE_ID
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for 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_MANIFEST
for 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_MANIFEST
for the "type" relation attribute, contains the type of relation.- See Also:
-
N_RELATIONS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "relations" node, starts the list of relations of a VFS resources.- See Also:
-
N_SOURCE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for 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_MANIFEST
for the "address" node, contains a users address.- See Also:
-
N_TYPE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "type" node, the resource type name of a VFS resource.- See Also:
-
N_USER
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "user" node, starts the user data.- See Also:
-
N_USERCREATED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "usercreated" node, contains the name of the user who created the VFS resource.- See Also:
-
N_USERDATA
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userdata" node, starts the list of users.- See Also:
-
N_USERGROUPDATA
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "usergroupdatas" node, starts the users group data.- See Also:
-
N_USERGROUPS
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "usergroups" node, starts the users group data.- See Also:
-
N_USERINFO
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userinfo" node, contains the additional user info.- See Also:
-
N_USERINFO_ENTRY
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry" node, contains the additional user info entry value.- See Also:
-
N_USERLASTMODIFIED
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "userlastmodified" node, contains the name of the user who last modified the VFS resource.- See Also:
-
N_UUIDRESOURCE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "uuidresource" node, contains a the resource UUID of a VFS resource.- See Also:
-
N_UUIDSTRUCTURE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "uuidstructure" node, only required for backward compatibility with import version 2.- See Also:
-
N_VALUE
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for 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_CmsImport
Checks if the file given as parameter matches this import version implementation.- Specified by:
matches
in interfaceI_CmsImport
- Parameters:
parameters
- the parameters to use during matching- Returns:
true
if 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
-
CmsImportVersion7
with the digester