Uses of Class
com.atlassian.confluence.pages.Attachment

Packages that use Attachment
com.atlassian.confluence.content.render.xhtml.editor.embed   
com.atlassian.confluence.content.render.xhtml.editor.link   
com.atlassian.confluence.content.render.xhtml.links   
com.atlassian.confluence.content.render.xhtml.migration   
com.atlassian.confluence.content.render.xhtml.model.resource.identifiers   
com.atlassian.confluence.content.render.xhtml.view.embed   
com.atlassian.confluence.core   
com.atlassian.confluence.event.events.content.attachment   
com.atlassian.confluence.importexport.impl   
com.atlassian.confluence.importexport.resource   
com.atlassian.confluence.json.jsonator   
com.atlassian.confluence.links   
com.atlassian.confluence.mail.actions   
com.atlassian.confluence.pages   
com.atlassian.confluence.pages.actions   
com.atlassian.confluence.pages.actions.beans   
com.atlassian.confluence.pages.attachments   
com.atlassian.confluence.pages.persistence.dao   
com.atlassian.confluence.pages.persistence.dao.hibernate   
com.atlassian.confluence.pages.thumbnail   
com.atlassian.confluence.pages.thumbnail.renderer   
com.atlassian.confluence.plugin.descriptor.web   
com.atlassian.confluence.plugins.macros.core.renderer   
com.atlassian.confluence.plugins.rest.manager   
com.atlassian.confluence.renderer.attachments   
com.atlassian.confluence.renderer.embedded   
com.atlassian.confluence.rpc.soap.beans   
com.atlassian.confluence.servlet.download   
com.atlassian.confluence.spaces.actions   
com.atlassian.confluence.themes   
com.atlassian.confluence.upgrade.upgradetask   
com.atlassian.confluence.user   
com.atlassian.confluence.user.actions   
com.atlassian.confluence.util   
com.atlassian.confluence.util.breadcrumbs   
 

Uses of Attachment in com.atlassian.confluence.content.render.xhtml.editor.embed
 

Methods in com.atlassian.confluence.content.render.xhtml.editor.embed with parameters of type Attachment
 void EditorEmbeddedImageTooltipWriter.writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
           
 

Uses of Attachment in com.atlassian.confluence.content.render.xhtml.editor.link
 

Methods in com.atlassian.confluence.content.render.xhtml.editor.link with parameters of type Attachment
 void AttachmentStaxStreamMarshaller.marshal(Attachment attachment, XMLStreamWriter xmlStreamWriter, ConversionContext context)
           
 

Uses of Attachment in com.atlassian.confluence.content.render.xhtml.links
 

Methods in com.atlassian.confluence.content.render.xhtml.links with parameters of type Attachment
 String HtmlExportHrefEvaluator.createHref(ConversionContext context, Attachment attachment, String anchor)
           
