Interface ImageDetailsDao
-
- All Known Implementing Classes:
DefaultImageDetailsDao
public interface ImageDetailsDaoData Access Object for database storage and retrieval ofImageDetails.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageDetailsgetImageDetails(Attachment attachment)Fetch the image details of a specific attachment from the database.voidremoveDetailsFor(Attachment attachment)Remove any storedImageDetailsfor the givenAttachment.voidsave(ImageDetails imageDetails)Save the image details of an attachment.
-
-
-
Method Detail
-
getImageDetails
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
-
save
void save(ImageDetails imageDetails)
Save the image details of an attachment.- Parameters:
imageDetails- to save.
-
removeDetailsFor
void removeDetailsFor(Attachment attachment)
Remove any storedImageDetailsfor the givenAttachment.
-
-