Home | History | Annotate | Download | only in store

Lines Matching refs:attachmentId

1328          * @param attachmentId -1 to create a new attachment or >= 0 to update an existing
1334 long attachmentId = -1;
1340 attachmentId = ((LocalAttachmentBodyPart) attachment).getAttachmentId();
1386 if (attachmentId == -1) {
1396 attachmentId = mDb.insert("attachments", "message_id", cv);
1408 new String[] { Long.toString(attachmentId) });
1412 File attachmentFile = new File(mAttachmentsDir, Long.toString(attachmentId));
1417 // attachmentId);
1425 new String[] { Long.toString(attachmentId) });
1429 ((LocalAttachmentBodyPart) attachment).setAttachmentId(attachmentId);
1516 long attachmentId = attachmentsCursor.getLong(0);
1518 File file = new File(mAttachmentsDir, Long.toString(attachmentId));
1779 public LocalAttachmentBodyPart(Body body, long attachmentId) throws MessagingException {
1781 mAttachmentId = attachmentId;
1792 public void setAttachmentId(long attachmentId) {
1793 mAttachmentId = attachmentId;