static LinksUpdater.AttachmentReferenceDetails LinksUpdater.AttachmentReferenceDetails.createReference(Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.content.render.xhtml.migration
 

Methods in com.atlassian.confluence.content.render.xhtml.migration that return Attachment
 Attachment EmbeddedResourceResolver.resolve(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource, PageContext pageContext)
           
 Attachment DefaultEmbeddedResourceResolver.resolve(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource, PageContext pageContext)
           
 

Uses of Attachment in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
 

Methods in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers that return Attachment
 Attachment AttachmentResourceIdentifierResolver.resolve(AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
           
 

Uses of Attachment in com.atlassian.confluence.content.render.xhtml.view.embed
 

Methods in com.atlassian.confluence.content.render.xhtml.view.embed with parameters of type Attachment
 void ViewEmbeddedImageTitleWriter.writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
           
 void SimpleEmbeddedImageTagWriter.writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
           
 void LinkWrappingEmbeddedImageTagWriter.writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
           
 void EmbeddedImageTagWriter.writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
           
 

Constructor parameters in com.atlassian.confluence.content.render.xhtml.view.embed with type arguments of type Attachment
DefaultAttachedImageResourceMarshaller(AttachmentResourceIdentifierResolver attachmentResourceIdentifierResolver, PermissionManager permissionManager, ThumbnailManager thumbnailManager, HrefEvaluator hrefEvaluator, StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller, EmbeddedImageTagWriter embeddedImageWriter, UnidentifiedAttachmentMarshaller unidentifiedAttachmentPlaceholderWriter)
           
SimpleEmbeddedImageTagWriter(StaxStreamMarshaller<Attachment> attachmentStaxStreamMarshaller)
           
 

Uses of Attachment in com.atlassian.confluence.core
 

Methods in com.atlassian.confluence.core that return Attachment
 Attachment ContentEntityObject.getAttachmentNamed(String fileName)
           
 

Methods in com.atlassian.confluence.core that return types with arguments of type Attachment
 List<Attachment> ContentEntityObject.getAttachments()
          Don't use it directly, use AttachmentManager.getAttachments(page) instead
 List<Attachment> ContentEntityObject.getLatestVersionsOfAttachments()
          Don't use it directly, use AttachmentManager.getLatestVersionsOfAttachments(page) instead
 

Methods in com.atlassian.confluence.core with parameters of type Attachment
 void ContentEntityObject.addAttachment(Attachment attachment)
           
 void ContentEntityObject.removeAttachment(Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.event.events.content.attachment
 

Methods in com.atlassian.confluence.event.events.content.attachment that return Attachment
 Attachment AttachmentRemoveEvent.getAttachment()
          Get the removed attachment.
 Attachment AttachmentUpdateEvent.getNew()
           
 Attachment AttachmentUpdateEvent.getOld()
           
 

Methods in com.atlassian.confluence.event.events.content.attachment that return types with arguments of type Attachment
 List<Attachment> AttachmentEvent.getAttachments()
           
 

Constructors in com.atlassian.confluence.event.events.content.attachment with parameters of type Attachment
AttachmentCreateEvent(Object src, Attachment attachment)
           
AttachmentEvent(Object src, Attachment attachment)
           
AttachmentRemoveEvent(Object src, Attachment attachment, com.atlassian.user.User remover)
           
AttachmentUpdateEvent(Object src, Attachment attachment, Attachment previousVersion)
           
AttachmentViewEvent(Object src, Attachment attachment)
           
 

Constructor parameters in com.atlassian.confluence.event.events.content.attachment with type arguments of type Attachment
AttachmentCreateEvent(Object src, List<Attachment> attachments)
          Construct a new AttachmentCreateEvent.
AttachmentEvent(Object src, List<Attachment> attachments)
          Constructs a multi-attachment event.
 

Uses of Attachment in com.atlassian.confluence.importexport.impl
 

Methods in com.atlassian.confluence.importexport.impl with parameters of type Attachment
protected  boolean DefaultExportEmbeddedResourceRenderer.isPermittedToViewAttachment(Attachment attachment)
          Return true if the user is able to view the attachment.
 

Uses of Attachment in com.atlassian.confluence.importexport.resource
 

Methods in com.atlassian.confluence.importexport.resource that return Attachment
protected  Attachment AttachmentDownloadResourceManager.getAttachment(String userName, String resourcePath, Map parameters, String urlPrefix)
           
 

Constructors in com.atlassian.confluence.importexport.resource with parameters of type Attachment
AttachmentDownloadResourceReader(Attachment attachment, org.springframework.core.io.InputStreamSource inputStreamSource)
           
ThumbnailDownloadResourceReader(Attachment attachment, File thumbnailFile, org.springframework.core.io.InputStreamSource inputStreamSource)
           
 

Uses of Attachment in com.atlassian.confluence.json.jsonator
 

Methods in com.atlassian.confluence.json.jsonator with parameters of type Attachment
 Json AttachmentJsonator.convert(Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.links
 

Fields in com.atlassian.confluence.links declared as Attachment
protected  Attachment AbstractAttachmentLink.attachment
           
 

Methods in com.atlassian.confluence.links that return Attachment
 Attachment AbstractAttachmentLink.getAttachment()
           
 

Methods in com.atlassian.confluence.links with parameters of type Attachment
 void RelatedContentRefactorer.updateReferrers(Attachment attachment, Attachment previousAttachment)
           Iterate through all the content that links to (or embeds) the supplied attachment (prior to it's update) and update the details of this relationship to reflect the current name and owner of the attachment.
 void DefaultRelatedContentRefactorer.updateReferrers(Attachment attachment, Attachment previousAttachment)
           
 

Uses of Attachment in com.atlassian.confluence.mail.actions
 

Methods in com.atlassian.confluence.mail.actions with parameters of type Attachment
 String[] ViewMailAction.getAttachmentDetails(Attachment attachment)
          Used for writing the "do you want to remove?" message.
 

Uses of Attachment in com.atlassian.confluence.pages
 

Methods in com.atlassian.confluence.pages that return Attachment
 Attachment AttachmentData.getAttachment()
           
 Attachment DelegatorAttachmentManager.getAttachment(ContentEntityObject content, String attachmentFileName)
           
 Attachment DefaultAttachmentManager.getAttachment(ContentEntityObject content, String attachmentFileName)
          Get the most recent version of an attachment with a given name for a particular page.
 Attachment AttachmentManager.getAttachment(ContentEntityObject content, String attachmentFileName)
          Get the most recent version of an attachment with a given name for a particular page
 Attachment DelegatorAttachmentManager.getAttachment(ContentEntityObject content, String attachmentFileName, int version)
           
 Attachment DefaultAttachmentManager.getAttachment(ContentEntityObject content, String attachmentFileName, int version)
          Retrieve a named attachment from a page.
 Attachment AttachmentManager.getAttachment(ContentEntityObject content, String attachmentFileName, int version)
          Retrieve a named attachment from a page
 Attachment DelegatorAttachmentManager.getAttachment(long id)
           
 Attachment DefaultAttachmentManager.getAttachment(long id)
           
 Attachment AttachmentManager.getAttachment(long id)
           
 

Methods in com.atlassian.confluence.pages that return types with arguments of type Attachment
 List<Attachment> WebDavAttachmentManager.getAllVersions(Attachment attachment)
          Deprecated.  
 List<Attachment> DelegatorAttachmentManager.getAllVersions(Attachment attachment)
           
 List<Attachment> DefaultAttachmentManager.getAllVersions(Attachment attachment)
           
 List<Attachment> AttachmentManager.getAllVersions(Attachment attachment)
          Get all versions of an attachment, starting with the current version
 List<Attachment> WebDavAttachmentManager.getAttachments(ContentEntityObject content)
          Deprecated.  
 List<Attachment> DelegatorAttachmentManager.getAttachments(ContentEntityObject content)
           
 List<Attachment> DefaultAttachmentManager.getAttachments(ContentEntityObject content)
           
 List<Attachment> AttachmentManager.getAttachments(ContentEntityObject content)
          Returns a list of all attachments, old and new.
 List<Attachment> DelegatorAttachmentManager.getLastAddedVersionsOf(Attachment attachment)
           
 List<Attachment> DefaultAttachmentManager.getLastAddedVersionsOf(Attachment attachment)
           
 List<Attachment> AttachmentManager.getLastAddedVersionsOf(Attachment attachment)
          Retrieves all the last added versions for each user who has added a version of the attachment That is, if a user has added multiple versions, only the latest added version will be added to the list returned.
 List<Attachment> DelegatorAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content)
           
 List<Attachment> DefaultAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content)
           
 List<Attachment> AttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content)
          Returns a list of only latest versions of attachments.
 List<Attachment> DelegatorAttachmentManager.getPreviousVersions(Attachment attachment)
           
 List<Attachment> DefaultAttachmentManager.getPreviousVersions(Attachment attachment)
           
 List<Attachment> AttachmentManager.getPreviousVersions(Attachment attachment)
          Get all non-current versions of an attachment, not including the current version.
 

Methods in com.atlassian.confluence.pages with parameters of type Attachment
 List<Attachment> WebDavAttachmentManager.getAllVersions(Attachment attachment)
          Deprecated.  
 List<Attachment> DelegatorAttachmentManager.getAllVersions(Attachment attachment)
           
 List<Attachment> DefaultAttachmentManager.getAllVersions(Attachment attachment)
           
 List<Attachment> AttachmentManager.getAllVersions(Attachment attachment)
          Get all versions of an attachment, starting with the current version
 InputStream DelegatorAttachmentManager.getAttachmentData(Attachment attachment)
           
 InputStream DefaultAttachmentManager.getAttachmentData(Attachment attachment)
           
 InputStream AttachmentManager.getAttachmentData(Attachment attachment)
          Retrieve the data for attachment
static File AttachmentUtils.getContainingFolder(Attachment attachment)
          Deprecated. since 3.1 this method returns an incorrect path. Use HierarchicalFileSystemAttachmentDataDao.getDirectoryForAttachmentContainer(long, long)
 List<Attachment> DelegatorAttachmentManager.getLastAddedVersionsOf(Attachment attachment)
           
 List<Attachment> DefaultAttachmentManager.getLastAddedVersionsOf(Attachment attachment)
           
 List<Attachment> AttachmentManager.getLastAddedVersionsOf(Attachment attachment)
          Retrieves all the last added versions for each user who has added a version of the attachment That is, if a user has added multiple versions, only the latest added version will be added to the list returned.
static InputStream AttachmentUtils.getLatestAttachmentStream(Attachment attachment)
          Returns the attachment data as an InputStream

This method is not specific to any implementation of the AttachmentManager.

 List<Attachment> DelegatorAttachmentManager.getPreviousVersions(Attachment attachment)
           
 List<Attachment> DefaultAttachmentManager.getPreviousVersions(Attachment attachment)
           
 List<Attachment> AttachmentManager.getPreviousVersions(Attachment attachment)
          Get all non-current versions of an attachment, not including the current version.
 void DelegatorAttachmentManager.moveAttachment(Attachment attachment, String newFileName, ContentEntityObject newName)
           
 void DefaultAttachmentManager.moveAttachment(Attachment latestVersion, String newFileName, ContentEntityObject newContent)
           
 void AttachmentManager.moveAttachment(Attachment latestVersion, String fileName, ContentEntityObject newContent)
           
 void DelegatorAttachmentManager.removeAttachmentFromServer(Attachment attachment)
           
 void DefaultAttachmentManager.removeAttachmentFromServer(Attachment latestVersion)
          Removes the attachment and all previous versions
 void AttachmentManager.removeAttachmentFromServer(Attachment attachment)
          Removes an Attachment and its data from the server and data store
 void DelegatorAttachmentManager.saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData)
           
 void DefaultAttachmentManager.saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData)
           
 void AttachmentManager.saveAttachment(Attachment attachment, Attachment previousVersion, InputStream attachmentData)
          Saves an Attachment and its data
