package

com.atlassian.confluence.pages.attachments

Interfaces

DelegatingAttachmentDao Implemented by AttachmentDaos that delegate so that clients can get to the underlying implementation. 
ImageDetailsDao Data Access Object for database storage and retrieval of ImageDetails
ImageDetailsManager Calculates, stores and retrieves ImageDetails for Attachments. 

Classes

AttachmentCache Caches the IDs of current attachments by the normal lookup mechanism: content ID + file name. 
CachingAttachmentDao Caches the IDs of attachments retrieved with getLatestAttachment(ContentEntityObject, String) in an AttachmentCache
DefaultImageDetailsDao Stores and retrieves ImageDetails via Hibernate. 
DefaultImageDetailsManager Calculates, stores and retrieves ImageDetails for Attachments. 
ImageDetails Class containing the image details of a single version of an Attachment
TestAttachmentCache  
TestCachingAttachmentDao  
TestDefaultImageDetailsManager Tests the DefaultImageDetailsManager

Exceptions

AttachmentDataStreamSizeMismatchException Thrown when the the size of the java.io.InputStream received to create an attachment is different to the declared size or length of the attachment.