Deprecated API

Deprecated Classes
org.opencms.importexport.A_CmsImport
          the import is done starting with CmsImportVersion7 with the digester 
org.opencms.db.generic.CmsBackupDriver
          use CmsHistoryDriver instead 
org.opencms.db.mssql.CmsBackupDriver
          use CmsHistoryDriver 
org.opencms.db.mysql.CmsBackupDriver
          use CmsHistoryDriver instead 
org.opencms.db.oracle8.CmsBackupDriver
          use CmsHistoryDriver instead 
org.opencms.db.oracle.CmsBackupDriver
          use CmsHistoryDriver instead 
org.opencms.db.postgresql.CmsBackupDriver
          use CmsHistoryDriver instead 
org.opencms.file.CmsBackupProject
          use CmsHistoryProject 
org.opencms.file.CmsBackupResource
          use CmsHistoryFile instead 
org.opencms.file.CmsBackupResourceHandler
          use CmsHistoryResourceHandler instead 
org.opencms.importexport.CmsImportVersion2
          this import class is no longer in use and should only be used to import old export files 
org.opencms.importexport.CmsImportVersion3
          this import class is no longer in use and should only be used to import old export files 
org.opencms.importexport.CmsImportVersion4
          this import class is no longer in use and should only be used to import old export files 
org.opencms.importexport.CmsImportVersion5
          this import class is no longer in use and should only be used to import old export files 
org.opencms.importexport.CmsImportVersion6
          this import class is no longer in use and should only be used to import old export files 
org.opencms.site.CmsSiteManager
          Use OpenCms.getSiteManager() to obtain the configured site manager instance instead of the direct static access methods of this class. 
org.opencms.importexport.CmsXmlPageConverter
          no longer in use 
 

Deprecated Interfaces
org.opencms.db.I_CmsBackupDriver
          use I_CmsHistoryDriver instead 
org.opencms.jsp.I_CmsJspTagContentContainer
          this interface has been renamed to I_CmsXmlContentContainer 
 

Deprecated Fields
org.opencms.importexport.CmsImportExportManager.A_NAME
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.A_TYPE
          Use the appropriate tag from latest import class instead 
org.opencms.db.CmsUserSettings.ADDITIONAL_INFO_TOWN
          use CmsUserSettings.ADDITIONAL_INFO_CITY instead 
org.opencms.file.CmsBackupResourceHandler.BACKUP_HANDLER
          Use CmsHistoryResourceHandler.HISTORY_HANDLER instead 
org.opencms.db.CmsDriverManager.CONFIGURATION_BACKUP
          use CmsDriverManager.CONFIGURATION_HISTORY instead 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_AREA_END
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_AREA_END 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_AREA_START
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_AREA_END 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_INCLUDE_FILE_URI
          not longer used (the file URI is not longer stored in the page context) 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_INCLUDE_FILE_URI_DEFAULT
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_INCLUDE_FILE_URI_DEFAULT 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_INCLUDES
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_INCLUDES 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_MODE_DISABLED
          use CmsDirectEditPermissions.VALUE_DISABLED or better CmsDirectEditPermissions.DISABLED 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_MODE_ENABLED
          use CmsDirectEditPermissions.VALUE_ENABLED or better CmsDirectEditPermissions.ENABLED 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_MODE_INACTIVE
          use CmsDirectEditPermissions.VALUE_INACTIVE or better CmsDirectEditPermissions.INACTIVE 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_OPTION_DELETE
          use CmsDirectEditButtonSelection.VALUE_DELETE 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_OPTION_EDIT
          use CmsDirectEditButtonSelection.VALUE_EDIT or better CmsDirectEditButtonSelection.EDIT 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_OPTION_NEW
          use CmsDirectEditButtonSelection.VALUE_NEW 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_PARAM_BUTTONSTYLE
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_PARAM_BUTTONSTYLE 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_PARAM_ELEMENT
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_PARAM_ELEMENT 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_PARAM_LOCALE
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_PARAM_LOCALE 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_PARAM_NEWLINK
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_PARAM_NEWLINK 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_PARAM_OPTIONS
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_PARAM_OPTIONS 
org.opencms.workplace.editors.I_CmsEditorActionHandler.DIRECT_EDIT_PARAM_TARGET
          use CmsDirectEditJspIncludeProvider.DIRECT_EDIT_PARAM_TARGET 
