ERAttachmentQueueEntry
is a wrapper that keeps a reference
+ * to the ERAttachment
and the file being enqueued for uploading.
+ *
+ * @author Henrique Prange
+ *
+ * @param ERAttachmentUploadQueue
is a queue to upload attachments.
+ *
+ * Only ERRemoteAttachment
s can be upload using this queue.
+ *
+ * @author Henrique Prange
+ *
+ * @param ERRemoteAttachment
represents an attachment that should be
+ * stored in a remote server (service). This kind of attachment can be uploaded
+ * using an ERAttachmentUploadQueue
+ *
+ * @author Henrique Prange
+ *
+ * @see ERAttachmentUploadQueue
+ */
+public interface ERRemoteAttachment {
+ public File _pendingUploadFile();
+
+ public boolean _isPendingDelete();
+}