|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.importexport.A_CmsImport
CmsImportVersion7
with the digester
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.
I_CmsImport
Field Summary | |
static java.lang.String |
A_NAME
Deprecated. 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
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "userinfo/entry@type" attribute, contains the additional user info entry data type name. |
protected static int |
DEBUG
Deprecated. Debug flag to show debug output. |
protected CmsObject |
m_cms
Deprecated. The cms context to do the import operations with. |
protected boolean |
m_convertToXmlPage
Deprecated. Flag for conversion to xml pages. |
protected org.dom4j.Document |
m_docXml
Deprecated. The xml manifest-file. |
protected java.util.Stack |
m_groupsToCreate
Deprecated. Groups to create during import are stored here. |
protected java.lang.String |
m_importPath
Deprecated. The import-path to write resources into the cms. |
protected java.io.File |
m_importResource
Deprecated. The import-resource (folder) to load resources from. |
protected java.util.zip.ZipFile |
m_importZip
Deprecated. The import-resource (zip) to load resources from. |
protected java.util.Map |
m_linkPropertyStorage
Deprecated. Storage for all pointer properties which must be converted into links. |
protected java.util.Map |
m_linkStorage
Deprecated. Storage for all pointers which must be converted into links. |
protected I_CmsReport |
m_report
Deprecated. The object to report the log messages. |
protected I_CmsMessageBundle |
m_userMessages
Deprecated. Messages object with the locale of the current user. |
static java.lang.String |
N_ACCESS
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "access" node. |
static java.lang.String |
N_ACCESSCONTROL_ALLOWEDPERMISSIONS
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "allowed" node, to identify allowed user permissions. |
static java.lang.String |
N_ACCESSCONTROL_DENIEDPERMISSIONS
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "denied" node, to identify denied user permissions. |
static java.lang.String |
N_ACCESSCONTROL_ENTRIES
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "accesscontrol" node, to identify access control entries. |
static java.lang.String |
N_ACCESSCONTROL_ENTRY
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "accessentry" node, to identify a single access control entry. |
static java.lang.String |
N_ACCESSCONTROL_PERMISSIONSET
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "permissionset" node, to identify a permission set. |
static java.lang.String |
N_ACCESSCONTROL_PRINCIPAL
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "uuidprincipal" node, to identify a principal UUID. |
static java.lang.String |
N_DATECREATED
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "datecreated" node, contains the date created VFS file attribute. |
static java.lang.String |
N_DATEEXPIRED
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "dateexpired" node, contains the expiration date VFS file attribute. |
static java.lang.String |
N_DATELASTMODIFIED
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "datelastmodified" node, contains the date last modified VFS file attribute. |
static java.lang.String |
N_DATERELEASED
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "datereleased" node, contains the release date VFS file attribute. |
static java.lang.String |
N_DEFAULTGROUP
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "defaultgroup" node, for backward compatibility with OpenCms 5.x. |
static java.lang.String |
N_DESCRIPTION
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "description" node, contains a users description test. |
static java.lang.String |
N_DESTINATION
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "destination" node, contains target VFS file name. |
static java.lang.String |
N_EMAIL
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "email" node, contains a users email. |
static java.lang.String |
N_FILE
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "file" node, container node for all VFS resources. |
static java.lang.String |
N_FIRSTNAME
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "firstname" node, contains a users first name. |
static java.lang.String |
N_FLAGS
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "flags" node, contains the flags of a VFS resource. |
static java.lang.String |
N_GROUPDATA
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "groupdata" node, contains a users group data. |
static java.lang.String |
N_GROUPNAME
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "groupname" node, contains a groups name. |
static java.lang.String |
N_ID
Deprecated. 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
Deprecated. 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
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "lastname" node, contains a users last name. |
static java.lang.String |
N_NAME
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "name" node, contains a users login name. |
static java.lang.String |
N_ORGUNITDATA
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "orgunitdatas" node, starts the organizational unit data. |
static java.lang.String |
N_PARENTGROUP
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "parentgroup" node, contains a groups parent group name. |
static java.lang.String |
N_PASSWORD
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "password" node, contains a users encrypted password. |
static java.lang.String |
N_PROPERTIES
Deprecated. 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
Deprecated. 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
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "type" property attribute, contains a property type. |
static java.lang.String |
N_PROPERTY_ATTRIB_TYPE_SHARED
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "shared" property type attribute value. |
static java.lang.String |
N_RELATION
Deprecated. Tag in the [@link #EXPORT_MANIFEST} for the "relation" node, starts a relation for a VFS resource. |
static java.lang.String |
N_RELATION_ATTRIBUTE_ID
Deprecated. 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
Deprecated. 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
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "type" relation attribute, contains the type of relation. |
static java.lang.String |
N_RELATIONS
Deprecated. 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
Deprecated. 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
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "address" node, contains a users address. |
static java.lang.String |
N_TYPE
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "type" node, the resource type name of a VFS resource. |
static java.lang.String |
N_USER
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "user" node, starts the user data. |
static java.lang.String |
N_USERCREATED
Deprecated. 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
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "userdata" node, starts the list of users. |
static java.lang.String |
N_USERGROUPDATA
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "usergroupdatas" node, starts the users group data. |
static java.lang.String |
N_USERGROUPS
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "usergroups" node, starts the users group data. |
static java.lang.String |
N_USERINFO
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "userinfo" node, contains the additional user info. |
static java.lang.String |
N_USERINFO_ENTRY
Deprecated. Tag in the CmsImportExportManager.EXPORT_MANIFEST for the "userinfo/entry" node, contains the additional user info entry value. |
static java.lang.String |
N_USERLASTMODIFIED
Deprecated. 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
Deprecated. 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
Deprecated. 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
Deprecated. 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
Deprecated. The name of the legacy resource type "page". |
protected static int |
RESOURCE_TYPE_LINK_ID
Deprecated. The id of the legacy resource type "link". |
protected static java.lang.String |
RESOURCE_TYPE_LINK_NAME
Deprecated. The name of the legacy resource type "link". |
protected static int |
RESOURCE_TYPE_NEWPAGE_ID
Deprecated. The id of the legacy resource type "newpage". |
protected static java.lang.String |
RESOURCE_TYPE_NEWPAGE_NAME
Deprecated. The name of the legacy resource type "newpage". |
Constructor Summary | |
A_CmsImport()
Deprecated. |
Method Summary | |
protected boolean |
checkImmutable(java.lang.String translatedName,
java.util.List 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. |
java.lang.String |
convertDigestEncoding(java.lang.String value)
Deprecated. Converts a given digest to base64 encoding. |
protected void |
convertPointerToSiblings()
Deprecated. Converts old style pointers to siblings if possible. |
java.lang.String |
getChildElementTextValue(org.dom4j.Element parentElement,
java.lang.String elementName)
Deprecated. Returns the value of a child element with a specified name for a given parent element. |
protected byte[] |
getFileBytes(java.lang.String filename)
Deprecated. 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)
Deprecated. 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 properties)
Deprecated. Returns the appropriate locale for the given destination. |
protected void |
importAccessControlEntries(CmsResource resource,
java.util.List aceList)
Deprecated. 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)
Deprecated. Imports a single group. |
protected void |
importGroups()
Deprecated. 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 userInfo,
java.util.List userGroups)
Deprecated. Imports a single user. |
protected void |
importUsers()
Deprecated. Imports the OpenCms users. |
protected void |
initialize()
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 java.util.List |
readPropertiesFromManifest(org.dom4j.Element parentElement,
java.util.List ignoredPropertyKeys)
Deprecated. Reads all properties below a specified parent element from the manifest.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 Detail |
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
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 DEBUG
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 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 m_linkPropertyStorage
protected java.util.Map m_linkStorage
protected I_CmsReport m_report
protected I_CmsMessageBundle m_userMessages
Constructor Detail |
public A_CmsImport()
Method Detail |
public java.lang.String convertDigestEncoding(java.lang.String value)
value
- the digest value in the legacy encoding
public java.lang.String getChildElementTextValue(org.dom4j.Element parentElement, java.lang.String elementName)
parentElement
- the parent elementelementName
- the child element name
public boolean matches(CmsImportParameters parameters) throws CmsImportExportException
I_CmsImport
matches
in interface I_CmsImport
parameters
- the parameters to use during matching
true
if the file can be imported by this import version implementation
CmsImportExportException
- if something goes wrongI_CmsImport.matches(org.opencms.importexport.CmsImportParameters)
protected boolean checkImmutable(java.lang.String translatedName, java.util.List immutableResources)
translatedName
- the name of the resourceimmutableResources
- the list of the immutable resources
protected 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 read
protected 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 flags
protected java.util.Locale getLocale(java.lang.String destination, java.util.List properties)
destination
- the destination path (parent must exist)properties
- the properties to check at first
protected void importAccessControlEntries(CmsResource resource, java.util.List 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 group
CmsImportExportException
- 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 userInfo, java.util.List 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 groups
CmsImportExportException
- 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 readPropertiesFromManifest(org.dom4j.Element parentElement, java.util.List ignoredPropertyKeys)
manifest.xml
.
parentElement
- the current file nodeignoredPropertyKeys
- a list of properties to be ignored
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |