Deprecated API

Deprecated Classes
com.atlassian.renderer.macro.macros.AbstractHtmlGeneratingMacro
            
com.atlassian.confluence.plugin.ConfluencePluginStateStore
            
com.atlassian.confluence.dashboard.actions.GlobalRssBlogFeedAction
          to be removed from UI. 
com.atlassian.confluence.util.PageComparator
            
com.atlassian.confluence.upgrade.PagePropertiesUpgradeTask
          no longer required. 
com.atlassian.confluence.user.TempDateUtils
          since 2.3 use DateFormatter instead. 
com.atlassian.confluence.util.UrlUtil
            
com.atlassian.confluence.util.VelocityUtils
            
 

Deprecated Interfaces
com.atlassian.confluence.event.EventListener
          Old interface! Please use EventListener for your event listeners 
 

Deprecated Fields
com.atlassian.confluence.spaces.SpaceManager.PERSONAL_SPACEKEY_IDENTIFIER
          since 2.3 use Space.PERSONAL_SPACEKEY_IDENTIFIER 
 

Deprecated Methods
com.atlassian.confluence.util.ConfluenceVelocityResourceCache.clearAllCaches()
          Use getInstance().clear() 
com.atlassian.confluence.setup.BootstrapUtils.closeContext()
          Use BootstrapUtils.closeContext() instead. 
com.atlassian.confluence.importexport.impl.AbstractXmlExporter.expandSpaces(List)
          - just use getContentAndContentPropertiesFromSpace() 
org.apache.lucene.search.DateFilterScoringSearcher.explain(Query, int)
          Deprecated in Lucene 1.9.1 
com.atlassian.confluence.util.GeneralUtil.format(Date)
          since 2.3. Provided for pre-2.3 themes and layouts only. New themes and layouts should use $dateFormatter.format(Date) in the Velocity context or ConfluenceUserPreferences.getDateFormatter(FormatSettingsManager). 
com.atlassian.confluence.util.GeneralUtil.formatBlogDate(Date)
          since 2.3. Provided for pre-2.3 themes and layouts only. New themes and layouts should use $dateFormatter.formatBlogDate(Date) in the Velocity context or ConfluenceUserPreferences.getDateFormatter(FormatSettingsManager). 
com.atlassian.confluence.user.actions.EditNotificationsAction.formatDateNice(Date)
          since 2.3. Unused in Confluence, and uses old date formatting routines. 
com.atlassian.confluence.util.GeneralUtil.formatDateTime(Date)
          since 2.3. Provided for pre-2.3 themes and layouts only. New themes and layouts should use $dateFormatter.formatDateTime(Date) in the Velocity context or ConfluenceUserPreferences.getDateFormatter(FormatSettingsManager). 
com.atlassian.confluence.util.GeneralUtil.formatTime(Date)
          since 2.3. Provided for pre-2.3 themes and layouts only. New themes and layouts should use $dateFormatter.formatTime(Date) in the Velocity context or ConfluenceUserPreferences.getDateFormatter(FormatSettingsManager). 
com.atlassian.confluence.setup.BootstrapManager.getBaseUrl()
          use Settings.getBaseUrl() instead 
com.atlassian.confluence.setup.DefaultBootstrapManager.getBaseUrl()
            
com.atlassian.confluence.spaces.Space.getBlogPosts()
          use spaceManager.getBlogPosts(space, false) instead 
com.atlassian.confluence.spaces.SpaceManager.getBlogPosts(Space, boolean)
          from 2.3 use PageManager.getBlogPosts(Space, boolean) 
com.atlassian.confluence.setup.BootstrapUtils.getBootstrapContext()
          Use BootstrapUtils.getBootstrapContext() instead. 
com.atlassian.confluence.setup.BootstrapUtils.getBootstrapManager()
          Use BootstrapUtils.getBootstrapManager() instead. 
com.atlassian.confluence.setup.BootstrapManager.getConfiguredConfluenceHome()
          use AtlassianBootstrapManager.getConfiguredApplicationHome() instead 
