Package com.independentsoft.msg
Class Message
java.lang.Object
com.independentsoft.msg.Message
Represents Outlook message file.
-
Constructor Summary
ConstructorsConstructorDescriptionMessage()Initializes a new instance of the Message class.Initializes a new instance of the Message class from the specified MIME message.Message(InputStream inputStream)Initializes a new instance of the Message class based on the supplied stream.Initializes a new instance of the Message class based on the supplied file. -
Method Summary
Modifier and TypeMethodDescriptionConverts this message to a MIME message.longGets the actual effort (in minutes) spent on the task.\Gets appointment's the end date and time.Gets appointment's message class.Gets appointment's the start date and time.Gets the name of assistent of the contact.Gets assistent's phone number of the contact.Gets collection of attachments.Gets the billing information associated with a message.Gets the birthday date for the contact.getBody()Gets the message text.byte[]Gets the Hypertext Markup Language (HTML) version of the message text.Gets the Hypertext Markup Language (HTML) version of the message text.byte[]Gets the Rich Text Format (RTF) version of the message text.Gets the whole, unparsed business address for the contact.Gets the city name portion of the business address for the contact.Gets the country/region code portion of the business address for the contact.Gets the postal code (zip code) portion of the business address for the contact.Gets the post office box number portion of the business address for the contact.Gets the state code portion of the business address for the contact.Gets the street address portion of the business address for the contact.Gets the business fax number for the contact.Gets the url of the business Web page for the contact.Gets the first business telephone number for the contact.Gets the second business telephone number for the contact.Gets appointment's busy status.Gets the callback telephone number for the contact.Gets the car telephone number for the contact.Gets the categories associated with a message.Gets the mobile telephone number for the contact.byte[]Gest a change key of a message.Gets message charset.Gest the names of the children of the contact.Gets the date and time the message sender submitted a message.Gets the end date and time of a message.Gets the start date and time of a message.Gets the names of the companies associated with the contact item.Gets the company main telephone number for the contact.Gets the company name for the contact.Gets the name of the computer network for the contact.booleanGets true if the contact has picture, otherwise false.Gets the names of the contacts associated with the item.byte[]Gets a binary value that indicates the relative position of this message within a conversation thread.Gets the topic of the first message in a conversation thread.Gets the creation date and time of a message.Gets name of the person who created message.Gets the customer ID for the contact.Gets the completion date of the task.Gets task's delegator name.booleanGets the delivery report requested.Gets the department name for the contact.booleanGets the disable full fidelity.Gets an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).Gets an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).Gets display name.Gets display name prefix.Gets a list of the display names of the primary (To) message recipients, separated by semicolons (;).intGets appointment's duration in minutes.Gets the e-mail address of the first e-mail entry for the contact.Gets the display as name of the first e-mail address for the contact.Gets the display name of the first e-mail address for the contact.byte[]Gets the entry ID of the first e-mail address for the contact.Gets the type of the first e-mail address for the contact.Gets the e-mail address of the second e-mail entry for the contact.Gets the display as name of the second e-mail address for the contact.Gets the display name of the second e-mail address for the contact.byte[]Gets the entry ID of the second e-mail address for the contact.Gets the type of the second e-mail address for the contact.Gets the e-mail address of the third e-mail entry for the contact.Gets the display as name of the third e-mail address for the contact.Gets the display name of the third e-mail address for the contact.byte[]Gets the entry ID of the third e-mail address for the contact.Gets the type of the third e-mail address for the contact.Gets message encoding.byte[]Gets a MAPI entry identifier used to open and edit properties of a particular MAPI object.Gets collection of extended (custom) properties.Gets the default keyword string assigned to the contact when it is filed.Gets the date and time specifying the date by which an e-mail message is due.Gets the flag icon of the message object.Gets the flag state of the message object.Gets the FTP site entry for the contact.Gets the generation for the contact.Gets the given name for the contact.Gets the government ID number for the contact.byte[]getGuid()Gets message's global unique id.Gets the hobby names for the contact.Gets the whole, unparsed home address for the contact.Gets the city portion of the home address for the contact.Gets the country/region portion of the home address for the contact.Gets the postal code portion of the home address for the contact.Gets the post office box number portion of the home address for the contact.Sets the state portion of the home address for the contact.Gets the street portion of the home address for the contact.Gets the home fax number for the contact.Gets the first home telephone number for the contact.Gets the second home telephone number for the contact.longGets a number that indicates which icon to use when you display a group of e-mail objects.Gets a value that indicates the message sender's opinion of the importance of a message.Gets the initials for the contact.Gets stream to read from this message.Gets identifier of the message to which this message is a reply.Gets the instant messenger address for the contact.longGets the code page used for the Body or the BodyHtml properties.Gets the url location of the user's free-busy information in vCard Free-Busy standard format.Gets unique ID for the message.Gets Internet reference ID for the message..getIsdn()Gets the ISDN number for the contact.longGets journal's the duration in minutes.Gets journal's the end date and time.Gets journal's the start date and time.Gets the type of the journal item.Gets the type description of the journal item.Gets the categories associated with a message.intgetLabel()Gets appointment's label color.Gets the date and time when the message was last modified.Gest name of the person who modified message.Gets the last verb executed.Gets the time when the last verb was executed.Gets appointment's location.Gets the manager name for the contact.Gets the status of the meeting.Gets a text string that identifies the sender-defined message class, such as IPM.Note.longGets the code page that is used for the message.Gets the date and time when a message was delivered.Gets a bitmask of flags that indicate the origin and current state of a message.Gets the middle name for the contact.Gets free-form string value and can be used to store mileage information associated with the message.Gets the nickname for the contact.Gets the message subject with any prefix removed.Gets background color of the note item.longGets height of the note item.longGets left position of the note item.longGets top position of the note item.longGets width of the note item.Gets the type of an object.Gets the specific office location for the contact.Gets a list of the display names of the primary (To) message recipients, separated by semicolons (;).Gets the whole, unparsed other address for the contact.Gets the city portion of the other address for the contact.Gets the country/region portion of the other address for the contact.Gets the postal code portion of the other address for the contact.Gets the state portion of the other address for the contact.Gets the street portion of the other address for the contact.Gets the other telephone number for the contact.longGets internal version number of Microsoft Office Outlook client.Gets version number of Microsoft Office Outlook client.getOwner()Gets task's owner name.getPager()Gets the pager number for the contact.doubleGets the percentage of the task completed at the current date and time.Gets the url of the personal Web page for the contact.Gets the postal address for the contact.Gets the primary fax number for the contact.Gets the primary telephone number for the contact.Gets the relative priority of a message.Gets the profession for the contact.Gets the date and time the message provider submitted a message.Gets the radio telephone number for the contact.byte[]Gets the read receipt entry id.booleanGets the read receipt requested.byte[]Gets the read receipt search key.Gets the e-mail address type, such as SMTP, for the messaging user who actually receives the message.Gets the e-mail address for the messaging user who receives the message.byte[]Gets the entry identifier of the messaging user who actually receives the message.Gets the display name of the messaging user who receives the message.byte[]Gets the search key of the messaging user who receives the message.Gets the address type for the messaging user who is represented by the user actually receiving the message.Gets the e-mail address for the messaging user who is represented by the receiving user.byte[]Gets the entry identifier for the messaging user who is represented by the receiving user.Gets the display name for the messaging user who is represented by the receiving user.byte[]Gets the search key for the messaging user represented by the receiving user.Gets collection of recipients.Gets appointment's recurring pattern.Gets the recurrence pattern type.longGets the number of minutes the reminder should occur prior to the start of the appointment.booleanGets true if the reminder overrides the default reminder behavior for the appointment, mail item, or task.booleanGets true if the reminder should play a sound when it occurs for this appointment or task.Gets the path and file name of the sound file to play when the reminder occurs for the appointment, mail message, or task.Gets the date and time at which the reminder should occur for the specified item.Gets reply to email address.Gets report text.Gets the report date and time.Gets the response to a meeting request.byte[]Gets the Rich Text Format (RTF) version of the message text, usually in compressed form.booleanGets true if the getRtfCompressed() has the same text content as the getBody() for this message, otherwise false.byte[]Gets a binary-comparable key that identifies correlated objects for a search.Gets the type of the mailing address for the contact.Gets the message sender's e-mail address type.Gets the message sender's e-mail address.byte[]Gets the message sender's entry identifier.Gets the message sender's display name.byte[]Gets the message sender's search key.Gets a value that indicates the message sender's opinion of the sensitivity of a message.Gets the address type for the messaging user who is represented by the sender.Gets the e-mail address for the messaging user who is represented by the sender.byte[]Gets the entry identifier for the messaging user represented by the sender.Gets the display name for the messaging user represented by the sender.byte[]Gets the search key for the messaging user represented by the sender.longgetSize()Gets the size of the body, subject, sender, and attachments.Gets the spouse name for the contact.Gets values that client applications should query to determine the characteristics of a message store.Gets the full subject of a message.Gets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.Gets the last name for the contact.Gets the delegation state of a task.Gets task's the due date and time.Gets the ownership state of the task.Gets task's the start date and time.Gets the status of the task.getTelex()Gets the telex number for the contact.Gets appointment's time zone.getTitle()Gets the title for the contact.longGets the total work for the task.Gets transport-specific message envelope information.Gets the TTY/TDD telephone number for the contact.Gets the wedding anniversary date for the contact.booleanGets true if a message contains at least one attachment, otherwise false.booleanGets true if the appointment is all day event, otherwise false.booleanGets true if the task is complete, otherwise false.booleanGets true if Message is embedded into another message object, otherwise false.booleanisHidden()Gets true if message is invisible.booleanGets true if message is marked as private.booleanGets true if message is read only.booleanGets true if the task or appointment is recurring, otherwise false.booleanGets true if a reminder has been set for this appointment, e-mail item, or task, otherwise false.booleanisSystem()Gets true if message is system message.booleanGets true if the task is a team task, otherwise false.voidopen(InputStream inputStream)Loads message from the specified input stream.voidLoads message from the specified file.voidsave(OutputStream outputStream)Saves this message to the specified stream.voidSaves this message to the specified file.voidSaves this message to the specified file.voidsetActualWork(long actualWork)Sets the actual effort (in minutes) spent on the task.voidsetAllDayEvent(boolean isAllDayEvent)Sets true if the appointment is all day event.voidsetAppointmentEndTime(Date appointmentEndTime)Sets appointment's the end date and time.voidsetAppointmentMessageClass(String appointmentMessageClass)Sets appointment's message class.voidsetAppointmentStartTime(Date appointmentStartTime)Sets appointment's the start date and time.voidsetAssistentName(String assistentName)Sets the name of assistent of the contact.voidsetAssistentPhone(String assistentPhone)Sets assistent's phone number of the contact.voidsetBillingInformation(String billingInformation)Sets the billing information associated with a message.voidsetBirthday(Date birthday)Sets the birthday date for the contact.voidSets the message text.voidsetBodyHtml(byte[] bodyHtml)Sets the Hypertext Markup Language (HTML) version of the message text.voidsetBodyHtmlText(String bodyHtmlText)Sets the Hypertext Markup Language (HTML) version of the message text.voidsetBodyRtf(byte[] rtf)Sets the Rich Text Format (RTF) version of the message text.voidsetBusinessAddress(String businessAddress)Sets the whole, unparsed business address for the contact.voidsetBusinessAddressCity(String businessAddressCity)Sets the city name portion of the business address for the contact.voidsetBusinessAddressCountry(String businessAddressCountry)Sets the country/region code portion of the business address for the contact.voidsetBusinessAddressPostalCode(String businessAddressPostalCode)Sets the postal code (zip code) portion of the business address for the contact.voidsetBusinessAddressPostOfficeBox(String businessAddressPostOfficeBox)Sets the post office box number portion of the business address for the contact.voidsetBusinessAddressState(String businessAddressState)Sets the state code portion of the business address for the contact.voidsetBusinessAddressStreet(String businessAddressStreet)Sets the street address portion of the business address for the contact.voidsetBusinessFax(String businessFax)Sets the business fax number for the contact.voidsetBusinessHomePage(String businessHomePage)Sets the url of the business Web page for the contact.voidsetBusinessPhone(String businessPhone)Sets the first business telephone number for the contact.voidsetBusinessPhone2(String businessPhone2)Sets the second business telephone number for the contact.voidsetBusyStatus(BusyStatus busyStatus)Sets appointment's busy status.voidsetCallbackPhone(String callbackPhone)Sets the callback telephone number for the contact.voidsetCarPhone(String carPhone)Sets the car telephone number for the contact.voidsetCellularPhone(String cellularPhone)Sets the mobile telephone number for the contact.voidsetChangeKey(byte[] changeKey)Sets a change key of a message.voidsetCharset(Charset charset)Sets message charset.voidsetClientSubmitTime(Date clientSubmitTime)Sets the date and time the message sender submitted a message.voidsetCommonEndTime(Date commonEndTime)Sets the end date and time of a message.voidsetCommonStartTime(Date commonStartTime)Sets the start date and time of a message.voidsetCompanyMainPhone(String companyMainPhone)Sets the company main telephone number for the contact.voidsetCompanyName(String companyName)Sets the company name for the contact.voidsetComplete(boolean isComplete)Sets true if the task is complete.voidsetComputerNetworkName(String computerNetworkName)Sets the name of the computer network for the contact.voidsetContactHasPicture(boolean contactHasPicture)Sets true if the contact has picture.voidsetConversationIndex(byte[] conversationIndex)Sets a binary value that indicates the relative position of this message within a conversation thread.voidsetConversationTopic(String conversationTopic)Sets the topic of the first message in a conversation thread.voidsetCreationTime(Date creationTime)Sets the creation date and time of a message.voidsetCreatorName(String creatorName)Sets name of the person who created message.voidsetCustomerId(String customerId)Sets the customer ID for the contact.voidsetDateCompleted(Date dateCompleted)Sets the completion date of the task.voidsetDelegator(String delegator)Sets task's delegator name.voidsetDeliveryReportRequested(boolean deliveryReportRequested)Sets the delivery report requested.voidsetDepartmentName(String departmentName)Sets the department name for the contact.voidsetDisableFullFidelity(boolean disableFullFidelity)Sets the disable full fidelity.voidsetDisplayBcc(String displayBcc)Sets an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).voidsetDisplayCc(String displayCc)Sets an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).voidsetDisplayName(String displayName)Sets display name.voidsetDisplayNamePrefix(String displayNamePrefix)Sets display name prefix.voidsetDisplayTo(String displayTo)Sets a list of the display names of the primary (To) message recipients, separated by semicolons (;).voidsetDuration(int duration)Sets appointment's duration in minutes.voidsetEmail1Address(String email1Address)Sets the e-mail address of the first e-mail entry for the contact.voidsetEmail1DisplayAs(String email1DisplayAs)Sets the display as name of the first e-mail address for the contact.voidsetEmail1DisplayName(String email1DisplayName)Sets the display name of the first e-mail address for the contact.voidsetEmail1EntryId(byte[] email1EntryId)Sets the entry ID of the first e-mail address for the contact.voidsetEmail1Type(String email1Type)Sets the type of the first e-mail address for the contact.voidsetEmail2Address(String email2Address)Sets the e-mail address of the second e-mail entry for the contact.voidsetEmail2DisplayAs(String email2DisplayAs)Sets the display as name of the second e-mail address for the contact.voidsetEmail2DisplayName(String email2DisplayName)Sets the display name of the second e-mail address for the contact.voidsetEmail2EntryId(byte[] email2EntryId)Sets the entry ID of the second e-mail address for the contact.voidsetEmail2Type(String email2Type)Sets the type of the second e-mail address for the contact.voidsetEmail3Address(String email3Address)Sets the e-mail address of the third e-mail entry for the contact.voidsetEmail3DisplayAs(String email3DisplayAs)Sets the display as name of the third e-mail address for the contact.voidsetEmail3DisplayName(String email3DisplayName)Sets the display name of the third e-mail address for the contact.voidsetEmail3EntryId(byte[] email3EntryId)Sets the entry ID of the third e-mail address for the contact.voidsetEmail3Type(String email3Type)Sets the type of the third e-mail address for the contact.voidsetEmbedded(boolean isEmbedded)Sets true if Message is embedded into another message object.voidsetEncoding(Encoding encoding)Sets message encoding.voidsetEntryId(byte[] entryId)Sets a MAPI entry identifier used to open and edit properties of a particular MAPI object.voidSets the default keyword string assigned to the contact when it is filed.voidsetFlagDueBy(Date flagDueBy)Sets the date and time specifying the date by which an e-mail message is due.voidsetFlagIcon(FlagIcon flagIcon)Sets the flag icon of the message object.voidsetFlagStatus(FlagStatus flagStatus)Sets the flag state of the message object.voidsetFtpSite(String ftpSite)Sets the FTP site entry for the contact.voidsetGeneration(String generation)Sets the generation for the contact.voidsetGivenName(String givenName)Sets the given name for the contact.voidsetGovernmentId(String governmentId)Sets the government ID number for the contact.voidsetGuid(byte[] guid)Sets message's global unique id.voidsetHasAttachment(boolean hasAttachment)Sets true if a message contains at least one attachment.voidsetHidden(boolean isHidden)Sets true if message is invisible.voidsetHobbies(String hobbies)Sets the hobby names for the contact.voidsetHomeAddress(String homeAddress)Sets the whole, unparsed home address for the contact.voidsetHomeAddressCity(String homeAddressCity)Sets the city portion of the home address for the contact.voidsetHomeAddressCountry(String homeAddressCountry)Sets the country/region portion of the home address for the contact.voidsetHomeAddressPostalCode(String homeAddressPostalCode)Sets the postal code portion of the home address for the contact.voidsetHomeAddressPostOfficeBox(String homeAddressPostOfficeBox)Sets the post office box number portion of the home address for the contact.voidsetHomeAddressState(String homeAddressState)Gets the state portion of the home address for the contact.voidsetHomeAddressStreet(String homeAddressStreet)Sets the street portion of the home address for the contact.voidsetHomeFax(String homeFax)Sets the home fax number for the contact.voidsetHomePhone(String homePhone)Sets the first home telephone number for the contact.voidsetHomePhone2(String homePhone2)Sets the second home telephone number for the contact.voidsetIconIndex(long iconIndex)Sets a number that indicates which icon to use when you display a group of e-mail objects.voidsetImportance(Importance importance)Sets a value that indicates the message sender's opinion of the importance of a message.voidsetInitials(String initials)Sets the initials for the contact.voidsetInReplyTo(String inReplyTo)Sets identifier of the message to which this message is a reply.voidsetInstantMessengerAddress(String instantMessengerAddress)Sets the instant messenger address for the contact.voidsetInternetCodePage(long internetCodePage)Sets the code page used for the Body or the BodyHtml properties.voidsetInternetFreeBusyAddress(String internetFreeBusyAddress)Sets the url location of the user's free-busy information in vCard Free-Busy standard format.voidsetInternetMessageId(String internetMessageId)Sets unique ID for the message.voidsetInternetReferences(String internetReferences)Sets Internet reference ID for the message..voidSets the ISDN number for the contact.voidsetJournalDuration(long journalDuration)Sets journal's the duration in minutes.voidsetJournalEndTime(Date journalEndTime)Sets journal's the end date and time.voidsetJournalStartTime(Date journalStartTime)Sets journal's the start date and time.voidsetJournalType(String journalType)Sets the type of the journal item.voidsetJournalTypeDescription(String journalTypeDescription)Sets the type description of the journal item.voidsetLabel(int label)Sets appointment's label color.voidsetLastModificationTime(Date lastModificationTime)Sets the date and time when the message was last modified.voidsetLastModifierName(String lastModifierName)Sets name of the person who modified message.voidsetLastVerbExecuted(LastVerbExecuted lastVerbExecuted)Sets the last verb executed.voidsetLastVerbExecutionTime(Date lastVerbExecutionTime)Sets the time when the last verb was executed.voidsetLocation(String location)Sets appointment's location.voidsetManagerName(String managerName)Sets the manager name for the contact.voidsetMeetingStatus(MeetingStatus meetingStatus)Sets the status of the meeting.voidsetMessageClass(String messageClass)Sets a text string that identifies the sender-defined message class, such as IPM.Note.voidsetMessageCodePage(long messageCodePage)Sets the code page that is used for the message.voidsetMessageDeliveryTime(Date messageDeliveryTime)Sets the date and time when a message was delivered.voidsetMiddleName(String middleName)Sets the middle name for the contact.voidsetMileage(String mileage)Sets free-form string value and can be used to store mileage information associated with the message.voidsetNickname(String nickname)Sets the nickname for the contact.voidsetNormalizedSubject(String normalizedSubject)Sets the message subject with any prefix removed.voidsetNoteColor(NoteColor noteColor)Sets background color of the note item.voidsetNoteHeight(long noteHeight)Sets height of the note item.voidsetNoteLeft(long noteLeft)Sets left position of the note item.voidsetNoteTop(long noteTop)Sets top position of the note item.voidsetNoteWidth(long noteWidth)Sets width of the note item.voidsetObjectType(ObjectType objectType)Sets the type of an object.voidsetOfficeLocation(String officeLocation)Sets the specific office location for the contact.voidsetOriginalDisplayTo(String originalDisplayTo)Sets a list of the display names of the primary (To) message recipients, separated by semicolons (;).voidsetOtherAddress(String otherAddress)Sets the whole, unparsed other address for the contact.voidsetOtherAddressCity(String otherAddressCity)Sets the city portion of the other address for the contact.voidsetOtherAddressCountry(String otherAddressCountry)Sets the country/region portion of the other address for the contact.voidsetOtherAddressPostalCode(String otherAddressPostalCode)Sets the postal code portion of the other address for the contact.voidsetOtherAddressState(String otherAddressState)Sets the state portion of the other address for the contact.voidsetOtherAddressStreet(String otherAddressStreet)Sets the street portion of the other address for the contact.voidsetOtherPhone(String otherPhone)Sets the other telephone number for the contact.voidsetOutlookInternalVersion(long outlookInternalVersion)Sets internal version number of Microsoft Office Outlook client.voidsetOutlookVersion(String outlookVersion)Sets version number of Microsoft Office Outlook client.voidSets task's owner name.voidSets the pager number for the contact.voidsetPercentComplete(double percentComplete)Sets the percentage of the task completed at the current date and time.voidsetPersonalHomePage(String personalHomePage)Sets the url of the personal Web page for the contact.voidsetPostalAddress(String postalAddress)Sets the postal address for the contact.voidsetPrimaryFax(String primaryFax)Sets the primary fax number for the contact.voidsetPrimaryPhone(String primaryPhone)Sets the primary telephone number for the contact.voidsetPriority(Priority priority)Sets the relative priority of a message.voidsetPrivate(boolean isPrivate)Sets true if message is marked as private.voidsetProfession(String profession)Gets the profession for the contact.voidsetProviderSubmitTime(Date providerSubmitTime)Sets the date and time the message provider submitted a message.voidsetRadioPhone(String radioPhone)Sets the radio telephone number for the contact.voidsetReadOnly(boolean isReadOnly)Sets true if message is read only.voidsetReadReceiptEntryId(byte[] readReceiptEntryId)Sets the read receipt entry id.voidsetReadReceiptRequested(boolean readReceiptRequested)Sets the read receipt requested.voidsetReadReceiptSearchKey(byte[] readReceiptSearchKey)Sets the read receipt search key.voidsetReceivedByAddressType(String receivedByAddressType)Sets the e-mail address type, such as SMTP, for the messaging user who actually receives the message.voidsetReceivedByEmailAddress(String receivedByEmailAddress)Sets the e-mail address for the messaging user who receives the message.voidsetReceivedByEntryId(byte[] receivedByEntryId)Sets the entry identifier of the messaging user who actually receives the message.voidsetReceivedByName(String receivedByName)Sets the display name of the messaging user who receives the message.voidsetReceivedBySearchKey(byte[] receivedBySearchKey)Sets the search key of the messaging user who receives the message.voidsetReceivedRepresentingAddressType(String receivedRepresentingAddressType)Sets the address type for the messaging user who is represented by the user actually receiving the message.voidsetReceivedRepresentingEmailAddress(String receivedRepresentingEmailAddress)Sets the e-mail address for the messaging user who is represented by the receiving user.voidsetReceivedRepresentingEntryId(byte[] receivedRepresentingEntryId)Sets the entry identifier for the messaging user who is represented by the receiving user.voidsetReceivedRepresentingName(String receivedRepresentingName)Sets the display name for the messaging user who is represented by the receiving user.voidsetReceivedRepresentingSearchKey(byte[] receivedRepresentingSearchKey)Sets the search key for the messaging user represented by the receiving user.voidsetRecurrencePattern(String recurrencePattern)Sets appointment's recurring pattern.voidsetRecurrenceType(RecurrenceType recurrenceType)Sets the recurrence pattern type.voidsetRecurring(boolean isRecurring)Sets true if the task or appointment is recurring.voidsetReminderMinutesBeforeStart(long reminderMinutesBeforeStart)Sets the number of minutes the reminder should occur prior to the start of the appointment.voidsetReminderOverrideDefault(boolean reminderOverrideDefault)Sets true if the reminder overrides the default reminder behavior for the appointment, mail item, or task.voidsetReminderPlaySound(boolean reminderPlaySound)Gets true if the reminder should play a sound when it occurs for this appointment or task.voidsetReminderSet(boolean isReminderSet)Sets true if a reminder has been set for this appointment, e-mail item, or task.voidsetReminderSoundFile(String reminderSoundFile)Sets the path and file name of the sound file to play when the reminder occurs for the appointment, mail message, or task.voidsetReminderTime(Date reminderTime)Sets the date and time at which the reminder should occur for the specified item.voidsetReplyTo(String replyTo)Sets reply to email address.voidsetReportText(String reportText)Sets report text.voidsetReportTime(Date reportTime)Sets the report date and time.voidsetResponseStatus(ResponseStatus responseStatus)Sets the response to a meeting request.voidsetRtfCompressed(byte[] rtfCompressed)Sets the Rich Text Format (RTF) version of the message text, usually in compressed form.voidsetRtfInSync(boolean rtfInSync)Sets true if the getRtfCompressed() has the same text content as the getBody() for this message, otherwise false.voidsetSearchKey(byte[] searchKey)Sets a binary-comparable key that identifies correlated objects for a search.voidsetSelectedMailingAddress(SelectedMailingAddress selectedMailingAddress)Sets the type of the mailing address for the contact.voidsetSenderAddressType(String senderAddressType)Sets the message sender's e-mail address type.voidsetSenderEmailAddress(String senderEmailAddress)Sets the message sender's e-mail address.voidsetSenderEntryId(byte[] senderEntryId)Sets the message sender's entry identifier.voidsetSenderName(String senderName)Sets the message sender's display name.voidsetSenderSearchKey(byte[] senderSearchKey)Sets the message sender's search key.voidsetSensitivity(Sensitivity sensitivity)Sets a value that indicates the message sender's opinion of the sensitivity of a message.voidsetSentRepresentingAddressType(String sentRepresentingAddressType)Sets the address type for the messaging user who is represented by the sender.voidsetSentRepresentingEmailAddress(String sentRepresentingEmailAddress)Sets the e-mail address for the messaging user who is represented by the sender.voidsetSentRepresentingEntryId(byte[] sentRepresentingEntryId)Sets the entry identifier for the messaging user represented by the sender.voidsetSentRepresentingName(String sentRepresentingName)Sets the display name for the messaging user represented by the sender.voidsetSentRepresentingSearchKey(byte[] sentRepresentingSearchKey)Sets the search key for the messaging user represented by the sender.voidsetSize(long messageSize)Sets the size of the body, subject, sender, and attachments.voidsetSpouseName(String spouseName)Sets the spouse name for the contact.voidsetSubject(String subject)Sets the full subject of a message.voidsetSubjectPrefix(String subjectPrefix)Sets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.voidsetSurname(String surname)Sets the last name for the contact.voidsetSystem(boolean isSystem)Sets true if message is system message.voidsetTaskDelegationState(TaskDelegationState taskDelegationState)Sets the delegation state of a task.voidsetTaskDueDate(Date taskDueDate)Sets task's the due date and time.voidsetTaskOwnership(TaskOwnership taskOwnership)Sets the ownership state of the task.voidsetTaskStartDate(Date taskStartDate)Sets task's the start date and time.voidsetTaskStatus(TaskStatus taskStatus)Sets the status of the task.voidsetTeamTask(boolean isTeamTask)Sets true if the task is a team task.voidSets the telex number for the contact.voidsetTimeZone(String timeZone)Sets appointment's time zone.voidSets the title for the contact.voidsetTotalWork(long totalWork)Sets the total work for the task.voidsetTransportMessageHeaders(String transportMessageHeaders)Sets transport-specific message envelope information.voidsetTtyTddPhone(String ttyTddPhone)Sets the TTY/TDD telephone number for the contact.voidsetWeddingAnniversary(Date weddingAnniversary)Sets the wedding anniversary date for the contact.byte[]Gets bytes to read from this message.
-
Constructor Details
-
Message
public Message()Initializes a new instance of the Message class. -
Message
Initializes a new instance of the Message class based on the supplied file.- Parameters:
filePath- the file path- Throws:
IOException- Signals that an I/O exception has occurred.
-
Message
Initializes a new instance of the Message class based on the supplied stream.- Parameters:
inputStream- the input stream- Throws:
IOException- Signals that an I/O exception has occurred.
-
Message
Initializes a new instance of the Message class from the specified MIME message.- Parameters:
mimeMessage- the MIME message
-
-
Method Details
-
open
Loads message from the specified file.- Parameters:
filePath- the file path- Throws:
IOException- Signals that an I/O exception has occurred.
-
open
Loads message from the specified input stream.- Parameters:
inputStream- the input stream- Throws:
IOException- Signals that an I/O exception has occurred.
-
getInputStream
Gets stream to read from this message.- Returns:
- the input stream
- Throws:
IOException- Signals that an I/O exception has occurred.
-
toByteArray
Gets bytes to read from this message.- Returns:
- the byte[]
- Throws:
IOException- Signals that an I/O exception has occurred.
-
save
Saves this message to the specified file.- Parameters:
filePath- the file path- Throws:
IOException- Signals that an I/O exception has occurred.
-
save
Saves this message to the specified file.- Parameters:
filePath- the file pathoverwrite- if true overwrites an existing file with the same path.- Throws:
IOException- Signals that an I/O exception has occurred.
-
save
Saves this message to the specified stream.- Parameters:
outputStream- the output stream- Throws:
IOException- Signals that an I/O exception has occurred.
-
convertToMimeMessage
Converts this message to a MIME message.- Returns:
- the MIME message
-
getCharset
Gets message charset. Default is UTF8 charset.- Returns:
- the charset
-
setCharset
Sets message charset. Default is UTF8 charset.- Parameters:
charset- the new charset
-
getEncoding
Gets message encoding. Default is UTF8 encoding.- Returns:
- the encoding
-
setEncoding
Sets message encoding. Default is UTF8 encoding.- Parameters:
encoding- the new encoding
-
getMessageClass
Gets a text string that identifies the sender-defined message class, such as IPM.Note.- Returns:
- the message class
-
setMessageClass
Sets a text string that identifies the sender-defined message class, such as IPM.Note.- Parameters:
messageClass- the new message class
-
getSubject
Gets the full subject of a message.- Returns:
- the subject
-
setSubject
Sets the full subject of a message.- Parameters:
subject- the new subject
-
getSubjectPrefix
Gets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.- Returns:
- the subject prefix
-
setSubjectPrefix
Sets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.- Parameters:
subjectPrefix- the new subject prefix
-
getConversationTopic
Gets the topic of the first message in a conversation thread. A conversation thread represents a series of messages and replies. These properties are set for the first message in a thread, usually to the getNormalizedSubject() Subsequent messages in the thread should use the same topic without modification.- Returns:
- the conversation topic
-
setConversationTopic
Sets the topic of the first message in a conversation thread. A conversation thread represents a series of messages and replies. These properties are set for the first message in a thread, usually to the getNormalizedSubject(). Subsequent messages in the thread should use the same topic without modification.- Parameters:
conversationTopic- the new conversation topic
-
getDisplayBcc
Gets an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).- Returns:
- the display bcc
-
setDisplayBcc
Sets an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).- Parameters:
displayBcc- the new display bcc
-
getDisplayCc
Gets an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).- Returns:
- the display cc
-
setDisplayCc
Sets an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).- Parameters:
displayCc- the new display cc
-
getDisplayTo
Gets a list of the display names of the primary (To) message recipients, separated by semicolons (;).- Returns:
- the display to
-
setDisplayTo
Sets a list of the display names of the primary (To) message recipients, separated by semicolons (;).- Parameters:
displayTo- the new display to
-
getOriginalDisplayTo
Gets a list of the display names of the primary (To) message recipients, separated by semicolons (;).- Returns:
- the original display to
-
setOriginalDisplayTo
Sets a list of the display names of the primary (To) message recipients, separated by semicolons (;).- Parameters:
originalDisplayTo- the new original display to
-
getReplyTo
Gets reply to email address.- Returns:
- the reply to
-
setReplyTo
Sets reply to email address.- Parameters:
replyTo- the new reply to
-
getNormalizedSubject
Gets the message subject with any prefix removed.- Returns:
- the normalized subject
-
setNormalizedSubject
Sets the message subject with any prefix removed.- Parameters:
normalizedSubject- the new normalized subject
-
getBody
Gets the message text.- Returns:
- the body
-
setBody
Sets the message text.- Parameters:
body- the new body
-
getBodyRtf
public byte[] getBodyRtf()Gets the Rich Text Format (RTF) version of the message text.- Returns:
- the body rtf
-
setBodyRtf
public void setBodyRtf(byte[] rtf)Sets the Rich Text Format (RTF) version of the message text.- Parameters:
rtf- the new body rtf
-
getRtfCompressed
public byte[] getRtfCompressed()Gets the Rich Text Format (RTF) version of the message text, usually in compressed form.- Returns:
- the rtf compressed
-
setRtfCompressed
public void setRtfCompressed(byte[] rtfCompressed)Sets the Rich Text Format (RTF) version of the message text, usually in compressed form.- Parameters:
rtfCompressed- the new rtf compressed
-
getSearchKey
public byte[] getSearchKey()Gets a binary-comparable key that identifies correlated objects for a search.- Returns:
- the search key
-
setSearchKey
public void setSearchKey(byte[] searchKey)Sets a binary-comparable key that identifies correlated objects for a search.- Parameters:
searchKey- the new search key
-
getChangeKey
public byte[] getChangeKey()Gest a change key of a message.- Returns:
- the change key
-
setChangeKey
public void setChangeKey(byte[] changeKey)Sets a change key of a message.- Parameters:
changeKey- the new change key
-
getEntryId
public byte[] getEntryId()Gets a MAPI entry identifier used to open and edit properties of a particular MAPI object.- Returns:
- the entry id
-
setEntryId
public void setEntryId(byte[] entryId)Sets a MAPI entry identifier used to open and edit properties of a particular MAPI object.- Parameters:
entryId- the new entry id
-
getReadReceiptEntryId
public byte[] getReadReceiptEntryId()Gets the read receipt entry id.- Returns:
- the read receipt entry id
-
setReadReceiptEntryId
public void setReadReceiptEntryId(byte[] readReceiptEntryId)Sets the read receipt entry id.- Parameters:
readReceiptEntryId- the new read receipt entry id
-
getReadReceiptSearchKey
public byte[] getReadReceiptSearchKey()Gets the read receipt search key.- Returns:
- the read receipt search key
-
setReadReceiptSearchKey
public void setReadReceiptSearchKey(byte[] readReceiptSearchKey)Sets the read receipt search key.- Parameters:
readReceiptSearchKey- the new read receipt search key
-
getCreationTime
Gets the creation date and time of a message. A message store sets this time for each message that it creates.- Returns:
- the creation time
-
setCreationTime
Sets the creation date and time of a message. A message store sets this time for each message that it creates.- Parameters:
creationTime- the new creation time
-
getLastModificationTime
Gets the date and time when the message was last modified. This field is initially set to the same value as the getCreationTime().- Returns:
- the last modification time
-
setLastModificationTime
Sets the date and time when the message was last modified. This field is initially set to the same value as the getCreationTime().- Parameters:
lastModificationTime- the new last modification time
-
getMessageDeliveryTime
Gets the date and time when a message was delivered. Describes the time the message was stored at the server, rather than the download time when the transport provider copied the message from the server to the local store.- Returns:
- the message delivery time
-
setMessageDeliveryTime
Sets the date and time when a message was delivered. Describes the time the message was stored at the server, rather than the download time when the transport provider copied the message from the server to the local store.- Parameters:
messageDeliveryTime- the new message delivery time
-
getClientSubmitTime
Gets the date and time the message sender submitted a message.- Returns:
- the client submit time
-
setClientSubmitTime
Sets the date and time the message sender submitted a message.- Parameters:
clientSubmitTime- the new client submit time
-
getProviderSubmitTime
Gets the date and time the message provider submitted a message.- Returns:
- the provider submit time
-
setProviderSubmitTime
Sets the date and time the message provider submitted a message.- Parameters:
providerSubmitTime- the new provider submit time
-
getReportTime
Gets the report date and time.- Returns:
- the report time
-
setReportTime
Sets the report date and time.- Parameters:
reportTime- the new report time
-
getLastVerbExecutionTime
Gets the time when the last verb was executed.- Returns:
- the last verb execution time
-
setLastVerbExecutionTime
Sets the time when the last verb was executed.- Parameters:
lastVerbExecutionTime- the new last verb execution time
-
getReportText
Gets report text.- Returns:
- the report text
-
setReportText
Sets report text.- Parameters:
reportText- the new report text
-
getCreatorName
Gets name of the person who created message.- Returns:
- the creator name
-
setCreatorName
Sets name of the person who created message.- Parameters:
creatorName- the new creator name
-
getLastModifierName
Gest name of the person who modified message.- Returns:
- the last modifier name
-
setLastModifierName
Sets name of the person who modified message.- Parameters:
lastModifierName- the new last modifier name
-
getInternetMessageId
Gets unique ID for the message.- Returns:
- the internet message id
-
setInternetMessageId
Sets unique ID for the message.- Parameters:
internetMessageId- the new internet message id
-
getInReplyTo
Gets identifier of the message to which this message is a reply.- Returns:
- the in reply to
-
setInReplyTo
Sets identifier of the message to which this message is a reply.- Parameters:
inReplyTo- the new in reply to
-
getInternetReferences
Gets Internet reference ID for the message..- Returns:
- the internet references
-
setInternetReferences
Sets Internet reference ID for the message..- Parameters:
internetReferences- the new internet references
-
getMessageCodePage
public long getMessageCodePage()Gets the code page that is used for the message.- Returns:
- the message code page
-
setMessageCodePage
public void setMessageCodePage(long messageCodePage)Sets the code page that is used for the message.- Parameters:
messageCodePage- the new message code page
-
getIconIndex
public long getIconIndex()Gets a number that indicates which icon to use when you display a group of e-mail objects.- Returns:
- the icon index
-
setIconIndex
public void setIconIndex(long iconIndex)Sets a number that indicates which icon to use when you display a group of e-mail objects.- Parameters:
iconIndex- the new icon index
-
getSize
public long getSize()Gets the size of the body, subject, sender, and attachments.- Returns:
- the size
-
setSize
public void setSize(long messageSize)Sets the size of the body, subject, sender, and attachments.- Parameters:
messageSize- the new size
-
getInternetCodePage
public long getInternetCodePage()Gets the code page used for the Body or the BodyHtml properties.- Returns:
- the internet code page
-
setInternetCodePage
public void setInternetCodePage(long internetCodePage)Sets the code page used for the Body or the BodyHtml properties.- Parameters:
internetCodePage- the new internet code page
-
getConversationIndex
public byte[] getConversationIndex()Gets a binary value that indicates the relative position of this message within a conversation thread.- Returns:
- the conversation index
-
setConversationIndex
public void setConversationIndex(byte[] conversationIndex)Sets a binary value that indicates the relative position of this message within a conversation thread.- Parameters:
conversationIndex- the new conversation index
-
isHidden
public boolean isHidden()Gets true if message is invisible.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(boolean isHidden)Sets true if message is invisible.- Parameters:
isHidden- the new hidden
-
isReadOnly
public boolean isReadOnly()Gets true if message is read only.- Returns:
- true, if is read only
-
setReadOnly
public void setReadOnly(boolean isReadOnly)Sets true if message is read only.- Parameters:
isReadOnly- the new read only
-
isSystem
public boolean isSystem()Gets true if message is system message.- Returns:
- true, if is system
-
setSystem
public void setSystem(boolean isSystem)Sets true if message is system message.- Parameters:
isSystem- the new system
-
getDisableFullFidelity
public boolean getDisableFullFidelity()Gets the disable full fidelity.- Returns:
- the disable full fidelity
-
setDisableFullFidelity
public void setDisableFullFidelity(boolean disableFullFidelity)Sets the disable full fidelity.- Parameters:
disableFullFidelity- the new disable full fidelity
-
hasAttachment
public boolean hasAttachment()Gets true if a message contains at least one attachment, otherwise false.- Returns:
- true, if successful
-
setHasAttachment
public void setHasAttachment(boolean hasAttachment)Sets true if a message contains at least one attachment.- Parameters:
hasAttachment- the new checks for attachment
-
getRtfInSync
public boolean getRtfInSync()Gets true if the getRtfCompressed() has the same text content as the getBody() for this message, otherwise false.- Returns:
- the rtf in sync
-
setRtfInSync
public void setRtfInSync(boolean rtfInSync)Sets true if the getRtfCompressed() has the same text content as the getBody() for this message, otherwise false.- Parameters:
rtfInSync- the new rtf in sync
-
getReadReceiptRequested
public boolean getReadReceiptRequested()Gets the read receipt requested.- Returns:
- the read receipt requested
-
setReadReceiptRequested
public void setReadReceiptRequested(boolean readReceiptRequested)Sets the read receipt requested.- Parameters:
readReceiptRequested- the new read receipt requested
-
getDeliveryReportRequested
public boolean getDeliveryReportRequested()Gets the delivery report requested.- Returns:
- the delivery report requested
-
setDeliveryReportRequested
public void setDeliveryReportRequested(boolean deliveryReportRequested)Sets the delivery report requested.- Parameters:
deliveryReportRequested- the new delivery report requested
-
getBodyHtml
public byte[] getBodyHtml()Gets the Hypertext Markup Language (HTML) version of the message text.- Returns:
- the body html
-
setBodyHtml
public void setBodyHtml(byte[] bodyHtml)Sets the Hypertext Markup Language (HTML) version of the message text.- Parameters:
bodyHtml- the new body html
-
getBodyHtmlText
Gets the Hypertext Markup Language (HTML) version of the message text.- Returns:
- the body html text
-
setBodyHtmlText
Sets the Hypertext Markup Language (HTML) version of the message text.- Parameters:
bodyHtmlText- the new body html text
-
getSensitivity
Gets a value that indicates the message sender's opinion of the sensitivity of a message.- Returns:
- the sensitivity
-
setSensitivity
Sets a value that indicates the message sender's opinion of the sensitivity of a message.- Parameters:
sensitivity- the new sensitivity
-
getLastVerbExecuted
Gets the last verb executed.- Returns:
- the last verb executed
-
setLastVerbExecuted
Sets the last verb executed.- Parameters:
lastVerbExecuted- the new last verb executed
-
getImportance
Gets a value that indicates the message sender's opinion of the importance of a message.- Returns:
- the importance
-
setImportance
Sets a value that indicates the message sender's opinion of the importance of a message.- Parameters:
importance- the new importance
-
getPriority
Gets the relative priority of a message. Importance indicates a value to users, while priority indicates the order or speed at which the message should be sent by the messaging system software. Higher priority usually indicates a higher cost. Higher importance usually is associated with a different display by the user interface.- Returns:
- the priority
-
setPriority
Sets the relative priority of a message. Importance indicates a value to users, while priority indicates the order or speed at which the message should be sent by the messaging system software. Higher priority usually indicates a higher cost. Higher importance usually is associated with a different display by the user interface.- Parameters:
priority- the new priority
-
getFlagIcon
Gets the flag icon of the message object.- Returns:
- the flag icon
-
setFlagIcon
Sets the flag icon of the message object.- Parameters:
flagIcon- the new flag icon
-
getFlagStatus
Gets the flag state of the message object.- Returns:
- the flag status
-
setFlagStatus
Sets the flag state of the message object.- Parameters:
flagStatus- the new flag status
-
getObjectType
Gets the type of an object.- Returns:
- the object type
-
setObjectType
Sets the type of an object.- Parameters:
objectType- the new object type
-
getReceivedRepresentingAddressType
Gets the address type for the messaging user who is represented by the user actually receiving the message.- Returns:
- the received representing address type
-
setReceivedRepresentingAddressType
Sets the address type for the messaging user who is represented by the user actually receiving the message.- Parameters:
receivedRepresentingAddressType- the new received representing address type
-
getReceivedRepresentingEmailAddress
Gets the e-mail address for the messaging user who is represented by the receiving user.- Returns:
- the received representing email address
-
setReceivedRepresentingEmailAddress
Sets the e-mail address for the messaging user who is represented by the receiving user.- Parameters:
receivedRepresentingEmailAddress- the new received representing email address
-
getReceivedRepresentingEntryId
public byte[] getReceivedRepresentingEntryId()Gets the entry identifier for the messaging user who is represented by the receiving user.- Returns:
- the received representing entry id
-
setReceivedRepresentingEntryId
public void setReceivedRepresentingEntryId(byte[] receivedRepresentingEntryId)Sets the entry identifier for the messaging user who is represented by the receiving user.- Parameters:
receivedRepresentingEntryId- the new received representing entry id
-
getReceivedRepresentingName
Gets the display name for the messaging user who is represented by the receiving user.- Returns:
- the received representing name
-
setReceivedRepresentingName
Sets the display name for the messaging user who is represented by the receiving user.- Parameters:
receivedRepresentingName- the new received representing name
-
getReceivedRepresentingSearchKey
public byte[] getReceivedRepresentingSearchKey()Gets the search key for the messaging user represented by the receiving user.- Returns:
- the received representing search key
-
setReceivedRepresentingSearchKey
public void setReceivedRepresentingSearchKey(byte[] receivedRepresentingSearchKey)Sets the search key for the messaging user represented by the receiving user.- Parameters:
receivedRepresentingSearchKey- the new received representing search key
-
getReceivedByAddressType
Gets the e-mail address type, such as SMTP, for the messaging user who actually receives the message.- Returns:
- the received by address type
-
setReceivedByAddressType
Sets the e-mail address type, such as SMTP, for the messaging user who actually receives the message.- Parameters:
receivedByAddressType- the new received by address type
-
getReceivedByEmailAddress
Gets the e-mail address for the messaging user who receives the message.- Returns:
- the received by email address
-
setReceivedByEmailAddress
Sets the e-mail address for the messaging user who receives the message.- Parameters:
receivedByEmailAddress- the new received by email address
-
getReceivedByEntryId
public byte[] getReceivedByEntryId()Gets the entry identifier of the messaging user who actually receives the message.- Returns:
- the received by entry id
-
setReceivedByEntryId
public void setReceivedByEntryId(byte[] receivedByEntryId)Sets the entry identifier of the messaging user who actually receives the message.- Parameters:
receivedByEntryId- the new received by entry id
-
getReceivedByName
Gets the display name of the messaging user who receives the message.- Returns:
- the received by name
-
setReceivedByName
Sets the display name of the messaging user who receives the message.- Parameters:
receivedByName- the new received by name
-
getReceivedBySearchKey
public byte[] getReceivedBySearchKey()Gets the search key of the messaging user who receives the message.- Returns:
- the received by search key
-
setReceivedBySearchKey
public void setReceivedBySearchKey(byte[] receivedBySearchKey)Sets the search key of the messaging user who receives the message.- Parameters:
receivedBySearchKey- the new received by search key
-
getSenderAddressType
Gets the message sender's e-mail address type.- Returns:
- the sender address type
-
setSenderAddressType
Sets the message sender's e-mail address type.- Parameters:
senderAddressType- the new sender address type
-
getSenderEmailAddress
Gets the message sender's e-mail address.- Returns:
- the sender email address
-
setSenderEmailAddress
Sets the message sender's e-mail address.- Parameters:
senderEmailAddress- the new sender email address
-
getSenderEntryId
public byte[] getSenderEntryId()Gets the message sender's entry identifier.- Returns:
- the sender entry id
-
setSenderEntryId
public void setSenderEntryId(byte[] senderEntryId)Sets the message sender's entry identifier.- Parameters:
senderEntryId- the new sender entry id
-
getSenderName
Gets the message sender's display name.- Returns:
- the sender name
-
setSenderName
Sets the message sender's display name.- Parameters:
senderName- the new sender name
-
getSenderSearchKey
public byte[] getSenderSearchKey()Gets the message sender's search key.- Returns:
- the sender search key
-
setSenderSearchKey
public void setSenderSearchKey(byte[] senderSearchKey)Sets the message sender's search key.- Parameters:
senderSearchKey- the new sender search key
-
getSentRepresentingAddressType
Gets the address type for the messaging user who is represented by the sender.- Returns:
- the sent representing address type
-
setSentRepresentingAddressType
Sets the address type for the messaging user who is represented by the sender.- Parameters:
sentRepresentingAddressType- the new sent representing address type
-
getSentRepresentingEmailAddress
Gets the e-mail address for the messaging user who is represented by the sender.- Returns:
- the sent representing email address
-
setSentRepresentingEmailAddress
Sets the e-mail address for the messaging user who is represented by the sender.- Parameters:
sentRepresentingEmailAddress- the new sent representing email address
-
getSentRepresentingEntryId
public byte[] getSentRepresentingEntryId()Gets the entry identifier for the messaging user represented by the sender.- Returns:
- the sent representing entry id
-
setSentRepresentingEntryId
public void setSentRepresentingEntryId(byte[] sentRepresentingEntryId)Sets the entry identifier for the messaging user represented by the sender.- Parameters:
sentRepresentingEntryId- the new sent representing entry id
-
getSentRepresentingName
Gets the display name for the messaging user represented by the sender.- Returns:
- the sent representing name
-
setSentRepresentingName
Sets the display name for the messaging user represented by the sender.- Parameters:
sentRepresentingName- the new sent representing name
-
getSentRepresentingSearchKey
public byte[] getSentRepresentingSearchKey()Gets the search key for the messaging user represented by the sender.- Returns:
- the sent representing search key
-
setSentRepresentingSearchKey
public void setSentRepresentingSearchKey(byte[] sentRepresentingSearchKey)Sets the search key for the messaging user represented by the sender.- Parameters:
sentRepresentingSearchKey- the new sent representing search key
-
getTransportMessageHeaders
Gets transport-specific message envelope information.- Returns:
- the transport message headers
-
setTransportMessageHeaders
Sets transport-specific message envelope information.- Parameters:
transportMessageHeaders- the new transport message headers
-
getMessageFlags
Gets a bitmask of flags that indicate the origin and current state of a message. This field is a non-transmittable message field exposed at both the sending and receiving ends of a transmission, with different values depending upon the client application or store provider involved. This field is initialized by the client or message store provider when a message is created and saved for the first time and then updated periodically by the message store provider, a transport provider, and the MAPI spooler as the message is processed and its state changes. Exists on a message both before and after submission, and on all copies of the received message. Although it is not a recipient field, it is exposed differently to each recipient according to whether it has been read or modified by that recipient.- Returns:
- the message flags
-
getStoreSupportMasks
Gets values that client applications should query to determine the characteristics of a message store.- Returns:
- the store support masks
-
getOutlookVersion
Gets version number of Microsoft Office Outlook client.- Returns:
- the outlook version
-
setOutlookVersion
Sets version number of Microsoft Office Outlook client.- Parameters:
outlookVersion- the new outlook version
-
getOutlookInternalVersion
public long getOutlookInternalVersion()Gets internal version number of Microsoft Office Outlook client.- Returns:
- the outlook internal version
-
setOutlookInternalVersion
public void setOutlookInternalVersion(long outlookInternalVersion)Sets internal version number of Microsoft Office Outlook client.- Parameters:
outlookInternalVersion- the new outlook internal version
-
getCommonStartTime
Gets the start date and time of a message.- Returns:
- the common start time
-
setCommonStartTime
Sets the start date and time of a message.- Parameters:
commonStartTime- the new common start time
-
getCommonEndTime
Gets the end date and time of a message.- Returns:
- the common end time
-
setCommonEndTime
Sets the end date and time of a message.- Parameters:
commonEndTime- the new common end time
-
getFlagDueBy
Gets the date and time specifying the date by which an e-mail message is due.- Returns:
- the flag due by
-
setFlagDueBy
Sets the date and time specifying the date by which an e-mail message is due.- Parameters:
flagDueBy- the new flag due by
-
getCompanies
Gets the names of the companies associated with the contact item.- Returns:
- the companies
-
getContactNames
Gets the names of the contacts associated with the item.- Returns:
- the contact names
-
getKeywords
Gets the categories associated with a message.- Returns:
- the keywords
-
getCategories
Gets the categories associated with a message.- Returns:
- the categories
-
getBillingInformation
Gets the billing information associated with a message.- Returns:
- the billing information
-
setBillingInformation
Sets the billing information associated with a message.- Parameters:
billingInformation- the new billing information
-
getMileage
Gets free-form string value and can be used to store mileage information associated with the message.- Returns:
- the mileage
-
setMileage
Sets free-form string value and can be used to store mileage information associated with the message.- Parameters:
mileage- the new mileage
-
getReminderSoundFile
Gets the path and file name of the sound file to play when the reminder occurs for the appointment, mail message, or task.- Returns:
- the reminder sound file
-
setReminderSoundFile
Sets the path and file name of the sound file to play when the reminder occurs for the appointment, mail message, or task.- Parameters:
reminderSoundFile- the new reminder sound file
-
isPrivate
public boolean isPrivate()Gets true if message is marked as private.- Returns:
- true, if is private
-
setPrivate
public void setPrivate(boolean isPrivate)Sets true if message is marked as private.- Parameters:
isPrivate- the new private
-
getReminderOverrideDefault
public boolean getReminderOverrideDefault()Gets true if the reminder overrides the default reminder behavior for the appointment, mail item, or task.- Returns:
- the reminder override default
-
setReminderOverrideDefault
public void setReminderOverrideDefault(boolean reminderOverrideDefault)Sets true if the reminder overrides the default reminder behavior for the appointment, mail item, or task.- Parameters:
reminderOverrideDefault- the new reminder override default
-
getReminderPlaySound
public boolean getReminderPlaySound()Gets true if the reminder should play a sound when it occurs for this appointment or task.- Returns:
- the reminder play sound
-
setReminderPlaySound
public void setReminderPlaySound(boolean reminderPlaySound)Gets true if the reminder should play a sound when it occurs for this appointment or task.- Parameters:
reminderPlaySound- the new reminder play sound
-
getAppointmentStartTime
Gets appointment's the start date and time.- Returns:
- the appointment start time
-
setAppointmentStartTime
Sets appointment's the start date and time.- Parameters:
appointmentStartTime- the new appointment start time
-
getAppointmentEndTime
Gets appointment's the end date and time.- Returns:
- the appointment end time
-
setAppointmentEndTime
Sets appointment's the end date and time.- Parameters:
appointmentEndTime- the new appointment end time
-
getLocation
Gets appointment's location.- Returns:
- the location
-
setLocation
Sets appointment's location.- Parameters:
location- the new location
-
getAppointmentMessageClass
Gets appointment's message class.- Returns:
- the appointment message class
-
setAppointmentMessageClass
Sets appointment's message class.- Parameters:
appointmentMessageClass- the new appointment message class
-
getTimeZone
Gets appointment's time zone.- Returns:
- the time zone
-
setTimeZone
Sets appointment's time zone.- Parameters:
timeZone- the new time zone
-
getRecurrencePattern
Gets appointment's recurring pattern.- Returns:
- the recurrence pattern
-
setRecurrencePattern
Sets appointment's recurring pattern.- Parameters:
recurrencePattern- the new recurrence pattern
-
getGuid
public byte[] getGuid()Gets message's global unique id.- Returns:
- the guid
-
setGuid
public void setGuid(byte[] guid)Sets message's global unique id.- Parameters:
guid- the new guid
-
getLabel
public int getLabel()Gets appointment's label color.- Returns:
- the label
-
setLabel
public void setLabel(int label)Sets appointment's label color.- Parameters:
label- the new label
-
getDuration
public int getDuration()Gets appointment's duration in minutes.- Returns:
- the duration
-
setDuration
public void setDuration(int duration)Sets appointment's duration in minutes.- Parameters:
duration- the new duration
-
getBusyStatus
Gets appointment's busy status.- Returns:
- the busy status
-
setBusyStatus
Sets appointment's busy status.- Parameters:
busyStatus- the new busy status
-
getMeetingStatus
Gets the status of the meeting.- Returns:
- the meeting status
-
setMeetingStatus
Sets the status of the meeting.- Parameters:
meetingStatus- the new meeting status
-
getResponseStatus
Gets the response to a meeting request.- Returns:
- the response status
-
setResponseStatus
Sets the response to a meeting request.- Parameters:
responseStatus- the new response status
-
getRecurrenceType
Gets the recurrence pattern type.- Returns:
- the recurrence type
-
setRecurrenceType
Sets the recurrence pattern type.- Parameters:
recurrenceType- the new recurrence type
-
getOwner
Gets task's owner name.- Returns:
- the owner
-
setOwner
Sets task's owner name.- Parameters:
owner- the new owner
-
getDelegator
Gets task's delegator name.- Returns:
- the delegator
-
setDelegator
Sets task's delegator name.- Parameters:
delegator- the new delegator
-
getPercentComplete
public double getPercentComplete()Gets the percentage of the task completed at the current date and time.- Returns:
- the percent complete
-
setPercentComplete
public void setPercentComplete(double percentComplete)Sets the percentage of the task completed at the current date and time.- Parameters:
percentComplete- the new percent complete
-
getActualWork
public long getActualWork()Gets the actual effort (in minutes) spent on the task.\- Returns:
- the actual work
-
setActualWork
public void setActualWork(long actualWork)Sets the actual effort (in minutes) spent on the task.- Parameters:
actualWork- the new actual work
-
getTotalWork
public long getTotalWork()Gets the total work for the task.- Returns:
- the total work
-
setTotalWork
public void setTotalWork(long totalWork)Sets the total work for the task.- Parameters:
totalWork- the new total work
-
isTeamTask
public boolean isTeamTask()Gets true if the task is a team task, otherwise false.- Returns:
- true, if is team task
-
setTeamTask
public void setTeamTask(boolean isTeamTask)Sets true if the task is a team task.- Parameters:
isTeamTask- the new team task
-
isComplete
public boolean isComplete()Gets true if the task is complete, otherwise false.- Returns:
- true, if is complete
-
setComplete
public void setComplete(boolean isComplete)Sets true if the task is complete.- Parameters:
isComplete- the new complete
-
isRecurring
public boolean isRecurring()Gets true if the task or appointment is recurring, otherwise false.- Returns:
- true, if is recurring
-
setRecurring
public void setRecurring(boolean isRecurring)Sets true if the task or appointment is recurring.- Parameters:
isRecurring- the new recurring
-
isAllDayEvent
public boolean isAllDayEvent()Gets true if the appointment is all day event, otherwise false.- Returns:
- true, if is all day event
-
setAllDayEvent
public void setAllDayEvent(boolean isAllDayEvent)Sets true if the appointment is all day event.- Parameters:
isAllDayEvent- the new all day event
-
isReminderSet
public boolean isReminderSet()Gets true if a reminder has been set for this appointment, e-mail item, or task, otherwise false.- Returns:
- true, if is reminder set
-
setReminderSet
public void setReminderSet(boolean isReminderSet)Sets true if a reminder has been set for this appointment, e-mail item, or task.- Parameters:
isReminderSet- the new reminder set
-
getReminderTime
Gets the date and time at which the reminder should occur for the specified item.- Returns:
- the reminder time
-
setReminderTime
Sets the date and time at which the reminder should occur for the specified item.- Parameters:
reminderTime- the new reminder time
-
getReminderMinutesBeforeStart
public long getReminderMinutesBeforeStart()Gets the number of minutes the reminder should occur prior to the start of the appointment.- Returns:
- the reminder minutes before start
-
setReminderMinutesBeforeStart
public void setReminderMinutesBeforeStart(long reminderMinutesBeforeStart)Sets the number of minutes the reminder should occur prior to the start of the appointment.- Parameters:
reminderMinutesBeforeStart- the new reminder minutes before start
-
getTaskStartDate
Gets task's the start date and time.- Returns:
- the task start date
-
setTaskStartDate
Sets task's the start date and time.- Parameters:
taskStartDate- the new task start date
-
getTaskDueDate
Gets task's the due date and time.- Returns:
- the task due date
-
setTaskDueDate
Sets task's the due date and time.- Parameters:
taskDueDate- the new task due date
-
getDateCompleted
Gets the completion date of the task.- Returns:
- the date completed
-
setDateCompleted
Sets the completion date of the task.- Parameters:
dateCompleted- the new date completed
-
getTaskStatus
Gets the status of the task.- Returns:
- the task status
-
setTaskStatus
Sets the status of the task.- Parameters:
taskStatus- the new task status
-
getTaskOwnership
Gets the ownership state of the task.- Returns:
- the task ownership
-
setTaskOwnership
Sets the ownership state of the task.- Parameters:
taskOwnership- the new task ownership
-
getTaskDelegationState
Gets the delegation state of a task.- Returns:
- the task delegation state
-
setTaskDelegationState
Sets the delegation state of a task.- Parameters:
taskDelegationState- the new task delegation state
-
getNoteHeight
public long getNoteHeight()Gets height of the note item.- Returns:
- the note height
-
setNoteHeight
public void setNoteHeight(long noteHeight)Sets height of the note item.- Parameters:
noteHeight- the new note height
-
getNoteWidth
public long getNoteWidth()Gets width of the note item.- Returns:
- the note width
-
setNoteWidth
public void setNoteWidth(long noteWidth)Sets width of the note item.- Parameters:
noteWidth- the new note width
-
getNoteTop
public long getNoteTop()Gets top position of the note item.- Returns:
- the note top
-
setNoteTop
public void setNoteTop(long noteTop)Sets top position of the note item.- Parameters:
noteTop- the new note top
-
getNoteLeft
public long getNoteLeft()Gets left position of the note item.- Returns:
- the note left
-
setNoteLeft
public void setNoteLeft(long noteLeft)Sets left position of the note item.- Parameters:
noteLeft- the new note left
-
getNoteColor
Gets background color of the note item.- Returns:
- the note color
-
setNoteColor
Sets background color of the note item.- Parameters:
noteColor- the new note color
-
getJournalStartTime
Gets journal's the start date and time.- Returns:
- the journal start time
-
setJournalStartTime
Sets journal's the start date and time.- Parameters:
journalStartTime- the new journal start time
-
getJournalEndTime
Gets journal's the end date and time.- Returns:
- the journal end time
-
setJournalEndTime
Sets journal's the end date and time.- Parameters:
journalEndTime- the new journal end time
-
getJournalType
Gets the type of the journal item.- Returns:
- the journal type
-
setJournalType
Sets the type of the journal item.- Parameters:
journalType- the new journal type
-
getJournalTypeDescription
Gets the type description of the journal item.- Returns:
- the journal type description
-
setJournalTypeDescription
Sets the type description of the journal item.- Parameters:
journalTypeDescription- the new journal type description
-
getJournalDuration
public long getJournalDuration()Gets journal's the duration in minutes.- Returns:
- the journal duration
-
setJournalDuration
public void setJournalDuration(long journalDuration)Sets journal's the duration in minutes.- Parameters:
journalDuration- the new journal duration
-
getBirthday
Gets the birthday date for the contact.- Returns:
- the birthday
-
setBirthday
Sets the birthday date for the contact.- Parameters:
birthday- the new birthday
-
getChildrenNames
Gest the names of the children of the contact.- Returns:
- the children names
-
getAssistentName
Gets the name of assistent of the contact.- Returns:
- the assistent name
-
setAssistentName
Sets the name of assistent of the contact.- Parameters:
assistentName- the new assistent name
-
getAssistentPhone
Gets assistent's phone number of the contact.- Returns:
- the assistent phone
-
setAssistentPhone
Sets assistent's phone number of the contact.- Parameters:
assistentPhone- the new assistent phone
-
getBusinessPhone
Gets the first business telephone number for the contact.- Returns:
- the business phone
-
setBusinessPhone
Sets the first business telephone number for the contact.- Parameters:
businessPhone- the new business phone
-
getBusinessFax
Gets the business fax number for the contact.- Returns:
- the business fax
-
setBusinessFax
Sets the business fax number for the contact.- Parameters:
businessFax- the new business fax
-
getBusinessHomePage
Gets the url of the business Web page for the contact.- Returns:
- the business home page
-
setBusinessHomePage
Sets the url of the business Web page for the contact.- Parameters:
businessHomePage- the new business home page
-
getCallbackPhone
Gets the callback telephone number for the contact.- Returns:
- the callback phone
-
setCallbackPhone
Sets the callback telephone number for the contact.- Parameters:
callbackPhone- the new callback phone
-
getCarPhone
Gets the car telephone number for the contact.- Returns:
- the car phone
-
setCarPhone
Sets the car telephone number for the contact.- Parameters:
carPhone- the new car phone
-
getCellularPhone
Gets the mobile telephone number for the contact.- Returns:
- the cellular phone
-
setCellularPhone
Sets the mobile telephone number for the contact.- Parameters:
cellularPhone- the new cellular phone
-
getCompanyMainPhone
Gets the company main telephone number for the contact.- Returns:
- the company main phone
-
setCompanyMainPhone
Sets the company main telephone number for the contact.- Parameters:
companyMainPhone- the new company main phone
-
getCompanyName
Gets the company name for the contact.- Returns:
- the company name
-
setCompanyName
Sets the company name for the contact.- Parameters:
companyName- the new company name
-
getComputerNetworkName
Gets the name of the computer network for the contact.- Returns:
- the computer network name
-
setComputerNetworkName
Sets the name of the computer network for the contact.- Parameters:
computerNetworkName- the new computer network name
-
getBusinessAddressCountry
Gets the country/region code portion of the business address for the contact.- Returns:
- the business address country
-
setBusinessAddressCountry
Sets the country/region code portion of the business address for the contact.- Parameters:
businessAddressCountry- the new business address country
-
getCustomerId
Gets the customer ID for the contact.- Returns:
- the customer id
-
setCustomerId
Sets the customer ID for the contact.- Parameters:
customerId- the new customer id
-
getDepartmentName
Gets the department name for the contact.- Returns:
- the department name
-
setDepartmentName
Sets the department name for the contact.- Parameters:
departmentName- the new department name
-
getDisplayName
Gets display name.- Returns:
- the display name
-
setDisplayName
Sets display name.- Parameters:
displayName- the new display name
-
getDisplayNamePrefix
Gets display name prefix.- Returns:
- the display name prefix
-
setDisplayNamePrefix
Sets display name prefix.- Parameters:
displayNamePrefix- the new display name prefix
-
getFtpSite
Gets the FTP site entry for the contact.- Returns:
- the ftp site
-
setFtpSite
Sets the FTP site entry for the contact.- Parameters:
ftpSite- the new ftp site
-
getGeneration
Gets the generation for the contact.- Returns:
- the generation
-
setGeneration
Sets the generation for the contact.- Parameters:
generation- the new generation
-
getGivenName
Gets the given name for the contact.- Returns:
- the given name
-
setGivenName
Sets the given name for the contact.- Parameters:
givenName- the new given name
-
getGovernmentId
Gets the government ID number for the contact.- Returns:
- the government id
-
setGovernmentId
Sets the government ID number for the contact.- Parameters:
governmentId- the new government id
-
getHobbies
Gets the hobby names for the contact.- Returns:
- the hobbies
-
setHobbies
Sets the hobby names for the contact.- Parameters:
hobbies- the new hobbies
-
getHomePhone2
Gets the second home telephone number for the contact.- Returns:
- the home phone2
-
setHomePhone2
Sets the second home telephone number for the contact.- Parameters:
homePhone2- the new home phone2
-
getHomeAddressCity
Gets the city portion of the home address for the contact.- Returns:
- the home address city
-
setHomeAddressCity
Sets the city portion of the home address for the contact.- Parameters:
homeAddressCity- the new home address city
-
getHomeAddressCountry
Gets the country/region portion of the home address for the contact.- Returns:
- the home address country
-
setHomeAddressCountry
Sets the country/region portion of the home address for the contact.- Parameters:
homeAddressCountry- the new home address country
-
getHomeAddressPostalCode
Gets the postal code portion of the home address for the contact.- Returns:
- the home address postal code
-
setHomeAddressPostalCode
Sets the postal code portion of the home address for the contact.- Parameters:
homeAddressPostalCode- the new home address postal code
-
getHomeAddressPostOfficeBox
Gets the post office box number portion of the home address for the contact.- Returns:
- the home address post office box
-
setHomeAddressPostOfficeBox
Sets the post office box number portion of the home address for the contact.- Parameters:
homeAddressPostOfficeBox- the new home address post office box
-
getHomeAddressState
Sets the state portion of the home address for the contact.- Returns:
- the home address state
-
setHomeAddressState
Gets the state portion of the home address for the contact.- Parameters:
homeAddressState- the new home address state
-
getHomeAddressStreet
Gets the street portion of the home address for the contact.- Returns:
- the home address street
-
setHomeAddressStreet
Sets the street portion of the home address for the contact.- Parameters:
homeAddressStreet- the new home address street
-
getHomeFax
Gets the home fax number for the contact.- Returns:
- the home fax
-
setHomeFax
Sets the home fax number for the contact.- Parameters:
homeFax- the new home fax
-
getHomePhone
Gets the first home telephone number for the contact.- Returns:
- the home phone
-
setHomePhone
Sets the first home telephone number for the contact.- Parameters:
homePhone- the new home phone
-
getInitials
Gets the initials for the contact.- Returns:
- the initials
-
setInitials
Sets the initials for the contact.- Parameters:
initials- the new initials
-
getIsdn
Gets the ISDN number for the contact.- Returns:
- the isdn
-
setIsdn
Sets the ISDN number for the contact.- Parameters:
isdn- the new isdn
-
getBusinessAddressCity
Gets the city name portion of the business address for the contact.- Returns:
- the business address city
-
setBusinessAddressCity
Sets the city name portion of the business address for the contact.- Parameters:
businessAddressCity- the new business address city
-
getManagerName
Gets the manager name for the contact.- Returns:
- the manager name
-
setManagerName
Sets the manager name for the contact.- Parameters:
managerName- the new manager name
-
getMiddleName
Gets the middle name for the contact.- Returns:
- the middle name
-
setMiddleName
Sets the middle name for the contact.- Parameters:
middleName- the new middle name
-
getNickname
Gets the nickname for the contact.- Returns:
- the nickname
-
setNickname
Sets the nickname for the contact.- Parameters:
nickname- the new nickname
-
getOfficeLocation
Gets the specific office location for the contact.- Returns:
- the office location
-
setOfficeLocation
Sets the specific office location for the contact.- Parameters:
officeLocation- the new office location
-
getBusinessPhone2
Gets the second business telephone number for the contact.- Returns:
- the business phone2
-
setBusinessPhone2
Sets the second business telephone number for the contact.- Parameters:
businessPhone2- the new business phone2
-
getOtherAddressCity
Gets the city portion of the other address for the contact.- Returns:
- the other address city
-
setOtherAddressCity
Sets the city portion of the other address for the contact.- Parameters:
otherAddressCity- the new other address city
-
getOtherAddressCountry
Gets the country/region portion of the other address for the contact.- Returns:
- the other address country
-
setOtherAddressCountry
Sets the country/region portion of the other address for the contact.- Parameters:
otherAddressCountry- the new other address country
-
getOtherAddressPostalCode
Gets the postal code portion of the other address for the contact.- Returns:
- the other address postal code
-
setOtherAddressPostalCode
Sets the postal code portion of the other address for the contact.- Parameters:
otherAddressPostalCode- the new other address postal code
-
getOtherAddressState
Gets the state portion of the other address for the contact.- Returns:
- the other address state
-
setOtherAddressState
Sets the state portion of the other address for the contact.- Parameters:
otherAddressState- the new other address state
-
getOtherAddressStreet
Gets the street portion of the other address for the contact.- Returns:
- the other address street
-
setOtherAddressStreet
Sets the street portion of the other address for the contact.- Parameters:
otherAddressStreet- the new other address street
-
getOtherPhone
Gets the other telephone number for the contact.- Returns:
- the other phone
-
setOtherPhone
Sets the other telephone number for the contact.- Parameters:
otherPhone- the new other phone
-
getPager
Gets the pager number for the contact.- Returns:
- the pager
-
setPager
Sets the pager number for the contact.- Parameters:
pager- the new pager
-
getPersonalHomePage
Gets the url of the personal Web page for the contact.- Returns:
- the personal home page
-
setPersonalHomePage
Sets the url of the personal Web page for the contact.- Parameters:
personalHomePage- the new personal home page
-
getPostalAddress
Gets the postal address for the contact.- Returns:
- the postal address
-
setPostalAddress
Sets the postal address for the contact.- Parameters:
postalAddress- the new postal address
-
getBusinessAddressPostalCode
Gets the postal code (zip code) portion of the business address for the contact.- Returns:
- the business address postal code
-
setBusinessAddressPostalCode
Sets the postal code (zip code) portion of the business address for the contact.- Parameters:
businessAddressPostalCode- the new business address postal code
-
getBusinessAddressPostOfficeBox
Gets the post office box number portion of the business address for the contact.- Returns:
- the business address post office box
-
setBusinessAddressPostOfficeBox
Sets the post office box number portion of the business address for the contact.- Parameters:
businessAddressPostOfficeBox- the new business address post office box
-
getBusinessAddressState
Gets the state code portion of the business address for the contact.- Returns:
- the business address state
-
setBusinessAddressState
Sets the state code portion of the business address for the contact.- Parameters:
businessAddressState- the new business address state
-
getBusinessAddressStreet
Gets the street address portion of the business address for the contact.- Returns:
- the business address street
-
setBusinessAddressStreet
Sets the street address portion of the business address for the contact.- Parameters:
businessAddressStreet- the new business address street
-
getPrimaryFax
Gets the primary fax number for the contact.- Returns:
- the primary fax
-
setPrimaryFax
Sets the primary fax number for the contact.- Parameters:
primaryFax- the new primary fax
-
getPrimaryPhone
Gets the primary telephone number for the contact.- Returns:
- the primary phone
-
setPrimaryPhone
Sets the primary telephone number for the contact.- Parameters:
primaryPhone- the new primary phone
-
getProfession
Gets the profession for the contact.- Returns:
- the profession
-
setProfession
Gets the profession for the contact.- Parameters:
profession- the new profession
-
getRadioPhone
Gets the radio telephone number for the contact.- Returns:
- the radio phone
-
setRadioPhone
Sets the radio telephone number for the contact.- Parameters:
radioPhone- the new radio phone
-
getSpouseName
Gets the spouse name for the contact.- Returns:
- the spouse name
-
setSpouseName
Sets the spouse name for the contact.- Parameters:
spouseName- the new spouse name
-
getSurname
Gets the last name for the contact.- Returns:
- the surname
-
setSurname
Sets the last name for the contact.- Parameters:
surname- the new surname
-
getTelex
Gets the telex number for the contact.- Returns:
- the telex
-
setTelex
Sets the telex number for the contact.- Parameters:
telex- the new telex
-
getTitle
Gets the title for the contact.- Returns:
- the title
-
setTitle
Sets the title for the contact.- Parameters:
title- the new title
-
getTtyTddPhone
Gets the TTY/TDD telephone number for the contact.- Returns:
- the tty tdd phone
-
setTtyTddPhone
Sets the TTY/TDD telephone number for the contact.- Parameters:
ttyTddPhone- the new tty tdd phone
-
getWeddingAnniversary
Gets the wedding anniversary date for the contact.- Returns:
- the wedding anniversary
-
setWeddingAnniversary
Sets the wedding anniversary date for the contact.- Parameters:
weddingAnniversary- the new wedding anniversary
-
getSelectedMailingAddress
Gets the type of the mailing address for the contact.- Returns:
- the selected mailing address
-
setSelectedMailingAddress
Sets the type of the mailing address for the contact.- Parameters:
selectedMailingAddress- the new selected mailing address
-
getContactHasPicture
public boolean getContactHasPicture()Gets true if the contact has picture, otherwise false.- Returns:
- the contact has picture
-
setContactHasPicture
public void setContactHasPicture(boolean contactHasPicture)Sets true if the contact has picture.- Parameters:
contactHasPicture- the new contact has picture
-
getFileAs
Gets the default keyword string assigned to the contact when it is filed.- Returns:
- the file as
-
setFileAs
Sets the default keyword string assigned to the contact when it is filed.- Parameters:
fileAs- the new file as
-
getInstantMessengerAddress
Gets the instant messenger address for the contact.- Returns:
- the instant messenger address
-
setInstantMessengerAddress
Sets the instant messenger address for the contact.- Parameters:
instantMessengerAddress- the new instant messenger address
-
getInternetFreeBusyAddress
Gets the url location of the user's free-busy information in vCard Free-Busy standard format.- Returns:
- the internet free busy address
-
setInternetFreeBusyAddress
Sets the url location of the user's free-busy information in vCard Free-Busy standard format.- Parameters:
internetFreeBusyAddress- the new internet free busy address
-
getBusinessAddress
Gets the whole, unparsed business address for the contact.- Returns:
- the business address
-
setBusinessAddress
Sets the whole, unparsed business address for the contact.- Parameters:
businessAddress- the new business address
-
getHomeAddress
Gets the whole, unparsed home address for the contact.- Returns:
- the home address
-
setHomeAddress
Sets the whole, unparsed home address for the contact.- Parameters:
homeAddress- the new home address
-
getOtherAddress
Gets the whole, unparsed other address for the contact.- Returns:
- the other address
-
setOtherAddress
Sets the whole, unparsed other address for the contact.- Parameters:
otherAddress- the new other address
-
getEmail1Address
Gets the e-mail address of the first e-mail entry for the contact.- Returns:
- the email1 address
-
setEmail1Address
Sets the e-mail address of the first e-mail entry for the contact.- Parameters:
email1Address- the new email1 address
-
getEmail2Address
Gets the e-mail address of the second e-mail entry for the contact.- Returns:
- the email2 address
-
setEmail2Address
Sets the e-mail address of the second e-mail entry for the contact.- Parameters:
email2Address- the new email2 address
-
getEmail3Address
Gets the e-mail address of the third e-mail entry for the contact.- Returns:
- the email3 address
-
setEmail3Address
Sets the e-mail address of the third e-mail entry for the contact.- Parameters:
email3Address- the new email3 address
-
getEmail1DisplayName
Gets the display name of the first e-mail address for the contact.- Returns:
- the email1 display name
-
setEmail1DisplayName
Sets the display name of the first e-mail address for the contact.- Parameters:
email1DisplayName- the new email1 display name
-
getEmail2DisplayName
Gets the display name of the second e-mail address for the contact.- Returns:
- the email2 display name
-
setEmail2DisplayName
Sets the display name of the second e-mail address for the contact.- Parameters:
email2DisplayName- the new email2 display name
-
getEmail3DisplayName
Gets the display name of the third e-mail address for the contact.- Returns:
- the email3 display name
-
setEmail3DisplayName
Sets the display name of the third e-mail address for the contact.- Parameters:
email3DisplayName- the new email3 display name
-
getEmail1DisplayAs
Gets the display as name of the first e-mail address for the contact.- Returns:
- the email1 display as
-
setEmail1DisplayAs
Sets the display as name of the first e-mail address for the contact.- Parameters:
email1DisplayAs- the new email1 display as
-
getEmail2DisplayAs
Gets the display as name of the second e-mail address for the contact.- Returns:
- the email2 display as
-
setEmail2DisplayAs
Sets the display as name of the second e-mail address for the contact.- Parameters:
email2DisplayAs- the new email2 display as
-
getEmail3DisplayAs
Gets the display as name of the third e-mail address for the contact.- Returns:
- the email3 display as
-
setEmail3DisplayAs
Sets the display as name of the third e-mail address for the contact.- Parameters:
email3DisplayAs- the new email3 display as
-
getEmail1Type
Gets the type of the first e-mail address for the contact.- Returns:
- the email1 type
-
setEmail1Type
Sets the type of the first e-mail address for the contact.- Parameters:
email1Type- the new email1 type
-
getEmail2Type
Gets the type of the second e-mail address for the contact.- Returns:
- the email2 type
-
setEmail2Type
Sets the type of the second e-mail address for the contact.- Parameters:
email2Type- the new email2 type
-
getEmail3Type
Gets the type of the third e-mail address for the contact.- Returns:
- the email3 type
-
setEmail3Type
Sets the type of the third e-mail address for the contact.- Parameters:
email3Type- the new email3 type
-
getEmail1EntryId
public byte[] getEmail1EntryId()Gets the entry ID of the first e-mail address for the contact.- Returns:
- the email1 entry id
-
setEmail1EntryId
public void setEmail1EntryId(byte[] email1EntryId)Sets the entry ID of the first e-mail address for the contact.- Parameters:
email1EntryId- the new email1 entry id
-
getEmail2EntryId
public byte[] getEmail2EntryId()Gets the entry ID of the second e-mail address for the contact.- Returns:
- the email2 entry id
-
setEmail2EntryId
public void setEmail2EntryId(byte[] email2EntryId)Sets the entry ID of the second e-mail address for the contact.- Parameters:
email2EntryId- the new email2 entry id
-
getEmail3EntryId
public byte[] getEmail3EntryId()Gets the entry ID of the third e-mail address for the contact.- Returns:
- the email3 entry id
-
setEmail3EntryId
public void setEmail3EntryId(byte[] email3EntryId)Sets the entry ID of the third e-mail address for the contact.- Parameters:
email3EntryId- the new email3 entry id
-
getRecipients
Gets collection of recipients.- Returns:
- the recipients
-
getAttachments
Gets collection of attachments.- Returns:
- the attachments
-
getExtendedProperties
Gets collection of extended (custom) properties.- Returns:
- the extended properties
-
isEmbedded
public boolean isEmbedded()Gets true if Message is embedded into another message object, otherwise false.- Returns:
- true, if is embedded
-
setEmbedded
public void setEmbedded(boolean isEmbedded)Sets true if Message is embedded into another message object.- Parameters:
isEmbedded- the new embedded
-