Home | History | Annotate | Download | only in store

Lines Matching refs:uids

122             // * OK [UIDVALIDITY 1125022061] UIDs valid
268 // Process response to get the new UIDs
371 final ArrayList<String> uids = new ArrayList<String>();
380 uids.add(s.getString());
384 return uids.toArray(Utility.EMPTY_STRINGS);
410 String[] uids = searchForUids(ImapConstants.UID + " " + uid);
411 for (int i = 0; i < uids.length; i++) {
412 if (uids[i].equals(uid)) {
486 public Message[] getMessages(String[] uids, MessageRetrievalListener listener)
488 if (uids == null) {
489 uids = searchForUids("1:* NOT DELETED");
491 return getMessagesInternal(uids, listener);
494 public Message[] getMessagesInternal(String[] uids, MessageRetrievalListener listener) {
495 final ArrayList<Message> messages = new ArrayList<Message>(uids.length);
496 for (int i = 0; i < uids.length; i++) {
497 final String uid = uids[i];
985 String[] uids = searchForUids(String.format("HEADER MESSAGE-ID %s", messageId));
986 if (uids.length > 0) {
987 message.setUid(uids[0]);
991 uids = searchForUids(String.format("(HEADER MESSAGE-ID %s)", messageId));
992 if (uids.length > 0) {
993 message.setUid(uids[0]);