org.opencms.importexport.CmsImportExportManager.EXPORT_XMLFILENAME
          use CmsImportExportManager.EXPORT_MANIFEST instead 
org.opencms.importexport.CmsImportExportManager.N_ACCESS
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_ACCESSCONTROL_ALLOWEDPERMISSIONS
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_ACCESSCONTROL_DENIEDPERMISSIONS
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_ACCESSCONTROL_ENTRIES
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_ACCESSCONTROL_ENTRY
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_ACCESSCONTROL_PERMISSIONSET
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_ACCESSCONTROL_PRINCIPAL
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_DATECREATED
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_DATEEXPIRED
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_DATELASTMODIFIED
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_DATERELEASED
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_DEFAULTGROUP
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_DESCRIPTION
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_DESTINATION
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_EMAIL
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_FILE
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_FIRSTNAME
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_FLAGS
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_GROUPDATA
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_GROUPNAME
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_ID
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_LASTMODIFIED
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_LASTNAME
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_NAME
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_ORGUNITDATA
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_PARENTGROUP
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_PASSWORD
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_PROPERTIES
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_PROPERTY
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_PROPERTY_ATTRIB_TYPE
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_PROPERTY_ATTRIB_TYPE_SHARED
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_RELATION
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_RELATION_ATTRIBUTE_ID
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_RELATION_ATTRIBUTE_PATH
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_RELATION_ATTRIBUTE_TYPE
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_RELATIONS
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_SOURCE
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_TAG_ADDRESS
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_TYPE
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_USER
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_USERCREATED
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_USERDATA
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_USERGROUPDATA
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_USERGROUPS
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_USERINFO
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_USERINFO_ENTRY
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_USERLASTMODIFIED
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_UUIDRESOURCE
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_UUIDSTRUCTURE
          Use the appropriate tag from latest import class instead 
org.opencms.importexport.CmsImportExportManager.N_VALUE
          Use the appropriate tag from latest import class instead 
org.opencms.search.CmsSearchIndex.ROOT_PATH_SUFFIX
          This is not longer requires since OpenCms version 7.0.2, since the implementation of CmsSearchManager.getAnalyzer(Locale) was modified to use always use for the CmsSearchField.FIELD_ROOT filed. 
 

Deprecated Methods
org.opencms.file.CmsObject.addWebUser(String, String, String, String, Map)
          there are no more web users, use a user without any role! 
org.opencms.file.CmsObject.backupProject(int, long)
          Use CmsObject.writeHistoryProject(int,long) instead 
org.opencms.workplace.commons.CmsPreferences.calendarIncludes()
          use CmsCalendarWidget.calendarIncludes(java.util.Locale), this is just here so that old JSP still work 
org.opencms.workplace.commons.CmsTouch.calendarIncludes()
          use CmsCalendarWidget.calendarIncludes(java.util.Locale), this is just here so that old JSP still work 
org.opencms.workplace.commons.CmsPreferences.calendarInit(String, String, String, boolean, boolean, boolean, String, boolean)
          use CmsCalendarWidget.calendarInit(org.opencms.i18n.CmsMessages, String, String, String, boolean, boolean, boolean, String, boolean), this is just here so that old JSP still work 
org.opencms.workplace.commons.CmsTouch.calendarInit(String, String, String, boolean, boolean, boolean, String, boolean)
          use CmsCalendarWidget.calendarInit(org.opencms.i18n.CmsMessages, String, String, String, boolean, boolean, boolean, String, boolean), this is just here so that old JSP still work 
org.opencms.file.CmsObject.checkPublishPermissions(CmsPublishList)
          notice that checking is no longer possible from the CmsObject 
org.opencms.db.CmsSecurityManager.checkPublishPermissions(CmsRequestContext, CmsPublishList)
          notice that checking is no longer possible at this way 