protected  void DefaultAttachmentManager.saveNewAttachment(Attachment attachment, InputStream attachmentData)
           
protected  void DefaultAttachmentManager.saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData)
           
 void AttachmentData.setAttachment(Attachment attachment)
           
 void DelegatorAttachmentManager.setAttachmentData(Attachment attachment, InputStream attachmentData)
           
 void DefaultAttachmentManager.setAttachmentData(Attachment attachment, InputStream attachmentData)
           
 void AttachmentManager.setAttachmentData(Attachment attachment, InputStream attachmentData)
          Set the data belonging to attachment This method can be used when there is missing data for an Attachment (e.g.
 

Method parameters in com.atlassian.confluence.pages with type arguments of type Attachment
 void DelegatorAttachmentManager.removeAttachments(List<? extends Attachment> attachments)
           
 void DefaultAttachmentManager.removeAttachments(List<? extends Attachment> attachments)
           
 void AttachmentManager.removeAttachments(List<? extends Attachment> attachments)
          Removes the contents of attachments from the server
 

Constructors in com.atlassian.confluence.pages with parameters of type Attachment
AttachmentData(int version, Attachment attachment, InputStream data)
           
 

Uses of Attachment in com.atlassian.confluence.pages.actions
 

Fields in com.atlassian.confluence.pages.actions declared as Attachment
protected  Attachment AbstractEditAttachedFileAction.attachment
          Deprecated.  
 

Methods in com.atlassian.confluence.pages.actions that return Attachment
 Attachment RemoveAttachedFileAction.getAttachment()
           
 Attachment MoveAttachmentAction.getAttachment()
           
 Attachment AbstractEditAttachedFileAction.getAttachment()
          Deprecated.  
 

Methods in com.atlassian.confluence.pages.actions that return types with arguments of type Attachment
 List<Attachment> ViewPageAttachmentsAction.getLatestVersionsOfAttachments()
           
 List<Attachment> AbstractViewAttachmentsAction.getLatestVersionsOfAttachments()
           
 

Methods in com.atlassian.confluence.pages.actions with parameters of type Attachment
 String[] AbstractViewAttachmentsAction.getAttachmentDetails(Attachment attachment)
          Used for writing the "do you want to remove?" message.
 List AbstractViewAttachmentsAction.getPreviousVersions(Attachment attachment)
           
 AttachmentHelper ViewPageAttachmentsAction.getTargetHelper(Attachment attachment)
          Deprecated. since 2.8 use ViewPageAttachmentsAction.getWebInterfaceContext(WebInterfaceContext, Attachment)
 WebInterfaceContext ViewPageAttachmentsAction.getWebInterfaceContext(Attachment attachment)
          Deprecated. since 3.1 use ViewPageAttachmentsAction.getWebInterfaceContext(WebInterfaceContext, Attachment)
 WebInterfaceContext ViewPageAttachmentsAction.getWebInterfaceContext(WebInterfaceContext context, Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.pages.actions.beans
 

Methods in com.atlassian.confluence.pages.actions.beans that return Attachment
 Attachment AttachmentBean.retrieveMatchingAttachment(AbstractPage page, AttachmentManager attachmentManager)
           
 

Methods in com.atlassian.confluence.pages.actions.beans that return types with arguments of type Attachment
 List<Attachment> AttachmentStorer.attachFiles(ContentEntityObject contentEntityObject)
           
 

Uses of Attachment in com.atlassian.confluence.pages.attachments
 

Methods in com.atlassian.confluence.pages.attachments that return Attachment
 Attachment ImageDetails.getAttachment()
           
 Attachment CachingAttachmentDao.getAttachment(ContentEntityObject content, String fileName, int version)
           
 Attachment CachingAttachmentDao.getById(long id)
           
 Attachment CachingAttachmentDao.getLatestAttachment(ContentEntityObject content, String fileName)
           
 

Methods in com.atlassian.confluence.pages.attachments that return types with arguments of type Attachment
 List<Attachment> CachingAttachmentDao.findAll()
           
 List<Attachment> CachingAttachmentDao.findAllVersions(Attachment attachment)
           
 Iterator<Attachment> CachingAttachmentDao.findLatestVersionsIterator()
           
 List<Attachment> CachingAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
           
 List<Attachment> CachingAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo)
           
 

Methods in com.atlassian.confluence.pages.attachments with parameters of type Attachment
 List<Attachment> CachingAttachmentDao.findAllVersions(Attachment attachment)
           
 InputStream CachingAttachmentDao.getAttachmentData(Attachment attachment)
           
 ImageDetails ImageDetailsManager.getImageDetails(Attachment attachment)
          If attachment is an intelligble image, then this method returns the ImageDetails for it.
 ImageDetails ImageDetailsDao.getImageDetails(Attachment attachment)
          Fetch the image details of a specific attachment from the database.
 ImageDetails DefaultImageDetailsManager.getImageDetails(Attachment attachment)
           
 ImageDetails DefaultImageDetailsDao.getImageDetails(Attachment attachment)
           
 List<Attachment> CachingAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
           
 void CachingAttachmentDao.moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)
           
 void AttachmentCache.put(Attachment attachment)
          Caches the ID of the current version of an attachment (which should never change) against its content ID + file name.
 void AttachmentCache.remove(Attachment attachment)
          Removes the given attachment from the cache.
 void CachingAttachmentDao.removeAttachmentFromServer(Attachment attachment)
           
 void ImageDetailsDao.removeDetailsFor(Attachment attachment)
          Remove any stored ImageDetails for the given Attachment.
 void DefaultImageDetailsDao.removeDetailsFor(Attachment attachment)
           
 void CachingAttachmentDao.replaceAttachmentData(Attachment attachment, InputStream attachmentData)
           
 void CachingAttachmentDao.saveNewAttachment(Attachment attachment, InputStream attachmentData)
           
 void CachingAttachmentDao.saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData)
           
 

Constructors in com.atlassian.confluence.pages.attachments with parameters of type Attachment
ImageDetails(Attachment attachment, int width, int height, String mimeType)
           
 

Uses of Attachment in com.atlassian.confluence.pages.persistence.dao
 

Methods in com.atlassian.confluence.pages.persistence.dao that return Attachment
 Attachment WebDavAttachmentDao.getAttachment(ContentEntityObject content, String fileName, int version)
          Deprecated.  
 Attachment AttachmentDao.getAttachment(ContentEntityObject content, String fileName, int version)
          Return the attachment on the specified content with the given filename and version.
 Attachment WebDavAttachmentDao.getById(long id)
          Deprecated.  
 Attachment AttachmentDao.getById(long id)
          Returns the attachment with the given persistent ID.
 Attachment WebDavAttachmentDao.getLatestAttachment(ContentEntityObject content, String fileName)
          Deprecated.  
 Attachment AttachmentDao.getLatestAttachment(ContentEntityObject content, String fileName)
          Return the latest version of the attachment on the specified content with the given filename.
 

Methods in com.atlassian.confluence.pages.persistence.dao that return types with arguments of type Attachment
 List<Attachment> WebDavAttachmentDao.findAll()
          Deprecated.  
 List<Attachment> AttachmentDao.findAll()
          Retrieves the latest versions of all Attachments Use of this method is discouraged when there are a large amount of Attachments.
 List<Attachment> AttachmentDao.findAllVersions(Attachment attachment)
           
 Iterator<Attachment> WebDavAttachmentDao.findLatestVersionsIterator()
          Deprecated. This implementation is technically dodgy.
 Iterator<Attachment> AttachmentDao.findLatestVersionsIterator()
          Retrieves the latest versions of all Attachments and returns an Iterator to the results.
 List<Attachment> WebDavAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
          Deprecated.  
 List<Attachment> AttachmentDao.getLastAddedVersionsOf(Attachment attachment)
          Retrieves all the last added versions for each user who has added a version of the attachment That is, if a user has added multiple versions, only the latest added version will be added to the list returned.
 List<Attachment> WebDavAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo)
          Deprecated.  
 List<Attachment> AttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo)
          Retrieves the latest versions of all attachments to ceo
 

