|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Attachment in com.atlassian.confluence.core |
---|
Methods in com.atlassian.confluence.core that return Attachment | |
---|---|
Attachment |
ContentEntityObject.getAttachmentNamed(java.lang.String fileName)
|
Methods in com.atlassian.confluence.core that return types with arguments of type Attachment | |
---|---|
java.util.List<Attachment> |
ContentEntityObject.getAttachments()
Don't use it directly, use AttachmentManager.getAttachments(page) instead |
java.util.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 |
AttachmentUpdateEvent.getNew()
|
Attachment |
AttachmentUpdateEvent.getOld()
|
Constructors in com.atlassian.confluence.event.events.content.attachment with parameters of type Attachment | |
---|---|
AttachmentCreateEvent(java.lang.Object src,
Attachment attachment)
|
|
AttachmentEvent(java.lang.Object src,
Attachment attachment,
ContentEntityObject attachedTo)
|
|
AttachmentRemoveEvent(java.lang.Object src,
Attachment attachment,
com.atlassian.user.User remover)
|
|
AttachmentUpdateEvent(java.lang.Object src,
Attachment attachment,
Attachment previousVersion)
|
|
AttachmentViewEvent(java.lang.Object src,
Attachment attachment)
|
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)
Checks whether 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(java.lang.String userName,
java.lang.String resourcePath,
java.util.Map parameters,
java.lang.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,
java.io.File thumbnailFile,
org.springframework.core.io.InputStreamSource inputStreamSource)
|
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()
|
Uses of Attachment in com.atlassian.confluence.mail.actions |
---|
Methods in com.atlassian.confluence.mail.actions with parameters of type Attachment | |
---|---|
java.lang.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,
java.lang.String attachmentFileName)
|
Attachment |
DefaultAttachmentManager.getAttachment(ContentEntityObject content,
java.lang.String attachmentFileName)
Get the most recent version of an attachment with a given name for a particular page |
Attachment |
AttachmentManager.getAttachment(ContentEntityObject content,
java.lang.String attachmentFileName)
Get the most recent version of an attachment with a given name for a particular page |
Attachment |
DelegatorAttachmentManager.getAttachment(ContentEntityObject content,
java.lang.String attachmentFileName,
int version)
|
Attachment |
DefaultAttachmentManager.getAttachment(ContentEntityObject content,
java.lang.String attachmentFileName,
int version)
Retrieve a named attachment from a page |
Attachment |
AttachmentManager.getAttachment(ContentEntityObject content,
java.lang.String attachmentFileName,
int version)
Retrieve a named attachment from a page |
Methods in com.atlassian.confluence.pages that return types with arguments of type Attachment | |
---|---|
java.util.List<Attachment> |
WebDavAttachmentManager.getAllVersions(Attachment attachment)
Deprecated. |
java.util.List<Attachment> |
DelegatorAttachmentManager.getAllVersions(Attachment attachment)
|
java.util.List<Attachment> |
DefaultAttachmentManager.getAllVersions(Attachment attachment)
|
java.util.List<Attachment> |
AttachmentManager.getAllVersions(Attachment attachment)
Get all versions of an attachment, starting with the current version |
java.util.List<Attachment> |
WebDavAttachmentManager.getAttachments(ContentEntityObject content)
Deprecated. |
java.util.List<Attachment> |
DelegatorAttachmentManager.getAttachments(ContentEntityObject content)
|
java.util.List<Attachment> |
DefaultAttachmentManager.getAttachments(ContentEntityObject content)
|
java.util.List<Attachment> |
AttachmentManager.getAttachments(ContentEntityObject content)
Returns a list of all attachments, old and new. |
java.util.List<Attachment> |
DelegatorAttachmentManager.getLastAddedVersionsOf(Attachment attachment)
|
java.util.List<Attachment> |
DefaultAttachmentManager.getLastAddedVersionsOf(Attachment attachment)
|
java.util.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. |
java.util.List<Attachment> |
DelegatorAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content)
|
java.util.List<Attachment> |
DefaultAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content)
|
java.util.List<Attachment> |
AttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content)
Returns a list of only latest versions of attachments. |
java.util.List<Attachment> |
DelegatorAttachmentManager.getPreviousVersions(Attachment attachment)
|
java.util.List<Attachment> |
DefaultAttachmentManager.getPreviousVersions(Attachment attachment)
|
java.util.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 | |
---|---|
java.util.List<Attachment> |
WebDavAttachmentManager.getAllVersions(Attachment attachment)
Deprecated. |
java.util.List<Attachment> |
DelegatorAttachmentManager.getAllVersions(Attachment attachment)
|
java.util.List<Attachment> |
DefaultAttachmentManager.getAllVersions(Attachment attachment)
|
java.util.List<Attachment> |
AttachmentManager.getAllVersions(Attachment attachment)
Get all versions of an attachment, starting with the current version |
java.io.InputStream |
DelegatorAttachmentManager.getAttachmentData(Attachment attachment)
|
java.io.InputStream |
DefaultAttachmentManager.getAttachmentData(Attachment attachment)
|
java.io.InputStream |
AttachmentManager.getAttachmentData(Attachment attachment)
Retrieve the data for attachment |
static java.io.File |
AttachmentUtils.getContainingFolder(Attachment attachment)
|
java.util.List<Attachment> |
DelegatorAttachmentManager.getLastAddedVersionsOf(Attachment attachment)
|
java.util.List<Attachment> |
DefaultAttachmentManager.getLastAddedVersionsOf(Attachment attachment)
|
java.util.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 java.io.InputStream |
AttachmentUtils.getLatestAttachmentStream(Attachment attachment)
Returns the attachment data as an InputStream This method is not specific to any implementation of the AttachmentManager. |
static java.io.File |
AttachmentUtils.getOldContainingFolder(Attachment attachment)
Deprecated. as of Confluence 2.2 (we now use the attachment id to store attachments) |
java.util.List<Attachment> |
DelegatorAttachmentManager.getPreviousVersions(Attachment attachment)
|
java.util.List<Attachment> |
DefaultAttachmentManager.getPreviousVersions(Attachment attachment)
|
java.util.List<Attachment> |
AttachmentManager.getPreviousVersions(Attachment attachment)
Get all non-current versions of an attachment, not including the current version. |
void |
DelegatorAttachmentManager.moveAttachment(Attachment attachment,
java.lang.String newFileName,
ContentEntityObject newName)
|
void |
DefaultAttachmentManager.moveAttachment(Attachment latestVersion,
java.lang.String newFileName,
ContentEntityObject newContent)
|
void |
AttachmentManager.moveAttachment(Attachment latestVersion,
java.lang.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,
java.io.InputStream attachmentData)
|
void |
DefaultAttachmentManager.saveAttachment(Attachment attachment,
Attachment previousVersion,
java.io.InputStream attachmentData)
|
void |
AttachmentManager.saveAttachment(Attachment attachment,
Attachment previousVersion,
java.io.InputStream attachmentData)
Saves an Attachment and its data |
protected void |
DefaultAttachmentManager.saveNewAttachment(Attachment attachment,
java.io.InputStream attachmentData)
|
protected void |
DefaultAttachmentManager.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
java.io.InputStream attachmentData)
|
void |
AttachmentData.setAttachment(Attachment attachment)
|
void |
DelegatorAttachmentManager.setAttachmentData(Attachment attachment,
java.io.InputStream attachmentData)
|
void |
DefaultAttachmentManager.setAttachmentData(Attachment attachment,
java.io.InputStream attachmentData)
|
void |
AttachmentManager.setAttachmentData(Attachment attachment,
java.io.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(java.util.List<? extends Attachment> attachments)
|
void |
DefaultAttachmentManager.removeAttachments(java.util.List<? extends Attachment> attachments)
|
void |
AttachmentManager.removeAttachments(java.util.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,
java.io.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 | |
---|---|
java.util.List<Attachment> |
AbstractViewAttachmentsAction.getLatestVersionsOfAttachments()
|
Methods in com.atlassian.confluence.pages.actions with parameters of type Attachment | |
---|---|
java.lang.String[] |
AbstractViewAttachmentsAction.getAttachmentDetails(Attachment attachment)
Used for writing the "do you want to remove?" message. |
java.util.List |
AbstractViewAttachmentsAction.getPreviousVersions(Attachment attachment)
|
AttachmentHelper |
ViewPageAttachmentsAction.getTargetHelper(Attachment attachment)
Deprecated. since 2.8 use ViewPageAttachmentsAction.getWebInterfaceContext(Attachment) |
WebInterfaceContext |
ViewPageAttachmentsAction.getWebInterfaceContext(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 | |
---|---|
java.util.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 |
CachingAttachmentDao.getAttachment(ContentEntityObject content,
java.lang.String fileName,
int version)
|
Attachment |
CachingAttachmentDao.getById(long id)
|
Attachment |
CachingAttachmentDao.getLatestAttachment(ContentEntityObject content,
java.lang.String fileName)
|
Methods in com.atlassian.confluence.pages.attachments that return types with arguments of type Attachment | |
---|---|
java.util.List<Attachment> |
CachingAttachmentDao.findAll()
|
java.util.List<Attachment> |
CachingAttachmentDao.findAllVersions(Attachment attachment)
|
java.util.Iterator<Attachment> |
CachingAttachmentDao.findLatestVersionsIterator()
|
java.util.List<Attachment> |
CachingAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
|
java.util.List<Attachment> |
CachingAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo)
|
Methods in com.atlassian.confluence.pages.attachments with parameters of type Attachment | |
---|---|
java.util.List<Attachment> |
CachingAttachmentDao.findAllVersions(Attachment attachment)
|
java.io.InputStream |
CachingAttachmentDao.getAttachmentData(Attachment attachment)
|
java.util.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 |
CachingAttachmentDao.replaceAttachmentData(Attachment attachment,
java.io.InputStream attachmentData)
|
void |
CachingAttachmentDao.saveNewAttachment(Attachment attachment,
java.io.InputStream attachmentData)
|
void |
CachingAttachmentDao.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
java.io.InputStream attachmentData)
|
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,
java.lang.String fileName,
int version)
Deprecated. |
Attachment |
AttachmentDao.getAttachment(ContentEntityObject content,
java.lang.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,
java.lang.String fileName)
Deprecated. |
Attachment |
AttachmentDao.getLatestAttachment(ContentEntityObject content,
java.lang.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 | |
---|---|
java.util.List<Attachment> |
WebDavAttachmentDao.findAll()
Deprecated. |
java.util.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. |
java.util.List<Attachment> |
AttachmentDao.findAllVersions(Attachment attachment)
|
java.util.Iterator<Attachment> |
WebDavAttachmentDao.findLatestVersionsIterator()
Deprecated. This implementation is technically dodgy. |
java.util.Iterator<Attachment> |
AttachmentDao.findLatestVersionsIterator()
Retrieves the latest versions of all Attachments and returns an Iterator to the results. |
java.util.List<Attachment> |
WebDavAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
Deprecated. |
java.util.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. |
java.util.List<Attachment> |
WebDavAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo)
Deprecated. |
java.util.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 | |
---|---|
java.util.List |
WebDavAttachmentDao.findAllVersions(Attachment attachment)
Deprecated. |
java.util.List<Attachment> |
AttachmentDao.findAllVersions(Attachment attachment)
|
java.io.InputStream |
WebDavAttachmentDao.getAttachmentData(Attachment attachment)
Deprecated. |
java.io.InputStream |
AttachmentDao.getAttachmentData(Attachment attachment)
Retrieves the InputStream representing the data for attachment |
java.lang.String |
FileSystemAttachmentDataDao.FileSystemAttachmentNamingStrategy.getAttachmentFileName(Attachment attachment)
|
java.io.InputStream |
FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment)
|
java.io.InputStream |
AttachmentDataDao.getDataForAttachment(Attachment attachment)
Grabs the AttachmentData object for an Attachment |
protected java.io.File |
HierarchicalFileSystemAttachmentDataDao.getDirectoryForAttachment(ContentEntityObject content,
Attachment attachment)
|
protected java.io.File |
FileSystemAttachmentDataDao.getDirectoryForAttachment(ContentEntityObject content,
Attachment attachment)
Retrieves the location of the containing folder for an Attachment |
java.util.List<Attachment> |
WebDavAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
Deprecated. |
java.util.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 java.io.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,
java.lang.String newName)
Deprecated. |
void |
WebDavAttachmentDao.replaceAttachmentData(Attachment attachment,
java.io.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,
java.io.InputStream attachmentData)
Sets the attachment data for attachment This method will overwrite any existing data for the attachment version. |
void |
FileSystemAttachmentDataDao.replaceDataForAttachment(Attachment attachment,
java.io.InputStream data)
|
void |
AttachmentDataDao.replaceDataForAttachment(Attachment attachment,
java.io.InputStream data)
Sets the data for attachment This method will overwrite any existing data for the attachment. |
void |
FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment,
java.io.InputStream data)
|
void |
AttachmentDataDao.saveDataForAttachment(Attachment attachment,
java.io.InputStream data)
Saves data to the attachment data store |
protected void |
FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment,
java.io.InputStream data,
boolean overwrite)
Saves data to the file system |
void |
FileSystemAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
java.io.InputStream data)
|
void |
AttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
java.io.InputStream data)
Saves data to the attachment data store, for an attachment that has been updated. |
void |
WebDavAttachmentDao.saveNewAttachment(Attachment attachment,
java.io.InputStream attachmentData)
Deprecated. This implementation saves a new Attachment to the appropriate path. |
void |
AttachmentDao.saveNewAttachment(Attachment attachment,
java.io.InputStream attachmentData)
Saves a new attachment |
void |
WebDavAttachmentDao.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
java.io.InputStream attachmentData)
Deprecated. |
void |
AttachmentDao.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
java.io.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,
java.lang.String fileName,
int version)
|
Attachment |
AbstractHibernateAttachmentDao.getById(long id)
|
Attachment |
AbstractHibernateAttachmentDao.getLatestAttachment(ContentEntityObject content,
java.lang.String fileName)
|
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return types with arguments of type Attachment | |
---|---|
java.util.List<Attachment> |
AbstractHibernateAttachmentDao.findAllVersions(Attachment attachment)
|
java.util.List<Attachment> |
AbstractHibernateAttachmentDao.getLastAddedVersionsOf(Attachment attachment)
|
java.util.List<Attachment> |
AbstractHibernateAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject content)
|
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type Attachment | |
---|---|
java.util.List<Attachment> |
AbstractHibernateAttachmentDao.findAllVersions(Attachment attachment)
|
java.io.InputStream |
AbstractHibernateAttachmentDao.getAttachmentData(Attachment attachment)
|
protected AttachmentData |
HibernateAttachmentDataDao.getAttachmentDataForAttachment(Attachment attachment)
Retrieves the attachment data object for a given attachment. |
java.io.InputStream |
HibernateAttachmentDataDao.getDataForAttachment(Attachment attachment)
|
java.util.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,
java.io.InputStream attachmentData)
|
void |
HibernateAttachmentDataDao.replaceDataForAttachment(Attachment attachment,
java.io.InputStream data)
|
void |
HibernateAttachmentDataDao.saveDataForAttachment(Attachment attachment,
java.io.InputStream data)
|
void |
HibernateAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
java.io.InputStream data)
|
void |
AbstractHibernateAttachmentDao.saveNewAttachment(Attachment attachment,
java.io.InputStream attachmentData)
|
void |
AbstractHibernateAttachmentDao.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
java.io.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()
|
Methods in com.atlassian.confluence.pages.thumbnail with parameters of type Attachment | |
---|---|
com.atlassian.core.util.thumbnail.Thumbnail |
ThumbnailManager.getThumbnail(Attachment attachment)
retrieves the thumbnail for this attachment in the form of a Thumbnail Object this method also creates the actual thumbnail file on the filesystem if it does not exist |
com.atlassian.core.util.thumbnail.Thumbnail |
DefaultThumbnailManager.getThumbnail(Attachment attachment)
Retrieves the thumbnail for attachment |
java.io.InputStream |
ThumbnailManager.getThumbnailData(Attachment attachment)
retrieves the thumbnail data (as a stream) from where it was stored in the file system |
java.io.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. |
java.io.File |
ThumbnailManager.getThumbnailFile(Attachment attachment)
returns the path to the thumbnail for this attachment |
java.io.File |
DefaultThumbnailManager.getThumbnailFile(Attachment attachment)
|
protected java.io.File |
DefaultThumbnailManager.getThumbnailsFolder(Attachment attachment)
|
boolean |
ThumbnailManager.isThumbnailable(Attachment attachment)
checks the mime type of the attachment to determine whether a thumbnail can be created from it |
boolean |
DefaultThumbnailManager.isThumbnailable(Attachment attachment)
Deprecated. This only checks the content type, not the mime type of the attachment itself. |
boolean |
ThumbnailManager.removeThumbnail(Attachment attachment)
Removes the thumbnail for the specified attachment. |
boolean |
DefaultThumbnailManager.removeThumbnail(Attachment attachment)
|
Constructors in com.atlassian.confluence.pages.thumbnail with parameters of type Attachment | |
---|---|
ThumbnailInfo(Attachment attachment,
java.io.InputStream attachmentData,
java.lang.String attachmentsPath)
This method closes the InputStream given to it. |
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.renderer.attachments |
---|
Methods in com.atlassian.confluence.renderer.attachments with parameters of type Attachment | |
---|---|
java.lang.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 | |
---|---|
static Attachment |
EmbeddedResourceUtils.resolveAttachment(PageContext context,
com.atlassian.renderer.embedded.EmbeddedResource resource)
|
Methods in com.atlassian.confluence.renderer.embedded with parameters of type Attachment | |
---|---|
java.lang.String |
ImagePathHelper.getImagePath(Attachment attachment,
boolean isThumbnail)
Return the path used to access the specified image. |
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(java.lang.String urlPath,
java.lang.String urlPrefix,
java.util.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(java.io.File attachmentDir,
Attachment attachment,
java.lang.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(java.io.File attachmentDir,
Attachment attachment,
java.lang.String nativeEncoding,
java.lang.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,
java.io.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 | |
---|---|
java.util.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 | |
---|---|
static java.lang.String |
ConfluenceRenderUtils.getAbsoluteAttachmentRemotePath(Attachment a)
|
static java.lang.String |
ConfluenceRenderUtils.getAttachmentRemotePath(Attachment a)
|
ThumbnailInfo |
ThumbnailInfoFactory.getThumbnailInfo(Attachment attachment)
Deprecated. Returns a thumbnail info object if this attachment is valid and can be converted into a thumbnail. |
ThumbnailInfo |
DefaultThumbnailInfoFactory.getThumbnailInfo(Attachment attachment)
Deprecated. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |