processWatchedAttachments
Processes attachment items returned from watchAttachments. The default implementation asserts the items returned from watchAttachments as the definitive state for local attachments.
Records currently in the attachment queue which are not present in the items are deleted from the queue.
Received items which are not currently in the attachment queue are assumed scheduled for download. This requires that locally created attachments should be created with saveFile before assigning the attachment ID to the relevant watched tables.
This method can be overridden for custom behavior.