|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.moyosoft.connector.ms.outlook.item.OutlookItem
Base class for any Outlook item, like a mail, contact or appointment.
Constructor Summary | |
OutlookItem()
|
|
OutlookItem(com.moyosoft.connector.com.Dispatch dispatch)
|
Method Summary | |
OutlookItem |
copy()
Make a copy of this item. |
static OutlookItem |
create(com.moyosoft.connector.com.Dispatch dispatch)
|
void |
delete()
Delete this item. |
void |
deleteMapiProperty(byte[] guid,
int propertyId)
Deletes this item's MAPI property corresponding to the specified GUID and property ID. |
void |
deleteMapiProperty(int propertyTag)
Deletes this item's MAPI property corresponding to the specified property tag. |
void |
display()
Display this item in an Outlook window |
void |
display(boolean modal)
Display this item in an Outlook window |
void |
dispose()
|
boolean |
equals(java.lang.Object o)
Two items are equals if they have the same ID (getItemId). |
java.util.Date |
getCreationTime()
|
com.moyosoft.connector.com.Dispatch |
getDispatch()
|
java.lang.String |
getEntryId()
|
OutlookItemID |
getItemId()
Return an unique identifier of this item. |
java.util.Date |
getLastModificationTime()
|
LinksCollection |
getLinks()
Returns a collection of OutlookLink objects |
java.lang.Object |
getMapiProperty(byte[] guid,
int propertyId)
Returns the value of this item's MAPI property corresponding to the specified GUID and property ID. |
java.lang.Object |
getMapiProperty(int propertyTag)
Returns the value of this item's MAPI property corresponding to the specified property tag. |
OutlookFolder |
getParentFolder()
|
PropertyAccessor |
getPropertyAccessor()
Returns the PropertyAccessor object for this item. |
abstract OutlookItemType |
getType()
|
OutlookItem |
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(java.io.File file)
Save this item to the specified file. |
void |
saveAs(java.io.File file,
SaveAsType type)
Save this item to the specified file in the specified format. |
void |
saveAs(java.lang.String path)
Deprecated. Please use the method saveAs(java.io.File) instead. |
void |
saveAs(java.lang.String path,
SaveAsType type)
Deprecated. Please use the method saveAs(java.io.File, SaveAsType) instead. |
void |
setMapiProperty(byte[] guid,
int propertyId,
java.lang.Object value)
Sets the value of this item's MAPI property corresponding to the specified GUID and property ID. |
void |
setMapiProperty(int propertyTag,
java.lang.Object value)
Sets the value of this item's MAPI property corresponding to the specified property tag. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OutlookItem()
public OutlookItem(com.moyosoft.connector.com.Dispatch dispatch)
Method Detail |
public static OutlookItem create(com.moyosoft.connector.com.Dispatch dispatch)
public com.moyosoft.connector.com.Dispatch getDispatch()
public void dispose()
public abstract OutlookItemType getType()
public OutlookItemID getItemId() throws com.moyosoft.connector.com.ComponentObjectModelException
com.moyosoft.connector.com.ComponentObjectModelException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
-
public java.util.Date getCreationTime()
public java.lang.String getEntryId()
public java.util.Date getLastModificationTime()
public void delete()
com.moyosoft.connector.com.ComponentObjectModelException
public void display()
com.moyosoft.connector.com.ComponentObjectModelException
- if any COM error occurspublic void display(boolean modal)
modal
- if true the window will be modal
com.moyosoft.connector.com.ComponentObjectModelException
- if any COM error occurspublic OutlookItem copy()
com.moyosoft.connector.com.ComponentObjectModelException
public OutlookItem move(OutlookFolder destinationFolder)
destinationFolder
- folder where to move this item
com.moyosoft.connector.com.ComponentObjectModelException
public void save()
com.moyosoft.connector.com.ComponentObjectModelException
public void saveAs(java.lang.String path)
com.moyosoft.connector.com.ComponentObjectModelException
public void saveAs(java.io.File file)
com.moyosoft.connector.com.ComponentObjectModelException
public void saveAs(java.lang.String path, SaveAsType type)
com.moyosoft.connector.com.ComponentObjectModelException
- if the operation failed.public void saveAs(java.io.File file, SaveAsType type)
com.moyosoft.connector.com.ComponentObjectModelException
- if the operation failed.public LinksCollection getLinks() throws com.moyosoft.connector.com.ComponentObjectModelException
com.moyosoft.connector.com.ComponentObjectModelException
public OutlookFolder getParentFolder()
public void printOut()
com.moyosoft.connector.com.ComponentObjectModelException
public java.lang.Object getMapiProperty(byte[] guid, int propertyId)
public java.lang.Object getMapiProperty(int propertyTag)
public void setMapiProperty(byte[] guid, int propertyId, java.lang.Object value)
public void setMapiProperty(int propertyTag, java.lang.Object value)
public void deleteMapiProperty(int propertyTag)
public void deleteMapiProperty(byte[] guid, int propertyId)
public PropertyAccessor getPropertyAccessor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |