Moyosoft Products | Services | Download | Contact us    
Java Outlook Connector
Products  >  Java Outlook Connector  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

Class OutlookItem

java.lang.Object
  └ com.moyosoft.connector.ms.outlook.item.OutlookItem

Direct Known Subclasses:

public abstract class OutlookItem

Base class for any Outlook item, like a mail, contact or appointment.

Constructors

public
OutlookItem ()
public
OutlookItem (com.moyosoft.connector.com.Dispatch dispatch)

Methods

copy ()
Make a copy of this item.
create (com.moyosoft.connector.com.Dispatch dispatch)
void
delete ()
Delete this item.
void
deleteMapiProperty (int propertyTag)
Deletes this item's MAPI property corresponding to the specified property tag. This method is only available in the Professional edition of Java Outlook Connector.
void
deleteMapiProperty (byte guid, int propertyId)
Deletes this item's MAPI property corresponding to the specified GUID and property ID. This method is only available in the Professional edition of Java Outlook Connector.
void
display ()
Display this item in an Outlook window
void
display (boolean modal)
Display this item in an Outlook window
void
dispose ()
boolean
equals (Object o)
Two items are equals if they have the same ID (getItemId).
java.util.Date
getCreationTime ()
...t.connector.com.Dispatch
getDispatch ()
String
getEntryId ()
getItemId ()
Return an unique identifier of this item.
java.util.Date
getLastModificationTime ()
getLinks ()
Returns a collection of OutlookLink objects
Object
getMapiProperty (byte guid, int propertyId)
Returns the value of this item's MAPI property corresponding to the specified GUID and property ID. Returns null if the property doesn't exist. This method is only available in the Professional edition of Java Outlook Connector.
Object
getMapiProperty (int propertyTag)
Returns the value of this item's MAPI property corresponding to the specified property tag. Returns null if the property doesn't exist. This method is only available in the Professional edition of Java Outlook Connector.
getParentFolder ()
getPropertyAccessor ()
Returns the PropertyAccessor object for this item. The PropertyAccessor handles direct access to this item's properties. Only Outlook 2007 or later supports the PropertyAccessor. With older Outlook versions, this method returns null. This method is only available in the Professional edit ... more >
getType ()
move (OutlookFolder destinationFolder)
Move this item to the specified folder.
void
printOut ()
Prints the item to the default printer
void
save ()
Save the changes performed on this item.
void
saveAs (String path)
Deprecated - Please use the method saveAs(java.io.File) instead. Save this item to the specified file path.
void
saveAs (java.io.File file)
Save this item to the specified file.
void
saveAs (String path, SaveAsType type)
Deprecated - Please use the method saveAs(java.io.File, SaveAsType) instead. Save this item to the specified file path in the specified format.
void
saveAs (java.io.File file, SaveAsType type)
Save this item to the specified file in the specified format.
void
setMapiProperty (byte guid, int propertyId, Object value)
Sets the value of this item's MAPI property corresponding to the specified GUID and property ID. This method is only available in the Professional edition of Java Outlook Connector.
void
setMapiProperty (int propertyTag, Object value)
Sets the value of this item's MAPI property corresponding to the specified property tag. This method is only available in the Professional edition of Java Outlook Connector.

Community comments



Powered by JavaDocPlus