Package org.opencms.importexport
Class CmsImportResourceDataReader
java.lang.Object
org.opencms.importexport.CmsImportVersion10
org.opencms.importexport.CmsImportResourceDataReader
- All Implemented Interfaces:
I_CmsImport
Subclass which doesn't actually import anything, but just reads the module data into a
data structure which can then be used by the module updater.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencms.importexport.CmsImportVersion10
CmsImportVersion10.LinkParsableCategory, CmsImportVersion10.RelationData
-
Field Summary
Fields inherited from class org.opencms.importexport.CmsImportVersion10
A_NAME, A_TYPE, DATE_CREATED_UNSPECIFIED, DATE_LAST_MODIFICATION_FILETIME, DATE_LAST_MODIFICATION_UNSPECIFIED, DTD_FILENAME, DTD_LOCATION, IMPORT_VERSION10, m_aceFlags, m_acePermissionsAllowed, m_acePermissionsDenied, m_acePrincipalId, m_aces, m_cms, m_contentFiles, m_destination, m_fileCounter, m_groupDescription, m_groupFlags, m_groupName, m_groupParent, m_groupParents, m_hasDateLastModified, m_hasStructureId, m_helper, m_ignoredProperties, m_immutables, m_importACEs, m_membership, m_orgUnit, m_orgUnitDescription, m_orgUnitFlags, m_orgUnitName, m_orgUnitResources, m_parameters, m_parseables, m_projectDescription, m_projectManagers, m_projectName, m_projectResources, m_projectUsers, m_properties, m_propertyName, m_propertyValue, m_relationId, m_relationPath, m_relationsForResource, m_relationType, m_report, m_resource, m_resourceBuilder, m_source, m_throwable, m_totalFiles, m_typeName, m_user, m_userDateCreated, m_userEmail, m_userFirstname, m_userFlags, m_userInfos, m_userLastname, m_userName, m_userPassword, m_version, N_ACCESSCONTROL_ALLOWEDPERMISSIONS, N_ACCESSCONTROL_DENIEDPERMISSIONS, N_ACCESSCONTROL_ENTRIES, N_ACCESSCONTROL_ENTRY, N_ACCESSCONTROL_PERMISSIONSET, N_ACCESSCONTROL_PRINCIPAL, N_ACCOUNTS, N_DATECREATED, N_DATEEXPIRED, N_DATELASTMODIFIED, N_DATERELEASED, N_DESCRIPTION, N_DESTINATION, N_EMAIL, N_FILE, N_FILES, N_FIRSTNAME, N_FLAGS, N_GROUP, N_GROUPS, N_ID, N_LASTNAME, N_MANAGERSGROUP, N_NAME, N_ORGUNIT, N_ORGUNITS, N_PARENTGROUP, N_PASSWORD, N_PATH, N_PROJECT, N_PROJECTS, N_PROPERTIES, N_PROPERTY, N_RELATION, N_RELATIONS, N_RESOURCE, N_RESOURCES, N_SOURCE, N_TYPE, N_USER, N_USERCREATED, N_USERGROUP, N_USERGROUPS, N_USERINFO, N_USERINFO_ENTRY, N_USERLASTMODIFIED, N_USERROLE, N_USERROLES, N_USERS, N_USERSGROUP, N_UUIDRESOURCE, N_UUIDSTRUCTURE, N_VALUE, PROPERTY_ATTRIB_TYPE_SHARED
-
Constructor Summary
ConstructorDescriptionCmsImportResourceDataReader
(CmsModuleImportData moduleData) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Imports an ACE from the current xml data.void
importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Imports the data.void
Imports all relations from the current xml data.void
Imports a resource from the current xml data.void
Rewrites all parseable files, to assure link check.Methods inherited from class org.opencms.importexport.CmsImportVersion10
addAccessControlEntry, addAccountsGroupRules, addAccountsOrgunitRules, addAccountsUserRules, addContentFile, addOrgUnitResource, addProjectResource, addProjectRules, addProperty, addProperty, addRelation, addResourceAceRules, addResourceAttributesRules, addResourcePropertyRules, addResourceRelationRules, addXmlDigesterRules, addXmlPreprocessingDigesterRules, associateOrgUnitResources, checkImmutable, convertDigestEncoding, convertTimestamp, createResourceObjectFromFields, findContentFiles, getAceFlags, getAcePermissionsAllowed, getAcePermissionsDenied, getAcePrincipalId, getCms, getDateCreated, getDateExpired, getDateLastModified, getDateReleased, getDestination, getFlags, getGroupDescription, getGroupFlags, getGroupName, getGroupParent, getHelper, getIgnoredProperties, getImmutableResources, getOrgUnitDescription, getOrgUnitFlags, getOrgUnitName, getProjectDescription, getProjectManagers, getProjectName, getProjectUsers, getPropertyName, getPropertyValue, getRelationId, getRelationPath, getRelationType, getReport, getRequestContext, getResourceId, getSource, getStructureId, getThrowable, getType, getUserCreated, getUserDateCreated, getUserEmail, getUserFirstname, getUserFlags, getUserLastModified, getUserLastname, getUserName, getUserPassword, getVersion, importGroup, importOrgUnit, importProject, importResourceAll, importResources, importUser, importUserGroup, importUserInfo, importUserRole, increaseCounter, increaseTotalFiles, isFolderType, matches, parseLinks, setAceFlags, setAcePermissionsAllowed, setAcePermissionsDenied, setAcePrincipalId, setDateCreated, setDateExpired, setDateLastModified, setDateReleased, setDefaultsForEmptyResourceFields, setDestination, setFlags, setGroupDescription, setGroupFlags, setGroupName, setGroupParent, setMembership, setOrgUnitDescription, setOrgUnitFlags, setOrgUnitName, setProjectDescription, setProjectManagers, setProjectName, setProjectUsers, setPropertyName, setPropertyValue, setRelationId, setRelationPath, setRelationType, setResourceId, setSource, setStructureId, setThrowable, setType, setUserCreated, setUserCreated, setUserDateCreated, setUserEmail, setUserFirstname, setUserFlags, setUserLastModified, setUserLastModified, setUserLastname, setUserName, setUserPassword, setVersion
-
Constructor Details
-
CmsImportResourceDataReader
Creates a new instance.- Parameters:
moduleData
- the module data object to be filled
-
-
Method Details
-
importAccessControlEntries
Description copied from class:CmsImportVersion10
Imports an ACE from the current xml data.- Overrides:
importAccessControlEntries
in classCmsImportVersion10
- See Also:
-
importData
Description copied from interface:I_CmsImport
Imports the data.- Specified by:
importData
in interfaceI_CmsImport
- Overrides:
importData
in classCmsImportVersion10
- 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:
-
importRelations
Description copied from class:CmsImportVersion10
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.
- Overrides:
importRelations
in classCmsImportVersion10
- See Also:
-
importResource
Description copied from class:CmsImportVersion10
Imports a resource from the current xml data.- Overrides:
importResource
in classCmsImportVersion10
- See Also:
-
rewriteParseables
Description copied from class:CmsImportVersion10
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.
- Overrides:
rewriteParseables
in classCmsImportVersion10
- See Also:
-