com.atlassian.confluence.core.ContentEntityObject.getContentPermission(String)
          use getContentPermissionSet 
com.atlassian.confluence.security.ContentPermission.getCreatorName()
          as of 2.4 does not have the same implication as previously for {ContentPermission. 
com.atlassian.confluence.spaces.Space.getCurrentBlogPosts()
          use spaceManager.getBlogPosts(space, true) instead 
com.atlassian.confluence.spaces.Space.getCurrentMail()
          use spageManager.getMail(space, false) instead. 
com.atlassian.confluence.spaces.Space.getCurrentPages()
          use spaceManager.getPages(space, true) instead 
com.atlassian.confluence.setup.BootstrapManager.getDomainName()
          use getBaseUrl() instead 
com.atlassian.confluence.setup.DefaultBootstrapManager.getDomainName()
            
com.atlassian.confluence.util.Resource.getFile()
          As of Confluence 1.4 RC 1 this is deprecated. It is now replaced by relatePathToFile calls. 
com.atlassian.confluence.core.ConfluenceActionSupport.getGlobalHelper()
          Support for legacy 1.4 themes that might have had $globalHelper in them (unlikely but nice). 
com.atlassian.confluence.security.ContentPermission.getGroup()
          as of version 2.4. Use ContentPermission.getGroupName() instead. 
com.atlassian.confluence.core.ContentPermissionManager.getInheritedContentPermissions(ContentEntityObject)
          use #getInheritedContentPermissionSets 
com.atlassian.confluence.core.DefaultContentPermissionManager.getInheritedViewContentPermissions(Page)
          use ContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject) 
com.atlassian.confluence.cache.tangosol.TangosolCache.getKeys()
            
com.atlassian.confluence.spaces.Space.getMail()
          use spageManager.getMail(space, false) instead. 
com.atlassian.confluence.spaces.SpaceManager.getMail(Space, boolean)
          from 2.3 use MailContentManager.getMail(Space, boolean) 
com.atlassian.confluence.cache.CacheStatistics.getNotFoundCount()
          since 2.3 
com.atlassian.confluence.pages.AttachmentUtils.getOldContainingFolder(Attachment)
          as of Confluence 2.2 (we now use the attachment id to store attachments) 
com.atlassian.confluence.core.Versioned.getOriginalVersion()
          since 2.5. Use Versioned.getLatestVersion() and Versioned.isLatestVersion() instead. 
com.atlassian.confluence.spaces.Space.getPages()
          use spaceManager.getPages(space, false) instead 
com.atlassian.confluence.spaces.SpaceManager.getPages(Space, boolean)
          from 2.3 use PageManager.getPages(Space, boolean) 
com.atlassian.confluence.spaces.SpaceManager.getPagesStartingWith(Space, String)
          from 2.3 use PageManager.getPagesStartingWith(Space, String) 
com.atlassian.confluence.core.ContentEntityObject.getPermissions()
          use ContentEntityObject.getContentPermissionSet(String) 
com.atlassian.confluence.user.DefaultPersonalInformationManager.getPersonalInformation(String)
            
com.atlassian.confluence.user.PersonalInformationManager.getPersonalInformation(String)
          since 2.3 use PersonalInformationManager.getPersonalInformation(com.atlassian.user.User) 
com.atlassian.confluence.util.GeneralUtil.getProperties(String, Class)
          since 2.3 use PropertyUtils.getProperties(String, Class) instead 
com.atlassian.confluence.util.GeneralUtil.getPropertiesFromFile(File)
          since 2.3 use PropertyUtils.getProperties(String, Class) instead 
com.atlassian.confluence.util.GeneralUtil.getPropertiesFromStream(InputStream)
          since 2.3 use PropertyUtils.getProperties(String, Class) instead 
com.atlassian.confluence.core.ContentEntityManager.getRecentlyModifiedEntities(int)
          for content queries, use the list manager instead. 
