public class CmsImportResourceDataReader extends CmsImportVersion10
CmsImportVersion10.RelationDataA_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_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 and Description |
|---|
CmsImportResourceDataReader(CmsModuleImportData moduleData)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
importAccessControlEntries()
Imports an ACE from the current xml data.
|
void |
importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters parameters)
Imports the data.
|
void |
importRelations()
Imports all relations from the current xml data.
|
void |
importResource()
Imports a resource from the current xml data.
|
void |
rewriteParseables()
Rewrites all parseable files, to assure link check.
|
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, 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, sortParseableResourcespublic CmsImportResourceDataReader(CmsModuleImportData moduleData)
moduleData - the module data object to be filledpublic void importAccessControlEntries()
CmsImportVersion10importAccessControlEntries in class CmsImportVersion10CmsImportVersion10.importAccessControlEntries()public void importData(CmsObject cms, I_CmsReport report, CmsImportParameters parameters)
I_CmsImportimportData in interface I_CmsImportimportData in class CmsImportVersion10cms - the current users OpenCms contextreport - a report object to output the progress information toparameters - the parameters to use during the importCmsImportVersion10.importData(org.opencms.file.CmsObject, org.opencms.report.I_CmsReport, org.opencms.importexport.CmsImportParameters)public void importRelations()
CmsImportVersion10This 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.
importRelations in class CmsImportVersion10CmsImportVersion10.importRelations()public void importResource()
CmsImportVersion10importResource in class CmsImportVersion10CmsImportVersion10.importResource()public void rewriteParseables()
CmsImportVersion10This is a global process, that is executed only once at the end of the import to be sure that all link targets are available.
rewriteParseables in class CmsImportVersion10CmsImportVersion10.rewriteParseables()