Lines Matching defs:RecipientEntry

28 public class RecipientEntry {
32 * information passed in to the RecipientEntry from an external source
82 protected RecipientEntry(int entryType, String displayName, String destination,
107 * Determine if this was a RecipientEntry created from recipient info or
111 return id == RecipientEntry.INVALID_CONTACT || id == RecipientEntry.GENERATED_CONTACT;
115 * Construct a RecipientEntry from just an address that has been entered.
119 public static RecipientEntry constructFakeEntry(final String address, final boolean isValid) {
123 return new RecipientEntry(ENTRY_TYPE_PERSON, tokenizedAddress, tokenizedAddress,
129 * Construct a RecipientEntry from just a phone number.
131 public static RecipientEntry constructFakePhoneEntry(final String phoneNumber,
133 return new RecipientEntry(ENTRY_TYPE_PERSON, phoneNumber, phoneNumber,
150 * Construct a RecipientEntry from just an address that has been entered
154 public static RecipientEntry constructGeneratedEntry(String display, String address,
156 return new RecipientEntry(ENTRY_TYPE_PERSON, display, address, INVALID_DESTINATION_TYPE,
161 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource,
165 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource,
170 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource,
174 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource,
180 public static RecipientEntry constructSecondLevelEntry(String displayName,
184 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource,
261 public boolean isSamePerson(final RecipientEntry entry) {