org.opencms.file.CmsObject.checkRole(CmsRole)
          use OpenCms.getRoleManager() methods instead 
org.opencms.file.CmsObject.copyResource(String, String, int)
          use CmsObject.copyResource(String, String, CmsResource.CmsResourceCopyMode) method instead 
org.opencms.file.CmsObject.countLockedResources(int)
          use CmsObject.countLockedResources(CmsUUID) instead 
org.opencms.file.CmsObject.createProject(String, String, String, String, int)
          use CmsObject.createProject(String,String,String,String,CmsProject.CmsProjectType) method instead 
org.opencms.db.I_CmsUserDriver.deleteAccessControlEntries(CmsDbContext, CmsProject, CmsUUID)
          use I_CmsUserDriver.removeAccessControlEntries(CmsDbContext, CmsProject, CmsUUID) instead 
org.opencms.db.generic.CmsUserDriver.deleteAccessControlEntries(CmsDbContext, CmsProject, CmsUUID)
          use CmsUserDriver.removeAccessControlEntries(CmsDbContext, CmsProject, CmsUUID) instead 
org.opencms.file.CmsObject.deleteBackups(long, int, I_CmsReport)
          use CmsObject.deleteHistoricalVersions(String, int, int, long, I_CmsReport) instead, notice that there is no longer possible to delete historical versions by date 
org.opencms.file.CmsObject.deleteProject(int)
          use CmsObject.deleteProject(CmsUUID) instead 
org.opencms.file.CmsObject.deleteProperty(String, String)
          use CmsObject.writePropertyObject(String, CmsProperty) instead. 
org.opencms.file.CmsObject.deleteResource(String, int)
          use CmsObject.deleteResource(String, CmsResource.CmsResourceDeleteMode) method instead 
org.opencms.file.CmsProperty.deleteResourceValue()
          use CmsProperty.isDeleteResourceValue() instead 
org.opencms.file.CmsProperty.deleteStructureValue()
          use CmsProperty.isDeleteStructureValue() instead 
org.opencms.file.CmsObject.deleteWebUser(CmsUUID)
          there are no more web users, use a user without any role! 
org.opencms.file.CmsObject.getAllAccessibleProjects()
          use OpenCms.getOrgUnitManager().getAllAccessibleProjects(CmsObject, String, boolean) instead 
org.opencms.file.CmsObject.getAllBackupProjects()
          Use CmsObject.getAllHistoricalProjects() instead 
org.opencms.file.CmsObject.getAllManageableProjects()
          use OpenCms.getOrgUnitManager().getAllManageableProjects(CmsObject, String, boolean) instead 
org.opencms.site.CmsSiteManager.getAvailableSites(CmsObject, boolean)
          Use OpenCms.getSiteManager() to obtain the configured site manager instance, then use the method with the same name and signature. 
org.opencms.site.CmsSiteManager.getAvailableSites(CmsObject, boolean, String)
          Use OpenCms.getSiteManager() to obtain the configured site manager instance, then use the method with the same name and signature. 
org.opencms.file.history.CmsHistoryFile.getBackupId()
          this field has been removed 
org.opencms.file.history.CmsHistoryFolder.getBackupId()
          this field has been removed 
org.opencms.file.history.I_CmsHistoryResource.getBackupId()
          this field has been removed 
org.opencms.file.CmsBackupResourceHandler.getBackupResouce(ServletRequest)
          use CmsHistoryResourceHandler.getHistoryResource(ServletRequest) instead 
org.opencms.db.CmsPublishedResource.getBackupTagId()
          Use CmsPublishedResource.getPublishTag() instead 
org.opencms.file.CmsObject.getBackupTagId()
          this concept has been abandoned for OpenCms version 7 
org.opencms.file.CmsObject.getChild(String)
          use CmsObject.getChildren(String, boolean) with false instead. 
org.opencms.file.CmsObject.getChilds(String)
          use CmsObject.getChildren(String, boolean) with true instead. 
org.opencms.importexport.CmsVfsImportExportHandler.getContentAge()
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.file.history.CmsHistoryFile.getCreatedByName()
          use CmsHistoryFile.getUserCreatedName(CmsObject) instead 
