com.aspose.network.outlook
Class MapiContact

java.lang.Object
  extended by com.aspose.network.outlook.MapiContact
All Implemented Interfaces:
IMapiMessageItem

public final class MapiContact
extends Object
implements IMapiMessageItem

Represents outlook contact information


Method Summary
 String getBody()
          Gets message body
 MapiContactElectronicAddressPropertySet getElectronicAddresses()
          Specify properties for up to three different e-mail addresses and three different fax addresses
 MapiContactEventPropertySet getEvents()
          Specify events associated with a contact
 String getMessageClass()
          Gets message class
 MapiContactNamePropertySet getNameInfo()
          The properties are used to specify the name of the person represented by the contact
 MapiContactPersonalInfoPropertySet getPersonalInfo()
          Specify other additional contact information
 MapiContactPhysicalAddressPropertySet getPhysicalAddresses()
          Specify three physical addresses: Home Address, Work Address, and Other Address.
 MapiContactProfessionalPropertySet getProfessionalInfo()
          Properties are used to store professional details for the person represented by the contact
 String getSubject()
          Gets message subject
 MapiContactTelephonePropertySet getTelephones()
          Specify telephone numbers for the contact
 MapiMessage getUnderlyingMessage()
          Get the MapiMessage that represent contact
static MapiContact load(InputStream stream)
          Deprecated. 
static MapiContact load(MapiMessage message)
          Deprecated. 
static MapiContact load(String fileName)
          Deprecated. 
 void setElectronicAddresses(MapiContactElectronicAddressPropertySet value)
           
 void setEvents(MapiContactEventPropertySet value)
           
 void setNameInfo(MapiContactNamePropertySet value)
           
 void setPersonalInfo(MapiContactPersonalInfoPropertySet value)
           
 void setPhysicalAddresses(MapiContactPhysicalAddressPropertySet value)
           
 void setProfessionalInfo(MapiContactProfessionalPropertySet value)
           
 void setTelephones(MapiContactTelephonePropertySet value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

load

@Deprecated
public static MapiContact load(MapiMessage message)
Deprecated. 

Load contact information from MapiMessage

Throws:
IllegalStateException - Message сlass does not meet IPM.Contact

load

@Deprecated
public static MapiContact load(String fileName)
                        throws Exception
Deprecated. 

Load contact information from .msg file

Throws:
Exception

load

@Deprecated
public static MapiContact load(InputStream stream)
                        throws Exception
Deprecated. 

Load contact information from stream

Throws:
Exception

getUnderlyingMessage

public MapiMessage getUnderlyingMessage()
Get the MapiMessage that represent contact


getNameInfo

public MapiContactNamePropertySet getNameInfo()
The properties are used to specify the name of the person represented by the contact


setNameInfo

public void setNameInfo(MapiContactNamePropertySet value)

getPersonalInfo

public MapiContactPersonalInfoPropertySet getPersonalInfo()
Specify other additional contact information


setPersonalInfo

public void setPersonalInfo(MapiContactPersonalInfoPropertySet value)

getProfessionalInfo

public MapiContactProfessionalPropertySet getProfessionalInfo()
Properties are used to store professional details for the person represented by the contact


setProfessionalInfo

public void setProfessionalInfo(MapiContactProfessionalPropertySet value)

getTelephones

public MapiContactTelephonePropertySet getTelephones()
Specify telephone numbers for the contact


setTelephones

public void setTelephones(MapiContactTelephonePropertySet value)

getElectronicAddresses

public MapiContactElectronicAddressPropertySet getElectronicAddresses()
Specify properties for up to three different e-mail addresses and three different fax addresses


setElectronicAddresses

public void setElectronicAddresses(MapiContactElectronicAddressPropertySet value)

getPhysicalAddresses

public MapiContactPhysicalAddressPropertySet getPhysicalAddresses()
Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address


setPhysicalAddresses

public void setPhysicalAddresses(MapiContactPhysicalAddressPropertySet value)

getEvents

public MapiContactEventPropertySet getEvents()
Specify events associated with a contact


setEvents

public void setEvents(MapiContactEventPropertySet value)

getMessageClass

public String getMessageClass()
Description copied from interface: IMapiMessageItem
Gets message class

Specified by:
getMessageClass in interface IMapiMessageItem

getBody

public String getBody()
Description copied from interface: IMapiMessageItem
Gets message body

Specified by:
getBody in interface IMapiMessageItem

getSubject

public String getSubject()
Description copied from interface: IMapiMessageItem
Gets message subject

Specified by:
getSubject in interface IMapiMessageItem

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Aspose. All Rights Reserved.