Interface ImageDetailsDao
- All Known Implementing Classes:
DefaultImageDetailsDao
public interface ImageDetailsDao
Data Access Object for database storage and retrieval of
ImageDetails
.-
Method Summary
Modifier and TypeMethodDescriptiongetImageDetails
(Attachment attachment) Fetch the image details of a specific attachment from the database.void
removeDetailsFor
(Attachment attachment) Remove any storedImageDetails
for the givenAttachment
.void
save
(ImageDetails imageDetails) Save the image details of an attachment.
-
Method Details
-
getImageDetails
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
-
save
Save the image details of an attachment.- Parameters:
imageDetails
- to save.
-
removeDetailsFor
Remove any storedImageDetails
for the givenAttachment
.
-