com.atlassian.confluence.core.DefaultContentEntityManager.getRecentlyModifiedEntities(int)
            
com.atlassian.confluence.core.ConfluenceActionSupport.getSpaceHelper()
          Support for legacy 1.4 themes that might have had $spaceHelper in them (unlikely but nice). 
com.atlassian.confluence.spaces.SpaceManager.getSpaces()
          since 2.3 use SpaceManager.getSpacesByType(com.atlassian.confluence.spaces.SpaceType) 
com.atlassian.confluence.spaces.SpaceManager.getSpacesCreatedOrUpdatedSinceDate(Date)
          since 2.3 this method is unreferenced, and probably doesn't do anything useful 
com.atlassian.confluence.cache.tangosol.TangosolCache.getStatus()
            
com.atlassian.confluence.spaces.Space.getType()
          use getSpaceType() 
com.atlassian.confluence.core.persistence.hibernate.PropertiesType.hasNiceEquals()
            
com.atlassian.confluence.core.persistence.hibernate.StringClobType.hasNiceEquals()
            
com.atlassian.confluence.setup.BootstrapManager.isConfluenceHomeValid()
          use AtlassianBootstrapManager.isApplicationHomeValid() instead 
com.atlassian.confluence.util.GeneralUtil.isGlobalAdministrator(Object, User)
          since 2.0 use PermissionManager directly, or use the $permissionHelper from velocity 
com.atlassian.confluence.spaces.DefaultSpaceManager.isValidPersonalSpaceKey(String)
          since 2.3 use Space.isValidPersonalSpaceKey(String) instead 
com.atlassian.confluence.spaces.SpaceManager.isValidPersonalSpaceKey(String)
          since 2.3 use Space.isValidPersonalSpaceKey(java.lang.String) 
com.atlassian.confluence.spaces.DefaultSpaceManager.isValidSpaceKey(String)
          since 2.3 use Space.isValidGlobalSpaceKey(String) instead 
com.atlassian.confluence.spaces.SpaceManager.isValidSpaceKey(String)
          since 2.3 use Space.isValidGlobalSpaceKey(java.lang.String) 
com.atlassian.confluence.setup.BootstrapManager.isWebdavEnabled()
          use Settings.isWebdavEnabled() instead 
org.apache.lucene.search.DateFilterScoringSearcher.search(Query, Filter, HitCollector)
          Deprecated in Lucene 1.9.1 
org.apache.lucene.search.DateFilterScoringSearcher.search(Query, Filter, int)
          Deprecated in Lucene 1.9.1 
org.apache.lucene.search.DateFilterScoringSearcher.search(Query, Filter, int, Sort)
          Deprecated in Lucene 1.9.1 
com.atlassian.confluence.setup.BootstrapManager.setBaseUrl(String)
          use Settings.setBaseUrl() instead 
com.atlassian.confluence.setup.BootstrapUtils.setBootstrapContext(ApplicationContext)
          Use BootstrapUtils.setBootstrapContext(ApplicationContext) instead. 
com.atlassian.confluence.setup.BootstrapUtils.setBootstrapManager(BootstrapManager)
          Use BootstrapUtils.setBootstrapManager(AtlassianBootstrapManager) instead. 
com.atlassian.confluence.util.Resource.setFile(File)
          As of Confluence 1.4 RC 1 this is deprecated. It is now replaced by relatePathToFile calls. 
com.atlassian.confluence.setup.settings.Settings.setHostedMode(boolean)
          Since 2.3-DR2 
com.atlassian.confluence.pages.Page.setParent(Page)
          Do not call this method. It exists solely for hibernate to use. Use #setParentPage instead. I would have made this method private, but CGLIB was complaining. 
com.atlassian.confluence.util.GeneralUtil.summarise(String)
          since 2.0 use RendererUtil.summarise(String) instead. 
 

Deprecated Constructors
com.atlassian.confluence.setup.settings.beans.ColourSchemesSettings()
          No-arg constructor is only here for deserialization. 
 



Confluence is developed by Atlassian.