Methods in com.atlassian.confluence.pages.persistence.dao with parameters of type Attachment
 List WebDavAttachmentDao.findAllVersions(Attachment attachment)
          Deprecated.  
 List<Attachment> AttachmentDao.findAllVersions(Attachment attachment)
           
 InputStream WebDavAttachmentDao.getAttachmentData(Attachment attachment)
          Deprecated.  
 InputStream AttachmentDao.getAttachmentData(Attachment attachment)
          Retrieves the InputStream representing the data for attachment
 String FileSystemAttachmentDataDao.FileSystemAttachmentNamingStrategy.getAttachmentFileName(Attachment attachment)
           
 InputStream FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment)
           
 InputStream AttachmentDataDao.getDataForAttachment(Attachment attachment)
          Grabs the AttachmentData object for an Attachment
protected  File HierarchicalFileSystemAttachmentDataDao.getDirectoryForAttachment(ContentEntityObject content, Attachment attachment)
           
protected  File FileSystemAttachmentDataDao.getDirectoryForAttachment(ContentEntityObject content, Attachment attachment)
          Retrieves the location of the containing folder for an Attachment
 List<Attachment> WebDavAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
          Deprecated.  
 List<Attachment> AttachmentDao.getLastAddedVersionsOf(Attachment attachment)
          Retrieves all the last added versions for each user who has added a version of the attachment That is, if a user has added multiple versions, only the latest added version will be added to the list returned.
protected  File FileSystemAttachmentDataDao.getLatestAttachmentFile(Attachment attachment)
           
 void WebDavAttachmentDao.moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)
          Deprecated.  
 void FileSystemAttachmentDataDao.moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)
           
 void AttachmentDataDao.moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)
          Moves an attachment to a new file name or content object
 void AttachmentDao.moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)
          Moves an Attachment to a new file name or content object

This method assumes that the filename and/or content of the attachment (and its previous versions) have already been updated.

 void WebDavAttachmentDao.removeAttachmentFromServer(Attachment attachment)
          Deprecated. todo: Should i remove the files from the webdav server?! should i remove the parent folder when folder's empty?
 void AttachmentDao.removeAttachmentFromServer(Attachment attachment)
          Removes attachment (and all of its versions)
 void FileSystemAttachmentDataDao.removeDataForAttachment(Attachment attachment, ContentEntityObject originalContent)
           
 void AttachmentDataDao.removeDataForAttachment(Attachment attachment, ContentEntityObject originalContent)
          Removes all attachment data for an attachment
 void WebDavAttachmentDao.renameAttachment(Attachment attachment, String newName)
          Deprecated.  
 void WebDavAttachmentDao.replaceAttachmentData(Attachment attachment, InputStream attachmentData)
          Deprecated. Technically, this method is supposed to overwrite existing data without incrementing the version, due to the nature of WebDAV, we can't avoid that.
 void AttachmentDao.replaceAttachmentData(Attachment attachment, InputStream attachmentData)
          Sets the attachment data for attachment This method will overwrite any existing data for the attachment version.
 void FileSystemAttachmentDataDao.replaceDataForAttachment(Attachment attachment, InputStream data)
           
 void AttachmentDataDao.replaceDataForAttachment(Attachment attachment, InputStream data)
          Sets the data for attachment This method will overwrite any existing data for the attachment.
 void FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment, InputStream data)
           
 void AttachmentDataDao.saveDataForAttachment(Attachment attachment, InputStream data)
          Saves data to the attachment data store
