The attachment store acts as a repository for the Calendar Server attachments.
The following features encapsulate the functionality of the attachment store:
Supports unique attachment ids for indexing and easy identification of the attachment. The id will be supplied by the store to guarantee uniqueness across applications.
Holds reference to UID-RID of the event that the supplied file is attached to, possibly in the metadata.
Uses hard links to depict multiple events/instances that point to the same attachment id.
Provides APIs to the Calendar Server to store, delete, and fetch attachments.
Provides a place holder for any meta data (for example, size of the file and name) that could be of use to the Calendar Server.
Supports cleaning up of orphan attachments.