Deprecated API


Contents
Deprecated Interfaces
com.atlassian.confluence.core.Administrative
          since 2.8. Please avoid this interface. Instead override ConfluenceActionSupport.isPermitted() and use PermissionManager.hasPermission(User,Permission,Object) instead. This will make it easier to determine the permissions required to invoke an action as they would be more explicit and in one place (you won't have to check whether the class or its super class implements this interface). 
com.atlassian.confluence.pages.BreadcrumbsManager
          use GlobalHelper instead to retrieve breadcrumbs and PageHelper to retrieve ellipsis breadcrumbs. 
bucket.cache.CacheManager
          since 0.20, use (@link com.atlassian.cache.CacheManager} instead 
com.atlassian.confluence.cache.CacheManagerKeys
          since 3.0 put cache keys in the class which uses the cache 
bucket.container.ContainerContext
          Use com.atlassian.spring.container.ContainerContext 
com.atlassian.confluence.search.lucene.ContentIndexTask
          since 3.0. Use HandleAware instead 
com.atlassian.confluence.event.EventListener
          Old interface! Please use EventListener for your event listeners 
com.atlassian.confluence.json.JSONAction
          - Use DefaultJsonator with an AbstractCommandAction instead. This interface is used as a convenience to indicate that an action can provide its result in JSON format. It's not strictly needed as the result uses reflection but is provided anyway as a convenience. 
com.atlassian.confluence.json.parser.JSONString
          Use the json.objects classes. The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object). The toJSONString method will be used instead of the default behavior of using the Object's toString() method and quoting the result. 
com.atlassian.confluence.util.ResourceManager
          since 2.8, use attachment manager to store resources associated with pages. ResourceManager does not work in cluster. 
