CmsImportVersion7
with the digester@Deprecated public abstract class A_CmsImport extends java.lang.Object implements I_CmsImport
This class does not implement a real OpenCms import, real import implementation should be inherited form this class.
I_CmsImport
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
A_NAME
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "userinfo/entry@name" attribute, contains the additional user info entry name. |
static java.lang.String |
A_TYPE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "userinfo/entry@type" attribute, contains the additional user info entry data type name. |
protected CmsObject |
m_cms
已过时。
The cms context to do the import operations with.
|
protected boolean |
m_convertToXmlPage
已过时。
Flag for conversion to xml pages.
|
protected org.dom4j.Document |
m_docXml
已过时。
The xml manifest-file.
|
protected java.util.Stack<java.util.Map<java.lang.String,java.lang.String>> |
m_groupsToCreate
已过时。
Groups to create during import are stored here.
|
protected java.lang.String |
m_importPath
已过时。
The import-path to write resources into the cms.
|
protected java.io.File |
m_importResource
已过时。
The import-resource (folder) to load resources from.
|
protected java.util.zip.ZipFile |
m_importZip
已过时。
The import-resource (zip) to load resources from.
|
protected java.util.Map<java.lang.String,java.util.List<CmsProperty>> |
m_linkPropertyStorage
已过时。
Storage for all pointer properties which must be converted into links.
|
protected java.util.Map<java.lang.String,java.lang.String> |
m_linkStorage
已过时。
Storage for all pointers which must be converted into links.
|
protected I_CmsReport |
m_report
已过时。
The object to report the log messages.
|
protected I_CmsMessageBundle |
m_userMessages
已过时。
Messages object with the locale of the current user.
|
static java.lang.String |
N_ACCESS
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "access" node. |
static java.lang.String |
N_ACCESSCONTROL_ALLOWEDPERMISSIONS
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "allowed" node, to identify allowed user permissions. |
static java.lang.String |
N_ACCESSCONTROL_DENIEDPERMISSIONS
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "denied" node, to identify denied user permissions. |
static java.lang.String |
N_ACCESSCONTROL_ENTRIES
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "accesscontrol" node, to identify access control entries. |
static java.lang.String |
N_ACCESSCONTROL_ENTRY
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "accessentry" node, to identify a single access control entry. |
static java.lang.String |
N_ACCESSCONTROL_PERMISSIONSET
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "permissionset" node, to identify a permission set. |
static java.lang.String |
N_ACCESSCONTROL_PRINCIPAL
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "uuidprincipal" node, to identify a principal UUID. |
static java.lang.String |
N_DATECREATED
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "datecreated" node, contains the date created VFS file attribute. |
static java.lang.String |
N_DATEEXPIRED
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "dateexpired" node, contains the expiration date VFS file attribute. |
static java.lang.String |
N_DATELASTMODIFIED
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "datelastmodified" node, contains the date last modified VFS file attribute. |
static java.lang.String |
N_DATERELEASED
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "datereleased" node, contains the release date VFS file attribute. |
static java.lang.String |
N_DEFAULTGROUP
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "defaultgroup" node, for backward compatibility with OpenCms 5.x. |
static java.lang.String |
N_DESCRIPTION
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "description" node, contains a users description test. |
static java.lang.String |
N_DESTINATION
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "destination" node, contains target VFS file name. |
static java.lang.String |
N_EMAIL
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "email" node, contains a users email. |
static java.lang.String |
N_FILE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "file" node, container node for all VFS resources. |
static java.lang.String |
N_FIRSTNAME
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "firstname" node, contains a users first name. |
static java.lang.String |
N_FLAGS
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "flags" node, contains the flags of a VFS resource. |
static java.lang.String |
N_GROUPDATA
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "groupdata" node, contains a users group data. |
static java.lang.String |
N_GROUPNAME
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "groupname" node, contains a groups name. |
static java.lang.String |
N_ID
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "id" node, only required for backward compatibility with import version 2. |
static java.lang.String |
N_LASTMODIFIED
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "lastmodified" node, only required for backward compatibility with import version 2. |
static java.lang.String |
N_LASTNAME
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "lastname" node, contains a users last name. |
static java.lang.String |
N_NAME
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "name" node, contains a users login name. |
static java.lang.String |
N_ORGUNITDATA
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "orgunitdatas" node, starts the organizational unit data. |
static java.lang.String |
N_PARENTGROUP
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "parentgroup" node, contains a groups parent group name. |
static java.lang.String |
N_PASSWORD
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "password" node, contains a users encrypted password. |
static java.lang.String |
N_PROPERTIES
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "properties" node, starts the list of properties of a VFS resource. |
static java.lang.String |
N_PROPERTY
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "property" node, starts a property for a VFS resource. |
static java.lang.String |
N_PROPERTY_ATTRIB_TYPE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "type" property attribute, contains a property type. |
static java.lang.String |
N_PROPERTY_ATTRIB_TYPE_SHARED
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "shared" property type attribute value. |
static java.lang.String |
N_RELATION
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "relation" node, starts a relation for a VFS resource. |
static java.lang.String |
N_RELATION_ATTRIBUTE_ID
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "id" relation attribute, contains the structure id of the target resource of the relation. |
static java.lang.String |
N_RELATION_ATTRIBUTE_PATH
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "path" relation attribute, contains the path to the target resource of the relation. |
static java.lang.String |
N_RELATION_ATTRIBUTE_TYPE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "type" relation attribute, contains the type of relation. |
static java.lang.String |
N_RELATIONS
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "relations" node, starts the list of relations of a VFS resources. |
static java.lang.String |
N_SOURCE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "source" node, contains the source path of a VFS resource in the import zip (or folder). |
static java.lang.String |
N_TAG_ADDRESS
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "address" node, contains a users address. |
static java.lang.String |
N_TYPE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "type" node, the resource type name of a VFS resource. |
static java.lang.String |
N_USER
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "user" node, starts the user data. |
static java.lang.String |
N_USERCREATED
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "usercreated" node, contains the name of the user who created the VFS resource. |
static java.lang.String |
N_USERDATA
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "userdata" node, starts the list of users. |
static java.lang.String |
N_USERGROUPDATA
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "usergroupdatas" node, starts the users group data. |
static java.lang.String |
N_USERGROUPS
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "usergroups" node, starts the users group data. |
static java.lang.String |
N_USERINFO
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "userinfo" node, contains the additional user info. |
static java.lang.String |
N_USERINFO_ENTRY
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "userinfo/entry" node, contains the additional user info entry value. |
static java.lang.String |
N_USERLASTMODIFIED
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "userlastmodified" node, contains the name of the user who last modified the VFS resource. |
static java.lang.String |
N_UUIDRESOURCE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "uuidresource" node, contains a the resource UUID of a VFS resource. |
static java.lang.String |
N_UUIDSTRUCTURE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "uuidstructure" node, only required for backward compatibility with import version 2. |
static java.lang.String |
N_VALUE
已过时。
Tag in the
CmsImportExportManager.EXPORT_MANIFEST for the "value" node, contains the value of a property. |
static java.lang.String |
RESOURCE_TYPE_LEGACY_PAGE_NAME
已过时。
The name of the legacy resource type "page".
|
protected static int |
RESOURCE_TYPE_LINK_ID
已过时。
The id of the legacy resource type "link".
|
protected static java.lang.String |
RESOURCE_TYPE_LINK_NAME
已过时。
The name of the legacy resource type "link".
|
protected static int |
RESOURCE_TYPE_NEWPAGE_ID
已过时。
The id of the legacy resource type "newpage".
|
protected static java.lang.String |
RESOURCE_TYPE_NEWPAGE_NAME
已过时。
The name of the legacy resource type "newpage".
|
构造器和说明 |
---|
A_CmsImport()
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
checkImmutable(java.lang.String translatedName,
java.util.List<java.lang.String> immutableResources)
已过时。
Checks if the resources is in the list of immutalbe resources.
|
protected void |
cleanUp()
已过时。
Cleans up member variables after the import is finished.
|
java.lang.String |
convertDigestEncoding(java.lang.String value)
已过时。
Converts a given digest to base64 encoding.
|
protected void |
convertPointerToSiblings()
已过时。
Converts old style pointers to siblings if possible.
|
java.lang.String |
getChildElementTextValue(org.dom4j.Element parentElement,
java.lang.String elementName)
已过时。
Returns the value of a child element with a specified name for a given parent element.
|
protected byte[] |
getFileBytes(java.lang.String filename)
已过时。
Returns a byte array containing the content of the file.
|
protected CmsAccessControlEntry |
getImportAccessControlEntry(CmsResource res,
java.lang.String id,
java.lang.String allowed,
java.lang.String denied,
java.lang.String flags)
已过时。
Creates a new access control entry and stores it for later write out.
|
protected java.util.Locale |
getLocale(java.lang.String destination,
java.util.List<CmsProperty> properties)
已过时。
Returns the appropriate locale for the given destination.
|
protected void |
importAccessControlEntries(CmsResource resource,
java.util.List<CmsAccessControlEntry> aceList)
已过时。
Writes already imported access control entries for a given resource.
|
protected void |
importGroup(java.lang.String name,
java.lang.String description,
java.lang.String flags,
java.lang.String parentgroupName)
已过时。
Imports a single group.
|
protected void |
importGroups()
已过时。
Imports the OpenCms groups.
|
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<java.lang.String,java.lang.Object> userInfo,
java.util.List<java.lang.String> userGroups)
已过时。
Imports a single user.
|
protected void |
importUsers()
已过时。
Imports the OpenCms users.
|
protected void |
initialize()
已过时。
Initializes all member variables before the import is started.
|
boolean |
matches(CmsImportParameters parameters)
已过时。
Checks if the file given as parameter matches this import version implementation.
|
protected java.util.List<CmsProperty> |
readPropertiesFromManifest(org.dom4j.Element parentElement,
java.util.List<java.lang.String> ignoredPropertyKeys)
已过时。
Reads all properties below a specified parent element from the
manifest.xml . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVersion, importData, importResources
public static final java.lang.String A_NAME
CmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry@name" attribute, contains the additional user info entry name.public static final java.lang.String A_TYPE
CmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry@type" attribute, contains the additional user info entry data type name.public static final java.lang.String N_ACCESS
CmsImportExportManager.EXPORT_MANIFEST
for the "access" node.public static final java.lang.String N_ACCESSCONTROL_ALLOWEDPERMISSIONS
CmsImportExportManager.EXPORT_MANIFEST
for the "allowed" node, to identify allowed user permissions.public static final java.lang.String N_ACCESSCONTROL_DENIEDPERMISSIONS
CmsImportExportManager.EXPORT_MANIFEST
for the "denied" node, to identify denied user permissions.public static final java.lang.String N_ACCESSCONTROL_ENTRIES
CmsImportExportManager.EXPORT_MANIFEST
for the "accesscontrol" node, to identify access control entries.public static final java.lang.String N_ACCESSCONTROL_ENTRY
CmsImportExportManager.EXPORT_MANIFEST
for the "accessentry" node, to identify a single access control entry.public static final java.lang.String N_ACCESSCONTROL_PERMISSIONSET
CmsImportExportManager.EXPORT_MANIFEST
for the "permissionset" node, to identify a permission set.public static final java.lang.String N_ACCESSCONTROL_PRINCIPAL
CmsImportExportManager.EXPORT_MANIFEST
for the "uuidprincipal" node, to identify a principal UUID.public static final java.lang.String N_DATECREATED
CmsImportExportManager.EXPORT_MANIFEST
for the "datecreated" node, contains the date created VFS file attribute.public static final java.lang.String N_DATEEXPIRED
CmsImportExportManager.EXPORT_MANIFEST
for the "dateexpired" node, contains the expiration date VFS file attribute.public static final java.lang.String N_DATELASTMODIFIED
CmsImportExportManager.EXPORT_MANIFEST
for the "datelastmodified" node, contains the date last modified VFS file attribute.public static final java.lang.String N_DATERELEASED
CmsImportExportManager.EXPORT_MANIFEST
for the "datereleased" node, contains the release date VFS file attribute.public static final java.lang.String N_DEFAULTGROUP
CmsImportExportManager.EXPORT_MANIFEST
for the "defaultgroup" node, for backward compatibility with OpenCms 5.x.public static final java.lang.String N_DESCRIPTION
CmsImportExportManager.EXPORT_MANIFEST
for the "description" node, contains a users description test.public static final java.lang.String N_DESTINATION
CmsImportExportManager.EXPORT_MANIFEST
for the "destination" node, contains target VFS file name.public static final java.lang.String N_EMAIL
CmsImportExportManager.EXPORT_MANIFEST
for the "email" node, contains a users email.public static final java.lang.String N_FILE
CmsImportExportManager.EXPORT_MANIFEST
for the "file" node, container node for all VFS resources.public static final java.lang.String N_FIRSTNAME
CmsImportExportManager.EXPORT_MANIFEST
for the "firstname" node, contains a users first name.public static final java.lang.String N_FLAGS
CmsImportExportManager.EXPORT_MANIFEST
for the "flags" node, contains the flags of a VFS resource.public static final java.lang.String N_GROUPDATA
CmsImportExportManager.EXPORT_MANIFEST
for the "groupdata" node, contains a users group data.public static final java.lang.String N_GROUPNAME
CmsImportExportManager.EXPORT_MANIFEST
for the "groupname" node, contains a groups name.public static final java.lang.String N_ID
CmsImportExportManager.EXPORT_MANIFEST
for the "id" node, only required for backward compatibility with import version 2.public static final java.lang.String N_LASTMODIFIED
CmsImportExportManager.EXPORT_MANIFEST
for the "lastmodified" node, only required for backward compatibility with import version 2.public static final java.lang.String N_LASTNAME
CmsImportExportManager.EXPORT_MANIFEST
for the "lastname" node, contains a users last name.public static final java.lang.String N_NAME
CmsImportExportManager.EXPORT_MANIFEST
for the "name" node, contains a users login name.public static final java.lang.String N_ORGUNITDATA
CmsImportExportManager.EXPORT_MANIFEST
for the "orgunitdatas" node, starts the organizational unit data.public static final java.lang.String N_PARENTGROUP
CmsImportExportManager.EXPORT_MANIFEST
for the "parentgroup" node, contains a groups parent group name.public static final java.lang.String N_PASSWORD
CmsImportExportManager.EXPORT_MANIFEST
for the "password" node, contains a users encrypted password.public static final java.lang.String N_PROPERTIES
CmsImportExportManager.EXPORT_MANIFEST
for the "properties" node, starts the list of properties of a VFS resource.public static final java.lang.String N_PROPERTY
CmsImportExportManager.EXPORT_MANIFEST
for the "property" node, starts a property for a VFS resource.public static final java.lang.String N_PROPERTY_ATTRIB_TYPE
CmsImportExportManager.EXPORT_MANIFEST
for the "type" property attribute, contains a property type.public static final java.lang.String N_PROPERTY_ATTRIB_TYPE_SHARED
CmsImportExportManager.EXPORT_MANIFEST
for the "shared" property type attribute value.public static final java.lang.String N_RELATION
CmsImportExportManager.EXPORT_MANIFEST
for the "relation" node, starts a relation for a VFS resource.public static final java.lang.String N_RELATION_ATTRIBUTE_ID
CmsImportExportManager.EXPORT_MANIFEST
for the "id" relation attribute, contains the structure id of the target resource of the relation.public static final java.lang.String N_RELATION_ATTRIBUTE_PATH
CmsImportExportManager.EXPORT_MANIFEST
for the "path" relation attribute, contains the path to the target resource of the relation.public static final java.lang.String N_RELATION_ATTRIBUTE_TYPE
CmsImportExportManager.EXPORT_MANIFEST
for the "type" relation attribute, contains the type of relation.public static final java.lang.String N_RELATIONS
CmsImportExportManager.EXPORT_MANIFEST
for the "relations" node, starts the list of relations of a VFS resources.public static final java.lang.String N_SOURCE
CmsImportExportManager.EXPORT_MANIFEST
for the "source" node, contains the source path of a VFS resource in the import zip (or folder).public static final java.lang.String N_TAG_ADDRESS
CmsImportExportManager.EXPORT_MANIFEST
for the "address" node, contains a users address.public static final java.lang.String N_TYPE
CmsImportExportManager.EXPORT_MANIFEST
for the "type" node, the resource type name of a VFS resource.public static final java.lang.String N_USER
CmsImportExportManager.EXPORT_MANIFEST
for the "user" node, starts the user data.public static final java.lang.String N_USERCREATED
CmsImportExportManager.EXPORT_MANIFEST
for the "usercreated" node, contains the name of the user who created the VFS resource.public static final java.lang.String N_USERDATA
CmsImportExportManager.EXPORT_MANIFEST
for the "userdata" node, starts the list of users.public static final java.lang.String N_USERGROUPDATA
CmsImportExportManager.EXPORT_MANIFEST
for the "usergroupdatas" node, starts the users group data.public static final java.lang.String N_USERGROUPS
CmsImportExportManager.EXPORT_MANIFEST
for the "usergroups" node, starts the users group data.public static final java.lang.String N_USERINFO
CmsImportExportManager.EXPORT_MANIFEST
for the "userinfo" node, contains the additional user info.public static final java.lang.String N_USERINFO_ENTRY
CmsImportExportManager.EXPORT_MANIFEST
for the "userinfo/entry" node, contains the additional user info entry value.public static final java.lang.String N_USERLASTMODIFIED
CmsImportExportManager.EXPORT_MANIFEST
for the "userlastmodified" node, contains the name of the user who last modified the VFS resource.public static final java.lang.String N_UUIDRESOURCE
CmsImportExportManager.EXPORT_MANIFEST
for the "uuidresource" node, contains a the resource UUID of a VFS resource.public static final java.lang.String N_UUIDSTRUCTURE
CmsImportExportManager.EXPORT_MANIFEST
for the "uuidstructure" node, only required for backward compatibility with import version 2.public static final java.lang.String N_VALUE
CmsImportExportManager.EXPORT_MANIFEST
for the "value" node, contains the value of a property.public static final java.lang.String RESOURCE_TYPE_LEGACY_PAGE_NAME
protected static final int RESOURCE_TYPE_LINK_ID
protected static final java.lang.String RESOURCE_TYPE_LINK_NAME
protected static final int RESOURCE_TYPE_NEWPAGE_ID
protected static final java.lang.String RESOURCE_TYPE_NEWPAGE_NAME
protected CmsObject m_cms
protected boolean m_convertToXmlPage
protected org.dom4j.Document m_docXml
protected java.util.Stack<java.util.Map<java.lang.String,java.lang.String>> m_groupsToCreate
protected java.lang.String m_importPath
protected java.io.File m_importResource
protected java.util.zip.ZipFile m_importZip
protected java.util.Map<java.lang.String,java.util.List<CmsProperty>> m_linkPropertyStorage
protected java.util.Map<java.lang.String,java.lang.String> m_linkStorage
protected I_CmsReport m_report
protected I_CmsMessageBundle m_userMessages
public java.lang.String convertDigestEncoding(java.lang.String value)
value
- the digest value in the legacy encodingpublic java.lang.String getChildElementTextValue(org.dom4j.Element parentElement, java.lang.String elementName)
parentElement
- the parent elementelementName
- the child element namepublic boolean matches(CmsImportParameters parameters) throws CmsImportExportException
I_CmsImport
matches
在接口中 I_CmsImport
parameters
- the parameters to use during matchingtrue
if the file can be imported by this import version implementationCmsImportExportException
- if something goes wrongI_CmsImport.matches(org.opencms.importexport.CmsImportParameters)
protected boolean checkImmutable(java.lang.String translatedName, java.util.List<java.lang.String> immutableResources)
translatedName
- the name of the resourceimmutableResources
- the list of the immutable resourcesprotected void cleanUp()
This is required since there is only one instance for each import version that is kept in memory and reused.
protected void convertPointerToSiblings()
protected byte[] getFileBytes(java.lang.String filename)
filename
- the name of the file to readprotected CmsAccessControlEntry getImportAccessControlEntry(CmsResource res, java.lang.String id, java.lang.String allowed, java.lang.String denied, java.lang.String flags)
res
- the resourceid
- the id of the principalallowed
- the allowed permissionsdenied
- the denied permissionsflags
- the flagsprotected java.util.Locale getLocale(java.lang.String destination, java.util.List<CmsProperty> properties)
destination
- the destination path (parent must exist)properties
- the properties to check at firstprotected void importAccessControlEntries(CmsResource resource, java.util.List<CmsAccessControlEntry> aceList)
resource
- the resource assigned to the access control entriesaceList
- the access control entries to createprotected void importGroup(java.lang.String name, java.lang.String description, java.lang.String flags, java.lang.String parentgroupName) throws CmsImportExportException
name
- the name of the groupdescription
- group descriptionflags
- group flagsparentgroupName
- name of the parent groupCmsImportExportException
- if something goes wrongprotected void importGroups() throws CmsImportExportException
CmsImportExportException
- if something goes wrongprotected 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<java.lang.String,java.lang.Object> userInfo, java.util.List<java.lang.String> userGroups) throws CmsImportExportException
name
- user nameflags
- user flagspassword
- user passwordfirstname
- firstname of the userlastname
- lastname of the useremail
- user emaildateCreated
- creation dateuserInfo
- user infouserGroups
- user groupsCmsImportExportException
- in case something goes wrongprotected void importUsers() throws CmsImportExportException
CmsImportExportException
- if something goes wrongprotected void initialize()
This is required since there is only one instance for each import version that is kept in memory and reused.
protected java.util.List<CmsProperty> readPropertiesFromManifest(org.dom4j.Element parentElement, java.util.List<java.lang.String> ignoredPropertyKeys)
manifest.xml
.parentElement
- the current file nodeignoredPropertyKeys
- a list of properties to be ignored