Deprecated Classes |
com.atlassian.confluence.plugin.descriptor.web.conditions.AbstractConfluenceCondition
since 2.8 use BaseConfluenceCondition , which no longer
has a dependency on the abomination which is GlobalHelper . |
com.atlassian.confluence.pages.actions.AbstractEditAttachedFileAction
since 2.9 |
com.atlassian.confluence.pages.actions.AbstractFileAttachmentAction
since 2.9 |
com.atlassian.confluence.security.actions.AbstractGlobalPermissionsAction
|
com.atlassian.confluence.pages.actions.AbstractPageChangeAction
since 2.9 |
com.atlassian.confluence.plugin.descriptor.web.conditions.AbstractPermissionCondition
since 2.8 use BasePermissionCondition |
com.atlassian.confluence.security.actions.AbstractSpacePermissionsAction
|
com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
since 3.0. |
com.atlassian.confluence.setup.BootstrapUtils
since 2.3 use BootstrapUtils |
com.atlassian.confluence.pages.ChildPositionComparator
since 2.9 use Page.CHILD_POSITION_COMPARATOR
A comparator used to sort pages based on the Page Ordering sort rules.
This comparator will compare the position of the two pages with null
smaller than anything else. If that comparison results in 0 a title based
"natural" sort will be used. For details on the Natural Sort algorithm
see the NaturalStringComparator . |
com.atlassian.confluence.search.lucene.ConfluenceMultiThreadedIndexer
since 3.0. Multithreading moved into MultiThreadedIndexRebuilder
and OnlineMultiThreadedIndexer.allThreadsComplete(com.atlassian.bonnie.index.BatchOpIndexer.DocumentWritingScheme, boolean, com.atlassian.core.util.ProgressWrapper) moved to TempIndexWriterStrategy.mergeAndClose() . |
com.atlassian.confluence.search.lucene.ConfluenceObjectToDocumentConverter
since 3.0. Use ConfluenceDocumentBuilder instead. |
com.atlassian.confluence.setup.webwork.ConfluenceVelocityContext
Since 3.0. Use ConfluenceVelocityManager.getConfluenceVelocityContext() instead. |
com.atlassian.confluence.plugin.descriptor.ConfluenceVelocityModuleDescriptor
since 3.0, extend AbstractModuleDescriptor and implement UserLocaleAware instead. |
com.atlassian.confluence.util.ConfluenceVelocityResourceCache
Since 2.9. Use ConfluenceVelocityResourceCache instead. |
com.atlassian.confluence.util.DefaultThumbnailInfoFactory
since 3.0 use ThumbnailManager.getThumbnailInfo(com.atlassian.confluence.pages.Attachment) . |
com.atlassian.confluence.util.DiffResult
since 2.10 Use ConfluenceDiff |
com.atlassian.confluence.util.ajax.ErrorResponseException
since 2.9 use normal control flow instead of exceptions. |
com.atlassian.confluence.pages.actions.ExportWordPageAction
since 2.9 |
com.atlassian.confluence.search.lucene.filter.FiltersContainer
since 2.10. The introduction of ChainedFilter into Lucene has made this
class redundant. |
com.atlassian.confluence.plugin.descriptor.web.conditions.GlobalAdministratorOnlyCondition
since 2.7. If the link or operation protected by this condition has the potential to compromise the
security of the system, please use SystemAdministratorOrSuperUserCondition instead, otherwise, use ConfluenceAdministratorCondition .
To err on the side of more security, we are assuming plugin developers intended a restriction to the most powerful group of administrators.
Hence this deprecated class will inherit the permission checks of SystemAdministratorOrSuperUserCondition .
This class has been reintroduced to prevent problems with the approvals plugin. |
com.atlassian.confluence.pages.actions.InsertImageInDraftAction
since 3.1 this action is no longer required by Confluence. Use AttachFileAction to attach files and
AttachedImagesAction to view the current attached images. |
com.atlassian.confluence.pages.actions.InsertImageInPageAction
since 3.1 this action is no longer required by Confluence. Use AttachFileAction to attach files and
AttachedImagesAction to view the current attached images. |
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.query.LastModifierQuery
since 3.0. Use ContributorQuery instead. |
com.atlassian.confluence.search.v2.lucene.mapper.LastModifierQueryMapper
since 3.0. Use ContributorQueryMapper instead. |
com.atlassian.confluence.mail.notification.actions.PageNotificationBean
since 3.1 use PageNotificationAction |
com.atlassian.confluence.upgrade.upgradetask.PagePropertiesUpgradeTask
no longer required. |
com.atlassian.confluence.security.PermissionCheckDispatcher
since 2.7 see PermissionManager |
com.atlassian.confluence.search.v2.query.PermittedSpacesQuery
since 3.0. Please use SpacePermissionsSearchFilter instead. |
com.atlassian.confluence.util.ProfilePicture
since 2.9. Functionality has moved to the UserProfileService. |
com.atlassian.confluence.event.jobs.ReferralQueueFlushJob
since 3.0 |
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.search.v2.Search
since 3.0. Use ContentSearch instead. |
com.atlassian.confluence.search.actions.SearchBean
since 3.0. Use SearchManager instead. |
com.atlassian.confluence.core.actions.StylesheetAction
since 2.8 because this is a cluttered mess with a variety of concerns.
Use CombinedStylesheetAction for space or global scoped styles; ColorsStylesheetAction for
colour scheme styles; or ThemeColorsStylesheetAction for theme-specific styles. |
com.atlassian.confluence.util.http.httpclient.TrustedTokenAuthenticator.TrustedConnectionStatus
As of Confluence 2.10, use TrustedConnectionStatus |
com.atlassian.confluence.pages.UploadedResource
since 3.1. Use UploadedResource instead. |
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? |
Deprecated Methods |
com.atlassian.confluence.util.LabelUtil.addLabel(String, LabelManager, User, Labelable)
since 2.9 |
com.atlassian.confluence.util.message.MessageManager.addMessage(String, String, Message)
since 2.9 |
com.atlassian.confluence.macro.params.BaseParameter.addParameterAlias(String)
since 3.1: this class is not thread safe and should not be mutated |
com.atlassian.confluence.pages.PageManager.appendPage(Page, Page)
since 2.9 use PageManager.movePageAsChild(Page, Page) |
com.atlassian.confluence.pages.DefaultPageManager.appendPage(Page, Page)
since 2.9 use DefaultPageManager.movePageAsChild(Page, Page) |
com.atlassian.confluence.setup.ConfluenceListableBeanFactory.autowireNonSingletonBeanProperties(Object, int, boolean)
Use AbstractAutowireCapableBeanFactory.autowireBeanProperties(Object, int, boolean) instead. |
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.setup.BootstrapUtils.closeContext()
since 2.3 use BootstrapUtils.closeContext() instead. |
com.atlassian.confluence.pages.wysiwyg.ConfluenceWysiwygConverter.convertWikiMarkupToXHtmlWithoutPage(String, String)
since 2.10 - Either use ConfluenceWysiwygConverterDWRWrapper.convertWikiMarkupToXHtmlWithoutPage(String wikiMarkup, String pageId)
or ConfluenceWysiwygConverter.convertWikiMarkupToXHtml(String wikiMarkup, String pageId)
Converts wiki markup text into XHTML, using the page context of the content object specified by the id.
If content is null, use convertWikiMarkupToXHtml(ContentEntityObject content, String spaceKey, String wikiMarkup) |
com.atlassian.confluence.pages.wysiwyg.ConfluenceWysiwygConverter.convertXHtmlToWikiMarkupWithoutPage(String, String)
since 2.10 - Either use ConfluenceWysiwygConverterDWRWrapper.convertXHtmlToWikiMarkupWithoutPage(String wikiMarkup, String pageId)
or ConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(String wikiMarkup, String pageId)
Converts XHTML into wiki markup, without using page context |
com.atlassian.confluence.util.io.IOUtils.copy(InputStream, OutputStream)
since 3.0 use IOUtils instead |
com.atlassian.confluence.search.lucene.tasks.IndexTaskFactory.createAddDocumentTask(String)
|
com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.createEditPermissions()
since 3.1. Use a PagePermissionsActionHelper in your Action. |
com.atlassian.confluence.rss.FeedBuilder.createFeed(ListQuery, boolean, boolean, User)
since 3.0. Use FeedBuilder.createFeed(com.atlassian.confluence.search.v2.ISearch, FeedProperties) instead. |
com.atlassian.confluence.rss.DefaultFeedBuilder.createFeed(ListQuery, boolean, boolean, User)
since 3.0. See superclass comment. |
com.atlassian.confluence.rss.FeedBuilder.createPublicFeed(ListQuery, boolean, boolean)
since 3.0. Use FeedBuilder.createFeed(com.atlassian.confluence.search.v2.ISearch, FeedProperties) instead.
Public feed can be indicated in FeedProperties . |
com.atlassian.confluence.rss.DefaultFeedBuilder.createPublicFeed(ListQuery, boolean, boolean)
since 3.0. See superclass comment. |
com.atlassian.confluence.servlet.download.ExportDownload.createTempFile(String, String)
since 2.7. Instead use the WritableDownloadResourceManager to generate a DownloadResourceWriter |
com.atlassian.confluence.util.io.IOUtils.createTmpDir(String, String)
since 3.0 because it was only used in tests |
com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.createViewPermissions()
since 3.1. Use a PagePermissionsActionHelper in your Action. |
com.atlassian.confluence.user.DefaultUserAccessor.filterUnaccessibleUsers(Pager, User)
since 2.8, use DefaultUserAccessor.filterUnaccessibleUsers(java.util.List, com.atlassian.user.User) instead |
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.findAllGlobalSpaces()
since 3.1 use SpaceDao.getSpaces(SpacesQuery,int,int) |
com.atlassian.confluence.core.persistence.SearchableDao.findAllSearchables()
since 3.0. use @{link #findAllSearchablesIterator()} instead. |
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.findAllSpacesSorted(String, SpaceType)
since 3.1 use SpaceDao.getSpaces(SpacesQuery,int,int) |
com.atlassian.confluence.labels.persistence.dao.hibernate.HibernateLabelDao.findContentByLabel(Label)
since 2.10. Use HibernateLabelDao.findCurrentContentForLabel(Label label) instead. |
com.atlassian.confluence.labels.persistence.dao.hibernate.HibernateLabelDao.findContentForLabel(Label)
since 2.10. Use HibernateLabelDao.findCurrentContentForLabel(Label label) instead. |
com.atlassian.confluence.pages.persistence.dao.PageDao.findPagesWithHistoricalTitle(String)
since 3.1. Use #findPagesWithHistoricalTitleInPermittedSpace or #findPagesWithHistoricalTitleInAllPermittedSpacesExcept . |
com.atlassian.confluence.util.io.IOUtils.flushAndClose(OutputStream)
since 3.0 use OutputStream.flush() followed by IOUtils.closeQuietly(OutputStream) |
com.atlassian.confluence.util.io.IOUtils.flushAndClose(Writer)
since 3.0 use Writer.flush() followed by IOUtils.closeQuietly(Writer) |
com.atlassian.confluence.util.GeneralUtil.format(Number)
since 3.1 unused anywhere in the application. |
com.atlassian.confluence.search.service.ContentTypeEnum.get(String)
since 3.0. Use ContentTypeEnum.getByRepresentation(java.lang.String) or ContentTypeEnum.getByClassName(java.lang.String) instead. |
com.atlassian.confluence.core.ContentEntityManager.getAllCurrentEntities()
since 3.1 do not use. Retrieving all content in the system may cause performance issues. |
com.atlassian.confluence.setup.DefaultBootstrapManager.getBaseUrl()
|
com.atlassian.confluence.setup.BootstrapManager.getBaseUrl()
since 2.8 use getBaseUrl() on SettingsManager.getGlobalSettings() instead |
com.atlassian.confluence.setup.BootstrapUtils.getBootstrapContext()
since 2.3 use BootstrapUtils.getBootstrapContext() instead. |
com.atlassian.confluence.setup.BootstrapUtils.getBootstrapManager()
since 2.3 use BootstrapUtils.getBootstrapManager() instead. |
com.atlassian.confluence.setup.BootstrapManager.getConfiguredConfluenceHome()
since 2.8 use AtlassianBootstrapManager.getConfiguredApplicationHome() instead |
com.atlassian.confluence.pages.AttachmentUtils.getContainingFolder(Attachment)
since 3.1 this method returns an incorrect path. Use HierarchicalFileSystemAttachmentDataDao.getDirectoryForAttachmentContainer(long, long) |
com.atlassian.confluence.core.ContentEntityObject.getContentPermission(String)
use getContentPermissionSet |
com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableItems(String, User, GlobalHelper)
since 2.8 use ConfluenceWebInterfaceManager.getDisplayableItems(String, WebInterfaceContext) with the result of
getWebInterfaceContext() on your action. |
com.atlassian.confluence.plugin.descriptor.web.model.ConfluenceWebLabel.getDisplayableLabel(HttpServletRequest, GlobalHelper)
since 2.8 use ConfluenceWebLabel.getDisplayableLabel(HttpServletRequest, WebInterfaceContext) |
com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableSections(String, User, GlobalHelper)
since 2.8 use ConfluenceWebInterfaceManager.getDisplayableSections(String, WebInterfaceContext) with the result of
ConfluenceActionSupport.getWebInterfaceContext() . |
com.atlassian.confluence.plugin.descriptor.web.model.ConfluenceWebLink.getDisplayableUrl(HttpServletRequest, GlobalHelper)
since 2.8 use ConfluenceWebLink.getDisplayableUrl(HttpServletRequest, WebInterfaceContext) |
com.atlassian.confluence.setup.DefaultBootstrapManager.getDomainName()
|
com.atlassian.confluence.setup.BootstrapManager.getDomainName()
use getBaseUrl() on SettingsManager.getGlobalSettings() instead |
com.atlassian.confluence.spaces.SpaceManager.getEditableSpacesByType(User, SpaceType)
since 3.1 Use SpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.getEditableSpacesByType(User, SpaceType)
since 3.1 use DefaultSpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.servlet.download.ExportDownload.getExportRoot()
since 2.7 |
com.atlassian.confluence.util.Resource.getFile()
As of Confluence 1.4 RC 1 this is deprecated. It is now
replaced by relatePathToFile calls. |
com.atlassian.confluence.search.actions.SearchBean.getFilteredCount()
since 2.10 filter counting is no longer used. |
com.atlassian.confluence.pages.actions.ViewPageAction.getFocusedCommentId()
since 2.8 use 'commentId' parameter from the web or ViewPageAction.getComment() from the application. |
com.atlassian.confluence.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.security.SpacePermission.getGenericSpacePermissions()
since 3.0, why do we even need a getter |
com.atlassian.confluence.security.ContentPermission.getGroup()
as of version 2.4. Use ContentPermission.getGroupName() instead. |
com.atlassian.confluence.core.ContentPermissionManager.getInheritedContentPermissions(ContentEntityObject)
use #getInheritedContentPermissionSets |
com.atlassian.confluence.plugin.editor.Editor.getJavascriptTemplate()
Since 2.10. Resources are now loading with Editor.getResourcesKey() |
com.atlassian.confluence.search.v2.query.LastModifierQuery.getLastModifier()
|
com.atlassian.confluence.user.UserInterfaceState.getLocationShowing()
since 2.9 this setting is no longer persisted. This method now always returns false. |
com.atlassian.confluence.core.DefaultContentEntityManager.getLockedBySpace(String)
since 2.10. There is no replacement as this functionality was superseded by
multiple page permissions (CONF-3701) |
com.atlassian.confluence.core.ContentEntityManager.getLockedBySpace(String)
since 2.10. There is no replacement as this functionality was superseded by
multiple page permissions (CONF-3701) |
com.atlassian.confluence.core.persistence.hibernate.ContentEntityObjectHibernateDao.getLockedContentBySpace(String)
since 2.10. There is no replacement as this functionality was superseded by
multiple page permissions (CONF-3701) |
com.atlassian.confluence.pages.thumbnail.ThumbnailManager.getMaxHeight()
since 3.1 because clients should use the result of ThumbnailManager.getThumbnail(com.atlassian.confluence.pages.Attachment) or
ThumbnailManager.getThumbnailInfo(com.atlassian.confluence.pages.Attachment) , or retrieve the size from SettingsManager.getGlobalSettings() . |
com.atlassian.confluence.pages.thumbnail.ThumbnailManager.getMaxWidth()
since 3.1 because clients should use the result of ThumbnailManager.getThumbnail(com.atlassian.confluence.pages.Attachment) or
ThumbnailManager.getThumbnailInfo(com.atlassian.confluence.pages.Attachment) , or retrieve the size from SettingsManager.getGlobalSettings() . |
com.atlassian.confluence.util.message.MessageManager.getMessages(String, String)
since 2.9 |
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.core.Versioned.getOriginalVersion()
since 2.5. Use Versioned.getLatestVersion() and Versioned.isLatestVersion() instead. |
com.atlassian.confluence.pages.persistence.dao.PageDao.getPage(String, String)
since 3.0, use PageDao.getPage(Space, String) |
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getPage(String, String)
|
com.atlassian.confluence.pages.persistence.dao.hibernate.CachingPageDao.getPage(String, String)
|
com.atlassian.confluence.pages.PageManager.getPage(String, String, boolean)
since 3.0, use PageManager.getPageWithComments(String, String) instead. |
com.atlassian.confluence.pages.DefaultPageManager.getPage(String, String, boolean)
|
com.atlassian.confluence.pages.persistence.dao.PageDao.getPage(String, String, boolean)
since 3.0, use PageDao.getPageWithComments(Space, String) |
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getPage(String, String, boolean)
|
com.atlassian.confluence.pages.persistence.dao.hibernate.CachingPageDao.getPage(String, String, boolean)
|
com.atlassian.confluence.pages.actions.AbstractPreviewPageAction.getPageOrDummyPage()
Since 3.1. Use AbstractPageAction.getAttachmentSourceContent() |
com.atlassian.confluence.core.ContentEntityObject.getPermissions()
use ContentEntityObject.getContentPermissionSet(String) |
com.atlassian.confluence.spaces.SpaceManager.getPermittedSpaces(User)
since 3.1 Use SpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.getPermittedSpaces(User)
since 3.1 use DefaultSpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.SpaceManager.getPermittedSpacesByType(User, SpaceType)
since 3.1 Use SpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.getPermittedSpacesByType(User, SpaceType)
since 3.1 use DefaultSpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUser(User, List, String)
since 3.1 use SpaceDao.getSpaces(SpacesQuery,int,int) |
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUser(User, List, String, int, int)
since 3.1 use SpaceDao.getSpaces(SpacesQuery,int,int) |
com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.getPermittedSpacesForUser(User, String)
|
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUser(User, String)
since 3.0, use SpaceDao.getPermittedSpacesForUser(User, List, String) |
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUserByType(User, List, String, SpaceType)
since 3.1 use SpaceDao.getSpaces(SpacesQuery,int,int) |
com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.getPermittedSpacesForUserByType(User, String, SpaceType)
|
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUserByType(User, String, SpaceType)
since 3.0, use SpaceDao.getPermittedSpacesForUserByType(User, List, String, SpaceType) |
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUserInSpaceGroup(User, List, String, SpaceGroup)
since 3.1 use SpaceDao.getSpaces(SpacesQuery,int,int) |
com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.getPermittedSpacesForUserInSpaceGroup(User, String, SpaceGroup)
|
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getPermittedSpacesForUserInSpaceGroup(User, String, SpaceGroup)
since 3.0, use SpaceDao.getPermittedSpacesForUserInSpaceGroup(User, List, String, SpaceGroup) |
com.atlassian.confluence.spaces.SpaceManager.getPermittedSpacesInSpaceGroup(User, SpaceGroup)
since 3.1 Use SpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.getPermittedSpacesInSpaceGroup(User, SpaceGroup)
since 3.1 use DefaultSpaceManager.getSpaces(SpacesQuery) instead |
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.event.events.search.SearchPerformedEvent.getQuery()
since 2.9 (will always return null) |
com.atlassian.confluence.core.ConfluenceActionSupport.getRandom()
since 2.9. Random number generation does not belong here. Please introduce your own random number generation in your own actions. |
com.atlassian.confluence.util.GeneralUtil.getRelativeTime(Date)
since 2.7 use FriendlyDateFormatter |
com.atlassian.confluence.plugin.descriptor.web.model.ConfluenceWebLink.getRenderedUrl(ThemeHelper)
since 2.8 use ConfluenceWebLink.getRenderedUrl(WebInterfaceContext) |
com.atlassian.confluence.util.velocity.ConfigurableResourceManager.getResource(String, int)
since 2.9 Use ConfigurableResourceManager.getResource(String resourceName, int resourceType, String encoding ) |
com.atlassian.confluence.pages.actions.ViewPageAction.getRootComment()
since 2.8 the default theme no longer uses a "root comment". This method will remain until the other themes
do the same. |
com.atlassian.confluence.spaces.SpaceManager.getSpaceContent(Space, boolean)
since 3.1 this method is not used in Confluence and is extremely inefficient |
com.atlassian.confluence.labels.Labelling.getSpaceKey()
since 2.10. Use Labelling.getContent() and check if it is a
SpaceContentEntityObject . If it is, cast it and call
SpaceContentEntityObject.getSpaceKey() on it |
com.atlassian.confluence.spaces.SpaceManager.getSpacesByType(SpaceType)
since 3.1 Use SpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.getSpacesByType(SpaceType)
since 3.1 use DefaultSpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.SpaceManager.getSpacesEditableByUser(User)
since 3.1 Use SpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.getSpacesEditableByUser(User)
since 3.1 use DefaultSpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.SpaceManager.getSpacesInSpaceGroup(SpaceGroup)
since 3.1 Use SpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.getSpacesInSpaceGroup(SpaceGroup)
since 3.1 use DefaultSpaceManager.getSpaces(SpacesQuery) instead |
com.atlassian.confluence.spaces.persistence.dao.SpaceDao.getSpacesInSpaceGroup(SpaceGroup)
since 3.1 use SpaceDao.getSpaces(SpacesQuery,int,int) |
com.atlassian.confluence.pages.actions.ViewPageAttachmentsAction.getTargetHelper(Attachment)
since 2.8 use ViewPageAttachmentsAction.getWebInterfaceContext(WebInterfaceContext, Attachment) |
com.atlassian.confluence.util.ThumbnailInfoFactory.getThumbnailInfo(Attachment)
since 3.0 use ThumbnailManager.getThumbnailInfo(com.atlassian.confluence.pages.Attachment) . |
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.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.search.service.ContentTypeEnum.getTypeClass()
since 3.1 use ContentTypeEnum.getTypeName() |
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.user.UserAccessor.getUserProfilePicture(String)
since 2.9. Use UserAccessor.getUserProfilePicture(User) instead. |
com.atlassian.confluence.pages.actions.ViewPageAttachmentsAction.getWebInterfaceContext(Attachment)
since 3.1 use ViewPageAttachmentsAction.getWebInterfaceContext(WebInterfaceContext, Attachment) |
com.atlassian.confluence.core.persistence.hibernate.StringClobType.hasNiceEquals()
|
com.atlassian.confluence.core.persistence.hibernate.PropertiesType.hasNiceEquals()
|
com.atlassian.confluence.security.SpacePermission.isAdministrativePermission()
since Confluence 2.7. Not used in Confluence core at the moment. |
com.atlassian.confluence.spaces.actions.AbstractSpaceAction.isAdminUser()
since 3.1 this method does not seem to be called from anywhere. |
com.atlassian.confluence.util.GeneralUtil.isDefaultUserProfilePicture(String)
This method must not be used anymore, it is horribly inefficient. Rather use the ProfilePictureInfo:
since it is never null, you can ask that object is the user has a default profile picture or not |
com.atlassian.confluence.pages.actions.ViewPageAction.isFavouritePage()
since 2.8 use ContentEntityObject.isFavourite(User) . |
com.atlassian.confluence.security.PermissionHelper.isGlobalAdministrator(User)
since 2.7. Please use PermissionHelper.isConfluenceAdministrator(User) instead. |
com.atlassian.confluence.pages.thumbnail.DefaultThumbnailManager.isThumbnailable(Attachment)
since 3.0 This only checks the content type, not the mime type of the
attachment itself. |
com.atlassian.confluence.spaces.DefaultSpaceManager.isValidPersonalSpaceKey(String)
since 2.3 use Space.isValidPersonalSpaceKey(String) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.isValidSpaceKey(String)
since 2.3 use Space.isValidGlobalSpaceKey(String) instead |
com.atlassian.confluence.user.actions.AbstractUserProfileAction.isViewingMyProfile()
since 3.0 use isMyProfile() |
com.atlassian.confluence.util.GeneralUtil.loadDefaultProperties()
since 3.0 because it doesn't do anything |
com.atlassian.confluence.spaces.SpaceManager.moveHierarchy(Page, Page, Space, User, boolean, List)
since 2.9 use PageManager.movePage(Page, Space) or PageManager.movePage(Page, Page, int) instead |
com.atlassian.confluence.spaces.DefaultSpaceManager.moveHierarchy(Page, Page, Space, User, boolean, List)
since 2.9 use PageManager.movePage(Page, Space) or PageManager.movePage(Page, Page, int) instead |
com.atlassian.confluence.pages.PageManager.movePage(Page, Page, int)
since 2.9 use PageManager.movePageAfter(Page, Page) or PageManager.movePageBefore(Page, Page) |
com.atlassian.confluence.pages.DefaultPageManager.movePage(Page, Page, int)
since 2.9 use DefaultPageManager.movePageBefore(Page, Page) and DefaultPageManager.movePageAfter(Page, Page) |
com.atlassian.confluence.pages.PageManager.movePage(Page, Space)
since 2.9 use PageManager.movePageToTopLevel(Page, Space) |
com.atlassian.confluence.pages.DefaultPageManager.movePage(Page, Space)
since 2.9 use DefaultPageManager.movePageToTopLevel(Page, Space) |
com.atlassian.confluence.pages.actions.AbstractPageChangeAction.pageAlreadyExists()
|
com.atlassian.confluence.util.io.IOUtils.readInputStream(InputStream)
since 3.0 because it was only used in tests |
com.atlassian.confluence.core.ContentEntityManager.refreshContentEntity(ContentEntityObject)
since 3.1 method is not used |
com.atlassian.confluence.mail.notification.persistence.NotificationDao.removeAllNotificationsForUser(User)
since 2.10 - Use NotificationDao.findNotificationsByUser(User) and
ObjectDao.remove(com.atlassian.core.bean.EntityObject) instead. |
com.atlassian.confluence.mail.notification.persistence.NotificationDao.removeDailyReportNotificationForUser(String)
since 2.10 - Use NotificationDao.findDailyReportNotification(String) and
ObjectDao.remove(com.atlassian.core.bean.EntityObject) instead |
com.atlassian.confluence.pages.persistence.dao.PageDao.removeFromPageKeyCache(String, String)
since 3.0 |
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.removeFromPageKeyCache(String, String)
|
com.atlassian.confluence.pages.persistence.dao.hibernate.CachingPageDao.removeFromPageKeyCache(String, String)
|
com.atlassian.confluence.search.lucene.QueuingConfluenceIndexer.resumeIndexing()
since 3.0. Use ThreadLocalIndexerControl.resume() instead. |
com.atlassian.confluence.core.ContentEntityManager.revertContentEntityBackToVersion(ContentEntityObject, int)
since 2.9, use ContentEntityManager.revertContentEntityBackToVersion(ContentEntityObject,int, String, boolean) instead |
com.atlassian.confluence.search.v2.SearchManager.search(Search)
since 3.0. Use SearchManager.search(ISearch) by passing in a ContentSearch . |
com.atlassian.confluence.search.v2.lucene.LuceneSearchManager.search(Search)
|
com.atlassian.confluence.search.v2.SearchManager.searchEntities(Search)
since 3.0. Use SearchManager.searchEntities(ISearch) instead. |
com.atlassian.confluence.search.v2.lucene.LuceneSearchManager.searchEntities(Search)
|
com.atlassian.confluence.setup.BootstrapUtils.setBootstrapContext(ApplicationContext)
since 2.3 use BootstrapUtils.setBootstrapContext(ApplicationContext) instead. |
com.atlassian.confluence.setup.BootstrapUtils.setBootstrapManager(BootstrapManager)
since 2.3 use BootstrapUtils.setBootstrapManager(AtlassianBootstrapManager) instead. |
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.core.ContentEntityManager.setEventManager(EventManager)
since 3.1 do not use. Implementation detail mistakenly added to service interface. |
com.atlassian.confluence.util.Resource.setFile(File)
As of Confluence 1.4 RC 1 this is deprecated. It is now
replaced by relatePathToFile calls. |
com.atlassian.confluence.pages.actions.ViewPageAction.setFocusedCommentId(long)
since 2.8 use 'commentId' parameter from the web or ViewPageAction.setComment(Comment) from the application. |
com.atlassian.confluence.user.UserInterfaceState.setLocationShowing(Boolean)
since 2.9 ignored because UserInterfaceState.getLocationShowing() always returns false. |
com.atlassian.confluence.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)
Do not call this method. It exists solely for hibernate to use. Use #setParentPage
instead. I would have made this method private, but CGLIB was complaining. |
com.atlassian.confluence.pages.actions.ViewPageAction.setRootCommentId(long)
since 2.8 the default theme no longer uses a "root comment". This method will remain until the other themes do the same. |
com.atlassian.confluence.labels.Labelling.setSpaceKey(String)
since 2.10. The Labelling object is only associated
with a space through the content. |
com.atlassian.confluence.search.service.PredefinedSearchBuilder.siteSearch(SearchQueryParameters, int, int)
since 3.0. Use PredefinedSearchBuilder.buildSiteSearch(SearchQueryParameters, int, int) instead. |
com.atlassian.confluence.search.service.DefaultPredefinedSearchBuilder.siteSearch(SearchQueryParameters, int, int)
See super class javadoc. |
com.atlassian.confluence.pages.FileUploadManager.storeFile(FileUploadUtils.UploadedFile, String, ContentEntityObject)
since 3.1 use FileUploadManager.storeResource(AttachmentResource, String, ContentEntityObject) instead.
Note that UploadedResource provides a simple way to convert one to the other. |
com.atlassian.confluence.pages.FileUploadManager.storeResource(AttachmentResource, String, ContentEntityObject)
since 3.1 use FileUploadManager.storeResource(AttachmentResource, ContentEntityObject) instead because
the optional comment is now part of the AttachmentResource interface. |
com.atlassian.confluence.util.GeneralUtil.summarise(String)
since 2.0 use RendererUtil.summarise(String) instead. |
com.atlassian.confluence.search.lucene.QueuingConfluenceIndexer.suspendIndexing()
since 3.0. Use ThreadLocalIndexerControl.suspend() instead. |
com.atlassian.confluence.security.SpacePermission.toFormParameterName(String)
As of 2.7.2, use PermissionRow.buildParameterName(String, String) . |
com.atlassian.confluence.labels.LabelPermissionSupport.userCanEditLabels(Labelable, PermissionManager)
since 3.1 use isLabelableByUser
Checks that the object permits labels to be edited for this user. |
com.atlassian.confluence.search.service.PredefinedSearchBuilder.usersSearch(String, int)
since 3.0. Use PredefinedSearchBuilder.buildUsersSearch(String, int) instead. |
com.atlassian.confluence.search.service.DefaultPredefinedSearchBuilder.usersSearch(String, int)
See super class javadoc. |
com.atlassian.confluence.pages.FileUploadManager.verifyFile(String, FileUploadUtils.UploadedFile[])
since 3.1 because it is only used in tests |
com.atlassian.confluence.pages.DefaultFileUploadManager.verifyFile(String, FileUploadUtils.UploadedFile[])
since 3.1 because it isn't used anywhere |