protected  void FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment, InputStream data, boolean overwrite)
          Saves data to the file system
 void FileSystemAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream data)
           
 void AttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream data)
          Saves data to the attachment data store, for an attachment that has been updated.
 void WebDavAttachmentDao.saveNewAttachment(Attachment attachment, InputStream attachmentData)
          Deprecated. This implementation saves a new Attachment to the appropriate path.
 void AttachmentDao.saveNewAttachment(Attachment attachment, InputStream attachmentData)
          Saves a new attachment
 void WebDavAttachmentDao.saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData)
          Deprecated.  
 void AttachmentDao.saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData)
          Saves a new version of attachment
 

Uses of Attachment in com.atlassian.confluence.pages.persistence.dao.hibernate
 

Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return Attachment
 Attachment AbstractHibernateAttachmentDao.getAttachment(ContentEntityObject content, String fileName, int version)
           
 Attachment AbstractHibernateAttachmentDao.getById(long id)
           
 Attachment AbstractHibernateAttachmentDao.getLatestAttachment(ContentEntityObject content, String fileName)
           
 

Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return types with arguments of type Attachment
 List<Attachment> AbstractHibernateAttachmentDao.findAllVersions(Attachment attachment)
           
 List<Attachment> AbstractHibernateAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
           
 List<Attachment> AbstractHibernateAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject content)
           
 

Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type Attachment
 List<Attachment> AbstractHibernateAttachmentDao.findAllVersions(Attachment attachment)
           
 InputStream AbstractHibernateAttachmentDao.getAttachmentData(Attachment attachment)
           
protected  AttachmentData HibernateAttachmentDataDao.getAttachmentDataForAttachment(Attachment attachment)
          Retrieves the attachment data object for a given attachment.
 InputStream HibernateAttachmentDataDao.getDataForAttachment(Attachment attachment)
           
 List<Attachment> AbstractHibernateAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
           
 void HibernateAttachmentDataDao.moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)
           
 void AbstractHibernateAttachmentDao.moveAttachment(Attachment latestVersion, Attachment oldAttachment, ContentEntityObject newContent)
           
protected  void AbstractHibernateAttachmentDao.removeAttachment(Attachment attachment, ContentEntityObject content)
          Severs the connection between attachment and content, and removes the attachment from the database
 void TransactionalHibernateAttachmentDao.removeAttachmentFromServer(Attachment attachment)
           
 void NonTransactionalHibernateAttachmentDao.removeAttachmentFromServer(Attachment attachment)
           
 void HibernateAttachmentDataDao.removeDataForAttachment(Attachment attachment, ContentEntityObject originalContent)
           
 void AbstractHibernateAttachmentDao.replaceAttachmentData(Attachment attachment, InputStream attachmentData)
           
 void HibernateAttachmentDataDao.replaceDataForAttachment(Attachment attachment, InputStream data)
           
 void HibernateAttachmentDataDao.saveDataForAttachment(Attachment attachment, InputStream data)
           
 void HibernateAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream data)
           
 void AbstractHibernateAttachmentDao.saveNewAttachment(Attachment attachment, InputStream attachmentData)
           
 void AbstractHibernateAttachmentDao.saveNewAttachmentVersion(Attachment attachment, Attachment previousVersion, InputStream attachmentData)
          This implementation saves the Attachment and its previous version to the VersionedHibernateObjectDao.
 

Uses of Attachment in com.atlassian.confluence.pages.thumbnail
 

Methods in com.atlassian.confluence.pages.thumbnail that return Attachment
 Attachment ThumbnailInfo.getAttachment()
           
 Attachment CannotGenerateThumbnailException.getAttachment()
           
 

Methods in com.atlassian.confluence.pages.thumbnail with parameters of type Attachment
 com.atlassian.core.util.thumbnail.Thumbnail ThumbnailManager.getThumbnail(Attachment attachment)
          Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it only if it doesn't already exist.
 com.atlassian.core.util.thumbnail.Thumbnail DefaultThumbnailManager.getThumbnail(Attachment attachment)
          Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it only if it doesn't already exist.
 InputStream ThumbnailManager.getThumbnailData(Attachment attachment)
          retrieves the thumbnail data (as a stream) from where it was stored in the file system
 InputStream DefaultThumbnailManager.getThumbnailData(Attachment attachment)
          We only store a thumbnail of the latest version of an image attachment in the format thumb_foo.jpg When new versions of the attachment are added, this thumbnail is removed and regenerated the next time its requested.
 File ThumbnailManager.getThumbnailFile(Attachment attachment)
          returns the path to the thumbnail for this attachment
 File DefaultThumbnailManager.getThumbnailFile(Attachment attachment)
           
 ThumbnailInfo ThumbnailManager.getThumbnailInfo(Attachment attachment)
          Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
 ThumbnailInfo DefaultThumbnailManager.getThumbnailInfo(Attachment attachment)
           
 ThumbnailInfo ThumbnailManager.getThumbnailInfo(Attachment attachment, String rootAttachmentPath)
          Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
 ThumbnailInfo DefaultThumbnailManager.getThumbnailInfo(Attachment attachment, String remoteAttachmentPath)
           
