public interface

ImageDetailsDao

com.atlassian.confluence.pages.attachments.ImageDetailsDao
Known Indirect Subclasses

Class Overview

Data Access Object for database storage and retrieval of ImageDetails.

Summary

Public Methods
ImageDetails getImageDetails(Attachment attachment)
Fetch the image details of a specific attachment from the database.
void removeDetailsFor(Attachment attachment)
Remove any stored ImageDetails for the given Attachment.
void save(ImageDetails imageDetails)
Save the image details of an attachment.

Public Methods

public ImageDetails getImageDetails (Attachment attachment)

Fetch the image details of a specific attachment from the database.

Parameters
attachment for which the image details will be retrieved
Returns
  • null if no image details have been stored for this attachment

public void removeDetailsFor (Attachment attachment)

Remove any stored ImageDetails for the given Attachment.

public void save (ImageDetails imageDetails)

Save the image details of an attachment.

Parameters
imageDetails to save.