Class CmsImportVersion7
- All Implemented Interfaces:
I_CmsImport
- Since:
- 7.0.4
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.Tag for the "userinfo / entry name" attribute, contains the additional user info entry name.static final String
Deprecated.Tag for the "type" attribute, contains the property type.static final String
Deprecated.The name of the DTD for this import version.static final String
Deprecated.The location of the OpenCms configuration DTD if the default prefix is the system ID.static final int
Deprecated.The version number of this import implementation.static final String
Deprecated.Tag for the "allowed" node, to identify allowed user permissions.static final String
Deprecated.Tag for the "denied" node, to identify denied user permissions.static final String
Deprecated.Tag for the "accesscontrol" node, to identify access control entries.static final String
Deprecated.Tag for the "accessentry" node, to identify a single access control entry.static final String
Deprecated.Tag for the "permissionset" node, to identify a permission set.static final String
Deprecated.Tag for the "uuidprincipal" node, to identify a principal UUID.static final String
Deprecated.Tag for the "accounts" node.static final String
Deprecated.Tag for the "datecreated" node, contains the date created VFS file attribute.static final String
Deprecated.Tag for the "dateexpired" node, contains the expiration date VFS file attribute.static final String
Deprecated.Tag for the "datelastmodified" node, contains the date last modified VFS file attribute.static final String
Deprecated.Tag for the "datereleased" node, contains the release date VFS file attribute.static final String
Deprecated.Tag for the "description" node, contains a users description test.static final String
Deprecated.Tag for the "destination" node, contains target VFS file name.static final String
Deprecated.Tag for the "email" node, contains a users email.static final String
Deprecated.Tag for the "file" node, container node for all VFS resources.static final String
Deprecated.Tag for the "files" node, container node for all VFS resources.static final String
Deprecated.Tag for the "firstname" node, contains a users first name.static final String
Deprecated.Tag for the "flags" node, contains the flags of a VFS resource.static final String
Deprecated.Tag for the "group" node, contains a group name.static final String
Deprecated.Tag for the "groups" node, contains a users group data.static final String
Deprecated.Tag for the "id" relation attribute, contains the structure id of the target resource of the relation.static final String
Deprecated.Tag for the "lastname" node, contains a users last name.static final String
Deprecated.Tag for the "managersgroup" node, contains name of the managers group of the project.static final String
Deprecated.Tag for the "name" node, contains the name of a property.static final String
Deprecated.Tag for the "orgunit" node, starts the organizational unit data.static final String
Deprecated.Tag for the "orgunits" node, starts the organizational unit data.static final String
Deprecated.Tag for the "parentgroup" node, contains a groups parent group fqn.static final String
Deprecated.Tag for the "password" node, contains a users encrypted password.static final String
Deprecated.Tag for the "path" relation attribute, contains the path to the target resource of the relation.static final String
Deprecated.Tag for the "project" node, starts the project data.static final String
Deprecated.Tag for the "projects" node, starts the project data.static final String
Deprecated.Tag for the "properties" node, starts the list of properties of a VFS resource.static final String
Deprecated.Tag for the "property" node, starts a property for a VFS resource.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 for the "relations" node, starts the list of relations of a VFS resources.static final String
Deprecated.Tag for the "resource" node, contains the a organizational unit resource name.static final String
Deprecated.Tag for the "resources" node, contains the list of organizational unit resources.static final String
Deprecated.Tag for the "source" node, contains the source path of a VFS resource in the import zip (or folder).static final String
Deprecated.Tag for the "type" node, the resource type name of a VFS resource.static final String
Deprecated.Tag for the "user" node, starts the user data.static final String
Deprecated.Tag for the "usercreated" node, contains the name of the user who created the VFS resource.static final String
Deprecated.Tag for the "usergroup" node, the name of a users group.static final String
Deprecated.Tag for the "usergroups" node, starts the users group data.static final String
Deprecated.Tag for the "userinfo" node, contains the additional user info.static final String
Deprecated.Tag for the "userinfo/entry" node, contains the additional user info entry value.static final String
Deprecated.Tag for the "userlastmodified" node, contains the name of the user who last modified the VFS resource.static final String
Deprecated.Tag for the "userrole" node, contains an users role name.static final String
Deprecated.Tag for the "userroles" node, starts the users role data.static final String
Deprecated.Tag for the "users" node, starts the list of users.static final String
Deprecated.Tag for the "usersgroup" node, contains name of the users group of the project.static final String
Deprecated.Tag for the "uuidresource" node, contains a the resource UUID of a VFS resource.static final String
Deprecated.Tag for the "uuidstructure" node, only required for backward compatibility with import version 2.static final String
Deprecated.Tag for the "value" node, contains the value of a property.static final String
Deprecated.Value for the "shared" property type attribute value. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Adds an ACE from the current xml data.protected void
addAccountsGroupRules
(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for groups.protected void
addAccountsOrgunitRules
(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for organizational units.protected void
addAccountsUserRules
(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for users.void
addContentFile
(String source, String resourceId) Deprecated.Registers a file whose contents are contained in the zip file.void
addOrgUnitResource
(String resourceName) Deprecated.Adds a new resource to be associated to the current organizational unit.void
addProjectResource
(String resourceName) Deprecated.Adds a new resource to be associated to the current project.protected void
addProjectRules
(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for projects.void
Deprecated.Adds a property from the current xml data, in case the type is implicit given.void
addProperty
(String propertyType) Deprecated.Adds a property from the current xml data, in case the type is explicit given.void
Deprecated.Adds a relation to be imported from the current xml data.protected void
addResourceAceRules
(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for resource access control entries.protected void
addResourceAttributesRules
(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for resource attributes.protected void
addResourcePropertyRules
(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for resource properties.protected void
addResourceRelationRules
(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for resource relations.void
addXmlDigesterRules
(org.apache.commons.digester3.Digester digester) Deprecated.Adds the XML digester rules for a single import file.void
addXmlPreprocessingDigesterRules
(org.apache.commons.digester3.Digester digester) Deprecated.Adds the XML digester rules for pre-processing a single import file.void
Deprecated.Associates the stored resources to the created organizational units.protected boolean
checkImmutable
(String resourceName) Deprecated.Checks if the resources is in the list of immutable resources.protected String
convertDigestEncoding
(String value) Deprecated.Converts a given digest to base64 encoding.protected long
convertTimestamp
(String timestamp) Deprecated.Convert a given time stamp from a String format to a long value.protected void
Deprecated.This method goes through the manifest, records all files from the manifest for which the content also exists in the zip file, and stores their resource ids in m_contentFiles.int
Deprecated.Returns the ace Flags.int
Deprecated.Returns the ace Permissions Allowed.int
Deprecated.Returns the acePermissionsDenied.Deprecated.Returns the acePrincipalId.getCms()
Deprecated.Returns the cms object.long
Deprecated.Returns the dateCreated.long
Deprecated.Returns the dateExpired.long
Deprecated.Returns the dateLastModified.long
Deprecated.Returns the dateReleased.Deprecated.Returns the destination.int
getFlags()
Deprecated.Returns the flags.Deprecated.Returns the group Description.int
Deprecated.Returns the group Flags.Deprecated.Returns the group Name.Deprecated.Returns the group Parent.protected CmsImportHelper
Deprecated.Gets the import helper instance.Deprecated.Returns the list of properties to ignore during import.Deprecated.Returns the list of immutable resources.Deprecated.Returns the organizational unit description.int
Deprecated.Returns the organizational unit flags.Deprecated.Returns the organizational unit name.Deprecated.Returns the project Description.Deprecated.Returns the project Managers group name.Deprecated.Returns the project Name.Deprecated.Returns the project Users group name.Deprecated.Returns the propertyName.Deprecated.Returns the propertyValue.Deprecated.Returns the relationId.Deprecated.Returns the relationPath.Deprecated.Returns the relationType.Deprecated.Returns the report.Deprecated.Returns the resourceId.Deprecated.Returns the source.Deprecated.Returns the structureId.Deprecated.Returns the throwable.getType()
Deprecated.Returns the type.Deprecated.Returns the userCreated.long
Deprecated.Returns the user Date Created.Deprecated.Returns the user Email address.Deprecated.Returns the user First name.int
Deprecated.Returns the user Flags.Deprecated.Returns the userLastModified.Deprecated.Returns the user Last name.Deprecated.Returns the user Name.Deprecated.Returns the user Password.int
Deprecated.Returns the version of the import implementation.void
Deprecated.Imports an ACE from the current xml data.void
importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Deprecated.Imports the data.void
Deprecated.Import the current group from xml data.void
Deprecated.Imports the current organizational unit.void
Deprecated.Imports the current project.void
Deprecated.Imports all relations from the current xml data.void
Deprecated.Imports a resource from the current xml data.void
importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
Deprecated.Imports a new user from the current xml data.void
importUserGroup
(String groupName) Deprecated.Sets the current user as member of the given group.void
importUserInfo
(String infoName, String infoType, String infoValue) Deprecated.Creates a new additional information entry for the current user.void
importUserRole
(String roleName) Deprecated.Sets the current user as member of the given role.void
Deprecated.Increases the file counter.void
Deprecated.Increases the total number of files.boolean
matches
(CmsImportParameters parameters) Deprecated.Checks if the file given as parameter matches this import version implementation.void
Deprecated.Rewrites all parseable files, to assure link check.void
setAceFlags
(String aceFlags) Deprecated.Sets the aceFlags.void
setAcePermissionsAllowed
(String acePermissionsAllowed) Deprecated.Sets the acePermissionsAllowed.void
setAcePermissionsDenied
(String acePermissionsDenied) Deprecated.Sets the acePermissionsDenied.void
setAcePrincipalId
(String acePrincipalId) Deprecated.Sets the acePrincipalId.void
setDateCreated
(String dateCreated) Deprecated.Sets the dateCreated.void
setDateExpired
(String dateExpired) Deprecated.Sets the dateExpired.void
setDateLastModified
(String dateLastModified) Deprecated.Sets the dateLastModified.void
setDateReleased
(String dateReleased) Deprecated.Sets the dateReleased.void
setDestination
(String destination) Deprecated.Sets the destination.void
Deprecated.Sets the flags.void
setGroupDescription
(String groupDescription) Deprecated.Sets the group Description.void
setGroupFlags
(String groupFlags) Deprecated.Sets the group Flags.void
setGroupName
(String groupName) Deprecated.Sets the group Name.void
setGroupParent
(String groupParent) Deprecated.Sets the group Parent.void
Deprecated.Sets the membership information that could not been set immediately, because of import order issues.void
setOrgUnitDescription
(String orgUnitDescription) Deprecated.Sets the organizational unit description.void
setOrgUnitFlags
(String orgUnitFlags) Deprecated.Sets the organizational unit flags.void
setOrgUnitName
(String orgUnitName) Deprecated.Sets the organizational unit name.void
setProjectDescription
(String projectDescription) Deprecated.Sets the project Description.void
setProjectManagers
(String projectManagers) Deprecated.Sets the project Managers group name.void
setProjectName
(String projectName) Deprecated.Sets the project Name.void
setProjectUsers
(String projectUsers) Deprecated.Sets the project Users group name.void
setPropertyName
(String propertyName) Deprecated.Sets the propertyName.void
setPropertyValue
(String propertyValue) Deprecated.Sets the propertyValue.void
setRelationId
(String relationId) Deprecated.Sets the relationId.void
setRelationPath
(String relationPath) Deprecated.Sets the relationPath.void
setRelationType
(String relationType) Deprecated.Sets the relationType.void
setResourceId
(String resourceId) Deprecated.Sets the resourceId.void
Deprecated.Sets the source.void
setStructureId
(String structureId) Deprecated.Sets the structureId.void
setThrowable
(Throwable throwable) Deprecated.Sets the throwable.void
Deprecated.Sets the type.void
setUserCreated
(String userCreated) Deprecated.Sets the userCreated.void
setUserCreated
(CmsUUID userCreated) Deprecated.Sets the user Created.void
setUserDateCreated
(String userDateCreated) Deprecated.Sets the user Date Created.void
setUserEmail
(String userEmail) Deprecated.Sets the user email address.void
setUserFirstname
(String userFirstname) Deprecated.Sets the user First name.void
setUserFlags
(String userFlags) Deprecated.Sets the user Flags.void
setUserLastModified
(String userLastModified) Deprecated.Sets the userLastModified.void
setUserLastModified
(CmsUUID userLastModified) Deprecated.Sets the user Last Modified.void
setUserLastname
(String userLastname) Deprecated.Sets the user Last name.void
setUserName
(String userName) Deprecated.Sets the user Name.void
setUserPassword
(String userPassword) Deprecated.Sets the user Password.void
setVersion
(String version) Deprecated.Sets the export version from the manifest file.protected void
sortParseableResources
(List<CmsResource> parseables) Deprecated.Sorts the parsealble resources before we actually parse the links.
-
Field Details
-
A_NAME
Deprecated.Tag for the "userinfo / entry name" attribute, contains the additional user info entry name.- See Also:
-
A_TYPE
Deprecated.Tag for the "type" attribute, contains the property type.- See Also:
-
DTD_FILENAME
Deprecated.The name of the DTD for this import version.- See Also:
-
DTD_LOCATION
Deprecated.The location of the OpenCms configuration DTD if the default prefix is the system ID.- See Also:
-
IMPORT_VERSION7
Deprecated.The version number of this import implementation.- See Also:
-
N_ACCESSCONTROL_ALLOWEDPERMISSIONS
Deprecated.Tag for the "allowed" node, to identify allowed user permissions.- See Also:
-
N_ACCESSCONTROL_DENIEDPERMISSIONS
Deprecated.Tag for the "denied" node, to identify denied user permissions.- See Also:
-
N_ACCESSCONTROL_ENTRIES
Deprecated.Tag for the "accesscontrol" node, to identify access control entries.- See Also:
-
N_ACCESSCONTROL_ENTRY
Deprecated.Tag for the "accessentry" node, to identify a single access control entry.- See Also:
-
N_ACCESSCONTROL_PERMISSIONSET
Deprecated.Tag for the "permissionset" node, to identify a permission set.- See Also:
-
N_ACCESSCONTROL_PRINCIPAL
Deprecated.Tag for the "uuidprincipal" node, to identify a principal UUID.- See Also:
-
N_ACCOUNTS
Deprecated.Tag for the "accounts" node.- See Also:
-
N_DATECREATED
Deprecated.Tag for the "datecreated" node, contains the date created VFS file attribute.- See Also:
-
N_DATEEXPIRED
Deprecated.Tag for the "dateexpired" node, contains the expiration date VFS file attribute.- See Also:
-
N_DATELASTMODIFIED
Deprecated.Tag for the "datelastmodified" node, contains the date last modified VFS file attribute.- See Also:
-
N_DATERELEASED
Deprecated.Tag for the "datereleased" node, contains the release date VFS file attribute.- See Also:
-
N_DESCRIPTION
Deprecated.Tag for the "description" node, contains a users description test.- See Also:
-
N_DESTINATION
Deprecated.Tag for the "destination" node, contains target VFS file name.- See Also:
-
N_EMAIL
Deprecated.Tag for the "email" node, contains a users email.- See Also:
-
N_FILE
Deprecated.Tag for the "file" node, container node for all VFS resources.- See Also:
-
N_FILES
Deprecated.Tag for the "files" node, container node for all VFS resources.- See Also:
-
N_FIRSTNAME
Deprecated.Tag for the "firstname" node, contains a users first name.- See Also:
-
N_FLAGS
Deprecated.Tag for the "flags" node, contains the flags of a VFS resource.- See Also:
-
N_GROUP
Deprecated.Tag for the "group" node, contains a group name.- See Also:
-
N_GROUPS
Deprecated.Tag for the "groups" node, contains a users group data.- See Also:
-
N_ID
Deprecated.Tag for the "id" relation attribute, contains the structure id of the target resource of the relation.- See Also:
-
N_LASTNAME
Deprecated.Tag for the "lastname" node, contains a users last name.- See Also:
-
N_MANAGERSGROUP
Deprecated.Tag for the "managersgroup" node, contains name of the managers group of the project.- See Also:
-
N_NAME
Deprecated.Tag for the "name" node, contains the name of a property.- See Also:
-
N_ORGUNIT
Deprecated.Tag for the "orgunit" node, starts the organizational unit data.- See Also:
-
N_ORGUNITS
Deprecated.Tag for the "orgunits" node, starts the organizational unit data.- See Also:
-
N_PARENTGROUP
Deprecated.Tag for the "parentgroup" node, contains a groups parent group fqn.- See Also:
-
N_PASSWORD
Deprecated.Tag for the "password" node, contains a users encrypted password.- See Also:
-
N_PATH
Deprecated.Tag for the "path" relation attribute, contains the path to the target resource of the relation.- See Also:
-
N_PROJECT
Deprecated.Tag for the "project" node, starts the project data.- See Also:
-
N_PROJECTS
Deprecated.Tag for the "projects" node, starts the project data.- See Also:
-
N_PROPERTIES
Deprecated.Tag for the "properties" node, starts the list of properties of a VFS resource.- See Also:
-
N_PROPERTY
Deprecated.Tag for the "property" node, starts a property for a VFS resource.- See Also:
-
N_RELATION
Deprecated.Tag in theCmsImportExportManager.EXPORT_MANIFEST
for the "relation" node, starts a relation for a VFS resource.- See Also:
-
N_RELATIONS
Deprecated.Tag for the "relations" node, starts the list of relations of a VFS resources.- See Also:
-
N_RESOURCE
Deprecated.Tag for the "resource" node, contains the a organizational unit resource name.- See Also:
-
N_RESOURCES
Deprecated.Tag for the "resources" node, contains the list of organizational unit resources.- See Also:
-
N_SOURCE
Deprecated.Tag for the "source" node, contains the source path of a VFS resource in the import zip (or folder).- See Also:
-
N_TYPE
Deprecated.Tag for the "type" node, the resource type name of a VFS resource.- See Also:
-
N_USER
Deprecated.Tag for the "user" node, starts the user data.- See Also:
-
N_USERCREATED
Deprecated.Tag for the "usercreated" node, contains the name of the user who created the VFS resource.- See Also:
-
N_USERGROUP
Deprecated.Tag for the "usergroup" node, the name of a users group.- See Also:
-
N_USERGROUPS
Deprecated.Tag for the "usergroups" node, starts the users group data.- See Also:
-
N_USERINFO
Deprecated.Tag for the "userinfo" node, contains the additional user info.- See Also:
-
N_USERINFO_ENTRY
Deprecated.Tag for the "userinfo/entry" node, contains the additional user info entry value.- See Also:
-
N_USERLASTMODIFIED
Deprecated.Tag for the "userlastmodified" node, contains the name of the user who last modified the VFS resource.- See Also:
-
N_USERROLE
Deprecated.Tag for the "userrole" node, contains an users role name.- See Also:
-
N_USERROLES
Deprecated.Tag for the "userroles" node, starts the users role data.- See Also:
-
N_USERS
Deprecated.Tag for the "users" node, starts the list of users.- See Also:
-
N_USERSGROUP
Deprecated.Tag for the "usersgroup" node, contains name of the users group of the project.- See Also:
-
N_UUIDRESOURCE
Deprecated.Tag for the "uuidresource" node, contains a the resource UUID of a VFS resource.- See Also:
-
N_UUIDSTRUCTURE
Deprecated.Tag for the "uuidstructure" node, only required for backward compatibility with import version 2.- See Also:
-
N_VALUE
Deprecated.Tag for the "value" node, contains the value of a property.- See Also:
-
PROPERTY_ATTRIB_TYPE_SHARED
Deprecated.Value for the "shared" property type attribute value.- See Also:
-
-
Constructor Details
-
CmsImportVersion7
public CmsImportVersion7()Deprecated.Public constructor.
-
-
Method Details
-
addAccessControlEntry
Deprecated.Adds an ACE from the current xml data.- See Also:
-
addContentFile
Deprecated.Registers a file whose contents are contained in the zip file.- Parameters:
source
- the path in the zip fileresourceId
-
-
addOrgUnitResource
Deprecated.Adds a new resource to be associated to the current organizational unit.- Parameters:
resourceName
- the resource name to add
-
addProjectResource
Deprecated.Adds a new resource to be associated to the current project.- Parameters:
resourceName
- the resource name to add
-
addProperty
Deprecated.Adds a property from the current xml data, in case the type is implicit given. -
addProperty
Deprecated.Adds a property from the current xml data, in case the type is explicit given.- Parameters:
propertyType
- the type of the property to be added- See Also:
-
addRelation
Deprecated.Adds a relation to be imported from the current xml data. -
addXmlDigesterRules
Deprecated.Adds the XML digester rules for a single import file.- Parameters:
digester
- the digester to add the rules to
-
addXmlPreprocessingDigesterRules
Deprecated.Adds the XML digester rules for pre-processing a single import file.- Parameters:
digester
- the digester to add the rules to
-
associateOrgUnitResources
Deprecated.Associates the stored resources to the created organizational units.This is a global process that occurs only once at the end of the import, after all resources have been imported, to make sure that the resources of the organizational units are available.
-
getAceFlags
Deprecated.Returns the ace Flags.- Returns:
- the ace Flags
- See Also:
-
getAcePermissionsAllowed
Deprecated.Returns the ace Permissions Allowed.- Returns:
- the ace Permissions Allowed
- See Also:
-
getAcePermissionsDenied
Deprecated.Returns the acePermissionsDenied.- Returns:
- the acePermissionsDenied
- See Also:
-
getAcePrincipalId
Deprecated.Returns the acePrincipalId.- Returns:
- the acePrincipalId
- See Also:
-
getCms
Deprecated.Returns the cms object.- Returns:
- the cms object
-
getDateCreated
Deprecated.Returns the dateCreated.- Returns:
- the dateCreated
- See Also:
-
getDateExpired
Deprecated.Returns the dateExpired.- Returns:
- the dateExpired
- See Also:
-
getDateLastModified
Deprecated.Returns the dateLastModified.- Returns:
- the dateLastModified
- See Also:
-
getDateReleased
Deprecated.Returns the dateReleased.- Returns:
- the dateReleased
- See Also:
-
getDestination
Deprecated.Returns the destination.- Returns:
- the destination
- See Also:
-
getFlags
Deprecated.Returns the flags.- Returns:
- the flags
- See Also:
-
getGroupDescription
Deprecated.Returns the group Description.- Returns:
- the group Description
-
getGroupFlags
Deprecated.Returns the group Flags.- Returns:
- the group Flags
-
getGroupName
Deprecated.Returns the group Name.- Returns:
- the group Name
-
getGroupParent
Deprecated.Returns the group Parent.- Returns:
- the group Parent
-
getOrgUnitDescription
Deprecated.Returns the organizational unit description.- Returns:
- the organizational unit description
-
getOrgUnitFlags
Deprecated.Returns the organizational unit flags.- Returns:
- the organizational unit flags
-
getOrgUnitName
Deprecated.Returns the organizational unit name.- Returns:
- the organizational unit name
-
getProjectDescription
Deprecated.Returns the project Description.- Returns:
- the project Description
-
getProjectManagers
Deprecated.Returns the project Managers group name.- Returns:
- the project Managers group name
-
getProjectName
Deprecated.Returns the project Name.- Returns:
- the project Name
-
getProjectUsers
Deprecated.Returns the project Users group name.- Returns:
- the project Users group name
-
getPropertyName
Deprecated.Returns the propertyName.- Returns:
- the propertyName
- See Also:
-
getPropertyValue
Deprecated.Returns the propertyValue.- Returns:
- the propertyValue
- See Also:
-
getRelationId
Deprecated.Returns the relationId.- Returns:
- the relationId
- See Also:
-
getRelationPath
Deprecated.Returns the relationPath.- Returns:
- the relationPath
- See Also:
-
getRelationType
Deprecated.Returns the relationType.- Returns:
- the relationType
- See Also:
-
getReport
Deprecated.Returns the report.- Returns:
- the report
-
getResourceId
Deprecated.Returns the resourceId.- Returns:
- the resourceId
- See Also:
-
getSource
Deprecated.Returns the source.- Returns:
- the source
- See Also:
-
getStructureId
Deprecated.Returns the structureId.- Returns:
- the structureId
- See Also:
-
getThrowable
Deprecated.Returns the throwable.- Returns:
- the throwable
-
getType
Deprecated.Returns the type.- Returns:
- the type
- See Also:
-
getUserCreated
Deprecated.Returns the userCreated.- Returns:
- the userCreated
- See Also:
-
getUserDateCreated
Deprecated.Returns the user Date Created.- Returns:
- the user Date Created
-
getUserEmail
Deprecated.Returns the user Email address.- Returns:
- the user Email address
-
getUserFirstname
Deprecated.Returns the user First name.- Returns:
- the user First name
-
getUserFlags
Deprecated.Returns the user Flags.- Returns:
- the user Flags
-
getUserLastModified
Deprecated.Returns the userLastModified.- Returns:
- the userLastModified
- See Also:
-
getUserLastname
Deprecated.Returns the user Last name.- Returns:
- the user Last name
-
getUserName
Deprecated.Returns the user Name.- Returns:
- the user Name
-
getUserPassword
Deprecated.Returns the user Password.- Returns:
- the user Password
-
getVersion
Deprecated.Description copied from interface:I_CmsImport
Returns the version of the import implementation.- 0 indicates an export file without a version number, that is before version 4.3.23 of OpenCms
- 1 indicates an export file of OpenCms with a version before 5.0.0
- 2 indicates an export file of OpenCms with a version before 5.1.2
- 3 indicates an export file of OpenCms with a version before 5.1.6
- 4 indicates an export file of OpenCms with a version before 6.3.0
- 5 indicates an export file of OpenCms with a version before 6.5.6
- 6 indicates an export file of OpenCms with a version before 7.0.4
- 7 indicates an export file of OpenCms with a version after 7.0.3
- Specified by:
getVersion
in interfaceI_CmsImport
- Returns:
- the version of the import implementation
- See Also:
-
importAccessControlEntries
Deprecated.Imports an ACE from the current xml data.- See Also:
-
importData
Deprecated.Description copied from interface:I_CmsImport
Imports the data.- Specified by:
importData
in interfaceI_CmsImport
- Parameters:
cms
- the current users OpenCms contextreport
- a report object to output the progress information toparameters
- the parameters to use during the import- See Also:
-
importGroup
Deprecated.Import the current group from xml data. -
importOrgUnit
Deprecated.Imports the current organizational unit. -
importProject
Deprecated.Imports the current project. -
importRelations
Deprecated.Imports all relations from the current xml data.This is a global process that occurs only once at the end of the import, after all resources have been imported, to make sure that both resources of the relations are available.
-
importResource
Deprecated.Imports a resource from the current xml data. -
importResources
@Deprecated public void importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.Description copied from interface:I_CmsImport
Imports the resources.- Specified by:
importResources
in interfaceI_CmsImport
- Parameters:
cms
- the current users OpenCms contextimportPath
- the path in the OpenCms VFS to import intoreport
- a report object to output the progress information toimportResource
- the import-resource (folder) to load resources fromimportZip
- the import-resource (zip) to load resources fromdocXml
- themanifest.xml
file which contains the meta information of the imported files- See Also:
-
importUser
Deprecated.Imports a new user from the current xml data. -
importUserGroup
Deprecated.Sets the current user as member of the given group.It can happen that the organizational unit has not been imported jet, in this case, the data is kept for later.
- Parameters:
groupName
- the name of the group to set- See Also:
-
importUserInfo
Deprecated.Creates a new additional information entry for the current user.- Parameters:
infoName
- the name of the additional information entryinfoType
- the type of the additional information entryinfoValue
- the value of the additional information entry
-
importUserRole
Deprecated.Sets the current user as member of the given role.It can happen that the organizational unit has not been imported jet, in this case, the data is kept for later.
- Parameters:
roleName
- the name of the role to set- See Also:
-
increaseCounter
Deprecated.Increases the file counter. -
increaseTotalFiles
Deprecated.Increases the total number of files. -
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:
-
rewriteParseables
Deprecated.Rewrites all parseable files, to assure link check.This is a global process, that is executed only once at the end of the import to be sure that all link targets are available.
- See Also:
-
setAceFlags
Deprecated.Sets the aceFlags.- Parameters:
aceFlags
- the aceFlags to set- See Also:
-
setAcePermissionsAllowed
Deprecated.Sets the acePermissionsAllowed.- Parameters:
acePermissionsAllowed
- the acePermissionsAllowed to set- See Also:
-
setAcePermissionsDenied
Deprecated.Sets the acePermissionsDenied.- Parameters:
acePermissionsDenied
- the acePermissionsDenied to set- See Also:
-
setAcePrincipalId
Deprecated.Sets the acePrincipalId.- Parameters:
acePrincipalId
- the acePrincipalId to set- See Also:
-
setDateCreated
Deprecated.Sets the dateCreated.- Parameters:
dateCreated
- the dateCreated to set- See Also:
-
setDateExpired
Deprecated.Sets the dateExpired.- Parameters:
dateExpired
- the dateExpired to set- See Also:
-
setDateLastModified
Deprecated.Sets the dateLastModified.- Parameters:
dateLastModified
- the dateLastModified to set- See Also:
-
setDateReleased
Deprecated.Sets the dateReleased.- Parameters:
dateReleased
- the dateReleased to set- See Also:
-
setDestination
Deprecated.Sets the destination.- Parameters:
destination
- the destination to set- See Also:
-
setFlags
Deprecated.Sets the flags.- Parameters:
flags
- the flags to set- See Also:
-
setGroupDescription
Deprecated.Sets the group Description.- Parameters:
groupDescription
- the description to set
-
setGroupFlags
Deprecated.Sets the group Flags.- Parameters:
groupFlags
- the flags to set
-
setGroupName
Deprecated.Sets the group Name.- Parameters:
groupName
- the name to set
-
setGroupParent
Deprecated.Sets the group Parent.- Parameters:
groupParent
- the group Parent to set
-
setMembership
Deprecated.Sets the membership information that could not been set immediately, because of import order issues. -
setOrgUnitDescription
Deprecated.Sets the organizational unit description.- Parameters:
orgUnitDescription
- the description to set
-
setOrgUnitFlags
Deprecated.Sets the organizational unit flags.- Parameters:
orgUnitFlags
- the flags to set
-
setOrgUnitName
Deprecated.Sets the organizational unit name.- Parameters:
orgUnitName
- the name to set
-
setProjectDescription
Deprecated.Sets the project Description.- Parameters:
projectDescription
- the description to set
-
setProjectManagers
Deprecated.Sets the project Managers group name.- Parameters:
projectManagers
- the managers group to set
-
setProjectName
Deprecated.Sets the project Name.- Parameters:
projectName
- the name to set
-
setProjectUsers
Deprecated.Sets the project Users group name.- Parameters:
projectUsers
- the Users group to set
-
setPropertyName
Deprecated.Sets the propertyName.- Parameters:
propertyName
- the propertyName to set- See Also:
-
setPropertyValue
Deprecated.Sets the propertyValue.- Parameters:
propertyValue
- the propertyValue to set- See Also:
-
setRelationId
Deprecated.Sets the relationId.- Parameters:
relationId
- the relationId to set- See Also:
-
setRelationPath
Deprecated.Sets the relationPath.- Parameters:
relationPath
- the relationPath to set- See Also:
-
setRelationType
Deprecated.Sets the relationType.- Parameters:
relationType
- the relationType to set- See Also:
-
setResourceId
Deprecated.Sets the resourceId.- Parameters:
resourceId
- the resourceId to set- See Also:
-
setSource
Deprecated.Sets the source.- Parameters:
source
- the source to set- See Also:
-
setStructureId
Deprecated.Sets the structureId.- Parameters:
structureId
- the structureId to set- See Also:
-
setThrowable
Deprecated.Sets the throwable.- Parameters:
throwable
- the throwable to set
-
setType
Deprecated.Sets the type.- Parameters:
typeName
- the type to set- See Also:
-
setUserCreated
Deprecated.Sets the user Created.- Parameters:
userCreated
- the user Created to set
-
setUserCreated
Deprecated.Sets the userCreated.- Parameters:
userCreated
- the userCreated to set- See Also:
-
setUserDateCreated
Deprecated.Sets the user Date Created.- Parameters:
userDateCreated
- the date to set
-
setUserEmail
Deprecated.Sets the user email address.- Parameters:
userEmail
- the email address to set
-
setUserFirstname
Deprecated.Sets the user First name.- Parameters:
userFirstname
- the first name to set
-
setUserFlags
Deprecated.Sets the user Flags.- Parameters:
userFlags
- the flags to set
-
setUserLastModified
Deprecated.Sets the user Last Modified.- Parameters:
userLastModified
- the user Last Modified to set
-
setUserLastModified
Deprecated.Sets the userLastModified.- Parameters:
userLastModified
- the userLastModified to set- See Also:
-
setUserLastname
Deprecated.Sets the user Last name.- Parameters:
userLastname
- the last name to set
-
setUserName
Deprecated.Sets the user Name.- Parameters:
userName
- the name to set
-
setUserPassword
Deprecated.Sets the user Password.- Parameters:
userPassword
- the password to set
-
setVersion
Deprecated.Sets the export version from the manifest file.- Parameters:
version
- the export version to set
-
addAccountsGroupRules
Deprecated.Adds the XML digester rules for groups.- Parameters:
digester
- the digester to add the rules toxpath
- the base xpath for the rules
-
addAccountsOrgunitRules
protected void addAccountsOrgunitRules(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for organizational units.- Parameters:
digester
- the digester to add the rules toxpath
- the base xpath for the rules
-
addAccountsUserRules
Deprecated.Adds the XML digester rules for users.- Parameters:
digester
- the digester to add the rules toxpath
- the base xpath for the rules
-
addProjectRules
Deprecated.Adds the XML digester rules for projects.- Parameters:
digester
- the digester to add the rules toxpath
- the base xpath for the rules
-
addResourceAceRules
Deprecated.Adds the XML digester rules for resource access control entries.- Parameters:
digester
- the digester to add the rules toxpath
- the base xpath for the rules
-
addResourceAttributesRules
protected void addResourceAttributesRules(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for resource attributes.- Parameters:
digester
- the digester to add the rules toxpath
- the base xpath for the rules
-
addResourcePropertyRules
protected void addResourcePropertyRules(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for resource properties.- Parameters:
digester
- the digester to add the rules toxpath
- the base xpath for the rules
-
addResourceRelationRules
protected void addResourceRelationRules(org.apache.commons.digester3.Digester digester, String xpath) Deprecated.Adds the XML digester rules for resource relations.- Parameters:
digester
- the digester to add the rules toxpath
- the base xpath for the rules
-
checkImmutable
Deprecated.Checks if the resources is in the list of immutable resources.- Parameters:
resourceName
- the name of the resource- Returns:
true
orfalse
-
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
-
convertTimestamp
Deprecated.Convert a given time stamp from a String format to a long value.The time stamp is either the string representation of a long value (old export format) or a user-readable string format.
- Parameters:
timestamp
- time stamp to convert- Returns:
- long value of the time stamp
-
findContentFiles
Deprecated.This method goes through the manifest, records all files from the manifest for which the content also exists in the zip file, and stores their resource ids in m_contentFiles. -
getHelper
Deprecated.Gets the import helper instance.- Returns:
- the import helper
-
getIgnoredProperties
Deprecated.Returns the list of properties to ignore during import.- Returns:
- the list of properties to ignore during import
-
getImmutableResources
Deprecated.Returns the list of immutable resources.- Returns:
- the list of immutable resources
-
sortParseableResources
Deprecated.Sorts the parsealble resources before we actually parse the links.This is needed because we may, for example, have resources A and B such that A has a link to B, and B requires the relation corresponding to that link to be present for some functionality (e.g. the page_title macro in gallery name mappings), so we need to parse the links for A first to create the relation before B is processed.
-
importData(CmsObject, I_CmsReport, CmsImportParameters)
instead