protected  File DefaultThumbnailManager.getThumbnailsFolder(Attachment attachment)
           
 boolean ThumbnailManager.isThumbnailable(Attachment attachment)
          checks the content type/mime type of the attachment to determine whether a thumbnail can be created from it
 boolean DefaultThumbnailManager.isThumbnailable(Attachment attachment)
           
 boolean ThumbnailManager.removeThumbnail(Attachment attachment)
          Removes the thumbnail for the specified attachment.
 boolean DefaultThumbnailManager.removeThumbnail(Attachment attachment)
           
 

Method parameters in com.atlassian.confluence.pages.thumbnail with type arguments of type Attachment
 Collection<com.atlassian.core.util.thumbnail.Thumbnail> ThumbnailManager.getThumbnails(Collection<Attachment> attachments)
           
 Collection<com.atlassian.core.util.thumbnail.Thumbnail> DefaultThumbnailManager.getThumbnails(Collection<Attachment> attachments)
          not currently used
 

Constructors in com.atlassian.confluence.pages.thumbnail with parameters of type Attachment
CannotGenerateThumbnailException(Attachment attachment)
           
ThumbnailInfo(Attachment attachment, InputStream attachmentData, String attachmentsPath)
          Deprecated. since 3.1 use ThumbnailInfo.ThumbnailInfo(ImageDetails, Dimensions, String), or ThumbnailManager.getThumbnailInfo(com.atlassian.confluence.pages.Attachment, String)
 

Constructor parameters in com.atlassian.confluence.pages.thumbnail with type arguments of type Attachment
Thumbnails(List<Attachment> attachments, ImagePathHelper pathHelper, int columns, AttachmentManager attachmentManager, ThumbnailManager thumbnailManager)
          Deprecated. use Thumbnails.Thumbnails(List, ImagePathHelper, int, ThumbnailManager)
Thumbnails(List<Attachment> attachments, ImagePathHelper pathHelper, int columns, ThumbnailManager thumbnailManager)
          Construct a Thumbnails object, which contains details of all thumbnailable images in a list of attachments.
Thumbnails(List<Attachment> attachments, int columns, ThumbnailManager thumbnailManager)
          Construct a Thumbnails object, which contains details of all thumbnailable images in a list of attachments.
Thumbnails(List<Attachment> attachments, String attachmentsRoot, int columns, AttachmentManager attachmentManager, ThumbnailManager thumbnailManager)
          Deprecated. use Thumbnails.Thumbnails(List, ImagePathHelper, int, ThumbnailManager)
 

Uses of Attachment in com.atlassian.confluence.pages.thumbnail.renderer
 

Methods in com.atlassian.confluence.pages.thumbnail.renderer with parameters of type Attachment
 com.atlassian.core.util.thumbnail.Thumbnail DelegatingThumbnailRenderer.retrieveOrCreateThumbNail(Attachment attachment, File thumbnailFile, int maxWidth, int maxHeight)
          Create a new or return an existing Thumbnail for this attachment.
 

Uses of Attachment in com.atlassian.confluence.plugin.descriptor.web
 

Methods in com.atlassian.confluence.plugin.descriptor.web that return Attachment
 Attachment WebInterfaceContext.getAttachment()
          Returns the attachment related to the web interface state, or null if there is no attachment.
 Attachment DefaultWebInterfaceContext.getAttachment()
           
 

