Deprecated Classes
com.atlassian.confluence.security.actions.AbstractGlobalPermissionsAction
com.atlassian.confluence.content.render.xhtml.migration.AbstractOrderedEntityObjectBatchableWorkSource
Since 5.3 Use OrderedEntityObjectBatchableWorkSource
.
com.atlassian.confluence.servlet.simpledisplay.AbstractPathConverter
since Confluence 4.3 No alternative is offered. Simply implement PathConverter directly.
com.atlassian.confluence.security.actions.AbstractSpacePermissionsAction
com.atlassian.confluence.pages.thumbnail.renderer.AdaptiveThresholdPredicate
since 5.3 Use FreeMemoryAwareImageRenderPredicate
.
com.atlassian.confluence.renderer.radeox.macros.AnchorMacro
since 4.0 - not being used.
com.atlassian.confluence.content.ui.AttachmentUiSupport.AttachmentInfo
Since 4.3. This class is only public because it is used by ContentTypesDisplayMapper. Avoid using
this class directly and use a ContentUiSupport object instead. This class will be made private when
ContentTypesDisplayMapper
is removed.
com.atlassian.confluence.event.ConfluenceEventManager
Since 3.3, use ConfluenceEventPublisherManager
com.atlassian.confluence.renderer.ConfluenceIconManager
since 4.0
com.atlassian.confluence.search.lucene.ConfluenceObjectToDocumentConverter
since 3.0. Use ConfluenceDocumentBuilder
instead.
com.atlassian.confluence.event.events.admin.ConfluenceReadyEvent
since 4.0 use DatabaseConfiguredEvent
, UpgradeFinishedEvent
, or
PluginFrameworkStartedEvent
instead
com.atlassian.confluence.setup.webwork.ConfluenceVelocityContext
Since 3.0. Use ConfluenceVelocityManager.getConfluenceVelocityContext()
instead.
com.atlassian.confluence.util.ConfluenceVelocityResourceCache
Since 2.9. Use ConfluenceVelocityResourceCache
instead.
com.atlassian.confluence.plugin.webresource.ConfluenceWebResourceModuleDescriptor
Since 3.4, use WebResourceModuleDescriptor
instead
com.atlassian.confluence.search.actions.ContentNameSearchAction
since 5.2. Instead please use the REST endpoint that is provided by the
'Confluence QuickNav' Bundled Plugin. Please use /rest/quicknav/1/search instead. It accepts the exact same arguments
and is thus API compatible with this class. You should be able to swap them out directly.
com.atlassian.confluence.spaces.actions.CreateSpaceAction
Since 5.3 - use the new rest APIs from the Create Content plugin com.atlassian.confluence.plugins.createcontent.rest.SpaceBlueprintResource
com.atlassian.confluence.security.CrowdDeactivatedUserChecker
since 4.0 use CrowdDisabledUserManager
or
the DisabledUserManager
interface instead.
com.atlassian.confluence.util.breadcrumbs.DashboardBreadcrumb
since Confluence 5.0, we don't display the Dashboard breadcrumb.
If you keep including the DashboardBreadcrumb, it will be filtered out.
See BreadcrumbGenerator
for more information.
com.atlassian.confluence.mail.DefaultMailContentManager
since 4.2. See MailContentManager
.
com.atlassian.confluence.util.DefaultThumbnailInfoFactory
since 3.0 use ThumbnailManager.getThumbnailInfo(com.atlassian.confluence.pages.Attachment)
.
com.atlassian.confluence.velocity.Deprecated
com.atlassian.confluence.pages.thumbnail.Dimensions
since 5.3 Use ImageDimensions
instead
com.atlassian.confluence.user.actions.EditMyProfileAction
since 5.0. Profile actions have been moved into a plugin. Please see com.atlassian.confluence.plugins.profile.actions
package.
com.atlassian.confluence.like.EventPublishingLikeDao
Use LikeManager
instead. Since v4.3.
com.atlassian.confluence.plugin.descriptor.web.conditions.ExternalUserManagementEnabledCondition
Since 4.2.7. Use the inverse of WritableDirectoryExistsCondition
.
com.atlassian.confluence.renderer.v2.macros.GenericVelocityMacro
as of 4.0. Replaced by GenericVelocityMacro
.
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 SystemAdministratorCondition
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 SystemAdministratorCondition
.
This class has been reintroduced to prevent problems with the approvals plugin.
NOTE: This is currently used by the Gliffy plugin. To be removed when they do. CONFDEV-15165.
com.atlassian.confluence.util.I18NSupport
since 5.2 Use I18NBeanFactory.getI18NBean()
com.atlassian.confluence.event.events.search.didyoumean.IndexBuildCompleteEvent
com.atlassian.confluence.search.lucene.IndexOptimizer
since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098
com.atlassian.confluence.content.render.xhtml.storage.link.user.InlineTasksMentionsParser
since 5.3 See inline-tasks plugin for replacement.
com.atlassian.confluence.util.io.IOUtils
since 3.0 use IOUtils
instead
com.atlassian.confluence.json.parser.JSONArray
since 2.10 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
since 2.10 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.searchfilter.LastModifierSearchFilter
since 5.2. Use LastModifierUserSearchFilter
instead.
com.atlassian.confluence.search.v2.lucene.mapper.LastModifierSearchFilterMapper
since 5.2. Use LastModifierUserSearchFilterMapper
instead.
com.atlassian.confluence.util.LazyComponentReference
since 5.3 Use LazyComponentReference
.
com.atlassian.confluence.plugin.descriptor.web.conditions.LdapUserManagementEnabledCondition
since 3.5 this no longer works properly and is no longer used in the application
com.atlassian.confluence.core.ListQuery
since 4.2 use the SearchManager
com.atlassian.confluence.util.longrunning.LongRunningTaskUtils
since 4.0. This class is spun from purest evil. Use the LongRunningTaskManager directly instead.
com.atlassian.confluence.mail.Mail
since 4.2. Mail archiving is now managed entirely by the mail archiving plugin.
com.atlassian.confluence.search.scope.ModifiedInLastDaysScope
since 5.2.
com.atlassian.confluence.search.lucene.MultiThreadedIndexRebuilder
since 5.2. Use ConfluenceReIndexer
instead.
com.atlassian.confluence.content.render.xhtml.NastyUtilitiesWhichWillBeMadeRedundant
Since 4.1. Use ConversionContext.getPageContext()
.
com.atlassian.confluence.plugin.descriptor.web.conditions.NotSharedModeCondition
Since 5.1. "Shared mode" no longer supported.
com.atlassian.confluence.search.lucene.tasks.OptimizeIndexTask
since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098
com.atlassian.confluence.core.PageContentEntityObject
Since 4.0 This used to be implemented by Comment, but is no longer necessary.
com.atlassian.confluence.event.events.content.page.PageCreateEvent
since 5.3. Please use PageCreatedEvent
com.atlassian.confluence.mail.notification.listeners.PageEventToDetachedPageEventTransformerListener
since 5.3 this class is intermittent bridge for safe migration from sync to async event processing
and not intended to long term usage.
In next releases sync version will be removed and async version of events will be published from PageManager
com.atlassian.confluence.event.events.content.page.PageMoveEvent
since 5.3. Please use PageMovedEvent
com.atlassian.confluence.event.events.content.page.PageTrashedEvent
since 5.3. Please use PageTrashedEvent
com.atlassian.confluence.event.events.content.page.PageUpdateEvent
since 5.3. Please use PageEditedEvent
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.user.actions.ResizeProfilePictureAction
since 5.0. Profile actions have been moved into a plugin. Please see com.atlassian.confluence.plugins.profile.actions
package.
com.atlassian.confluence.util.Resource
since 3.1 Resources are no longer used in Confluence. This class remains as it is referenced in a number
of upgrade tasks.
com.atlassian.confluence.xml.SafeXmlParserFactory
com.atlassian.confluence.search.v2.Search
since 3.0. Use ContentSearch
instead.
com.atlassian.confluence.search.actions.SearchQueryBean
since 4.1 - this class has not been part of the recommended search API since 2.9 and should be removed ASAP.
com.atlassian.confluence.search.actions.SearchResultWithExcerpt
since 4.1. Use SearchResult
objects instead.
com.atlassian.confluence.pages.thumbnail.renderer.SimpleThresholdPredicate
since 5.3. Use SimpleImageRenderPredicate
.
com.atlassian.confluence.spaces.SpaceUtils
since 5.2
com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorOrSuperUserCondition
since 3.5 use SystemAdministratorCondition
because this one is now inaccurately named
com.atlassian.confluence.util.http.httpclient.TrustedTokenAuthenticator.TrustedConnectionStatus
As of Confluence 2.10, use TrustedConnectionStatus
com.atlassian.confluence.upgrade.UpgradeUtils
since 3.5.9 Use HibernateDdlExecutor
and associated
DdlCommand
s, or HibernateConfig
if your code still needs to know which DB type its using.
com.atlassian.confluence.pages.UploadedResource
since 3.1. Use UploadedResource
instead.
com.atlassian.confluence.user.actions.UploadProfilePictureAction
since 5.0. Profile actions have been moved into a plugin. Please see com.atlassian.confluence.plugins.profile.actions
package.
com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserCanUseConfluenceCondition
since 5.0. Use TargetUserCanUseConfluenceCondition
or RemoteUserCanUseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserFollowingTargetCondition
since 3.1 use FollowingTargetUserCondition
com.atlassian.confluence.search.actions.UserSearchAction
since 3.3. Use REST user search API instead.
com.atlassian.confluence.user.actions.ViewMyProfileAction
since 5.0. Profile actions have been moved into a plugin. Please see com.atlassian.confluence.plugins.profile.actions
package.
com.atlassian.confluence.spaces.actions.ViewSpaceSummaryAdminAction
since 5.0
com.atlassian.confluence.user.actions.ViewUserProfileAction
since 5.0. Profile actions have been moved into a plugin. Please see com.atlassian.confluence.plugins.profile.actions
package.
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
We still need to keep the infrastructure around to support migrating WebDAV attachments back to Confluence, though
so we can't remove it entirely?
com.atlassian.confluence.event.events.security.WebLoginEvent
since 5.0. use LoginEvent
instead.
com.atlassian.confluence.importexport.impl.WikiExporter
since 4.0. There isn't wiki formatted text for export any longer.
com.atlassian.confluence.search.v2.lucene.WrappedHitImpl
since 5.2. Hit abstraction no longer exists in lucene 4.2.x.
com.atlassian.confluence.content.render.xhtml.XhtmlCleaner.AppliedRuleDescription
since 5.1.4 See StorageFormatCleaner
instead.
com.atlassian.confluence.content.render.xhtml.XhtmlCleaner.Result
since 5.1.4 See StorageFormatCleaner
instead.
com.atlassian.confluence.util.XslUtil
Since Confluence 4.0. See XslTransformer
instead.
com.atlassian.confluence.setup.xstream.XStreamFactoryBean
since 2.3, use XStreamManager
instead.
Deprecated Methods
com.atlassian.confluence.pages.CommentManager.addCommentToPage(AbstractPage, Comment, String)
com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.addDatasources(Collection)
since 5.2, prefer using Builder#andRelatedBodyParts(Collection)
instead as this method could be called after PreRenderedMailNotificationQueueItem.send()
com.atlassian.confluence.labels.LabelManager.addLabel(ContentEntityObject, Label)
since 4.2
com.atlassian.confluence.like.LikeDao.addLike(ContentEntityObject)
Use LikeManager.addLike(ContentEntityObject)
instead. Since v4.3.
com.atlassian.confluence.like.LikeManager.addLike(ContentEntityObject)
since 4.3.1 - Use LikeManager.addLike(com.atlassian.confluence.core.ContentEntityObject, com.atlassian.user.User)
with
AuthenticatedUserThreadLocal.get() instead.
com.atlassian.confluence.mail.notification.NotificationManager.addPageNotification(User, AbstractPage)
since 5.3. Use NotificationManager.addContentNotification(com.atlassian.user.User, com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.mail.notification.DefaultNotificationManager.addPageNotification(User, AbstractPage)
since 5.3. Use DefaultNotificationManager.addContentNotification(com.atlassian.user.User, com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.macro.params.BaseParameter.addParameterAlias(String)
since 3.1: this class is not thread safe and should not be mutated
com.atlassian.confluence.setup.ConfluenceListableBeanFactory.autowireNonSingletonBeanProperties(Object, int, boolean)
since 3.5 Use AbstractAutowireCapableBeanFactory.autowireBeanProperties(Object, int, boolean)
instead.
com.atlassian.confluence.security.administrators.EditGlobalPermissionsAdministrator.canSetPermissionOnUser(String, String)
Since 5.3 Use EditGlobalPermissionsAdministrator.canSetPermissionOnUser(String, com.atlassian.confluence.user.ConfluenceUser)
com.atlassian.confluence.content.render.xhtml.StorageFormatCleaner.cleanQuietly(String, ConversionContext)
since 5.1, use StorageFormatCleaner.cleanQuietly(String)
com.atlassian.confluence.content.render.xhtml.XhtmlCleaner.cleanQuietly(String, ConversionContext)
since 5.1, use XhtmlCleaner.cleanQuietly(String)
com.atlassian.confluence.util.velocity.ConfluenceVelocityResourceCache.clearAllCaches()
since 2.9 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.search.v2.query.BooleanQuery.composeAndQuery(SearchQuery, SearchQuery)
since 4.1 use .andQuery() instead.
com.atlassian.confluence.search.v2.query.BooleanQuery.composeOrQuery(SearchQuery, SearchQuery)
since 4.1 use .orQuery() instead
com.atlassian.confluence.search.v2.SearchManager.convertToEntities(SearchResults, boolean)
since 4.0. Use SearchManager.convertToEntities(SearchResults, EntityVersionPolicy)
instead.
com.atlassian.confluence.search.v2.lucene.LuceneSearchManager.convertToEntities(SearchResults, boolean)
com.atlassian.confluence.content.render.xhtml.HtmlElementIdCreator.convertToId(String)
since 4.3 this method strips characters leading to useless IDs in some cases. Use HtmlElementIdCreator.convertToIdHtml5(String)
.
com.atlassian.confluence.util.io.IOUtils.copy(InputStream, OutputStream)
since 3.0 use IOUtils
instead
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.countPermittedSpacesForUser(User, List, String)
since 5.2. See SpaceDao.countSpaces(SpacesQuery)
instead.
com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.countPermittedSpacesForUser(User, List, String)
com.atlassian.confluence.security.SpacePermission.createAnonymousSpacePermission(String, Space)
com.atlassian.confluence.plugin.ConfluencePluginUtils.createDirectoryIfDoesntExist(String)
since 4.0. Use ConfluencePluginUtils.createDirectoryIfDoesntExist(java.io.File)
, or better still use
commons.io.FileUtils.forceMkdir()
directly.
com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.createEditPermissions()
since 3.1. Use a PagePermissionsActionHelper
in your Action.
com.atlassian.confluence.rss.DefaultFeedBuilder.createFeed(ListQuery, boolean, boolean, User)
since 4.0.
com.atlassian.confluence.rss.FeedBuilder.createFeed(ListQuery, boolean, boolean, User)
since 4.0. The showDiffParameter is ignored. Use FeedBuilder.createFeed(ListQuery, FeedProperties)
.
com.atlassian.confluence.rss.DefaultFeedBuilder.createFeed(ListQuery, FeedProperties)
since 4.2
com.atlassian.confluence.rss.FeedBuilder.createFeed(ListQuery, FeedProperties)
com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.createFromTemplateContent(User, String, String)
since 5.2, use PreRenderedMailNotificationQueueItem.with(User, String, String)
instead
com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.createFromTemplateFile(User, String, String)
since 5.2, use PreRenderedMailNotificationQueueItem.with(User, String, String)
instead
com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.createFromTemplateFileAndContext(User, NotificationData, String, Map)
since 4.3, use PreRenderedMailNotificationQueueItem.with(User, String, String)
instead
com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.createFromTemplateFileAndContext(User, NotificationData, String, NotificationContext)
since 5.2, use PreRenderedMailNotificationQueueItem.with(User, String, String)
instead
com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.createFromTemplateFileAndContext(User, String, String, Map, User)
since 5.2, use PreRenderedMailNotificationQueueItem.with(User, String, String)
instead
com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.createFromTemplateFileAndContext(User, User, String, String, Collection, Map)
since 5.2, use PreRenderedMailNotificationQueueItem.with(User, String, String)
instead
com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.createFromTemplateFileAndLocation(User, String, String, String)
since 5.2, use PreRenderedMailNotificationQueueItem.with(User, String, String)
instead
com.atlassian.confluence.security.SpacePermissionManager.createInitialSpacePermissions(Space)
Use SpacePermissionManager.createDefaultSpacePermissions(com.atlassian.confluence.spaces.Space)
or SpacePermissionManager.createPrivateSpacePermissions(com.atlassian.confluence.spaces.Space)
instead.
Since v4.2.6.
com.atlassian.confluence.spaces.DefaultSpaceManager.createSpace(Space)
since 4.3. Use {#link #createSpace(String key, String name, String description, User creator)} instead
com.atlassian.confluence.servlet.download.ExportDownload.createTempFile(String, String)
since 2.7. Instead use the WritableDownloadResourceManager
to generate a DownloadResourceWriter
NOTE: CURRENTLY USED by the GrpahViz plugin. See CONFDEV-15403.
com.atlassian.confluence.util.io.IOUtils.createTmpDir(String, String)
since 3.0 because it was only used in tests
com.atlassian.confluence.security.administrators.EditGlobalPermissionsAdministrator.createUserGuardPermission(String, String)
com.atlassian.confluence.security.administrators.EditPermissionsAdministrator.createUserGuardPermission(String, String)
since 5.2. See EditPermissionsAdministrator.createUserGuardPermission(String, ConfluenceUser)
com.atlassian.confluence.security.administrators.EditSpacePermissionsAdministrator.createUserGuardPermission(String, String)
com.atlassian.confluence.security.ContentPermission.createUserPermission(String, String)
since 5.2. Use ContentPermission.createUserPermission(String, com.atlassian.confluence.user.ConfluenceUser)
com.atlassian.confluence.security.SpacePermission.createUserSpacePermission(String, Space, String)
since 5.2. Use
SpacePermission.createUserSpacePermission(String, com.atlassian.confluence.spaces.Space, com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.createViewPermissions()
since 3.1. Use a PagePermissionsActionHelper
in your Action.
com.atlassian.confluence.importexport.xmlimport.ImportProcessorContext.deferOperations(Map>)
since 5.2 Use ImportProcessorContext.deferOperations(PrimitiveId, Map)
com.atlassian.confluence.plugin.dev.WebResourceModuleDescriptorDelegate.destroy(Plugin)
com.atlassian.confluence.importexport.xmlimport.XmlImporter.doImport(Session, InputStreamFactory, ProgressMeter, boolean)
since 4.0 use XmlImporter.doImport(net.sf.hibernate.Session, InputStreamFactory, com.atlassian.core.util.ProgressMeter, boolean, com.atlassian.confluence.importexport.ImportedObjectPreProcessor)
com.atlassian.confluence.plugin.EventDispatchingPluginController.enablePlugin(String)
Since 3.3, use EventDispatchingPluginController.enablePlugins(String...)
com.atlassian.confluence.content.render.xhtml.XmlStreamWriterTemplate.execute(XmlStreamWriterCallback)
since 5.2 - use the streaming version of the method XmlStreamWriterTemplate.execute(java.io.Writer, XmlStreamWriterCallback)
com.atlassian.confluence.links.LinkManager.extractLinksFromContent(ContentEntityObject)
since 4.0. See {com.atlassian.confluence.content.render.xhtml.links.OutgoingLinksExtractor}
com.atlassian.confluence.content.render.xhtml.NastyUtilitiesWhichWillBeMadeRedundant.extractPageContext(ConversionContext)
Since 4.1. Use ConversionContext.getPageContext()
.
com.atlassian.confluence.content.render.xhtml.storage.link.user.DefaultUserMentionsExtractor.extractUserMentions(XMLEventReader)
com.atlassian.confluence.content.render.xhtml.storage.link.user.UserMentionsExtractor.extractUserMentions(XMLEventReader)
since 5.3 Use UserMentionsExtractor.extractMentionedUsers(javax.xml.stream.XMLEventReader)
com.atlassian.confluence.content.render.xhtml.storage.link.user.MentionsParser.extractUserMentions(XMLEventReader, UserMentionsExtractor)
Since 5.3. No replacement.
com.atlassian.confluence.user.UserAccessor.filterUnaccessibleGroups(List, User)
Since 5.1. This method no longer does anything, and returns the same list of groups as was passed in.
com.atlassian.confluence.user.DefaultUserAccessor.filterUnaccessibleGroups(List, User)
Since 5.1. This method no longer does anything, and returns the same list of groups as was passed in.
com.atlassian.confluence.user.UserAccessor.filterUnaccessibleGroups(Pager, User)
Since 5.1. This method no longer does anything, and returns the same list of users as was passed in.
com.atlassian.confluence.user.DefaultUserAccessor.filterUnaccessibleGroups(Pager, User)
Since 5.1. This method no longer does anything, and returns the same list of users as was passed in.
com.atlassian.confluence.user.UserAccessor.filterUnaccessibleUsers(List, User)
Since 5.1. This method no longer does anything, and returns the same list of users as was passed in.
com.atlassian.confluence.user.DefaultUserAccessor.filterUnaccessibleUsers(List, User)
Since 5.1. This method no longer does anything, and returns the same list of users as was passed in.
com.atlassian.confluence.user.UserAccessor.filterUnaccessibleUsers(Pager, User)
Since 5.1. This method no longer does anything, and returns the same list of users as was passed in.
com.atlassian.confluence.user.DefaultUserAccessor.filterUnaccessibleUsers(Pager, User)
Since 5.1. This method no longer does anything, and returns the same list of users as was passed in.
com.atlassian.confluence.content.DefaultCustomContentManager.findAllInSpace(Space)
com.atlassian.confluence.content.CustomContentManager.findAllInSpace(Space)
Since 4.2. No replacement.
com.atlassian.confluence.core.persistence.SearchableDao.findAllSearchableHandles()
since 5.2.
com.atlassian.confluence.labels.persistence.dao.LabelDao.findContentForLabel(Label, int)
since 5.3. Use a findContentForAllLabels variant with an offset and maxResults.
com.atlassian.confluence.labels.persistence.dao.LabelDao.findCurrentContentForLabel(Label)
since 5.3. Use LabelDao.findForAllLabels(Class, int, int, Label...)
com.atlassian.confluence.labels.persistence.dao.LabelDao.findCurrentContentForLabelAndSpace(Label, String)
Since 5.3. Use LabelDao.findContentInSpaceForAllLabels(int, int, String, Label...)
.
com.atlassian.confluence.pages.DefaultDraftManager.findDraft(String, String, String, String)
com.atlassian.confluence.pages.DraftManager.findDraft(String, String, String, String)
since 4.3 use DraftManager.findDraft(Long, String, String, String)
com.atlassian.confluence.core.persistence.SearchableDao.findLatestSearchableHandles()
since 5.2. Use SearchableDao.getAllSearchablesGroupedByType()
.
com.atlassian.confluence.mail.notification.persistence.NotificationDao.findNotificationByUserAndPage(User, AbstractPage)
since 5.3. Use NotificationDao.findNotificationByUserAndContent(com.atlassian.user.User, com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.mail.notification.persistence.NotificationDao.findNotificationsByPage(AbstractPage)
since 5.3. Use NotificationDao.findNotificationsByContent(com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.mail.notification.persistence.NotificationDao.findNotificationsBySpace(Space)
Since 3.5 - This method name is ambiguous. Use
NotificationDao.findNotificationsBySpaceAndType(Space, ContentTypeEnum)
or
NotificationDao.findAllNotificationsBySpace(Space)
.
com.atlassian.confluence.content.service.DraftService.findOrCreateDraftForEditor(String, DraftService.DraftType)
@since 4.2 use DraftService.findDraftForEditor(long, com.atlassian.confluence.content.service.DraftService.DraftType, java.lang.String)
or DraftService.createNewContentDraft(java.lang.String, com.atlassian.confluence.content.service.DraftService.DraftType)
or DraftService.getDraft(long)
instead.
com.atlassian.confluence.pages.persistence.dao.PageDao.findPagesWithHistoricalTitle(String)
since 3.1. Use #findPagesWithHistoricalTitleInPermittedSpace or #findPagesWithHistoricalTitleInAllPermittedSpacesExcept .
com.atlassian.confluence.security.persistence.dao.SpacePermissionDao.findPermissionsForUser(String)
since 5.3. Use SpacePermissionDao.findPermissionsForUser(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.security.persistence.dao.hibernate.HibernateSpacePermissionDao.findPermissionsForUser(String)
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.search.lucene.ConfluenceIndexManager.flushQueue(boolean)
since 4.3 use ConfluenceIndexManager.flushQueue(com.atlassian.confluence.search.lucene.ConfluenceIndexManager.IndexQueueFlushMode)
com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(boolean)
com.atlassian.confluence.follow.FollowManager.followUser(User, User)
since 5.2
com.atlassian.confluence.follow.DefaultFollowManager.followUser(User, User)
com.atlassian.confluence.security.SpacePermission.fromFormParameterName(String, Space, String)
Since 5.3. Use PermissionsFormHandler.fromFormParameterName(String, com.atlassian.confluence.spaces.Space, String)
com.atlassian.confluence.userstatus.HibernateUserStatusDao.getAllByUser(String)
com.atlassian.confluence.userstatus.UserStatusDao.getAllByUser(String)
since 5.3. Use UserStatusDao.getAllByUser(com.atlassian.user.User)
instead.
com.atlassian.confluence.user.UserAccessor.getAllDefaultGroupNames()
Since 5.2. This method is vague and returns a collection containing the result of
Settings.getDefaultUsersGroup()
and
UserAccessor.GROUP_CONFLUENCE_ADMINS
. Clients should explicitly decide what they need and use that.
com.atlassian.confluence.user.DefaultUserAccessor.getAllDefaultGroupNames()
Since 5.2. This method is vague and returns a collection containing the result of
Settings.getDefaultUsersGroup()
and
UserAccessor.GROUP_CONFLUENCE_ADMINS
. Clients should explicitly decide what they need and use that.
com.atlassian.confluence.core.persistence.SearchableDao.getAllSearchablesGroupedByType()
since 5.2. Use SearchableDao.getLatestSearchableHandlesGroupedByType()
com.atlassian.confluence.content.ui.AttachmentUiSupport.getAttachmentInfo(String, String)
Since 4.3 This method is only public because it is used by ContentTypesDisplayMapper. Avoid using
this method directly and use a ContentUiSupport object instead. This method will be made private when
ContentTypesDisplayMapper
is removed.
TODO Undeprecate and make this private when ContentTypesDisplayMapper is removed.
com.atlassian.confluence.spaces.DefaultSpaceManager.getAttachmentManager()
since 4.2.13. Get AttachmentManager injected directly to your objects instead.
com.atlassian.confluence.search.SpacePickerHelper.getAvailableGlobalSpaces(User)
since 5.2. See SpacePickerHelper.getAvailableGlobalSpaces(ConfluenceUser)
instead.
com.atlassian.confluence.pages.actions.beans.AvailableSpaces.getAvailableSpaces(Space, User)
since 5.2. See AvailableSpaces.getAvailableSpaces(Space, ConfluenceUser)
instead.
com.atlassian.confluence.setup.BootstrapManager.getBaseUrl()
since 2.8 use getBaseUrl() on SettingsManager.getGlobalSettings()
instead
com.atlassian.confluence.setup.DefaultBootstrapManager.getBaseUrl()
com.atlassian.confluence.content.render.xhtml.definition.MacroBody.getBody()
since 5.2, use MacroBody.getBodyStream()
com.atlassian.confluence.plugin.ConfluencePluginUtils.getBundledPluginDirectory(BootstrapManager)
since 3.4, use com.atlassian.confluence.plugin.PluginDirectoryProvider#getBundledPluginDirectory
If running before bootstrap use getBundledPluginDirectory(HomeLocator homeLocator), the homeLocator
returns the correct confluence home even if bootstrap hasn't been initialised.
com.atlassian.confluence.plugin.ConfluencePluginUtils.getBundledPluginDirectory(HomeLocator)
since 3.4, use com.atlassian.confluence.plugin.PluginDirectoryProvider#getBundledPluginDirectory
Finds the bundled plugins directory in the confluence home. If it doesn't
exist the directory is created.
com.atlassian.confluence.user.persistence.dao.PersonalInformationDao.getByUsername(String)
since 5.2. User PersonalInformationDao.getByUser(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.user.persistence.dao.CachingPersonalInformationDao.getByUsername(String)
com.atlassian.confluence.user.persistence.dao.hibernate.HibernatePersonalInformationDao.getByUsername(String)
since 5.2. Use HibernatePersonalInformationDao.getByUser(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.user.UserInterfaceState.getCommentsShowing()
since 5.1.5 because collapse comments feature has been removed
com.atlassian.confluence.pages.actions.ViewPageAction.getCommentsShowing()
since 5.1.5 - comment collapse feature has been removed
com.atlassian.confluence.setup.BootstrapManager.getConfiguredConfluenceHome()
since 2.8 use AtlassianBootstrapManager.getConfiguredApplicationHome()
instead
com.atlassian.confluence.mail.reports.PageReport.getContent()
since 4.0. Not used anywhere.
com.atlassian.confluence.labels.LabelManager.getContent(Label)
since 5.3. Use a method like LabelManager.getContentForLabel(int, int, Label)
that provides a specific return type.
com.atlassian.confluence.search.actions.SearchSiteAction.getContentEntityTypes()
Since 4.2 Use SearchSiteAction.getTypeOptions()
com.atlassian.confluence.labels.LabelManager.getContentForAllLabels(Collection, int, int)
since 5.3. Use LabelManager.getContentForAllLabels(int, int, Label...)
instead.
com.atlassian.confluence.labels.LabelManager.getContentForLabel(Label, int)
since 5.3. Use LabelManager.getAllContentForLabel(int, int, Label)
.
com.atlassian.confluence.like.LikeEntity.getContentId()
since 4.3.4 use getContent
com.atlassian.confluence.core.ContentEntityObject.getContentPermission(String)
since 2.6 - use getContentPermissionSet
com.atlassian.confluence.links.LinkManager.getContentWithRenamedLinks(ContentEntityObject, SpaceContentEntityObject, String, String)
since 4.0. See RelatedContentRefactorer.updateReferrers(SpaceContentEntityObject, com.atlassian.confluence.spaces.Space, String)
com.atlassian.confluence.links.DefaultLinkManager.getContentWithRenamedLinks(ContentEntityObject, SpaceContentEntityObject, String, String)
since 4.0
com.atlassian.confluence.mail.notification.listeners.NotificationData.getContext()
since 4.3 Use NotificationData.getCommonContext()
com.atlassian.confluence.search.v2.SearchResult.getCreator()
since 5.2. Use SearchResult.getCreatorUser()
instead
com.atlassian.confluence.search.v2.lucene.AbstractLuceneSearchResult.getCreator()
com.atlassian.confluence.search.contentnames.SearchResult.getCreator()
since 5.2. Usernames should not be used as keys. Please use SearchResult.getCreator()
instead.
com.atlassian.confluence.core.ConfluenceEntityObject.getCreatorName()
Since Confluence 5.2. See instead
. If you need a username you would retrieve it by id from the UserAccessor.
com.atlassian.confluence.labels.LabelManager.getCurrentContentForLabel(Label)
since 5.3. Use LabelManager.getContentForLabel(int, int, Label)
.
com.atlassian.confluence.labels.LabelManager.getCurrentContentForLabelAndSpace(Label, String)
since 5.3. Use the LabelManager.getContentInSpaceForLabel(int, int, String, Label)
.
com.atlassian.confluence.importexport.ImportContext.getCurrentUser()
since 5.2. User ImportContext.getUser()
instead.
com.atlassian.confluence.importexport.DefaultImportContext.getCurrentUser()
com.atlassian.confluence.setup.settings.DefaultDarkFeaturesManager.getDarkFeatures(User)
Since 5.2 - Use DefaultDarkFeaturesManager.getDarkFeatures(com.atlassian.confluence.user.ConfluenceUser)
com.atlassian.confluence.setup.settings.DarkFeaturesManager.getDarkFeatures(User)
Since 5.2 - Use DarkFeaturesManager.getDarkFeatures(com.atlassian.confluence.user.ConfluenceUser)
com.atlassian.confluence.user.UserInterfaceState.getDashboardSpacesSelectedGroup()
since 3.5 always returns null
, because it is no longer used by Confluence
com.atlassian.confluence.user.UserInterfaceState.getDashboardTab()
since 3.5 use UserInterfaceState.getDashboardSpacesTab()
instead
com.atlassian.confluence.user.ConfluenceUserPreferences.getDateFormatter(FormatSettingsManager)
com.atlassian.confluence.admin.actions.lookandfeel.EditDecoratorAction.getDecorators()
com.atlassian.confluence.security.SpacePermission.getDefaultGlobalPermissions()
since 5.2. Use SpacePermissionManager.getDefaultGlobalPermissions()
instead.
Returns the default global permissions that are created when Confluence is set up. These will exist in a newly
set up system but may be removed afterwards. Note that the returned objects are freshly created and therefore
do not have IDs or other persistence data.
By default, confluence-administrators group has admin access, the default users group can view the system
and anonymous access is disabled.
com.atlassian.confluence.spaces.listeners.CreatePersonalSpaceListener.getDefaultHomePageContent()
since 5.0 Do not use anymore. Get default space home content via the SystemTemplateManager
now.
com.atlassian.confluence.spaces.listeners.InitialSpaceContentListener.getDefaultHomePageContent()
since 5.0 Do not use anymore. Get default space home content via the SystemTemplateManager
now.
com.atlassian.confluence.setup.settings.Settings.getDefaultPersonalSpaceHomepageContent()
since 5.0 because default space homepage content is now fetched from a global template
com.atlassian.confluence.setup.settings.Settings.getDefaultSpaceHomepageContent()
since 5.0 because default space homepage content is now fetched from a global template
com.atlassian.confluence.admin.actions.cluster.ClusterConfigurationAction.getDetailedNodeInfo()
since 5.1 leaks Coherence classes, do not use.
com.atlassian.confluence.pages.actions.EditPageAction.getDialogBrowsePanel()
since 5.3. This hasn't actually been used in Confluence for an uninvestigated period of time.
com.atlassian.confluence.pages.actions.AbstractEditPageAction.getDiffRenderer()
since 5.3 should no longer be used.
com.atlassian.confluence.setup.BootstrapManager.getDomainName()
since 4.2 use getBaseUrl() on SettingsManager.getGlobalSettings()
instead
com.atlassian.confluence.setup.DefaultBootstrapManager.getDomainName()
com.atlassian.confluence.pages.persistence.dao.DraftDao.getDraft(Long, String, String, String)
since 5.2. User DraftDao.getDraft(String, com.atlassian.confluence.user.ConfluenceUser, String, String)
instead.
com.atlassian.confluence.pages.persistence.dao.SessionDraftDao.getDraft(Long, String, String, String)
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateDraftDao.getDraft(Long, String, String, String)
com.atlassian.confluence.pages.persistence.dao.DraftDao.getDraft(String, String, String, String)
since 5.2. User DraftDao.getDraft(String, com.atlassian.confluence.user.ConfluenceUser, String, String)
instead.
com.atlassian.confluence.pages.persistence.dao.SessionDraftDao.getDraft(String, String, String, String)
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateDraftDao.getDraft(String, String, String, String)
com.atlassian.confluence.search.lucene.ContentPermissionSearchUtils.getEncodedUserName(String)
since 5.2. Use ContentPermissionSearchUtils.getEncodedUserKey(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.importexport.impl.ExportUtils.getExportDescriptor(File, boolean)
since 4.2 use ExportDescriptor.getExportDescriptor(java.io.File)
instead.
com.atlassian.confluence.importexport.ExportContext.getExportDirectoryPath()
since 3.2 - unused
com.atlassian.confluence.importexport.DefaultExportContext.getExportDirectoryPath()
com.atlassian.confluence.servlet.download.ExportDownload.getExportRoot()
since 2.7
com.atlassian.confluence.importexport.impl.AbstractXmlExporter.getExportType()
since 4.2 use AbstractXmlExporter.getExportScope()
instead.
com.atlassian.confluence.importexport.impl.ExportUtils.getExportTypeFromExportZip(File)
since 4.2 use ExportDescriptor.getScope()
com.atlassian.confluence.importexport.impl.ExportUtils.getExportTypeFromExportZip(File, boolean)
since 4.2 use ExportDescriptor.getScope()
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.follow.Connection.getFollowee()
since 5.2
com.atlassian.confluence.follow.Connection.getFollower()
Since 5.2
com.atlassian.confluence.event.events.follow.FollowEvent.getFollower()
since 5.2. Use FollowEvent.getFollowerUser()
instead.
com.atlassian.confluence.follow.FollowManager.getFollowing(User)
since 5.2. User FollowManager.getFollowing(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.status.service.systeminfo.MemoryInfo.getFreeMemory()
since 3.1 produces misleading memory info. Please use newer API
com.atlassian.confluence.status.service.systeminfo.MemoryInfo.getFreeMemoryInMegabytes()
since 3.1 produces misleading memory info. Please use newer API
com.atlassian.confluence.userstatus.UserStatus.getFullName()
since 5.2. Use ConfluenceEntityObject.getCreator()
instead.
com.atlassian.confluence.security.SpacePermission.getGenericSpacePermissions()
since 3.0, why do we even need a getter
com.atlassian.confluence.user.UserAccessor.getGroupsAsList(User)
since 3.5.4 callers should use UserAccessor.getGroupNames(User)
or UserAccessor.getGroupNamesForUserName(String)
com.atlassian.confluence.core.DefaultContentPermissionManager.getInheritedContentPermissions(ContentEntityObject)
com.atlassian.confluence.core.ContentPermissionManager.getInheritedContentPermissions(ContentEntityObject)
Since 2.6 use ContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject)
com.atlassian.confluence.pages.actions.AbstractPreviewPageAction.getInPreview()
since 5.3 (and really much much longer)
com.atlassian.confluence.core.AbstractLabelableEntityObject.getLabelUtil()
since 5.2. Use LabelUtil
directly.
com.atlassian.confluence.search.v2.SearchResult.getLastModifier()
since 5.2. Use SearchResult.getLastModifierUser()
instead
com.atlassian.confluence.search.v2.lucene.AbstractLuceneSearchResult.getLastModifier()
com.atlassian.confluence.search.contentnames.SearchResult.getLastModifier()
since 5.2. Usernames should not be used as keys. Please use SearchResult.getLastModifier()
instead.
com.atlassian.confluence.core.VersionHistorySummary.getLastModifierName()
since 5.2. See VersionHistorySummary.getLastModifier()
instead.
com.atlassian.confluence.core.ConfluenceEntityObject.getLastModifierName()
Since Confluence 5.2. See instead
. If you need a username you would retrieve it by id from the UserAccessor.
com.atlassian.confluence.jmx.JmxIndexManagerWrapper.getLastWasOptimised()
since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098
com.atlassian.confluence.core.persistence.ContentEntityObjectDao.getLockedContentBySpace(String)
since 5.1. 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.pages.persistence.dao.hibernate.CachingPageDao.getLockedContentBySpace(String)
since 5.1. There is no replacement as this functionality was superseded by
multiple page permissions (CONF-3701)
com.atlassian.confluence.setup.BuildInformation.getMajorVersion()
since 5.2. Use BuildInformation.getVersionNumber()
.
com.atlassian.confluence.pages.DefaultDraftManager.getMergedContent(Draft)
since 4.0 use the MergeResult mergeContent(Draft draft) instead.
com.atlassian.confluence.pages.DraftManager.getMergedContent(Draft)
since 4.0 use mergeContent(Draft draft) instead.
com.atlassian.confluence.user.UserAccessor.getNewUserDefaultGroupName()
since 5.2. Use Settings.getDefaultUsersGroup()
via
SettingsManager.getGlobalSettings()
.
com.atlassian.confluence.user.DefaultUserAccessor.getNewUserDefaultGroupName()
since 5.2. Use Settings.getDefaultUsersGroup()
via
SettingsManager.getGlobalSettings()
.
com.atlassian.confluence.core.ConfluenceActionSupport.getNiceContentType(ContentEntityObject)
since 4.2 - use ContentUiSupport directly
com.atlassian.confluence.cluster.ClusterManager.getNodeStatusesForCluster()
since 3.1 leaks Coherence classes, do not use.
com.atlassian.confluence.cluster.NodeStatusFactory.getNodeStatusesForCluster(ClusterManager)
since 3.1 leaks Coherence objects. Use ClusterManager.getNodeStatuses()
com.atlassian.confluence.mail.notification.NotificationManager.getNotificationByUserAndPage(User, AbstractPage)
since 5.3. Use NotificationManager.getNotificationByUserAndContent(com.atlassian.user.User, com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.mail.notification.DefaultNotificationManager.getNotificationByUserAndPage(User, AbstractPage)
since 5.3. Use DefaultNotificationManager.getNotificationByUserAndContent(com.atlassian.user.User, com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.mail.notification.NotificationManager.getNotificationsByPage(AbstractPage)
since 5.3. Use NotificationManager.getNotificationsByContent(com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.mail.notification.DefaultNotificationManager.getNotificationsByPage(AbstractPage)
since 5.3. Use DefaultNotificationManager.getNotificationsByContent(com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.mail.notification.NotificationManager.getNotificationsBySpace(Space)
Since 3.5 - use NotificationManager.getNotificationsBySpaceAndType(Space, ContentTypeEnum)
com.atlassian.confluence.mail.notification.DefaultNotificationManager.getNotificationsBySpace(Space)
since 5.3. Use DefaultNotificationManager.getNotificationsByContent(com.atlassian.confluence.core.ContentEntityObject)
instead.
com.atlassian.confluence.setup.settings.Settings.getNumberOfBreadcrumbAncestors()
since 4.0
com.atlassian.confluence.pages.actions.AbstractEditPageAction.getOldContent()
since 5.3 (but really did nothing for a long time before then)
com.atlassian.confluence.pages.actions.AbstractEditPageAction.getOriginalPage()
since 5.3. This hasn't been used for a long time.
com.atlassian.confluence.pages.actions.PageNotPermittedAction.getOriginalurl()
since 5.2.1. No longer required for getLoginUrl to be expanded correctly.
com.atlassian.confluence.core.AbstractVersionedEntityObject.getOriginalVersion()
since 2.5. Use AbstractVersionedEntityObject.getLatestVersion()
and AbstractVersionedEntityObject.isLatestVersion()
instead.
com.atlassian.confluence.core.Versioned.getOriginalVersion()
since 2.5. Use Versioned.getLatestVersion()
and Versioned.isLatestVersion()
instead.
com.atlassian.confluence.renderer.UserMacroConfig.getOutputType()
since 4.0. There will be only one output type of HTML beyond 4.0.
com.atlassian.confluence.labels.Label.getOwner()
since 5.2. See Label.getOwnerUser()
instead.
com.atlassian.confluence.pages.Comment.getPage()
since 4.0. Please use Comment.getOwner()
instead.
com.atlassian.confluence.event.events.content.mail.notification.ContentNotificationEvent.getPage()
since 5.3. Use NotificationEvent.getNotification()
and Notification.getContent()
.
com.atlassian.confluence.mail.notification.Notification.getPage()
since 5.3. Use Notification.getContent()
instead (and make no assumptions about what type of content is associated here)
com.atlassian.confluence.pages.DefaultPageManager.getPage(String, String, boolean)
com.atlassian.confluence.pages.PageManager.getPage(String, String, boolean)
since 3.0, use PageManager.getPageWithComments(String, String)
instead.
com.atlassian.confluence.pages.actions.ViewPageAction.getPageContent()
since 4.0. This is not used anywhere.
com.atlassian.confluence.core.ContentEntityObject.getPermissions()
since 2.6 - use ContentEntityObject.getContentPermissionSet(String)
com.atlassian.confluence.user.PersonalInformationManager.getPersonalInformation(User)
since 4.2.5 - use getOrCreatePersonalInformation
com.atlassian.confluence.spaces.SpaceManager.getPersonalSpace(String)
since 5.2. See SpaceManager.getPersonalSpace(ConfluenceUser)
com.atlassian.confluence.spaces.SpaceManager.getPersonalSpace(User)
since 5.2. See SpaceManager.getPersonalSpace(ConfluenceUser)
com.atlassian.confluence.spaces.SpaceManager.getPersonalSpaceKey(String)
since 5.2. See SpaceManager.getPersonalSpace(User)
instead
com.atlassian.confluence.plugin.ConfluencePluginUtils.getPluginDirectory(BootstrapManager)
since 3.4, use com.atlassian.confluence.plugin.PluginDirectoryProvider#getPluginDirectory
com.atlassian.confluence.plugin.ConfluencePluginUtils.getPluginsPersistentCacheDirectory(BootstrapManager)
since 3.4, use com.atlassian.confluence.plugin.PluginDirectoryProvider#getPluginsPersistentCacheDirectory
If running before bootstrap use getBundledPluginDirectory(HomeLocator homeLocator), the homeLocator
returns the correct confluence home even if bootstrap hasn't been initialised.
com.atlassian.confluence.plugin.ConfluencePluginUtils.getPluginsPersistentCacheDirectory(HomeLocator)
since 3.4, use com.atlassian.confluence.plugin.PluginDirectoryProvider#getPluginsPersistentCacheDirectory
Finds the plugins persistent cache directory in the confluence home. If it doesn't
exist the directory is created.
com.atlassian.confluence.plugin.ConfluencePluginUtils.getPluginTempDirectory(BootstrapManager)
since 3.4, use com.atlassian.confluence.plugin.PluginDirectoryProvider#getPluginTempDirectory
If running before bootstrap use getPluginTempDirectory(HomeLocator homeLocator), the homeLocator
returns the correct confluence home even if bootstrap hasn't been initialised.
com.atlassian.confluence.plugin.ConfluencePluginUtils.getPluginTempDirectory(HomeLocator)
since 3.4, use com.atlassian.confluence.plugin.PluginDirectoryProvider#getPluginTempDirectory
Finds the plugins-temp directory in the confluence home. If it doesn't
exist the directory is created.
com.atlassian.confluence.pages.actions.ViewPageAction.getPossibleAlternativesElsewhere()
since 3.1 This action no longer uses possible alternatives so this method can be deleted. See
PageNotFoundAction
com.atlassian.confluence.pages.actions.ViewPageAction.getPossibleAlternativesInSpace()
since 3.1 This action no longer uses possible alternatives so this method can be deleted. See
PageNotFoundAction
com.atlassian.confluence.pages.PageManager.getPossibleRedirects(String)
Since 3.1. Use PageManager.getPossibleRedirectsInSpace(Space, String, int)
or PageManager.getPossibleRedirectsNotInSpace(Space, String, int)
com.atlassian.confluence.pages.PageManager.getPossibleRedirectsForSpace(Space, String)
Since 3.1. Use PageManager.getPossibleRedirectsInSpace(Space, String, int)
or PageManager.getPossibleRedirectsNotInSpace(Space, String, int)
com.atlassian.confluence.user.UserAccessor.getPropertySet(User)
since 5.2 - Use UserAccessor.getPropertySet(ConfluenceUser)
com.atlassian.confluence.util.GeneralUtil.getRelativeTime(Date)
since 2.7 use FriendlyDateFormatter
com.atlassian.confluence.core.ConfluenceActionSupport.getRemoteUser()
since 5.2. Use ConfluenceActionSupport.getAuthenticatedUser()
instead.
com.atlassian.confluence.content.render.xhtml.DefaultConversionContext.getRenderContext()
since 4.0. Used DefaultConversionContext.getPageContext()
instead.
com.atlassian.confluence.util.velocity.ConfigurableResourceManager.getResource(String, int)
since 2.9 Use ConfigurableResourceManager.getResource(String resourceName, int resourceType, String encoding )
com.atlassian.confluence.plugin.webresource.ConfluenceWebResourceManager.getResourceTagsForAdditionalContextsHtml(List)
@since 5.2
com.atlassian.confluence.setup.BuildInformation.getRevisionNumber()
since 5.0 use BuildInformation.getGitCommitHash()
instead
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.importexport.ExportContext.getScope()
since 4.2 use ExportContext.getExportScope()
com.atlassian.confluence.core.persistence.SearchableDao.getSearchableCount()
since 5.2. Use SearchableDao.getCountOfLatestSearchables()
instead.
com.atlassian.confluence.links.LinkManager.getSelfContentWithRenamedLinks(ContentEntityObject, String)
since 4.0. See RelatedContentRefactorer.updateReferences(SpaceContentEntityObject, com.atlassian.confluence.spaces.Space, String)
com.atlassian.confluence.links.DefaultLinkManager.getSelfContentWithRenamedLinks(ContentEntityObject, String)
since 4.0
com.atlassian.confluence.spaces.DefaultSpaceManager.getSettingsManager()
since 4.2.13. Get SettingsManager injected directly to your objects instead.
com.atlassian.confluence.setup.settings.GlobalDescription.getSiteWelcomeMessage()
since 4.0. Not used.
com.atlassian.confluence.setup.settings.Settings.getSiteWelcomeMessage()
since 5.0 The welcome message is now a system template. Use WelcomeMessageService
com.atlassian.confluence.pages.Comment.getSpaceKey()
com.atlassian.confluence.importexport.impl.ExportUtils.getSpaceKeyFromExportZip(File)
this is unnecessary for space exports produced since Confluence 4.2, where you can just use
ExportDescriptor.getSpaceKey()
.
com.atlassian.confluence.setup.velocity.VelocityFriendlyWebResourceManager.getStaticPluginResourcePrefix(ModuleDescriptor>, String)
since 4.1 use VelocityFriendlyWebResourceManager.getStaticPluginResource(com.atlassian.plugin.ModuleDescriptor, String)
com.atlassian.confluence.event.events.follow.FollowEvent.getSubject()
since 5.2. Use FollowEvent.getFolloweeUser()
instead.
com.atlassian.confluence.labels.DefaultLabelManager.getSuggestedLabels(ContentEntityObject)
com.atlassian.confluence.labels.LabelManager.getSuggestedLabels(ContentEntityObject)
since 4.2
com.atlassian.confluence.labels.DefaultLabelManager.getSuggestedLabels(ContentEntityObject, int)
com.atlassian.confluence.labels.LabelManager.getSuggestedLabels(ContentEntityObject, int)
since 4.2
com.atlassian.confluence.labels.DefaultLabelManager.getSuggestedLabelsInSpace(ContentEntityObject, String)
com.atlassian.confluence.labels.LabelManager.getSuggestedLabelsInSpace(ContentEntityObject, String)
since 4.2
com.atlassian.confluence.labels.DefaultLabelManager.getSuggestedLabelsInSpace(ContentEntityObject, String, int)
com.atlassian.confluence.labels.LabelManager.getSuggestedLabelsInSpace(ContentEntityObject, String, int)
since 4.2
com.atlassian.confluence.plugin.descriptor.web.DefaultWebInterfaceContext.getTargetUser()
com.atlassian.confluence.plugin.descriptor.web.WebInterfaceContext.getTargetUser()
since 5.2. See WebInterfaceContext.getTargetedUser()
.
com.atlassian.confluence.mail.notification.listeners.NotificationData.getTemplateImageDataSources()
since 4.3 Use NotificationContext.getTemplateImageDataSources()
com.atlassian.confluence.mail.template.MailNotificationQueueItem.getTemplateLocationFromUserPreference(User)
since 5.2, use #getDefaultTemplateLocation(String)
com.atlassian.confluence.util.I18NSupport.getText(String)
since 5.2 Use I18NBean.getText(String)
com.atlassian.confluence.util.I18NSupport.getText(String, Object[])
since 5.2 Use I18NBean.getText(String, Object[])
com.atlassian.confluence.pages.thumbnail.DefaultThumbnailManager.getThumber()
since 3.5
com.atlassian.confluence.util.ThumbnailInfoFactory.getThumbnailInfo(Attachment)
since 3.0 use ThumbnailManager.getThumbnailInfo(com.atlassian.confluence.pages.Attachment)
.
com.atlassian.confluence.importexport.impl.ExportUtils.getTitleAsFilename(String)
since 5.1.4. Use ExportUtils.getTitleAsFilename(ContentEntityObject)
instead (see CONF-27260)
com.atlassian.confluence.importexport.impl.ExportUtils.getTitleAsHref(String)
since 5.1.4. Use ExportUtils.getTitleAsHref(ContentEntityObject)
instead (see CONF-27260)
com.atlassian.confluence.themes.Theme.getTopNavLocation()
since 5.0 - with the common header themes shouldn't specify their own top navigation anymore.
This method is no longer called from anywhere within Confluence.
com.atlassian.confluence.status.service.systeminfo.MemoryInfo.getTotalMemory()
since 3.1 produces misleading memory statistics. Please use newer API
com.atlassian.confluence.status.service.systeminfo.MemoryInfo.getTotalMemoryInMegabytes()
since 3.1 produces misleading memory info. Please use newer API
com.atlassian.confluence.content.render.xhtml.storage.ContentTransformerFactory.getTransformer(MacroDefinitionHandler)
Use ContentTransformerFactory.getTransformer(MacroDefinitionHandler, MacroDefinitionMarshallingStrategy)
instead. Since v5.0.
com.atlassian.confluence.pages.TrashManager.getTrashContents(String)
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.status.service.systeminfo.MemoryInfo.getUsedMemory()
since 3.1. Use MemoryInfo.getUsedHeap()
com.atlassian.confluence.status.service.systeminfo.MemoryInfo.getUsedMemoryInMegabytes()
since 3.1. Use MemoryInfo.getUsedHeap()
com.atlassian.confluence.plugin.descriptor.web.DefaultWebInterfaceContext.getUser()
com.atlassian.confluence.plugin.descriptor.web.WebInterfaceContext.getUser()
since 5.2. See WebInterfaceContext.getCurrentUser()
instead.
com.atlassian.confluence.user.AuthenticatedUserThreadLocal.getUser()
since 5.2. Use AuthenticatedUserThreadLocal.get()
instead.
com.atlassian.confluence.labels.Labelling.getUser()
since 5.2. User Labelling.getOwningUser()
instead.
com.atlassian.confluence.core.ConfluenceActionSupport.getUser(String)
since 5.2. Use ConfluenceActionSupport.getUserByName(String)
instead.
com.atlassian.confluence.user.UserAccessor.getUser(String)
since 5.2. See UserAccessor.getUserByName(String)
com.atlassian.confluence.search.actions.SearchResultWithExcerpt.getUserAccessor()
since 4.0, this is not being used anywhere and shouldn't be here.
com.atlassian.confluence.core.ContentEntityObject.getUserAccessor()
since 4.0
com.atlassian.confluence.user.UserAccessor.getUserIfAvailable(String)
since 5.2. Use UserAccessor.getUserByName(String)
com.atlassian.confluence.user.DefaultUserAccessor.getUserIfAvailable(String)
since 5.2
com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.UserResourceIdentifier.getUsername()
since 5.2. Use UserResourceIdentifier.getUserKey()
com.atlassian.confluence.like.LikeEntity.getUsername()
since 5.2. Use LikeEntity.getUser()
instead.
com.atlassian.confluence.security.SpacePermission.getUserName()
since 5.2. Use SpacePermission.getUserSubject()
instead.
com.atlassian.confluence.security.ContentPermission.getUserName()
since 5.2. Use ContentPermission.getUserSubject()
instead.
com.atlassian.confluence.security.persistence.dao.hibernate.UserLoginInfo.getUserName()
since 5.2. See UserLoginInfo.getUser()
.
com.atlassian.confluence.hosted.SpaceGroupPermission.getUserName()
since 5.2. See SpaceGroupPermission.getUserSubject()
com.atlassian.confluence.mail.notification.Notification.getUserName()
since 5.2. User Notification.getReceiver()
instead.
com.atlassian.confluence.spaces.SpaceUtils.getUsernameFromPersonalSpaceKey(String)
since 5.2. Instead use the spaceManager to retrieve the space (SpaceManager.getSpace(String)
) and
then retrieve the creator (ConfluenceEntityObject.getCreator()
). From 5.3 onwards this method could well return the wrong username
(if a user was renamed).
com.atlassian.confluence.security.ContentPermissionSet.getUserNames()
since 5.3 Use #getUserKeys)
com.atlassian.confluence.core.persistence.ContentPermissionDao.getUserPermissions(String)
since 5.3. Use ContentPermissionDao.getUserPermissions(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.core.persistence.hibernate.ContentPermissionHibernateDao.getUserPermissions(String)
com.atlassian.confluence.user.UserAccessor.getUserProfilePicture(String)
since 2.9. Use UserAccessor.getUserProfilePicture(User)
instead.
com.atlassian.confluence.user.actions.RemoveGroupAction.getUsers()
since Confluence 3.3. It seems it hasn't been successfully used in Confluence since 2.3.
See CONF-19552. Use UserAccessor.getMemberNames(Group)
directly instead.
com.atlassian.confluence.util.PageChangesBean.getUsersWhoMadeChanges()
since 5.2. Use PageChangesBean.getUsers()
instead.
com.atlassian.confluence.user.UserAccessor.getUsersWithConfluenceAccessAsList()
since 3.5.1. This method is very slow, use UserAccessor.countUsersWithConfluenceAccess()
if you need to know the number of users.
com.atlassian.confluence.pages.wysiwyg.DefaultConfluenceWysiwygConverter.getUserWysiwygPreference()
since 4.0. Always returns true.
com.atlassian.confluence.pages.wysiwyg.ConfluenceWysiwygConverter.getUserWysiwygPreference()
since 4.0. Users are no longer able to set a user preference.
com.atlassian.confluence.pages.actions.ViewPageAttachmentsAction.getWebInterfaceContext(Attachment)
since 3.1 use ViewPageAttachmentsAction.getWebInterfaceContext(WebInterfaceContext, Attachment)
com.atlassian.confluence.util.ContentFacade.getWelcomeMessage()
since 4.2. Use WelcomeMessageService.getWelcomeMessage()
instead
com.atlassian.confluence.importexport.impl.HibernateObjectHandleTranslator.handleToObject(TransientHibernateHandle)
since 5.0. Use Object handleToObject(ExportHibernateHandle) instead
com.atlassian.confluence.pages.AbstractPage.hasInvalidTitleCharacters(String)
com.atlassian.confluence.like.LikeDao.hasLike(ContentEntityObject)
Use LikeManager.hasLike(ContentEntityObject)
instead. Since v4.3.
com.atlassian.confluence.like.LikeManager.hasLike(ContentEntityObject)
since 4.3.1 - Use LikeManager.hasLike(com.atlassian.confluence.core.ContentEntityObject, com.atlassian.user.User)
with
AuthenticatedUserThreadLocal.get() instead.
com.atlassian.confluence.security.DefaultSpacePermissionManager.hasPermission(List, Space, User)
Since 5.0. Use DefaultSpacePermissionManager.hasAllPermissions(java.util.List, com.atlassian.confluence.spaces.Space, com.atlassian.user.User)
com.atlassian.confluence.security.SpacePermissionManager.hasPermission(List, Space, User)
Since 5.0. Use SpacePermissionManager.hasAllPermissions(java.util.List, com.atlassian.confluence.spaces.Space, com.atlassian.user.User)
com.atlassian.confluence.pages.actions.AbstractPageAwareAction.hasViewPagePermission()
since 4.0 because this method doesn't check permissions properly, use
PermissionManager.hasPermission(com.atlassian.user.User, com.atlassian.confluence.security.Permission, java.lang.Object)
instead.
com.atlassian.confluence.importexport.impl.HibernateObjectHandleTranslator.idToHandleFunction(Class)
Since 5.3. Use HibernateObjectHandleTranslator.idToHandle(Class)
com.atlassian.confluence.importexport.ImportExportManager.importAs(Object, ImportContext)
since 4.2 use ImportExportManager.doImport(ImportContext)
.
com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(Object, ImportContext)
since 4.2 use DefaultImportExportManager.doImport(ImportContext)
.
com.atlassian.confluence.plugin.EventDispatchingPluginController.installPlugin(PluginArtifact)
Since 3.3, use EventDispatchingPluginController.installPlugins(com.atlassian.plugin.PluginArtifact...)
com.atlassian.confluence.spaces.actions.AbstractSpaceAction.isAdminUser()
since 3.1 this method does not seem to be called from anywhere.
com.atlassian.confluence.user.actions.ProfilePictureInfo.isAnonymous()
since 5.3 use ProfilePictureInfo.isAnonymousPicture()
com.atlassian.confluence.util.zip.AbstractUnzipper.isChildOf(File, File)
since 5.2.5. Use ConfluenceFileUtils.isChildOf(java.io.File, java.io.File)
instead
com.atlassian.confluence.setup.settings.DarkFeatures.isDarkFeatureEnabled(User, String)
Since 5.2 - Use DarkFeatures.isDarkFeatureEnabled(com.atlassian.confluence.user.ConfluenceUser, String)
com.atlassian.confluence.user.crowd.CrowdDisabledUserManager.isDeactivated(String)
since 3.5 use CrowdDisabledUserManager.isDisabled(String)
com.atlassian.confluence.security.DeactivatedUserChecker.isDeactivated(String)
since 3.5 use UserAccessor.isDeactivated(String)
instead
com.atlassian.confluence.user.crowd.CrowdDisabledUserManager.isDeactivated(User)
since 3.5 use CrowdDisabledUserManager.isDisabled(User)
com.atlassian.confluence.security.DeactivatedUserChecker.isDeactivated(User)
since 3.5 use UserAccessor.isDeactivated(User)
instead
com.atlassian.confluence.util.GeneralUtil.isDefaultUserProfilePicture(String)
since 2.7. Use UserAccessor.getUserProfilePicture(com.atlassian.user.User)
.
com.atlassian.confluence.admin.actions.GeneralConfigurationAction.isDisplayLinkIcons()
since 4.0
com.atlassian.confluence.setup.settings.Settings.isDisplayLinkIcons()
since 4.0
com.atlassian.confluence.setup.settings.Settings.isEnableDidYouMean()
since 5.2 because we don't use did you mean anymore
com.atlassian.confluence.setup.settings.Settings.isEnableJavascriptTop()
since 5.0. We always serve javascript at the top. Will always return true.
com.atlassian.confluence.setup.settings.Settings.isEnableWysiwyg()
since 4.0
com.atlassian.confluence.core.AbstractLabelableEntityObject.isFavourite(User)
com.atlassian.confluence.labels.PermittedLabelView.isFavourite(User)
com.atlassian.confluence.labels.Labelable.isFavourite(User)
since 5.2. Use Labelable.isFavourite(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.themes.Theme.isIncludeClassicStyles()
Since 3.5. Themes should include their own stylesheets and not rely on Confluence's legacy styles.
com.atlassian.confluence.themes.ExperimentalUnsupportedTheme.isIncludeClassicStyles()
com.atlassian.confluence.themes.BasicTheme.isIncludeClassicStyles()
Since 3.5. Themes should include their own stylesheets and not rely on Confluence's legacy styles.
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.isInfrastructureClass(Class, String)
since 4.2 Use AbstractAutoProxyCreator.isInfrastructureClass(Class)
com.atlassian.confluence.pages.actions.AbstractCreatePageAction.isInvalidPageTitle()
since 4.1 Page title character restrictions have been removed.
com.atlassian.confluence.macro.GenericVelocityMacro.isLegacyWikiTemplate()
as of Confluence 4.0. This is a transition method that will be removed fairly quickly after the 4.0
release since we expected admin's to manually fix their user macros to no longer use wiki templates.
See ReportUserMacrosWithWikiTemplateUpgradeTask
.
com.atlassian.confluence.pages.actions.EditPageAction.isMoveHierarchy()
since 5.3. This hasn't actually been used in Confluence since 4.0.
com.atlassian.confluence.upgrade.UpgradeUtils.isMSSQL()
since 3.5.8 because it is too close to isMySQL. Use UpgradeUtils.isSqlServer()
instead
com.atlassian.confluence.mail.notification.Notification.isNetwork()
since 5.3. Use Notification.isNetworkNotification()
instead.
com.atlassian.confluence.labels.Label.isNew()
since Confluence 5.1, do not use.
com.atlassian.confluence.util.GeneralUtil.isOutgoingMailConfigured()
since v5.0. Use MailServerManager.isDefaultSMTPMailServerDefined()
instead.
com.atlassian.confluence.search.actions.SearchResultWithExcerpt.isRecentlyUpdatedFor(User)
since 4.0, this is not being used anywhere and shouldn't be here.
com.atlassian.confluence.core.ContentEntityObject.isRecentlyUpdatedFor(User)
since 4.0. Use PageManager.isPageRecentlyUpdatedForUser(com.atlassian.confluence.pages.Page, com.atlassian.user.User)
instead as this was only used for pages anyway.
com.atlassian.confluence.renderer.v2.macros.GenericVelocityMacro.isRenderOutput()
since 4.0. Beyond 4.0 HTML output will be the only type supported.
com.atlassian.confluence.core.ConfluenceActionSupport.isSharedMode()
Since 5.1. "Shared mode" no longer supported, always returns false;
com.atlassian.confluence.security.actions.PermissionsAware.isSharedMode()
since 5.0. Shared-mode not supported since 3.0.
com.atlassian.confluence.dashboard.actions.ConfigureRssFeedAction.isShowDiff()
Since 4.0. Diffs are no longer supported in RSS feeds.
com.atlassian.confluence.rss.FeedProperties.isShowDiff()
Since 4.0. Diffs are no longer supported in RSS feeds.
com.atlassian.confluence.rss.RssRenderItem.isShowDifferences()
Since 4.0. We no longer support diffs in RSS feeds.
com.atlassian.confluence.user.actions.ViewMyEmailSettingsAction.isShowFullContentInEmailNotifications()
com.atlassian.confluence.user.ConfluenceUserPreferences.isShowFullContentInNotificationEmails()
com.atlassian.confluence.plugin.dev.WebResourceModuleDescriptorDelegate.isSingleton()
com.atlassian.confluence.importexport.impl.ExportUtils.isSpaceImport(File)
since 4.2 use ExportDescriptor.isSpaceImport()
.
com.atlassian.confluence.content.render.xhtml.storage.InlineTasksUtils.isStartOfInlineTask(XMLEvent)
Since 5.2. Functionality has moved to the confluence-inline-tasks plugin.
com.atlassian.confluence.spaces.actions.AbstractSpaceAction.isSuperUser()
since 3.5 this method is not called anywhere and should not be used
com.atlassian.confluence.pages.actions.AbstractPageAction.isSuperUser()
since 3.5 this method is not called anywhere and should not be used
com.atlassian.confluence.user.UserAccessor.isSuperUser(User)
since 3.5 the permission checks in the application take care of checking for this membership
com.atlassian.confluence.util.GeneralUtil.isSuperUser(User)
since 3.5 calls to the PermissionManager will ensure super-user checks are performed
com.atlassian.confluence.pages.thumbnail.ThumbnailManager.isThumbnailable(InputStream)
since 5.4.
com.atlassian.confluence.pages.thumbnail.DefaultThumbnailManager.isThumbnailable(InputStream)
since 3.5 - not used
com.atlassian.confluence.mail.ChangeDigestNotificationBean.isUserNotifiable(User)
since 5.2. No replacement.
com.atlassian.confluence.setup.settings.Settings.isUseWysiwygByDefault()
since 4.0
com.atlassian.confluence.pages.AbstractPage.isValidPageTitleCharacter(char)
com.atlassian.confluence.pages.actions.AbstractEditPageAction.isVersionMismatch()
since 5.3. Not used for some time. You can check whether AbstractEditPageAction.getConflictingVersion()
if you
need this.
com.atlassian.confluence.user.actions.AbstractUserProfileAction.isViewingMyProfile()
since 3.0 use isMyProfile()
com.atlassian.confluence.setup.settings.Settings.isViewSpaceGoesToSpaceSummary()
since 5.0
com.atlassian.confluence.util.GeneralUtil.loadDefaultProperties()
since 3.0 because it doesn't do anything
com.atlassian.confluence.rpc.auth.TokenAuthenticationManager.makeAnonymousUser()
since 5.2. Use TokenAuthenticationManager.makeAnonymousConfluenceUser()
instead.
com.atlassian.confluence.macro.browser.beans.MacroFormDetails.makeFreeformDetails(String, String, ResourceDescriptor)
since 4.0 freeform macros are no longer supported
com.atlassian.confluence.macro.browser.beans.MacroMetadata.makeFreeformSummary(String, String, String, String, MacroFormDetails)
Since 4.0. Freeform macros are no longer supported.
com.atlassian.confluence.rpc.auth.TokenAuthenticationManager.makeNonAnonymousUserFromToken(String)
since 5.2. Use TokenAuthenticationManager.makeNonAnonymousConfluenceUserFromToken(String)
instead.
com.atlassian.confluence.macro.browser.beans.MacroFormDetails.makeParameterFormDetails(String, String, List)
since 4.0 use MacroFormDetails.makeParameterFormDetails(String, String, boolean, java.util.List)
instead
com.atlassian.confluence.pages.templates.PageTemplateManager.mergeVariables(PageTemplate, List)
since 4.3, replaced by PageTemplateManager.mergeVariables(PageTemplate,List,String)
com.atlassian.confluence.content.render.xhtml.migration.ExceptionTolerantMigrator.migrate(String, RenderContext, List)
Since 5.3 Use ExceptionTolerantMigrator.migrate(String, com.atlassian.confluence.content.render.xhtml.ConversionContext)
com.atlassian.confluence.content.service.DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider, ContentPermissionProvider, User, boolean)
com.atlassian.confluence.content.service.BlogPostService.newCreateBlogPostCommand(BlogPostProvider, ContentPermissionProvider, User, boolean)
@since 4.3 use BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, Draft draft, User user, boolean notifySelf)
com.atlassian.confluence.content.service.PageService.newCreatePageCommand(PageProvider, ContentPermissionProvider, User, boolean)
@since 4.3 use PageService.newCreatePageCommand(PageProvider provider, ContentPermissionProvider permissionProvider, Draft draft, User user, boolean notifySelf)
com.atlassian.confluence.security.login.DefaultLoginManager.onFailedLoginAttempt(String)
com.atlassian.confluence.security.login.LoginManager.onFailedLoginAttempt(String)
since 3.4 use LoginManager.onFailedLoginAttempt(String userName, HttpServletRequest servletRequest)
instead
com.atlassian.confluence.security.login.DefaultLoginManager.onSuccessfulLoginAttempt(String)
com.atlassian.confluence.security.login.LoginManager.onSuccessfulLoginAttempt(String)
since 3.4 use LoginManager.onSuccessfulLoginAttempt(String userName, HttpServletRequest servletRequest)
instead
com.atlassian.confluence.search.lucene.ConfluenceIndexManager.optimizeIndex()
since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098
com.atlassian.confluence.content.render.xhtml.storage.InlineTasksUtils.parseTitle(XMLEventReader, List, UserAccessor)
Since 5.2. Functionality has moved to the confluence-inline-tasks plugin.
com.atlassian.confluence.util.GeneralUtil.personalSpaceUrl(String, String)
since 5.0
You should instead retrieve the space using SpaceManager
and call getUrlPath on the Space object. Also note that if a user has been renamed (which is possible
from Confluence 5.3 onwards) then this method is likely to return the wrong key.
com.atlassian.confluence.util.io.IOUtils.readInputStream(InputStream)
since 3.0 because it was only used in tests
com.atlassian.confluence.admin.actions.ViewIndexQueueAction.reIndex()
since 5.2. Moved to SearchIndexesAction
com.atlassian.confluence.labels.DefaultLabelManager.removeAllLabels(ContentEntityObject)
com.atlassian.confluence.labels.LabelManager.removeAllLabels(ContentEntityObject)
since 4.2. Use LabelManager.removeAllLabels(Labelable)
.
com.atlassian.confluence.core.DefaultContentPermissionManager.removeAllUserPermissions(String)
com.atlassian.confluence.core.ContentPermissionManager.removeAllUserPermissions(String)
since 5.3. Use ContentPermissionManager.removeAllUserPermissions(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.security.DefaultSpacePermissionManager.removeAllUserPermissions(String)
com.atlassian.confluence.security.SpacePermissionCoordinator.removeAllUserPermissions(String)
com.atlassian.confluence.security.SpacePermissionManager.removeAllUserPermissions(String)
since 5.3. Use SpacePermissionManager.removeAllUserPermissions(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.security.SpacePermissionCheckDispatcherCoordinator.removeAllUserPermissions(String)
com.atlassian.confluence.security.ReadOnlySpacePermissionManager.removeAllUserPermissions(String)
com.atlassian.confluence.pages.CommentManager.removeCommentFromPage(long)
com.atlassian.confluence.content.service.DraftService.removeDraft(long, DraftService.DraftType, String)
@since 4.3 use DraftService.removeDraft(long)
com.atlassian.confluence.content.service.DefaultDraftService.removeDraft(long, DraftService.DraftType, String)
com.atlassian.confluence.pages.DefaultDraftManager.removeDraft(String, String, String, String)
com.atlassian.confluence.pages.DraftManager.removeDraft(String, String, String, String)
see 4.3 use DraftManager.removeDraft(Draft)
com.atlassian.confluence.admin.actions.lookandfeel.AbstractDecoratorAction.removeFromVelocityCache(String)
since 5.0 use ConfluenceVelocityResourceCache or rely on CustomLayoutManager to do this automatically for you.
com.atlassian.confluence.labels.DefaultLabelManager.removeLabel(ContentEntityObject, Label)
com.atlassian.confluence.labels.LabelManager.removeLabel(ContentEntityObject, Label)
since 4.2
com.atlassian.confluence.labels.DefaultLabelManager.removeLabels(ContentEntityObject, List)
com.atlassian.confluence.labels.LabelManager.removeLabels(ContentEntityObject, List)
since 4.2
com.atlassian.confluence.like.LikeDao.removeLike(ContentEntityObject)
Use LikeManager.removeLike(ContentEntityObject)
instead. Since v4.3.
com.atlassian.confluence.like.LikeManager.removeLike(ContentEntityObject)
since 4.3.1 - Use LikeManager.removeLike(com.atlassian.confluence.core.ContentEntityObject, com.atlassian.user.User)
with
AuthenticatedUserThreadLocal.get() instead.
com.atlassian.confluence.mail.MailContentManager.removeMail(Mail)
since 4.1 - does exactly the same thing as ContentEntityManager.removeContentEntity(com.atlassian.confluence.core.ContentEntityObject)
com.atlassian.confluence.user.PersonalInformationManager.removePersonalInformation(String)
Since 5.2. Use PersonalInformationManager.removePersonalInformation(ConfluenceUser)
.
com.atlassian.confluence.user.DefaultPersonalInformationManager.removePersonalInformation(String)
com.atlassian.confluence.links.LinkManager.renameOutgoingLinksToAttachments(ContentEntityObject, String, String)
since 4.0. See RelatedContentRefactorer.updateReferences(SpaceContentEntityObject, com.atlassian.confluence.spaces.Space, String)
com.atlassian.confluence.links.DefaultLinkManager.renameOutgoingLinksToAttachments(ContentEntityObject, String, String)
since 4.0. See RelatedContentRefactorer.updateReferences(SpaceContentEntityObject, com.atlassian.confluence.spaces.Space, String)
com.atlassian.confluence.links.LinkManager.renameOutgoingLinksToMovedAttachments(ContentEntityObject, String, String, ContentEntityObject, ContentEntityObject)
since 4.0. See RelatedContentRefactorer#updateReferrers(com.atlassian.confluence.pages.Attachment, com.atlassian.confluence.spaces.Space, String, String)
com.atlassian.confluence.links.DefaultLinkManager.renameOutgoingLinksToMovedAttachments(ContentEntityObject, String, String, ContentEntityObject, ContentEntityObject)
com.atlassian.confluence.content.render.xhtml.view.excerpt.DefaultExcerpter.renderContent(ContentEntityObject, String)
com.atlassian.confluence.pages.actions.ViewPageAction.renderLink(String)
Since 4.0. See PageInfoAction.renderWikiLink(String)
instead.
com.atlassian.confluence.pages.actions.PageInfoAction.renderOutgoingLink(AbstractLink)
Since 4.0.
com.atlassian.confluence.pages.thumbnail.renderer.DelegatingThumbnailRenderer.retrieveOrCreateThumbNail(Attachment, File, String, int, int, int)
since 5.2 use DelegatingThumbnailRenderer.retrieveOrCreateThumbNail(com.atlassian.confluence.pages.Attachment, java.io.File, int, int)
com.atlassian.confluence.content.service.DraftService.saveDraftFromEditor(String, DraftService.DraftType, String, String, String, int)
@since 4.3 use DraftService.saveDraftFromEditor(Long, String, DraftType, String, Long, String, int)
com.atlassian.confluence.content.service.DefaultDraftService.saveDraftFromEditor(String, DraftService.DraftType, String, String, String, int)
com.atlassian.confluence.userstatus.DefaultUserStatusManager.saveUserStatus(String, String)
com.atlassian.confluence.userstatus.UserStatusManager.saveUserStatus(String, String)
since 5.2. See UserStatusManager.saveUserStatus(ConfluenceUser, String)
com.atlassian.confluence.userstatus.DefaultUserStatusManager.saveUserStatus(String, String, Space)
com.atlassian.confluence.userstatus.UserStatusManager.saveUserStatus(String, String, Space)
since 5.2. See UserStatusManager.saveUserStatus(ConfluenceUser, String, Space)
com.atlassian.confluence.search.v2.lucene.LuceneSearcherImpl.search(Query, Sort, Filter, LuceneResultFilter)
com.atlassian.confluence.search.v2.lucene.LuceneSearcher.search(Query, Sort, Filter, LuceneResultFilter)
since 4.0 - use @see search(Query query, Sort sort, Filter searchFilter, LuceneResultFilter resultFilter, Set requestedFields)
or com.atlassian.confluence.search.v2.SearchManager
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)
com.atlassian.confluence.search.v2.SearchManager.searchEntities(ISearch)
since 4.0 use SearchManager.searchEntities(ISearch, EntityVersionPolicy)
instead.
com.atlassian.confluence.search.v2.lucene.LuceneSearchManager.searchEntities(ISearch)
com.atlassian.confluence.search.v2.SearchManager.searchEntities(Search)
since 3.0. Use SearchManager.searchEntities(ISearch, EntityVersionPolicy)
instead.
com.atlassian.confluence.search.v2.lucene.LuceneSearchManager.searchEntities(Search)
com.atlassian.confluence.setup.settings.Settings.setAnitXssMode(boolean)
since 3.5.8 use Settings.setAntiXssMode(boolean)
instead.
com.atlassian.confluence.search.lucene.tasks.IndexTaskFactory.setAnyTypeDao(AnyTypeDao)
since 5.2
com.atlassian.confluence.pages.actions.AbstractPreviewPageAction.setBack(String)
since 5.3 (and really much much longer)
com.atlassian.confluence.user.UserInterfaceState.setCommentsShowing(Boolean)
since 5.1.5 because collapse comments feature has been removed
com.atlassian.confluence.core.ContentEntityObject.setContent(String)
since 3.5 - replace calls with calls to ContentEntityObject.setBodyAsString(String)
.
com.atlassian.confluence.like.LikeEntity.setContentId(long)
since 4.3.4 use setContent
com.atlassian.confluence.search.service.SearchQueryParameters.setContributor(String)
since 5.2. This method can be slow. Use SearchQueryParameters.setContributor(ConfluenceUser)
instead.
com.atlassian.confluence.core.ConfluenceEntityObject.setCreatorName(String)
since 5.2. Use ConfluenceEntityObject.setCreator(ConfluenceUser)
instead.
com.atlassian.confluence.user.UserInterfaceState.setDashboardSpacesSelectedGroup(String)
since 3.5 does nothing, because it is no longer used in Confluence
com.atlassian.confluence.user.UserInterfaceState.setDashboardTab(String)
since 3.5 use UserInterfaceState.setDashboardSpacesTab(String)
instead
com.atlassian.confluence.setup.settings.Settings.setDefaultPersonalSpaceHomepageContent(String)
since 5.0 because default space homepage content is now fetched from a global template
com.atlassian.confluence.setup.settings.Settings.setDefaultSpaceHomepageContent(String)
since 5.0 because default space homepage content is now fetched from a global template
com.atlassian.confluence.macro.params.BaseParameter.setDefaultValue(String)
since 3.1: this class is not thread safe and should not be mutated
com.atlassian.confluence.admin.actions.GeneralConfigurationAction.setDisplayLinkIcons(boolean)
since 4.0
com.atlassian.confluence.setup.settings.Settings.setDisplayLinkIcons(boolean)
since 4.0
com.atlassian.confluence.user.PersonalInformation.setEmail(String)
since 5.2
com.atlassian.confluence.setup.settings.Settings.setEnableDidYouMean(boolean)
since 5.2 because we don't use did you mean anymore
com.atlassian.confluence.setup.settings.Settings.setEnableJavascriptTop(boolean)
since 5.0. We always serve javascript at the top.
com.atlassian.confluence.setup.settings.Settings.setEnableWysiwyg(boolean)
since 4.0
com.atlassian.confluence.core.ContentEntityManager.setEventManager(EventManager)
since 3.1 do not use. Implementation detail mistakenly added to service interface.
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.follow.Connection.setFollowee(String)
since 5.2
com.atlassian.confluence.follow.Connection.setFollower(String)
since 5.2
com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener.setFormatSettingsManager(FormatSettingsManager)
since 5.2. No longer required.
com.atlassian.confluence.user.PersonalInformation.setFullName(String)
since 5.2.
com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener.setHtmlDiffer(Differ)
since 5.2. No longer required.
com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener.setI18NBeanFactory(I18NBeanFactory)
since 5.2. No longer required.
com.atlassian.confluence.setup.velocity.VelocityFriendlyWebResourceManager.setIncludeMode(WebResourceManager.IncludeMode)
since 4.1. No replacement.
com.atlassian.confluence.importexport.xmlimport.BackupImporter.setIncrementalImport(Boolean)
since 3.5 this is not used anywhere
com.atlassian.confluence.pages.actions.AbstractPreviewPageAction.setInPreview(boolean)
since 5.3 (and really much much longer)
com.atlassian.confluence.pages.templates.PageTemplate.setLabels(String)
since 4.2, use LabelManager.addLabel() directly.
com.atlassian.confluence.core.ConfluenceEntityObject.setLastModifierName(String)
since 5.2. Call ConfluenceEntityObject.setLastModifier(ConfluenceUser)
instead
com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener.setLocaleManager(LocaleManager)
since 5.2. No longer required.
com.atlassian.confluence.setup.settings.Settings.setMaxThumbHeight(int)
since 4.0
com.atlassian.confluence.setup.settings.Settings.setMaxThumbWidth(int)
since 4.0
com.atlassian.confluence.pages.actions.EditPageAction.setMoveHierarchy(boolean)
since 5.3. This hasn't actually been used in Confluence since 4.0. In 5.2.5 it will no longer work
com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener.setNotificationRenderManager(NotificationRenderManager)
since 5.2. No longer required.
com.atlassian.confluence.setup.settings.Settings.setNumberOfBreadcrumbAncestors(int)
since 4.0
com.atlassian.confluence.pages.actions.AbstractEditPageAction.setOldContent(String)
since 5.3 (but really did nothing for a long time before then)
com.atlassian.confluence.search.lucene.FlushStatistics.setOptimised(boolean)
since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098
com.atlassian.confluence.renderer.UserMacroConfig.setOutputType(String)
since 4.0. There will be only one output type of HTML beyond 4.0.
com.atlassian.confluence.pages.Comment.setPage(AbstractPage)
Since 3.3 Use Comment.setOwner(com.atlassian.confluence.core.ContentEntityObject)
com.atlassian.confluence.mail.notification.Notification.setPage(AbstractPage)
since 5.3. Use @setContent
instead.
com.atlassian.confluence.pages.actions.ViewPageAction.setPageContent(String)
since 4.0. This is not used anywhere.
com.atlassian.confluence.macro.params.BaseParameter.setParameterNames(String[])
since 3.1: this class is not thread safe and should not be mutated
com.atlassian.confluence.pages.Page.setParent(Page)
Since 1.1. 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.mail.notification.listeners.AbstractNotificationsListener.setPermissionManagerTarget(DefaultPermissionManager)
since 5.2. No longer required.
com.atlassian.confluence.pages.actions.AbstractPreviewPageAction.setPreview(String)
since 5.3 (and really much much longer)
com.atlassian.confluence.renderer.v2.macros.GenericVelocityMacro.setRenderOutput(boolean)
since 4.0. Beyond 4.0 HTML output will be the only type supported.
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.importexport.DefaultExportContext.setScope(String)
since 4.2 use DefaultExportContext.setExportScope(ExportScope)
com.atlassian.confluence.pages.actions.EditPageAction.setSessionFactory(SessionFactory)
since 5.3. No longer used. Does nothing.
com.atlassian.confluence.search.v2.lucene.mapper.SiteSearchPermissionsSearchFilterMapper.setSettingsManager(SettingsManager)
since 5.1.
com.atlassian.confluence.search.actions.SearchQueryBean.setSettingsManager(SettingsManager)
Since 5.0
com.atlassian.confluence.security.administrators.PermissionsAdministratorBuilder.setSettingsManager(SettingsManager)
since 5.1.
com.atlassian.confluence.pages.wysiwyg.DefaultConfluenceWysiwygConverter.setSettingsManager(SettingsManager)
since 5.1. Unused.
com.atlassian.confluence.pages.actions.ViewPageAction.setShowComments(Boolean)
since 5.1.5 - comment collapse feature has been removed
com.atlassian.confluence.dashboard.actions.ConfigureRssFeedAction.setShowDiff(boolean)
Since 4.0. Diffs are no longer supported in RSS feeds.
com.atlassian.confluence.rss.RssRenderItem.setShowDifferences(boolean)
Since 4.0. We no longer support diffs in RSS items so any setting here is ignored.
com.atlassian.confluence.user.actions.EditEmailSettingsAction.setShowFullContentInEmailNotifications(boolean)
com.atlassian.confluence.setup.settings.Settings.setSiteWelcomeMessage(String)
since 5.0 The welcome message is now a system template
com.atlassian.confluence.macro.GenericVelocityMacro.setSubRenderer(V2SubRenderer)
as of Confluence 4.0. Rendering wiki macro templates is no longer supported. You will need to
manually fix any macros with wiki templates. See ReportUserMacrosWithWikiTemplateUpgradeTask
.
com.atlassian.confluence.plugin.descriptor.web.DefaultWebInterfaceContext.setTargetUser(User)
since 5.2
com.atlassian.confluence.user.actions.SignUpAction.setTaskManager(MultiQueueTaskManager)
since 5.3. No longer used
com.atlassian.confluence.plugin.descriptor.web.DefaultWebInterfaceContext.setUser(User)
since 5.2. See DefaultWebInterfaceContext.setCurrentUser(ConfluenceUser)
.
com.atlassian.confluence.user.AuthenticatedUserThreadLocal.setUser(User)
since 5.2. Use AuthenticatedUserThreadLocal.set(ConfluenceUser)
instead.
com.atlassian.confluence.core.ContentEntityObject.setUserAccessor(UserAccessor)
since 4.0
com.atlassian.confluence.user.PersonalInformation.setUsername(String)
Since 5.2. Use PersonalInformation.setUser(ConfluenceUser)
instead.
com.atlassian.confluence.like.LikeEntity.setUsername(String)
since 5.2. Use LikeEntity.setUser(com.atlassian.confluence.user.ConfluenceUser)
instead.
com.atlassian.confluence.security.SpacePermission.setUserName(String)
since 5.2. See SpacePermission.setUserSubject(ConfluenceUser)
instead.
com.atlassian.confluence.hosted.SpaceGroupPermission.setUserName(String)
since 5.2. See SpaceGroupPermission.setUserSubject(ConfluenceUser)
com.atlassian.confluence.mail.notification.Notification.setUserName(String)
since 5.2. See Notification.setReceiver(ConfluenceUser)
.
com.atlassian.confluence.setup.settings.Settings.setUseWysiwygByDefault(boolean)
since 4.0
com.atlassian.confluence.pages.actions.AbstractEditPageAction.setVersionMismatch(boolean)
since 5.3. This hasn't actually been used in Confluence since 4.0. This does nothing.
com.atlassian.confluence.setup.settings.Settings.setViewSpaceGoesToSpaceSummary(boolean)
since 5.0
com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener.setWebResourceManager(WebResourceManager)
since 5.2. No longer required.
com.atlassian.confluence.pages.actions.ViewPageAction.setWikiStyleRenderer(WikiStyleRenderer)
Since 4.0. See PageInfoAction.renderWikiLink(String)
instead.
com.atlassian.confluence.content.render.xhtml.migration.WorkSourceBatchRunner.shutdown()
since 5.2. The executor will be constructed and shutdown during the run.
com.atlassian.confluence.search.service.DefaultPredefinedSearchBuilder.siteSearch(SearchQueryParameters, int, int)
com.atlassian.confluence.search.service.PredefinedSearchBuilder.siteSearch(SearchQueryParameters, int, int)
since 3.0. Use PredefinedSearchBuilder.buildSiteSearch(SearchQueryParameters, int, int)
instead.
com.atlassian.confluence.util.ContentFacade.spaceHasMail(String)
since 4.2 - archived mail is no longer live in the core product.
com.atlassian.confluence.spaces.actions.CreateSpaceAction.spaceKeyAvailable()
Since 3.3. Use SpaceAvailableAction
instead.
com.atlassian.confluence.util.GeneralUtil.subtract(long, long)
since 5.0. Just use a minus sign.
com.atlassian.confluence.util.GeneralUtil.subtract(String, String)
since 5.0. Just say no.
com.atlassian.confluence.util.LabelUtil.syncState(String, LabelManager, User, Labelable, boolean)
since 5.1. Use LabelUtil.syncState(String, LabelManager, User, Labelable)
com.atlassian.confluence.security.SpacePermission.toFormParameterName(String)
As of 2.7.2, use PermissionRow.buildParameterName(String, String)
.
com.atlassian.confluence.content.render.xhtml.StaxUtils.toString(XMLEventReader)
since 5.2. Use StaxUtils.toXmlString(javax.xml.stream.XMLEventReader, XmlOutputFactory)
com.atlassian.confluence.core.DefaultContentEntityManager.updateContentLinkingTo(SpaceContentEntityObject, String, String)
since 4.0.
com.atlassian.confluence.core.ContentEntityManager.updateContentLinkingTo(SpaceContentEntityObject, String, String)
since 4.0.
com.atlassian.confluence.core.DefaultContentEntityManager.updateContentLinkingTo(SpaceContentEntityObject, String, String, boolean)
since 4.0.
com.atlassian.confluence.core.DefaultContentEntityManager.updateOutgoingLinksInContent(SpaceContentEntityObject, String)
since 4.0.
com.atlassian.confluence.core.ContentEntityManager.updateOutgoingLinksInContent(SpaceContentEntityObject, String)
since 4.0
com.atlassian.confluence.core.DefaultContentEntityManager.updateOutgoingLinksInContent(SpaceContentEntityObject, String, boolean)
since 4.0.
com.atlassian.confluence.core.DefaultContentEntityManager.updateSingleContentLinkinTo(ContentEntityObject, SpaceContentEntityObject, String, String)
since 4.0.
com.atlassian.confluence.core.ContentEntityManager.updateSingleContentLinkinTo(ContentEntityObject, SpaceContentEntityObject, String, String)
since 4.0
com.atlassian.confluence.core.DefaultContentEntityManager.updateSingleContentLinkinTo(ContentEntityObject, SpaceContentEntityObject, String, String, SaveContext)
since 4.0.
com.atlassian.confluence.core.ContentEntityManager.updateSingleContentLinkinTo(ContentEntityObject, SpaceContentEntityObject, String, String, SaveContext)
since 4.0
com.atlassian.confluence.core.DefaultContentEntityManager.updateSingleContentLinkinTo(ContentEntityObject, SpaceContentEntityObject, String, String, SaveContext, boolean)
since 4.0.
com.atlassian.confluence.search.lucene.FlushStatistics.wasOptimised()
since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098