com.atlassian.confluence.spaces.actions.SpaceAdministrative
          since 2.8. Please avoid this interface. Instead override ConfluenceActionSupport.isPermitted() and use PermissionManager.hasPermission(User,Permission,Object) instead. This will make it easier to determine the permissions required to invoke an action as they would be more explicit and in one place (you won't have to check whether the class or its super class implements this interface). 
com.atlassian.confluence.spaces.actions.Spaced
          since 3.0. Use Spaced instead. 
com.atlassian.confluence.util.ThumbnailInfoFactory
          since 3.0. Not used anywhere in Confluence and will be removed in a future version. Construct ThumbnailInfo directly. 
 

Deprecated Classes
com.atlassian.confluence.plugin.descriptor.web.conditions.AbstractConfluenceCondition
          since 2.8 use BaseConfluenceCondition, which no longer has a dependency on the abomination which is GlobalHelper. 
com.atlassian.confluence.pages.actions.AbstractEditAttachedFileAction
           
com.atlassian.confluence.pages.actions.AbstractFileAttachmentAction
           
com.atlassian.confluence.security.actions.AbstractGlobalPermissionsAction
           
com.atlassian.renderer.macro.macros.AbstractHtmlGeneratingMacro
            
com.atlassian.confluence.renderer.radeox.macros.include.AbstractHttpRetrievalMacro
          Use BaseHttpRetrievalMacro, which uses the correct version of the Renderer API. 
com.atlassian.confluence.pages.actions.AbstractPageChangeAction
           
com.atlassian.confluence.plugin.descriptor.web.conditions.AbstractPermissionCondition
          since 2.8 use BasePermissionCondition 
com.atlassian.confluence.security.actions.AbstractSpacePermissionsAction
           
bucket.core.persistence.hibernate.AnyTypeHibernateObjectDao
          since 1.4. This has been moved into Confluence. As far as we could tell from fisheye, these is only one usage of this class outside of Confluence. Javablogs uses the log. 
bucket.search.lucene.extractor.BaseAttachmentContentExtractor
          use com.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor instead 
com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
          since 3.0. 
com.atlassian.confluence.setup.BootstrapUtils
          since 2.3 use BootstrapUtils 
com.atlassian.confluence.pages.ChildPositionComparator
          use Page.CHILD_POSITION_COMPARATOR A comparator used to sort pages based on the Page Ordering sort rules.

This comparator will compare the position of the two pages with null smaller than anything else. If that comparison results in 0 a title based "natural" sort will be used. For details on the Natural Sort algorithm see the NaturalStringComparator. 

com.atlassian.confluence.search.lucene.ConfluenceMultiThreadedIndexer
          since 3.0. Multithreading moved into MultiThreadedIndexRebuilder and OnlineMultiThreadedIndexer.allThreadsComplete(com.atlassian.bonnie.index.BatchOpIndexer.DocumentWritingScheme, boolean, com.atlassian.core.util.ProgressWrapper) moved to TempIndexWriterStrategy.mergeAndClose(). 
com.atlassian.confluence.search.lucene.ConfluenceObjectToDocumentConverter
          since 3.0. Use ConfluenceDocumentBuilder instead. 
com.atlassian.confluence.setup.webwork.ConfluenceVelocityContext
          Since 3.0. Use ConfluenceVelocityManager.getConfluenceVelocityContext() instead. 
com.atlassian.confluence.plugin.descriptor.ConfluenceVelocityModuleDescriptor
          since 3.0, extend AbstractModuleDescriptor and implement UserLocaleAware instead. 
com.atlassian.confluence.util.ConfluenceVelocityResourceCache
          Since 2.9. Use ConfluenceVelocityResourceCache instead. 
bucket.container.ContainerManager
          Instead use com.atlassian.spring.container.ContainerManager 
com.atlassian.confluence.pages.DefaultBreadcrumbsManager
          use GlobalHelper instead to retrieve breadcrumbs and PageHelper to retrieve ellipsis breadcrumbs. 
com.atlassian.confluence.util.DefaultResourceManager
          see the deprecation warning in the ResourceManager interface. 
com.atlassian.confluence.util.DefaultThumbnailInfoFactory
          since 3.0 see ThumbnailInfoFactory 
bucket.container.DeprecatedContainerContext
            
com.atlassian.confluence.util.DiffResult
          Use ConfluenceDiff 
bucket.search.EntityObjectDateExtractor
          since 1.4 (moved into Confluence) 
com.atlassian.confluence.util.ajax.ErrorResponseException
          since 2.9 use normal control flow instead of exceptions. 
com.atlassian.confluence.pages.actions.ExportWordPageAction
           
com.atlassian.confluence.search.lucene.filter.FiltersContainer
          since 2.10. The introduction of ChainedFilter into Lucene has made this class redundant. 
com.atlassian.confluence.plugin.descriptor.web.conditions.GlobalAdministratorOnlyCondition
          since 2.7. If the link or operation protected by this condition has the potential to compromise the security of the system, please use SystemAdministratorOrSuperUserCondition instead, otherwise, use ConfluenceAdministratorCondition. To err on the side of more security, we are assuming plugin developers intended a restriction to the most powerful group of administrators. Hence this deprecated class will inherit the permission checks of SystemAdministratorOrSuperUserCondition. This class has been reintroduced to prevent problems with the approvals plugin. 
com.atlassian.confluence.util.io.IOUtils
          since 3.0 use IOUtils instead 
com.atlassian.confluence.json.parser.JSONArray
          Use the json.objects classes. A JSONArray is an ordered sequence of values. Its external text form is a string wrapped in square brackets with commas separating the values. The internal form is an object having get and opt methods for accessing the values by index, and put methods for adding or replacing values. The values can be any of these types: Boolean, JSONArray, JSONObject, Number, String, or the JSONObject.NULL object.

The constructor can convert a JSON text into a Java object. The toString method converts to JSON text.

A get method returns a value if one can be found, and throws an exception if one cannot be found. An opt method returns a default value instead of throwing an exception, and so is useful for obtaining optional values.

The generic get() and opt() methods return an object which you can cast or query for type. There are also typed get and opt methods that do type checking and type coersion for you.

The texts produced by the toString methods strictly conform to JSON syntax rules. The constructors are more forgiving in the texts they will accept:

  • An extra , (comma) may appear just before the closing bracket.
  • The null value will be inserted when there is , (comma) elision.
  • Strings may be quoted with ' (single quote).
  • Strings do not need to be quoted at all if they do not begin with a quote or single quote, and if they do not contain leading or trailing spaces, and if they do not contain any of these characters: { } [ ] / \ : , = ; # and if they do not look like numbers and if they are not the reserved words true, false, or null.
  • Values can be separated by ; (semicolon) as well as by , (comma).
  • Numbers may have the 0- (octal) or 0x- (hex) prefix.
  • Comments written in the slashshlash, slashstar, and hash conventions will be ignored.
 
com.atlassian.confluence.json.parser.JSONTokener
          Use the json.objects classes. A JSONTokener takes a source string and extracts characters and tokens from it. It is used by the JSONObject and JSONArray constructors to parse JSON source strings. 
com.atlassian.confluence.search.v2.query.LastModifierQuery
          since 3.0. Use ContributorQuery instead. 
com.atlassian.confluence.search.v2.lucene.mapper.LastModifierQueryMapper
          since 3.0. Use ContributorQueryMapper instead. 
com.atlassian.confluence.util.PageComparator
            
com.atlassian.confluence.upgrade.upgradetask.PagePropertiesUpgradeTask
          no longer required. 
com.atlassian.confluence.security.PermissionCheckDispatcher
          since 2.7 see PermissionManager 
com.atlassian.confluence.search.v2.query.PermittedSpacesQuery
          since 3.0. Please use SpacePermissionsSearchFilter instead. 
com.atlassian.confluence.util.ProfilePicture
          since 2.9. Functionality has moved to the UserProfileService. 
com.atlassian.confluence.rpc.soap.beans.RemotePermission
          use RemoteContentPermission instead 
com.atlassian.confluence.servlet.download.ResourceDownload
           
com.atlassian.confluence.search.v2.Search
          since 3.0. Use ContentSearch instead. 
com.atlassian.confluence.search.actions.SearchBean
          since 3.0. Use SearchManager instead. 
com.atlassian.confluence.core.actions.StylesheetAction
          since 2.8 because this is a cluttered mess with a variety of concerns. Use CombinedStylesheetAction for space or global scoped styles; ColorsStylesheetAction for colour scheme styles; or ThemeColorsStylesheetAction for theme-specific styles. 
com.atlassian.confluence.util.http.httpclient.TrustedTokenAuthenticator.TrustedConnectionStatus
          As of Confluence 2.10, use TrustedConnectionStatus 
com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserHasHistoryCondition
          since 2.8. This condition now always returns true. 
com.atlassian.confluence.util.VelocityUtils
            
com.atlassian.confluence.pages.persistence.dao.WebDavAttachmentDao
          since 2.7 WebDav attachment storage is no longer supported 
com.atlassian.confluence.pages.WebDavAttachmentManager
          since 2.7 WebDav attachment storage is no longer supported 
 

Deprecated Exceptions
com.atlassian.confluence.json.parser.JSONException
          Use the json.objects classes. The JSONException is thrown by the JSON.org classes then things are amiss. 
 

Deprecated Fields
com.atlassian.confluence.security.SpacePermission.ADMINISTER_CONFLUENCE_PERMISSION
          since Confluence 2.7 use SpacePermission.CONFLUENCE_ADMINISTRATOR_PERMISSION and/or SpacePermission.SYSTEM_ADMINISTRATOR_PERMISSION. 
com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.CONTEXT_KEY_HELPER
          since 2.8 see WebInterfaceContext 
com.atlassian.confluence.spaces.DefaultSpaceManager.DEFAULT_HOMEPAGE_CONTENT
          As of Confluence 2.10 use InitialSpaceContentListener.DEFAULT_HOMEPAGE_CONTENT 
com.atlassian.confluence.spaces.DefaultSpaceManager.DEFAULT_HOMEPAGE_TITLE
          As of Confluence 2.10 use InitialSpaceContentListener.DEFAULT_HOMEPAGE_TITLE 
com.atlassian.confluence.setup.bandana.ConfluenceDaoBandanaPersister.GLOBAL_BANDANA_CONTEXT
          use ConfluenceBandanaContext.GLOBAL_CONTEXT 
com.atlassian.confluence.core.ConfluenceActionSupport.log
          since 2.6.1 create a private static logger in your action class 
com.atlassian.confluence.search.lucene.extractor.PageContentEntityObjectExtractor.FieldNames.PAGE_REAL_TITLE
          since 2.8 - badly named, use PAGE_DISPLAY_TITLE instead 
 

Deprecated Methods
com.atlassian.confluence.rpc.soap.services.AttachmentsSoapService.addAttachment(RemoteAttachment, byte[])
          available for backward compatibility. 
com.atlassian.confluence.rpc.soap.ConfluenceSoapServiceDelegator.addAttachment(String, RemoteAttachment, byte[])
          available for backward compatibility. 
com.atlassian.confluence.rpc.soap.ConfluenceSoapService.addAttachment(String, RemoteAttachment, byte[])
          available for backward compatibility. 
com.atlassian.confluence.AbstractConfluenceAcceptanceTest.addComment(String, String, String)
          Should use ViewContentBean.addComment() instead. 
com.atlassian.confluence.upgrade.AbstractUpgradeTask.addError(String)
          since 1.2. Use addError(UpgradeError error) 
com.atlassian.confluence.upgrade.AbstractUpgradeTask.addError(Throwable)
          since 1.2. Use addError(UpgradeError error) 
com.atlassian.confluence.util.LabelUtil.addLabel(String, LabelManager, User, Labelable)
          since 2.9 
com.atlassian.confluence.util.message.MessageManager.addMessage(String, String, Message)
          since 2.9 
com.atlassian.confluence.AbstractConfluenceAcceptanceTest.addPageComment(String)
          Should use ViewContentBean.addComment() instead. 
com.atlassian.confluence.util.ResourceManager.addResource(String, File, Space)
          since 2.8 
com.atlassian.confluence.util.ResourceManager.addResource(String, File, Space, String)
          since 2.8 
com.atlassian.confluence.pages.PageManager.appendPage(Page, Page)
          since 2.9 use PageManager.movePageAsChild(Page, Page) 
com.atlassian.confluence.pages.DefaultPageManager.appendPage(Page, Page)
          since 2.9 use DefaultPageManager.movePageAsChild(Page, Page) 
com.atlassian.confluence.AbstractAtlassianWebTestCase.assertTitleEquals(String)
          Don't use directly, use AbstractAtlassianWebTestCase.assertPageTitleEquals(String) or AbstractAtlassianWebTestCase.assertTitleEquals(String, String) 
com.atlassian.confluence.selenium.client.InsertImagePopup.attachImage(String, String)
          won't work because the browser doesn't let file upload dialogs to be manipulated via javascript Leaving this in here, because this would be the best way to test insert image actions on new pages. 
com.atlassian.confluence.setup.ConfluenceListableBeanFactory.autowireNonSingletonBeanProperties(Object, int, boolean)
          Use AbstractAutowireCapableBeanFactory.autowireBeanProperties(Object, int, boolean) instead. 
com.atlassian.confluence.util.velocity.ConfluenceVelocityResourceCache.clearAllCaches()
          Use getInstance().clear() 
com.atlassian.confluence.util.io.IOUtils.close(InputStream)
          since 3.0 use IOUtils.closeQuietly(InputStream) 
com.atlassian.confluence.util.io.IOUtils.close(OutputStream)
          since 3.0 use IOUtils.closeQuietly(OutputStream) 
com.atlassian.confluence.util.io.IOUtils.close(Reader)
          since 3.0 use IOUtils.closeQuietly(Reader) 
com.atlassian.confluence.util.io.IOUtils.close(Writer)
          since 3.0 use IOUtils.closeQuietly(Writer) 
com.atlassian.confluence.setup.BootstrapUtils.closeContext()
          since 2.3 use BootstrapUtils.closeContext() instead. 
com.atlassian.confluence.pages.wysiwyg.ConfluenceWysiwygConverter.convertWikiMarkupToXHtmlWithoutPage(String, String)
          - Either use ConfluenceWysiwygConverterDWRWrapper.convertWikiMarkupToXHtmlWithoutPage(String wikiMarkup, String pageId) or ConfluenceWysiwygConverter.convertWikiMarkupToXHtml(String wikiMarkup, String pageId) Converts wiki markup text into XHTML, using the page context of the content object specified by the id. If content is null, use convertWikiMarkupToXHtml(ContentEntityObject content, String spaceKey, String wikiMarkup) 
com.atlassian.confluence.pages.wysiwyg.ConfluenceWysiwygConverter.convertXHtmlToWikiMarkupWithoutPage(String, String)
          * @deprecated - Either use ConfluenceWysiwygConverterDWRWrapper.convertXHtmlToWikiMarkupWithoutPage(String wikiMarkup, String pageId) or ConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(String wikiMarkup, String pageId) Converts XHTML into wiki markup, without using page context 
com.atlassian.confluence.util.io.IOUtils.copy(InputStream, OutputStream)
          since 3.0 use IOUtils instead 
com.atlassian.confluence.search.lucene.tasks.IndexTaskFactory.createAddDocumentTask(String)
           
com.atlassian.confluence.rss.FeedBuilder.createFeed(ListQuery, boolean, boolean, User)
          since 3.0. Use FeedBuilder.createFeed(com.atlassian.confluence.search.v2.ISearch, FeedProperties) instead. 
com.atlassian.confluence.rss.DefaultFeedBuilder.createFeed(ListQuery, boolean, boolean, User)
          since 3.0. See superclass comment. 
com.atlassian.confluence.rss.FeedBuilder.createPublicFeed(ListQuery, boolean, boolean)
          since 3.0. Use FeedBuilder.createFeed(com.atlassian.confluence.search.v2.ISearch, FeedProperties) instead. Public feed can be indicated in FeedProperties. 
com.atlassian.confluence.rss.DefaultFeedBuilder.createPublicFeed(ListQuery, boolean, boolean)
          since 3.0. See superclass comment. 
com.atlassian.confluence.servlet.download.ExportDownload.createTempFile(String, String)
          since 2.7. Instead use the WritableDownloadResourceManager to generate a DownloadResourceWriter 
com.atlassian.confluence.util.io.IOUtils.createTmpDir(String, String)
          since 3.0 because it was only used in tests 
com.atlassian.confluence.cluster.tangosol.TangosolClusterManager.enumerateCacheServices()
          since 3.0, use TangosolClusterManager.getCacheServices() 
com.atlassian.confluence.importexport.impl.AbstractXmlExporter.expandSpaces(List)
          - just use getContentAndContentPropertiesFromSpace() 
com.atlassian.confluence.user.DefaultUserAccessor.filterUnaccessibleUsers(Pager, User)
          since 2.8, use DefaultUserAccessor.filterUnaccessibleUsers(java.util.List, com.atlassian.user.User) instead 
com.atlassian.confluence.core.persistence.SearchableDao.findAllSearchables()
          since 3.0. use @{link #findAllSearchablesIterator()} instead. 
com.atlassian.confluence.labels.persistence.dao.hibernate.HibernateLabelDao.findContentByLabel(Label)
          since 2.10. Use HibernateLabelDao.findCurrentContentForLabel(Label label) instead. 
com.atlassian.confluence.labels.persistence.dao.hibernate.HibernateLabelDao.findContentForLabel(Label)
          since 2.10. Use HibernateLabelDao.findCurrentContentForLabel(Label label) instead. 
com.atlassian.confluence.user.SearchEntitiesManager.findGroups(TermQuery)
          since 2.8, use SearchEntitiesManager.findGroupsAsList(com.atlassian.user.search.query.TermQuery) instead. 
com.atlassian.confluence.user.DefaultSearchEntitiesManager.findGroups(TermQuery)
          since 2.8, use DefaultSearchEntitiesManager.findGroupsAsList(com.atlassian.user.search.query.TermQuery) instead 
com.atlassian.confluence.user.SearchEntitiesManager.findGroups(TermQuery, boolean)
          since 2.8, use SearchEntitiesManager.findGroupsAsList(com.atlassian.user.search.query.TermQuery, boolean) instead. 
com.atlassian.confluence.user.DefaultSearchEntitiesManager.findGroups(TermQuery, boolean)
          since 2.8, use DefaultSearchEntitiesManager.findGroupsAsList(com.atlassian.user.search.query.TermQuery, boolean) instead 
com.atlassian.confluence.user.SearchEntitiesManager.findUsers(Query)
          since 2.8, use SearchEntitiesManager.findUsersAsList(com.atlassian.user.search.query.Query) instead. 
com.atlassian.confluence.user.DefaultSearchEntitiesManager.findUsers(Query)
          since 2.8, use DefaultSearchEntitiesManager.findUsersAsList(com.atlassian.user.search.query.Query) instead. 
com.atlassian.confluence.util.io.IOUtils.flushAndClose(OutputStream)
          since 3.0 use OutputStream.flush() followed by IOUtils.closeQuietly(OutputStream) 
com.atlassian.confluence.util.io.IOUtils.flushAndClose(Writer)
          since 3.0 use Writer.flush() followed by IOUtils.closeQuietly(Writer) 
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.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.search.service.ContentTypeEnum.get(String)
          since 3.0. Use ContentTypeEnum.getByRepresentation(java.lang.String) or ContentTypeEnum.getByClassName(java.lang.String) instead. 
com.atlassian.confluence.pages.persistence.dao.WebDavAttachmentDao.getAttachmentByQuery(ListQuery, int)
          since 2.8, use com.atlassian.confluence.search.smartlist.SmartListManager#search instead. 
com.atlassian.confluence.setup.DefaultBootstrapManager.getBaseUrl()
            
com.atlassian.confluence.setup.BootstrapManager.getBaseUrl()
          use getBaseUrl() on SettingsManager.getGlobalSettings() instead 
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()
          since 2.3 use BootstrapUtils.getBootstrapContext() instead. 
com.atlassian.confluence.setup.BootstrapUtils.getBootstrapManager()
          since 2.3 use BootstrapUtils.getBootstrapManager() instead. 
com.atlassian.confluence.setup.BootstrapManager.getConfiguredConfluenceHome()
          use AtlassianBootstrapManager.getConfiguredApplicationHome() instead 
bucket.container.ContainerManager.getContainerContext()
          use com.atlassian.spring.container.ContainerManager 
com.atlassian.confluence.core.ContentEntityObject.getContentPermission(String)
          use getContentPermissionSet 
bucket.core.actions.PaginationSupport.getCountOnEachPage()
          since 0.24. Please use PaginationSupport.getPageSize() 
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.importexport.ExportContext.getDateFormatter()
          since 2.8.2, use ExportContext.getUser() instead. 
com.atlassian.confluence.importexport.DefaultExportContext.getDateFormatter()
          since 2.8.2 
com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableItems(String, User, GlobalHelper)
          since 2.8 use ConfluenceWebInterfaceManager.getDisplayableItems(String, WebInterfaceContext) with the result of getWebInterfaceContext() on your action. 
com.atlassian.confluence.plugin.descriptor.web.model.ConfluenceWebLabel.getDisplayableLabel(HttpServletRequest, GlobalHelper)
          since 2.8 use ConfluenceWebLabel.getDisplayableLabel(HttpServletRequest, WebInterfaceContext) 
com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableSections(String, User, GlobalHelper)
          since 2.8 use ConfluenceWebInterfaceManager.getDisplayableSections(String, WebInterfaceContext) with the result of ConfluenceActionSupport.getWebInterfaceContext(). 
com.atlassian.confluence.plugin.descriptor.web.model.ConfluenceWebLink.getDisplayableUrl(HttpServletRequest, GlobalHelper)
          since 2.8 use ConfluenceWebLink.getDisplayableUrl(HttpServletRequest, WebInterfaceContext) 
com.atlassian.confluence.setup.DefaultBootstrapManager.getDomainName()
            
com.atlassian.confluence.setup.BootstrapManager.getDomainName()
          use getBaseUrl() on SettingsManager.getGlobalSettings() instead 
com.atlassian.confluence.plugin.editor.Editor.getEditorSpecificCss()
          since 2.8. 
bucket.core.actions.PaginationSupport.getEndIndex()
          since 0.24. Please use PaginationSupport.getNiceEndIndex() 
com.atlassian.confluence.servlet.download.ExportDownload.getExportRoot()
          since 2.7 
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.search.actions.SearchBean.getFilteredCount()
          filter counting is no longer used. 
com.atlassian.confluence.pages.actions.ViewPageAction.getFocusedCommentId()
          since 2.8 use 'commentId' parameter from the web or ViewPageAction.getComment() from the application. 
com.atlassian.confluence.security.SpacePermission.getGenericSpacePermissions()
           
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.plugin.editor.Editor.getJavascriptTemplate()
          Since 2.10. Resources are now loading with Editor.getResourcesKey() 
com.atlassian.confluence.search.v2.query.LastModifierQuery.getLastModifier()
            
com.atlassian.confluence.user.UserInterfaceState.getLocationShowing()
          since 2.9 this setting is no longer persisted. This method now always returns false. 
com.atlassian.confluence.core.DefaultContentEntityManager.getLockedBySpace(String)
          since 2.10. There is no replacement as this functionality was superseded by multiple page permissions (CONF-3701) 
com.atlassian.confluence.core.persistence.hibernate.ContentEntityObjectHibernateDao.getLockedContentBySpace(String)
          since 2.10. There is no replacement as this functionality was superseded by multiple page permissions (CONF-3701) 
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.util.message.MessageManager.getMessages(String, String)
          since 2.9 
bucket.core.actions.PaginationSupport.getNextIndex()
          since 0.24. Please use PaginationSupport.getNextStartIndex() 
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.pages.persistence.dao.PageDao.getPage(String, String)
          since 3.0, use PageDao.getPage(Space, String) 
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getPage(String, String)
           
com.atlassian.confluence.pages.persistence.dao.hibernate.CachingPageDao.getPage(String, String)
           
com.atlassian.confluence.pages.PageManager.getPage(String, String, boolean)
          since 3.0, use PageManager.getPageWithComments(String, String) instead. 
com.atlassian.confluence.pages.DefaultPageManager.getPage(String, String, boolean)
           
com.atlassian.confluence.pages.persistence.dao.PageDao.getPage(String, String, boolean)
          since 3.0, use PageDao.getPageWithComments(Space, String) 
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getPage(String, String, boolean)
           
com.atlassian.confluence.pages.persistence.dao.hibernate.CachingPageDao.getPage(String, String, boolean)
           
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.spaces.persistence.dao.hibernate.HibernateSpaceDao.getPermittedSpacesForUser(User, String)
           
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUser(User, String)
          since 3.0, use SpaceDao.getPermittedSpacesForUser(User, List, String) 
com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.getPermittedSpacesForUserByType(User, String, SpaceType)
           
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUserByType(User, String, SpaceType)
          since 3.0, use SpaceDao.getPermittedSpacesForUserByType(User, List, String, SpaceType) 
com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.getPermittedSpacesForUserInSpaceGroup(User, String, SpaceGroup)
           
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUserInSpaceGroup(User, String, SpaceGroup)
          since 3.0, use SpaceDao.getPermittedSpacesForUserInSpaceGroup(User, List, String, SpaceGroup) 
com.atlassian.confluence.user.PersonalInformationManager.getPersonalInformation(String)
          since 2.3 use PersonalInformationManager.getPersonalInformation(com.atlassian.user.User) 
com.atlassian.confluence.user.DefaultPersonalInformationManager.getPersonalInformation(String)
            
bucket.core.actions.PaginationSupport.getPreviousIndex()
          since 0.24. Please use PaginationSupport.getPreviousStartIndex() 
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.event.events.search.SearchPerformedEvent.getQuery()
           
com.atlassian.confluence.core.ConfluenceActionSupport.getRandom()
          since 2.9. Random number generation does not belong here. Please introduce your own random number generation in your own actions. 
com.atlassian.confluence.core.ContentEntityObject.getRealTitle()
          since 2.8 - badly named, use ContentEntityObject.getDisplayTitle() 
com.atlassian.confluence.core.DefaultContentEntityManager.getRecentlyModifiedEntities(int)
            
com.atlassian.confluence.core.ContentEntityManager.getRecentlyModifiedEntities(int)
          for content queries, use the list manager instead. 
com.atlassian.confluence.core.persistence.ContentEntityObjectDao.getRecentlyModifiedEntitiesByType(ListQuery, int)
          since 2.8, use com.atlassian.confluence.search.smartlist.SmartListManager#search instead. 
com.atlassian.confluence.core.persistence.hibernate.ContentEntityObjectHibernateDao.getRecentlyModifiedEntitiesByType(ListQuery, int)
          since 2.8, use com.atlassian.confluence.search.smartlist.SmartListManager#search instead. 
com.atlassian.confluence.pages.persistence.dao.hibernate.CachingPageDao.getRecentlyModifiedEntitiesByType(ListQuery, int)
           
com.atlassian.confluence.util.GeneralUtil.getRelativeTime(Date)
          since 2.7 use FriendlyDateFormatter 
com.atlassian.confluence.plugin.descriptor.web.model.ConfluenceWebLink.getRenderedUrl(ThemeHelper)
          since 2.8 use ConfluenceWebLink.getRenderedUrl(WebInterfaceContext) 
com.atlassian.confluence.util.velocity.ConfigurableResourceManager.getResource(String, int)
          Use ConfigurableResourceManager.getResource(String resourceName, int resourceType, String encoding ) 
com.atlassian.confluence.pages.actions.ViewPageAction.getRootComment()
          since 2.8 the default theme no longer uses a "root comment". This method will remain until the other themes do the same. 
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.labels.Labelling.getSpaceKey()
          since 2.10. Use Labelling.getContent() and check if it is a SpaceContentEntityObject. If it is, cast it and call SpaceContentEntityObject.getSpaceKey() on it 
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.pages.actions.ViewPageAttachmentsAction.getTargetHelper(Attachment)
          since 2.8 use ViewPageAttachmentsAction.getWebInterfaceContext(Attachment) 
com.atlassian.confluence.util.http.trust.TrustedConnectionStatus.getTrustedConnectionErrors()
          as of confluence 2.10, use getTrustedTransportErrorMessages instead 
com.atlassian.confluence.util.http.httpclient.TrustedTokenAuthenticator.getTrustedConnectionStatus(HttpMethod)
          As of Confluence 2.10, use DefaultTrustedConnectionStatusBuilder.getTrustedConnectionStatus(HttpResponse) 
com.atlassian.confluence.servlet.download.ExportDownload.getUrl(File, String)
          since 2.7. Instead use the DownloadResourceWriter to get the resource path. 
com.atlassian.confluence.user.UserAccessor.getUserProfilePicture(String)
          since 2.9. Use UserAccessor.getUserProfilePicture(User) instead. 
com.atlassian.confluence.core.persistence.hibernate.StringClobType.hasNiceEquals()
            
com.atlassian.confluence.core.persistence.hibernate.PropertiesType.hasNiceEquals()
            
com.atlassian.confluence.security.SpacePermission.isAdministrativePermission()
          since Confluence 2.7. Not used in Confluence core at the moment. 
com.atlassian.confluence.setup.BootstrapManager.isConfluenceHomeValid()
          use AtlassianBootstrapManager.isApplicationHomeValid() instead 
com.atlassian.confluence.util.GeneralUtil.isDefaultUserProfilePicture(String)
          This method must not be used anymore, it is horribly inefficient. Rather use the ProfilePictureInfo: since it is never null, you can ask that object is the user has a default profile picture or not 
com.atlassian.confluence.pages.actions.ViewPageAction.isFavouritePage()
          since 2.8 use ContentEntityObject.isFavourite(User). 
com.atlassian.confluence.util.GeneralUtil.isGlobalAdministrator(Object, User)
          since 2.0 use PermissionManager directly, or use the $permissionHelper from velocity 
com.atlassian.confluence.security.PermissionManager.isGlobalAdministrator(User)
          since 2.7. Please use PermissionManager.isConfluenceAdministrator(User). 
com.atlassian.confluence.security.PermissionHelper.isGlobalAdministrator(User)
          since 2.7. Please use PermissionHelper.isConfluenceAdministrator(User) instead. 
com.atlassian.confluence.pages.thumbnail.DefaultThumbnailManager.isThumbnailable(Attachment)
          This only checks the content type, not the mime type of the attachment itself. 
com.atlassian.confluence.spaces.SpaceManager.isValidPersonalSpaceKey(String)
          since 2.3 use Space.isValidPersonalSpaceKey(java.lang.String) 
com.atlassian.confluence.spaces.DefaultSpaceManager.isValidPersonalSpaceKey(String)
          since 2.3 use Space.isValidPersonalSpaceKey(String) instead 
com.atlassian.confluence.spaces.SpaceManager.isValidSpaceKey(String)
          since 2.3 use Space.isValidGlobalSpaceKey(java.lang.String) 
com.atlassian.confluence.spaces.DefaultSpaceManager.isValidSpaceKey(String)
          since 2.3 use Space.isValidGlobalSpaceKey(String) instead 
com.atlassian.confluence.user.actions.AbstractUserProfileAction.isViewingMyProfile()
          use isMyProfile() 
com.atlassian.confluence.setup.BootstrapManager.isWebdavEnabled()
          use Settings.isWebdavEnabled() instead 
com.atlassian.confluence.util.GeneralUtil.loadDefaultProperties()
          since 3.0 because it doesn't do anything 
com.atlassian.confluence.AcceptanceTestHelper.loadFileFromClasspath(String)
          since 2.10 use Classpath.getFile(String). 
com.atlassian.confluence.AcceptanceTestHelper.loadFromClasspath(String)
          since 2.10 use Classpath.getBytes(String). 
com.atlassian.confluence.spaces.SpaceManager.moveHierarchy(Page, Page, Space, User, boolean, List)
          since 2.9 use PageManager.movePage(Page, Space) or PageManager.movePage(Page, Page, int) instead 
com.atlassian.confluence.spaces.DefaultSpaceManager.moveHierarchy(Page, Page, Space, User, boolean, List)
          since 2.9 use PageManager.movePage(Page, Space) or PageManager.movePage(Page, Page, int) instead 
com.atlassian.confluence.pages.PageManager.movePage(Page, Page, int)
          since 2.9 use PageManager.movePageAfter(Page, Page) or PageManager.movePageBefore(Page, Page) 
com.atlassian.confluence.pages.DefaultPageManager.movePage(Page, Page, int)
          since 2.9 use DefaultPageManager.movePageBefore(Page, Page) and DefaultPageManager.movePageAfter(Page, Page) 
com.atlassian.confluence.pages.PageManager.movePage(Page, Space)
          since 2.9 use PageManager.movePageToTopLevel(Page, Space) 
com.atlassian.confluence.pages.DefaultPageManager.movePage(Page, Space)
          since 2.9 use DefaultPageManager.movePageToTopLevel(Page, Space) 
com.atlassian.confluence.pages.actions.AbstractPageChangeAction.pageAlreadyExists()
           
com.atlassian.confluence.util.io.IOUtils.readInputStream(InputStream)
          since 3.0 because it was only used in tests 
com.atlassian.confluence.mail.notification.persistence.NotificationDao.removeAllNotificationsForUser(User)
          since 2.10 - Use NotificationDao.findNotificationsByUser(User) and ObjectDao.remove(com.atlassian.core.bean.EntityObject) instead. 
com.atlassian.confluence.AbstractConfluenceAcceptanceTest.removeBlog(String, String, String)
          Use ViewContentBean.remove() instead. 
com.atlassian.confluence.mail.notification.persistence.NotificationDao.removeDailyReportNotificationForUser(String)
          since 2.10 - Use NotificationDao.findDailyReportNotification(String) and ObjectDao.remove(com.atlassian.core.bean.EntityObject) instead 
com.atlassian.confluence.pages.persistence.dao.PageDao.removeFromPageKeyCache(String, String)
           
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.removeFromPageKeyCache(String, String)
           
com.atlassian.confluence.pages.persistence.dao.hibernate.CachingPageDao.removeFromPageKeyCache(String, String)
           
com.atlassian.confluence.search.lucene.QueuingConfluenceIndexer.resumeIndexing()
          since 3.0. Use ThreadLocalIndexerControl.resume() instead. 
com.atlassian.confluence.core.DefaultContentEntityManager.revertContentEntityBackToVersion(ContentEntityObject, int)
          since 2.9, use DefaultContentEntityManager.revertContentEntityBackToVersion(ContentEntityObject, int, String, boolean) instead 
com.atlassian.confluence.core.ContentEntityManager.revertContentEntityBackToVersion(ContentEntityObject, int)
          since 2.9, use ContentEntityManager.revertContentEntityBackToVersion(ContentEntityObject,int, String, boolean) instead 
com.atlassian.confluence.search.v2.SearchManager.search(Search)
          since 3.0. Use SearchManager.search(ISearch) by passing in a ContentSearch. 
com.atlassian.confluence.search.v2.lucene.LuceneSearchManager.search(Search)
          See super class javadoc. 
com.atlassian.confluence.search.v2.SearchManager.searchEntities(Search)
          since 3.0. Use SearchManager.searchEntities(ISearch) instead. 
com.atlassian.confluence.search.v2.lucene.LuceneSearchManager.searchEntities(Search)
          See super class javadoc. 
com.atlassian.confluence.setup.BootstrapManager.setBaseUrl(String)
          use SettingsManager.updateGlobalSettings(com.atlassian.confluence.setup.settings.Settings) instead 
com.atlassian.confluence.setup.BootstrapUtils.setBootstrapContext(ApplicationContext)
          since 2.3 use BootstrapUtils.setBootstrapContext(ApplicationContext) instead. 
com.atlassian.confluence.setup.BootstrapUtils.setBootstrapManager(BootstrapManager)
          since 2.3 use BootstrapUtils.setBootstrapManager(AtlassianBootstrapManager) instead. 
bucket.container.ContainerManager.setContainerContext(ContainerContext)
          use com.atlassian.spring.container.ContainerManager 
com.atlassian.confluence.importexport.DefaultExportContext.setDateFormatter(DateFormatter)
          since 2.8.2 
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.pages.actions.ViewPageAction.setFocusedCommentId(long)
          since 2.8 use 'commentId' parameter from the web or ViewPageAction.setComment(Comment) from the application. 
com.atlassian.confluence.user.UserInterfaceState.setLocationShowing(Boolean)
          since 2.9 ignored because UserInterfaceState.getLocationShowing() always returns false. 
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.pages.actions.ViewPageAction.setRootCommentId(long)
          since 2.8 the default theme no longer uses a "root comment". This method will remain until the other themes do the same. 
com.atlassian.confluence.labels.Labelling.setSpaceKey(String)
          since 2.10. The Labelling object is only associated with a space through the content. 
com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.shutDown()
          as per interface definition 
com.atlassian.confluence.search.service.PredefinedSearchBuilder.siteSearch(SearchQueryParameters, int, int)
          since 3.0. Use PredefinedSearchBuilder.buildSiteSearch(SearchQueryParameters, int, int) instead. 
com.atlassian.confluence.search.service.DefaultPredefinedSearchBuilder.siteSearch(SearchQueryParameters, int, int)
          See super class javadoc. 
com.atlassian.confluence.util.GeneralUtil.summarise(String)
          since 2.0 use RendererUtil.summarise(String) instead. 
com.atlassian.confluence.search.lucene.QueuingConfluenceIndexer.suspendIndexing()
          since 3.0. Use ThreadLocalIndexerControl.suspend() instead. 
com.atlassian.confluence.security.SpacePermission.toFormParameterName(String)
          As of 2.7.2, use PermissionRow.buildParameterName(String, String). 
com.atlassian.confluence.search.service.PredefinedSearchBuilder.usersSearch(String, int)
          since 3.0. Use PredefinedSearchBuilder.buildUsersSearch(String, int) instead. 
com.atlassian.confluence.search.service.DefaultPredefinedSearchBuilder.usersSearch(String, int)
          See super class javadoc. 
 

Deprecated Constructors
com.atlassian.confluence.search.v2.query.AllQuery()
          since 3.0. Use the singleton instance via AllQuery.getInstance() instead. 
com.atlassian.confluence.setup.settings.beans.ColourSchemesSettings()
          No-arg constructor is only here for deserialization. 
com.atlassian.confluence.labels.Labelling(Label, ContentEntityObject, String, String)
          since 2.10. The Labelling object is only associated with a space through the content. Use Labelling.Labelling(Label, ContentEntityObject, String) instead. 
com.atlassian.confluence.event.events.content.page.PageMoveEvent(Object, Page, Page, Space, User, boolean)
          since 2.9 Use PageMoveEvent.PageMoveEvent(Object, Page, Space, Page, Integer, User) instead 
com.atlassian.confluence.event.events.search.SearchPerformedEvent(Object, SearchQueryBean, User, int)
          the SearchQueryBean is no longer used (it will be null). Use SearchPerformedEvent.SearchPerformedEvent(Object, SearchQuery, User, int) instead. 
com.atlassian.confluence.security.SpacePermission(String, Space, String, String)
          since 3.0, as passing both group and userName leads to an invalid permission 
 



Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.