Methods in com.atlassian.confluence.plugin.descriptor.web with parameters of type Attachment
 void DefaultWebInterfaceContext.setAttachment(Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.plugins.macros.core.renderer
 

Methods in com.atlassian.confluence.plugins.macros.core.renderer with parameters of type Attachment
protected  Map<String,Object> EmbeddedWindowsMediaRenderer.refineParams(Attachment attachment, Map<String,Object> properties)
           
protected  Map<String,Object> EmbeddedVideoRenderer.refineParams(Attachment attachment, Map<String,Object> properties)
           
protected  Map<String,Object> EmbeddedRealMediaRenderer.refineParams(Attachment attachment, Map<String,Object> properties)
           
protected  Map<String,Object> EmbeddedQuickTimeRenderer.refineParams(Attachment attachment, Map<String,Object> properties)
           
protected  Map<String,Object> EmbeddedMp4Renderer.refineParams(Attachment attachment, Map<String,Object> properties)
           
protected  Map<String,Object> EmbeddedFlashRenderer.refineParams(Attachment attachment, Map<String,Object> properties)
           
protected  Map<String,Object> EmbeddedAudioRenderer.refineParams(Attachment attachment, Map<String,Object> properties)
           
protected abstract  Map<String,Object> AbstractEmbeddedResourceRenderer.refineParams(Attachment attachment, Map<String,Object> properties)
          Provides the opportunity for a specialisation to customise any parameters / properties.
 

Uses of Attachment in com.atlassian.confluence.plugins.rest.manager
 

Methods in com.atlassian.confluence.plugins.rest.manager with parameters of type Attachment
 AttachmentEntity RestAttachmentManager.convertToAttachmentEntity(Attachment attachment)
          Convert a Confluence model object into its REST representation.
 AttachmentEntity DefaultRestAttachmentManager.convertToAttachmentEntity(Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.renderer.attachments
 

Methods in com.atlassian.confluence.renderer.attachments with parameters of type Attachment
 String RendererAttachmentManager.getImagePath(Attachment attachment, boolean isThumbnail)
           
protected  boolean RendererAttachmentManager.isPermittedToViewAttachment(Attachment attachment)
          Checks whether the user is able to view the attachment
 

Uses of Attachment in com.atlassian.confluence.renderer.embedded
 

Methods in com.atlassian.confluence.renderer.embedded that return Attachment
 Attachment EmbeddedObject.getAttachment()
           
static Attachment EmbeddedResourceUtils.resolveAttachment(PageContext context, com.atlassian.renderer.embedded.EmbeddedResource resource)
           
 

Methods in com.atlassian.confluence.renderer.embedded with parameters of type Attachment
 String ImagePathHelper.getImagePath(Attachment attachment, boolean isThumbnail)
          Return the path used to access the specified image.
 

Constructors in com.atlassian.confluence.renderer.embedded with parameters of type Attachment
EmbeddedObject(Attachment attachment, Map<String,Object> properties)
           
 

Uses of Attachment in com.atlassian.confluence.rpc.soap.beans
 

Constructors in com.atlassian.confluence.rpc.soap.beans with parameters of type Attachment
RemoteAttachment(Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.servlet.download
 

Methods in com.atlassian.confluence.servlet.download that return Attachment
 Attachment AttachmentUrlParser.getAttachment(String urlPath, String urlPrefix, Map parameters)
          Gets the attachment based on the url, prefix and query parameters.
 

Uses of Attachment in com.atlassian.confluence.spaces.actions
 

Methods in com.atlassian.confluence.spaces.actions that return Attachment
 Attachment AbstractLogoAction.getLogo()
           
 

Uses of Attachment in com.atlassian.confluence.themes
 

Methods in com.atlassian.confluence.themes that return Attachment
 Attachment AttachmentHelper.getAttachment()
           
 

Constructors in com.atlassian.confluence.themes with parameters of type Attachment
AttachmentHelper(ConfluenceActionSupport action, Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.upgrade.upgradetask
 

Methods in com.atlassian.confluence.upgrade.upgradetask with parameters of type Attachment
protected  boolean AttachmentFileNameUpgradeTask.tryToFixFile(File attachmentDir, Attachment attachment, String nativeEncoding)
          Try and locate and update a file which may have a badly encoded file name This method will run through all the configured mangled encodings
protected  boolean AttachmentFileNameUpgradeTask.tryToFixFile(File attachmentDir, Attachment attachment, String nativeEncoding, String fileSystemEncoding)
          Try to fix an attachment file by looking for a file name encoded with the specified encoding
protected  boolean AttachmentFileNameUpgradeTask.updateAttachmentFile(Attachment attachment, File attachmentFile)
          Map an attachment to the new ID based naming scheme
 

Uses of Attachment in com.atlassian.confluence.user
 

Methods in com.atlassian.confluence.user with parameters of type Attachment
 void UserAccessor.setUserProfilePicture(com.atlassian.user.User user, Attachment attachment)
          Set the user profile picture to the given attachment.
 void DefaultUserAccessor.setUserProfilePicture(com.atlassian.user.User user, Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.user.actions
 

Methods in com.atlassian.confluence.user.actions that return types with arguments of type Attachment
 List<Attachment> EditMyProfilePictureAction.getImageAttachments()
           
 

Constructors in com.atlassian.confluence.user.actions with parameters of type Attachment
ProfilePictureInfo(Attachment attachment)
           
 

Uses of Attachment in com.atlassian.confluence.util
 

Methods in com.atlassian.confluence.util with parameters of type Attachment
 int AttachmentFileNameComparator.compare(Attachment first, Attachment second)
           
static String ConfluenceRenderUtils.getAbsoluteAttachmentRemotePath(Attachment attachment)
          Returns the remote path to the given attachment and its siblings.
static String ConfluenceRenderUtils.getAttachmentRemotePath(Attachment attachment)
          Returns the remote path to the given attachment and its siblings.
 ThumbnailInfo ThumbnailInfoFactory.getThumbnailInfo(Attachment attachment)
          Deprecated. since 3.0 use ThumbnailManager.getThumbnailInfo(com.atlassian.confluence.pages.Attachment).
 ThumbnailInfo DefaultThumbnailInfoFactory.getThumbnailInfo(Attachment attachment)
          Deprecated.  
 

Uses of Attachment in com.atlassian.confluence.util.breadcrumbs
 

Constructors in com.atlassian.confluence.util.breadcrumbs with parameters of type Attachment
AttachmentBreadcrumb(Attachment attachment)
           
 



Copyright © 2003-2011 Atlassian. All Rights Reserved.