org.opencms.file.history.CmsHistoryFolder.getCreatedByName()
          use CmsHistoryFolder.getUserCreatedName(CmsObject) instead 
org.opencms.file.history.I_CmsHistoryResource.getCreatedByName()
          use {#getUserCreated()} instead now the CmsObject.readUser(CmsUUID) also returns historical users 
org.opencms.site.CmsSiteManager.getCurrentSite(CmsObject)
          Use OpenCms.getSiteManager() to obtain the configured site manager instance, then use the method with the same name and signature. 
org.opencms.search.CmsSearchResult.getDescription()
          use CmsSearchResult.getField(String) instead with the name of the field, for example use CmsSearchField.FIELD_DESCRIPTION to get the description (if available) 
org.opencms.file.CmsObject.getDirectGroupsOfUser(String)
          use CmsObject.getGroupsOfUser(String, boolean) instead 
org.opencms.file.CmsGroup.getDisabled()
          use CmsPrincipal.isEnabled() instead 
org.opencms.file.CmsUser.getDisabled()
          use CmsPrincipal.isEnabled() instead 
org.opencms.search.CmsSearchIndex.getDocumenttypes(String)
          use CmsSearchIndex.getDocumentFactory(CmsResource) instead to find out if this index is 'interested' in a resource 
org.opencms.importexport.CmsVfsImportExportHandler.getExportPaths()
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.util.CmsFileUtil.getFileExtension(String)
          use CmsFileUtil.getExtension(String) instead, it is better implemented 
org.opencms.importexport.CmsVfsImportExportHandler.getFileName()
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.file.history.CmsHistoryProject.getGroupName()
          use CmsHistoryProject.getGroupUsersName(CmsObject) instead 
org.opencms.file.CmsObject.getGroups()
          use OpenCms.getOrgUnitManager().getGroups(CmsObject, String, boolean) instead 
org.opencms.file.CmsObject.getGroupsOfUser(String)
          use CmsObject.getGroupsOfUser(String, boolean) instead 
org.opencms.file.CmsObject.getGroupsOfUser(String, String)
          use CmsObject.getGroupsOfUser(String, boolean, boolean, String) instead 
org.opencms.file.CmsProject.getId()
          Use CmsProject.getUuid() instead 
org.opencms.file.CmsProperty.getKey()
          use CmsProperty.getName() instead 
org.opencms.search.CmsSearchResult.getKeywords()
          use CmsSearchResult.getField(String) instead with the name of the field, for example use CmsSearchField.FIELD_KEYWORDS to get the keywords (if available) 
org.opencms.file.history.CmsHistoryFile.getLastModifiedByName()
          use CmsHistoryFile.getUserLastModifiedName(CmsObject) instead 
org.opencms.file.history.CmsHistoryFolder.getLastModifiedByName()
          use CmsHistoryFolder.getUserLastModifiedName(CmsObject) instead 
org.opencms.file.history.I_CmsHistoryResource.getLastModifiedByName()
          use {#getUserLastModified()} instead with CmsPrincipal.readPrincipalIncludingHistory(org.opencms.file.CmsObject, CmsUUID) 
org.opencms.relations.CmsLink.getLink(CmsObject, boolean)
          use CmsLink.getLink(CmsObject) instead, the process editor option is set using the OpenCms request context attributes 
org.opencms.file.history.CmsHistoryProject.getManagerGroupName()
          use CmsHistoryProject.getGroupManagersName(CmsObject) instead 
org.opencms.xml.content.CmsDefaultXmlContentHandler.getMapping(String)
          use CmsDefaultXmlContentHandler.getMappings(String) instead to recieve all mappings 
org.opencms.file.history.CmsHistoryProject.getOwnerName()
          use CmsHistoryProject.getOwnerName(CmsObject) instead 
org.opencms.file.history.CmsHistoryProject.getPublishedByName()
          use CmsHistoryProject.getPublishedByName(CmsObject) instead 
org.opencms.file.CmsObject.getPublishList()
          use OpenCms.getPublishManager().getPublishList(CmsObject) instead 
org.opencms.file.CmsObject.getPublishList(CmsResource, boolean)
          use OpenCms.getPublishManager().getPublishList(CmsObject, CmsResource, boolean) instead 
org.opencms.file.CmsObject.getPublishList(List, boolean)
          use OpenCms.getPublishManager().getPublishList(CmsObject, List, boolean) instead 
org.opencms.file.CmsObject.getPublishList(List, boolean, boolean)
          use OpenCms.getPublishManager().getPublishList(CmsObject, List, boolean) instead 
org.opencms.file.history.CmsHistoryFile.getPublishTagId()
          use CmsHistoryFile.getPublishTag() instead 
org.opencms.file.history.CmsHistoryFolder.getPublishTagId()
          use CmsHistoryFolder.getPublishTag() instead 
org.opencms.file.history.I_CmsHistoryResource.getPublishTagId()
          use I_CmsHistoryResource.getPublishTag() instead 
org.opencms.file.CmsObject.getResourcesInTimeRange(String, long, long)
          use CmsObject.readResources(String, CmsResourceFilter) and create a filter based on CmsResourceFilter.IGNORE_EXPIRATION using CmsResourceFilter.addRequireLastModifiedAfter(long) and CmsResourceFilter.addRequireLastModifiedBefore(long) instead 
org.opencms.search.CmsSearch.getSearchParameters()
          use CmsSearchParameters.toQueryString() instead 
org.opencms.site.CmsSiteManager.getSite(String)
          Use OpenCms.getSiteManager() to obtain the configured site manager instance, then use the method with the same name and signature. 
org.opencms.site.CmsSiteManagerImpl.getSite(String)
          use CmsSiteManagerImpl.getSiteForSiteRoot(String) instead 
org.opencms.staticexport.CmsLinkManager.getSitePath(CmsObject, String, String)
          use CmsLinkManager.getRootPath(CmsObject, String, String) instead, obtain the link manager with OpenCms.getLinkManager() 
org.opencms.site.CmsSiteManager.getSiteRoot(String)
          Use OpenCms.getSiteManager() to obtain the configured site manager instance, then use the method with the same name and signature. 
org.opencms.search.CmsSearchResult.getTitle()
          use CmsSearchResult.getField(String) instead with the name of the field, for example use CmsSearchField.FIELD_TITLE to get the title (if available) 
org.opencms.file.CmsObject.getUsers()
          use OpenCms.getOrgUnitManager().getUsersForOrganizationalUnit(CmsObject, String, boolean) instead 
org.opencms.file.history.CmsHistoryProject.getVersionId()
          Use CmsHistoryProject.getPublishTag() instead 
org.opencms.main.CmsSystemInfo.getVersionName()
          use CmsSystemInfo.getVersionNumber() instead 
org.opencms.file.CmsObject.hasPublishPermissions(String)
          notice that checking is no longer possible from the CmsObject 
org.opencms.file.CmsObject.hasRole(CmsRole)
          use OpenCms.getRoleManager() methods instead 
org.opencms.importexport.CmsImportExportManager.importData(CmsObject, String, String, I_CmsReport)
          use CmsImportExportManager.importData(CmsObject, I_CmsReport, CmsImportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsObject, String, String, I_CmsReport)
          use CmsVfsImportExportHandler.importData(CmsObject, I_CmsReport) instead 
org.opencms.importexport.I_CmsImportExportHandler.importData(CmsObject, String, String, I_CmsReport)
          use I_CmsImportExportHandler.importData(CmsObject, I_CmsReport) instead 
org.opencms.module.CmsModuleImportExportHandler.importData(CmsObject, String, String, I_CmsReport)
          use CmsModuleImportExportHandler.importData(CmsObject, I_CmsReport) instead 
org.opencms.importexport.CmsImportVersion2.importResources(CmsObject, String, I_CmsReport, File, ZipFile, Document)
          use CmsImportVersion2.importData(CmsObject, I_CmsReport, CmsImportParameters) instead 
org.opencms.importexport.CmsImportVersion3.importResources(CmsObject, String, I_CmsReport, File, ZipFile, Document)
          use CmsImportVersion3.importData(CmsObject, I_CmsReport, CmsImportParameters) instead 
org.opencms.importexport.CmsImportVersion4.importResources(CmsObject, String, I_CmsReport, File, ZipFile, Document)
          use CmsImportVersion4.importData(CmsObject, I_CmsReport, CmsImportParameters) instead 
org.opencms.importexport.CmsImportVersion5.importResources(CmsObject, String, I_CmsReport, File, ZipFile, Document)
          use CmsImportVersion5.importData(CmsObject, I_CmsReport, CmsImportParameters) instead 
org.opencms.importexport.CmsImportVersion7.importResources(CmsObject, String, I_CmsReport, File, ZipFile, Document)
          use CmsImportVersion7.importData(CmsObject, I_CmsReport, CmsImportParameters) instead 
org.opencms.importexport.I_CmsImport.importResources(CmsObject, String, I_CmsReport, File, ZipFile, Document)
          use I_CmsImport.importData(CmsObject, I_CmsReport, CmsImportParameters) instead 
org.opencms.file.CmsObject.importUser(String, String, String, String, String, String, String, String, int, Map)
          use CmsObject.importUser(String, String, String, String, String, String, int, long, Map) instead 
org.opencms.file.types.A_CmsResourceType.initConfiguration(String, String)
          use A_CmsResourceType.initConfiguration(String, String, String) instead 
org.opencms.file.CmsObject.isAdmin()
          use CmsObject.hasRole(CmsRole) or CmsObject.checkRole(CmsRole) instead 
org.opencms.file.CmsBackupResourceHandler.isBackupRequest(ServletRequest)
          Use CmsHistoryResourceHandler.isHistoryRequest(ServletRequest) instead 
org.opencms.importexport.CmsVfsImportExportHandler.isExportUserdata()
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.isIncludeSystem()
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.isIncludeUnchanged()
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.isProjectOnly()
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.isRecursive()
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.file.CmsUser.isSystemUser(int)
          the user type concept has been abandoned 
org.opencms.db.CmsPublishedResource.isVfsResource()
          no longer needed 
org.opencms.file.CmsObject.lockResource(String, int)
          use CmsObject.lockResource(String) or CmsObject.lockResourceTemporary(String) instead 
org.opencms.file.CmsObject.loginWebUser(String, String)
          there are no more web users, use a user without any role! 
org.opencms.file.CmsObject.publishProject()
          use OpenCms.getPublishManager().publishProject(CmsObject) instead 
org.opencms.file.CmsObject.publishProject(I_CmsReport)
          use OpenCms.getPublishManager().publishProject(CmsObject, I_CmsReport) instead 
org.opencms.file.CmsObject.publishProject(I_CmsReport, CmsPublishList)
          use OpenCms.getPublishManager().publishProject(CmsObject, I_CmsReport, CmsPublishList) instead 
org.opencms.file.CmsObject.publishProject(I_CmsReport, CmsResource, boolean)
          use OpenCms.getPublishManager().publishProject(CmsObject, I_CmsReport, CmsResource, boolean) instead 
org.opencms.file.CmsObject.publishResource(String)
          use OpenCms.getPublishManager().publishResource(CmsObject, String) instead 
org.opencms.file.CmsObject.publishResource(String, boolean, I_CmsReport)
          use OpenCms.getPublishManager().publishResource(CmsObject, String, boolean, I_CmsReport) instead 
org.opencms.file.CmsObject.readAllBackupFileHeaders(String)
          Use CmsObject.readAllAvailableVersions(String) instead 
org.opencms.file.CmsObject.readBackupFile(CmsUUID, int)
          use CmsObject.readResourceByPublishTag(CmsUUID, int) or CmsObject.readResource(CmsUUID, int) instead, but notice that the publishTag != version and there is no possibility to access to a historical entry with just the filename. 
org.opencms.file.CmsObject.readBackupFile(String, int)
          use CmsObject.readResource(CmsUUID, int) instead, but notice that the publishTag != version and there is no possibility to access to an historical entry with just the filename. 
org.opencms.file.CmsObject.readBackupProject(int)
          Use CmsObject.readHistoryProject(int) instead 
org.opencms.file.CmsObject.readBackupPropertyObjects(I_CmsHistoryResource)
          Use CmsObject.readHistoryPropertyObjects(I_CmsHistoryResource) instead 
org.opencms.db.I_CmsHistoryDriver.readFile(CmsDbContext, CmsUUID, int)
          use I_CmsHistoryDriver.readResource(CmsDbContext, CmsUUID, int) instead but notice that the publishTag != version 
org.opencms.db.generic.CmsHistoryDriver.readFile(CmsDbContext, CmsUUID, int)
            
org.opencms.file.CmsObject.readFileHeader(String)
          use CmsObject.readResource(String, CmsResourceFilter) instead. 
org.opencms.file.CmsObject.readProject(int)
          use CmsObject.readProject(CmsUUID) instead 
org.opencms.file.CmsObject.readProjectView(int, CmsResourceState)
          use CmsObject.readProjectView(CmsUUID, CmsResourceState) instead 
org.opencms.file.CmsObject.readProjectView(int, int)
          use CmsObject.readProjectView(CmsUUID, CmsResourceState) instead 
org.opencms.file.CmsObject.readProperties(String)
          use CmsObject.readPropertyObjects(String, boolean) instead. 
org.opencms.file.CmsObject.readProperties(String, boolean)
          use CmsObject.readPropertyObjects(String, boolean) instead. 
org.opencms.file.CmsObject.readProperty(String, String)
          use CmsObject.readPropertyObject(String, String, boolean) instead. 
org.opencms.file.CmsObject.readProperty(String, String, boolean)
          use CmsObject.readPropertyObject(String, String, boolean) instead. 
org.opencms.file.CmsObject.readProperty(String, String, boolean, String)
          use CmsObject.readPropertyObject(String, String, boolean) instead. 
org.opencms.file.CmsObject.readResourceByPublishTag(CmsUUID, int)
          use CmsObject.readResource(CmsUUID, int) instead but notice that the publishTag != version 
org.opencms.db.CmsDriverManager.readResourceForPublishTag(CmsDbContext, CmsResource, int)
          use CmsDriverManager.readResource(CmsDbContext, CmsResource, int) instead but notice that the publishTag != version 
org.opencms.db.CmsSecurityManager.readResourceForPublishTag(CmsRequestContext, CmsResource, int)
          use CmsSecurityManager.readResource(CmsRequestContext, CmsResource, int) instead but notice that the publishTag != version 
org.opencms.file.CmsObject.readWebUser(String)
          there are no more web users, use a user without any role! 
org.opencms.file.CmsObject.readWebUser(String, String)
          there are no more web users, use a user without any role! 
org.opencms.file.types.A_CmsResourceType.restoreResourceBackup(CmsObject, CmsSecurityManager, CmsResource, int)
          Use A_CmsResourceType.restoreResource(CmsObject,CmsSecurityManager,CmsResource,int) instead 
org.opencms.file.types.A_CmsResourceTypeFolderBase.restoreResourceBackup(CmsObject, CmsSecurityManager, CmsResource, int)
          Use A_CmsResourceType.restoreResource(CmsObject,CmsSecurityManager,CmsResource,int) instead 
org.opencms.file.types.I_CmsResourceType.restoreResourceBackup(CmsObject, CmsSecurityManager, CmsResource, int)
          Use I_CmsResourceType.restoreResource(CmsObject,CmsSecurityManager,CmsResource,int) instead but notice that publishTag != version 
org.opencms.file.CmsObject.restoreResourceBackup(String, int)
          use CmsObject.restoreResourceVersion(CmsUUID, int) instead, but notice that the publishTag != version and there is no possibility to access to an historical entry with just the filename. 
org.opencms.file.CmsRequestContext.restoreSiteRoot()
          store the current site root locally before switching to another site, and set it back again at the end, like:
             String storedSite = context.getSiteRoot();
             try {
                  context.setSiteRoot("");
                  // do something with the context
             } finally {
                  context.setSiteRoot(storedSite);
             }
 
 
org.opencms.file.CmsRequestContext.saveSiteRoot()
          store the current site root locally before switching to another site, and set it back again at the end, like:
             String storedSite = context.getSiteRoot();
             try {
                  context.setSiteRoot("");
                  // do something with the context
             } finally {
                  context.setSiteRoot(storedSite);
             }
 
 
org.opencms.importexport.CmsVfsImportExportHandler.setContentAge(long)
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.file.CmsGroup.setDisabled()
          use CmsPrincipal.setEnabled(boolean) instead 
org.opencms.file.CmsUser.setDisabled()
          use CmsPrincipal.setEnabled(boolean) instead 
org.opencms.file.CmsGroup.setEnabled()
          use CmsPrincipal.setEnabled(boolean) instead 
org.opencms.file.CmsUser.setEnabled()
          use CmsPrincipal.setEnabled(boolean) instead 
org.opencms.workplace.CmsWorkplaceSettings.setExplorerResource(String)
          use CmsWorkplaceSettings.setExplorerResource(String, CmsObject) instead 
org.opencms.importexport.CmsVfsImportExportHandler.setExportPaths(List)
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.setExportUserdata(boolean)
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.setFileName(String)
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.setIncludeSystem(boolean)
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.setIncludeUnchanged(boolean)
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.file.CmsProperty.setKey(String)
          use CmsProperty.setName(String) instead 
org.opencms.importexport.CmsVfsImportExportHandler.setProjectOnly(boolean)
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.importexport.CmsVfsImportExportHandler.setRecursive(boolean)
          use CmsVfsImportExportHandler.setExportParams(CmsExportParameters) instead 
org.opencms.file.CmsObject.touch(String, long, long, long, boolean)
          use CmsObject.setDateLastModified(String, long, boolean), CmsObject.setDateReleased(String, long, boolean) or CmsObject.setDateExpired(String, long, boolean) instead 
org.opencms.file.CmsObject.undeleteResource(String)
          use CmsObject.undeleteResource(String,boolean) methods instead 
org.opencms.file.CmsObject.undoChanges(String, boolean)
          use CmsObject.undoChanges(String,CmsResource.CmsResourceUndoMode) methods instead 
org.opencms.file.CmsObject.unlockProject(int)
          use CmsObject.unlockProject(CmsUUID) instead 
org.opencms.file.CmsFile.upgrade(CmsResource, CmsObject)
          use CmsObject.readFile(CmsResource) instead 
org.opencms.util.CmsStringUtil.validateResourceName(String)
          use CmsResource.checkResourceName(String) instead 
org.opencms.file.CmsObject.writeFileHeader(CmsFile)
          use CmsObject.writeResource(CmsResource) instead 
org.opencms.file.CmsObject.writeProperties(String, Map)
          use CmsObject.writePropertyObjects(String, List) instead. 
org.opencms.file.CmsObject.writeProperties(String, Map, boolean)
          use CmsObject.writePropertyObjects(String, List) instead. 
org.opencms.file.CmsObject.writeProperty(String, String, String)
          use CmsObject.writePropertyObject(String, CmsProperty) instead. 
org.opencms.file.CmsObject.writeProperty(String, String, String, boolean)
          use CmsObject.writePropertyObject(String, CmsProperty) instead. 
org.opencms.file.CmsObject.writeWebUser(CmsUser)
          there are no more web users, use a user without any role! 
 

Deprecated Constructors
org.opencms.importexport.CmsExport(CmsObject, String, List, boolean, boolean)
          use the CmsExportParameters constructor instead 
org.opencms.importexport.CmsExport(CmsObject, String, List, boolean, boolean, Element, boolean, long, I_CmsReport)
          use the CmsExportParameters constructor instead 
org.opencms.importexport.CmsExport(CmsObject, String, List, boolean, boolean, Element, boolean, long, I_CmsReport, boolean)
          use the CmsExportParameters constructor instead 
org.opencms.loader.CmsImageScaler(CmsImageScaler, CmsImageScaler)
          use CmsImageScaler.getReScaler(CmsImageScaler) on the original scaler instead