|
|||||||||||
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(String fileName)
|
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 |
Constructors in com.atlassian.confluence.event.events.content.attachment with parameters of type Attachment | |
AttachmentCreateEvent(Object src,
Attachment attachment)
|
|
AttachmentEvent(Object src,
Attachment attachment,
ContentEntityObject attachedTo)
|
|
AttachmentRemoveEvent(Object src,
Attachment attachment)
|
|
AttachmentUpdateEvent(Object src,
Attachment attachment)
|
|
AttachmentViewEvent(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.links.linktypes |
Methods in com.atlassian.confluence.links.linktypes that return Attachment | |
Attachment |
AttachmentLink.getAttachment()
|
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 |
AbstractAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName)
Get the most recent version of an attachment with a given name for a particular page |
Attachment |
AbstractAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version)
Retrieve a named attachment from a page |
Attachment |
AttachmentData.getAttachment()
|
Attachment |
AttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version)
Retrieve a named attachment from a 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 |
DelegatorAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName)
|
Methods in com.atlassian.confluence.pages with parameters of type Attachment | |
void |
AbstractAttachmentManager.saveAttachment(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData)
|
protected void |
AbstractAttachmentManager.removeThumbnail(Attachment attachment)
|
protected abstract void |
AbstractAttachmentManager.saveNewAttachment(Attachment attachment,
InputStream attachmentData)
|
protected abstract void |
AbstractAttachmentManager.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData)
|
List |
AbstractAttachmentManager.getPreviousVersions(Attachment attachment)
|
void |
AttachmentData.setAttachment(Attachment attachment)
|
InputStream |
AttachmentManager.getAttachmentData(Attachment attachment)
Retrieve the data for attachment |
void |
AttachmentManager.removeAttachmentFromServer(Attachment attachment)
Removes an Attachment and its data from the server and data store |
void |
AttachmentManager.moveAttachment(Attachment latestVersion,
String fileName,
ContentEntityObject newContent)
|
void |
AttachmentManager.saveAttachment(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData)
Saves an Attachment and its data |
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. |
List |
AttachmentManager.getAllVersions(Attachment attachment)
Get all versions of an attachment, starting with the current version |
List |
AttachmentManager.getPreviousVersions(Attachment attachment)
Get all non-current versions of an attachment, not including the current version. |
static File |
AttachmentUtils.getOldContainingFolder(Attachment attachment)
Deprecated. as of Confluence 2.2 (we now use the attachment id to store attachments) |
static File |
AttachmentUtils.getContainingFolder(Attachment attachment)
|
static InputStream |
AttachmentUtils.getLatestAttachmentStream(Attachment attachment)
Returns the attachment data as an InputStream This method is not specific to any implementation of the AttachmentManager. |
InputStream |
DefaultAttachmentManager.getAttachmentData(Attachment attachment)
|
protected void |
DefaultAttachmentManager.saveNewAttachment(Attachment attachment,
InputStream attachmentData)
|
protected void |
DefaultAttachmentManager.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData)
|
void |
DefaultAttachmentManager.removeAttachmentFromServer(Attachment latestVersion)
Removes the attachment and all previous versions |
void |
DefaultAttachmentManager.moveAttachment(Attachment latestVersion,
String newFileName,
ContentEntityObject newContent)
|
void |
DefaultAttachmentManager.setAttachmentData(Attachment attachment,
InputStream attachmentData)
|
List |
DefaultAttachmentManager.getAllVersions(Attachment attachment)
|
InputStream |
DelegatorAttachmentManager.getAttachmentData(Attachment attachment)
|
void |
DelegatorAttachmentManager.removeAttachmentFromServer(Attachment attachment)
|
void |
DelegatorAttachmentManager.saveAttachment(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData)
|
void |
DelegatorAttachmentManager.setAttachmentData(Attachment attachment,
InputStream attachmentData)
|
void |
DelegatorAttachmentManager.moveAttachment(Attachment attachment,
String newFileName,
ContentEntityObject newName)
|
List |
DelegatorAttachmentManager.getAllVersions(Attachment attachment)
|
List |
DelegatorAttachmentManager.getPreviousVersions(Attachment attachment)
|
List |
WebDavAttachmentManager.getAllVersions(Attachment attachment)
|
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
|
Methods in com.atlassian.confluence.pages.actions that return Attachment | |
Attachment |
AbstractEditAttachedFileAction.getAttachment()
|
Methods in com.atlassian.confluence.pages.actions with parameters of type Attachment | |
String[] |
ViewAttachmentsAction.getAttachmentDetails(Attachment attachment)
Used for writing the "do you want to remove?" message. |
List |
ViewAttachmentsAction.getPreviousVersions(Attachment attachment)
|
Uses of Attachment in com.atlassian.confluence.pages.persistence.dao |
Methods in com.atlassian.confluence.pages.persistence.dao with parameters of type Attachment | |
InputStream |
AttachmentDao.getAttachmentData(Attachment attachment)
Retrieves the InputStream representing the data for attachment |
void |
AttachmentDao.saveNewAttachment(Attachment attachment,
InputStream attachmentData)
Saves a new attachment |
void |
AttachmentDao.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData)
Saves a new version of attachment |
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 |
AttachmentDao.removeAttachmentFromServer(Attachment attachment)
Removes attachment (and all of its versions) |
void |
AttachmentDao.replaceAttachmentData(Attachment attachment,
InputStream attachmentData)
Sets the attachment data for attachment This method will overwrite any existing data for the attachment version. |
List |
AttachmentDao.findAllVersions(Attachment attachment)
|
InputStream |
AttachmentDataDao.getDataForAttachment(Attachment attachment)
Grabs the AttachmentData object for an Attachment |
void |
AttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent)
Removes all attachment data for an attachment |
void |
AttachmentDataDao.saveDataForAttachment(Attachment attachment,
InputStream data)
Saves data to the attachment data store |
void |
AttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream data)
Saves data to the attachment data store, for an attachment that has been updated. |
void |
AttachmentDataDao.replaceDataForAttachment(Attachment attachment,
InputStream data)
Sets the data for attachment This method will overwrite any existing data for the attachment. |
void |
AttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
Moves an attachment to a new file name or content object |
protected File |
FileSystemAttachmentDataDao.getLatestAttachmentFile(Attachment attachment)
|
InputStream |
FileSystemAttachmentDataDao.getDataForAttachment(Attachment attachment)
|
void |
FileSystemAttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent)
|
void |
FileSystemAttachmentDataDao.saveDataForAttachment(Attachment attachment,
InputStream data)
|
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 |
FileSystemAttachmentDataDao.replaceDataForAttachment(Attachment attachment,
InputStream data)
|
void |
FileSystemAttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
|
protected File |
FileSystemAttachmentDataDao.getDirectoryForAttachment(ContentEntityObject content,
Attachment attachment)
Retrieves the location of the containing folder for an Attachment |
String |
FileSystemAttachmentDataDao.FileSystemAttachmentNamingStrategy.getAttachmentFileName(Attachment attachment)
|
InputStream |
WebDavAttachmentDao.getAttachmentData(Attachment attachment)
|
void |
WebDavAttachmentDao.saveNewAttachment(Attachment attachment,
InputStream attachmentData)
This implementation saves a new Attachment to the appropriate path. |
void |
WebDavAttachmentDao.saveNewAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream attachmentData)
|
void |
WebDavAttachmentDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
|
void |
WebDavAttachmentDao.removeAttachmentFromServer(Attachment attachment)
todo: Should i remove the files from the webdav server?! should i remove the parent folder when folder's empty? |
void |
WebDavAttachmentDao.replaceAttachmentData(Attachment attachment,
InputStream attachmentData)
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 |
WebDavAttachmentDao.renameAttachment(Attachment attachment,
String newName)
|
List |
WebDavAttachmentDao.findAllVersions(Attachment attachment)
|
Uses of Attachment in com.atlassian.confluence.pages.persistence.dao.hibernate |
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type Attachment | |
List |
AbstractHibernateAttachmentDao.findAllVersions(Attachment attachment)
|
InputStream |
AbstractHibernateAttachmentDao.getAttachmentData(Attachment attachment)
|
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. |
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 |
AbstractHibernateAttachmentDao.replaceAttachmentData(Attachment attachment,
InputStream attachmentData)
|
protected AttachmentData |
HibernateAttachmentDataDao.getAttachmentDataForAttachment(Attachment attachment)
|
InputStream |
HibernateAttachmentDataDao.getDataForAttachment(Attachment attachment)
|
void |
HibernateAttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent)
|
void |
HibernateAttachmentDataDao.saveDataForAttachment(Attachment attachment,
InputStream data)
|
void |
HibernateAttachmentDataDao.saveDataForAttachmentVersion(Attachment attachment,
Attachment previousVersion,
InputStream data)
|
void |
HibernateAttachmentDataDao.replaceDataForAttachment(Attachment attachment,
InputStream data)
|
void |
HibernateAttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
|
void |
NonTransactionalHibernateAttachmentDao.removeAttachmentFromServer(Attachment attachment)
|
void |
TransactionalHibernateAttachmentDao.removeAttachmentFromServer(Attachment attachment)
|
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 | |
boolean |
AbstractThumbnailManager.isThumbnailable(Attachment attachment)
|
InputStream |
AbstractThumbnailManager.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. |
Thumbnail |
AbstractThumbnailManager.getThumbnail(Attachment attachment)
Retrieves the thumbnail for attachment |
protected File |
AbstractThumbnailManager.getThumbnailsFolder(Attachment attachment)
|
File |
AbstractThumbnailManager.getThumbnailFile(Attachment attachment)
|
boolean |
DelegatorThumbnailManager.isThumbnailable(Attachment attachment)
|
InputStream |
DelegatorThumbnailManager.getThumbnailData(Attachment attachment)
|
File |
DelegatorThumbnailManager.getThumbnailFile(Attachment attachment)
|
Thumbnail |
DelegatorThumbnailManager.getThumbnail(Attachment attachment)
|
boolean |
ThumbnailManager.isThumbnailable(Attachment attachment)
checks the mime type of the attachment to determine whether a thumbnail can be created from it |
InputStream |
ThumbnailManager.getThumbnailData(Attachment attachment)
retrieves the thumbnail data (as a stream) from where it was stored in the file system |
File |
ThumbnailManager.getThumbnailFile(Attachment attachment)
returns the path to the thumbnail for this attachment |
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 |
Thumbnail |
WebDavThumbnailManager.getThumbnail(Attachment attachment)
|
Constructors in com.atlassian.confluence.pages.thumbnail with parameters of type Attachment | |
ThumbnailInfo(Attachment attachment,
InputStream attachmentData,
String attachmentsPath)
This method closes the InputStream given to it. |
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 | |
static Attachment |
EmbeddedResourceUtils.resolveAttachment(PageContext context,
EmbeddedResource resource)
|
Methods in com.atlassian.confluence.renderer.embedded with parameters of type Attachment | |
String |
EmbeddedImageRenderer.getImagePath(Attachment attachment,
boolean isThumbnail)
|
String |
ImagePathHelper.getImagePath(Attachment attachment,
boolean isThumbnail)
Return the path used to access the specified image. |
Uses of Attachment in com.atlassian.confluence.servlet.download |
Methods in com.atlassian.confluence.servlet.download that return Attachment | |
protected Attachment |
AttachmentDownload.getAttachment(ContentEntityObject entity,
javax.servlet.http.HttpServletRequest httpServletRequest)
|
Methods in com.atlassian.confluence.servlet.download with parameters of type Attachment | |
protected Date |
AttachmentDownload.getLastModificationDate(Attachment attachment)
|
protected void |
AttachmentDownload.setHeadersForAttachment(Attachment attachment,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
protected InputStream |
AttachmentDownload.getAttachmentStream(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Attachment attachment)
|
protected void |
AttachmentDownload.generateAttachmentDownloadEvent(Attachment attachment)
|
protected InputStream |
ThumbnailDownload.getAttachmentStream(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Attachment attachment)
|
protected Date |
ThumbnailDownload.getLastModificationDate(Attachment attachment)
|
protected void |
ThumbnailDownload.setHeadersForAttachment(Attachment attachment,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
Uses of Attachment in com.atlassian.confluence.upgrade |
Methods in com.atlassian.confluence.upgrade with parameters of type Attachment | |
protected boolean |
AttachmentFileNameUpgradeTask.updateAttachmentFile(Attachment attachment,
File attachmentFile)
Map an attachment to the new ID based naming scheme |
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 |
Uses of Attachment in com.atlassian.confluence.user.actions |
Methods in com.atlassian.confluence.user.actions that return Attachment | |
Attachment |
RemoveProfileAttachmentAction.getAttachment()
|
Methods in com.atlassian.confluence.user.actions with parameters of type Attachment | |
String[] |
HandleProfileAttachmentsAction.getAttachmentDetails(Attachment attachment)
Used for writing the "do you want to remove?" message. |
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 String |
ConfluenceRenderUtils.getAttachmentRemotePath(Attachment a)
|
static String |
ConfluenceRenderUtils.getAbsoluteAttachmentRemotePath(Attachment a)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |