jgd.schemas
Interface GoogleDesktopEmail

All Superinterfaces:
GoogleDesktopIndexable
All Known Implementing Classes:
GDCOMEmail

public interface GoogleDesktopEmail
extends GoogleDesktopIndexable

Note: In general, you should either only set an email event object's header property with everything in a message's header, or only set the individual header field properties such as subject, to, etc. If you set the header property, the GD engine will parse out the separate fields and their contents. If you specify values for both header and individual field properties, the individual field values will take precedence.
Note: There is currently no property for email attachments. Your plug-in can copy each attachment on an email message to a location on your file system so that the GD crawler will encounter them. Then, if its file extension is handled by GD (or a plug-in), each attachment's content will be indexed and cached by GD. However, the attachment(s) content will not be associated with the email message within either GD or any desktop search results.

Author:
uf784048

Method Summary
 java.lang.String get_bcc()
          Message's Bcc: field contents (we recommend all of it, both address and, if present, the addressee's name).
 java.lang.String get_cc()
          Message's Cc: field contents (we recommend all of it, both address and, if present, the addressee's name).
 java.lang.String get_folder_name()
          Message's folder name.
 java.lang.String get_from()
          Message's From: field contents as it appears in the mail header (we recommend all of it, both address, and if present, the addressee's name).
 java.lang.Integer get_mail_flags()
          Bit vector flags associated with the email (0x01 = Unread, 0x02 = HasAttachment).
 java.lang.String get_mail_header()
          Message's entire mail header as received in the mail envelope.
 java.util.Date get_received()
          Message's received time in UTC.
 java.lang.String get_replyto()
          Message's ReplyTo: field contents (we recommend all of it, both address and, if present, the addressee's name).
 java.lang.String get_subject()
          Message's Subject: field contents.
 java.lang.String get_to()
          Message's To: field contents (we recommend all of it, both address and, if present, the addressee's name).
 
Methods inherited from interface jgd.schemas.GoogleDesktopIndexable
get_content, get_cookie_raw, get_cookie, get_extra_binary_data, get_extra_data, get_format, get_native_size, get_other_indexed_data, get_thumbnail_format, get_thumbnail
 

Method Detail

get_mail_header

java.lang.String get_mail_header()
Message's entire mail header as received in the mail envelope.
Required: No


get_subject

java.lang.String get_subject()
Message's Subject: field contents.
Required: No


get_from

java.lang.String get_from()
Message's From: field contents as it appears in the mail header (we recommend all of it, both address, and if present, the addressee's name).
Required: No


get_to

java.lang.String get_to()
Message's To: field contents (we recommend all of it, both address and, if present, the addressee's name).
Required: No


get_cc

java.lang.String get_cc()
Message's Cc: field contents (we recommend all of it, both address and, if present, the addressee's name).
Required: No


get_bcc

java.lang.String get_bcc()
Message's Bcc: field contents (we recommend all of it, both address and, if present, the addressee's name).
Required: No


get_replyto

java.lang.String get_replyto()
Message's ReplyTo: field contents (we recommend all of it, both address and, if present, the addressee's name).
Required: No


get_received

java.util.Date get_received()
Message's received time in UTC.
Required: Yes


get_folder_name

java.lang.String get_folder_name()
Message's folder name.
Required: No


get_mail_flags

java.lang.Integer get_mail_flags()
Bit vector flags associated with the email (0x01 = Unread, 0x02 = HasAttachment).
Required: No



Copyright © 2007