com.moyosoft.connector.ms.outlook.note
Class OutlookNote

java.lang.Object
  |
  +--com.moyosoft.connector.ms.outlook.item.OutlookItem
        |
        +--com.moyosoft.connector.ms.outlook.note.OutlookNote

public class OutlookNote
extends OutlookItem


Constructor Summary
OutlookNote(com.moyosoft.connector.com.Dispatch dispatch)
           
OutlookNote(Outlook outlookApplication)
          Creates a new note in the default notes folder
OutlookNote(OutlookFolder folder)
          Creates a new note in the specified folder
 
Method Summary
 void close(InspectorClose saveMode)
           
 java.lang.String getBody()
           
 java.lang.String getCategories()
           
 NoteColor getColor()
           
 ConflictsCollection getConflicts()
           
 DownloadState getDownloadState()
           
 int getHeight()
           
 Inspector getInspector()
           
 ItemPropertiesCollection getItemProperties()
           
 int getLeft()
           
 RemoteStatus getMarkForDownload()
           
 java.lang.String getMessageClass()
           
 int getSize()
           
 java.lang.String getSubject()
           
 int getTop()
           
 OutlookItemType getType()
           
 int getWidth()
           
 boolean isAutoResolvedWinner()
          The 'AutoResolvedWinner' property is only supported by Outlook 2003 or higher.
 boolean isConflict()
           
 boolean isSaved()
           
 void setBody(java.lang.String value)
           
 void setCategories(java.lang.String value)
           
 void setColor(NoteColor value)
           
 void setHeight(int value)
           
 void setLeft(int value)
           
 void setMarkForDownload(RemoteStatus value)
           
 void setMessageClass(java.lang.String value)
           
 void setTop(int value)
           
 void setWidth(int value)
           
 
Methods inherited from class com.moyosoft.connector.ms.outlook.item.OutlookItem
copy, create, delete, deleteMapiProperty, deleteMapiProperty, display, display, dispose, equals, getCreationTime, getDispatch, getEntryId, getItemId, getLastModificationTime, getLinks, getMapiProperty, getMapiProperty, getParentFolder, getPropertyAccessor, move, printOut, save, saveAs, saveAs, saveAs, saveAs, setMapiProperty, setMapiProperty
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutlookNote

public OutlookNote(OutlookFolder folder)
            throws com.moyosoft.connector.com.ComponentObjectModelException
Creates a new note in the specified folder

Parameters:
folder - the folder where the new note will be created
Throws:
com.moyosoft.connector.com.ComponentObjectModelException - if a COM error occurs.

OutlookNote

public OutlookNote(Outlook outlookApplication)
            throws com.moyosoft.connector.com.ComponentObjectModelException
Creates a new note in the default notes folder

Parameters:
outlookApplication - the Outlook application's object
Throws:
com.moyosoft.connector.com.ComponentObjectModelException - if a COM error occurs.

OutlookNote

public OutlookNote(com.moyosoft.connector.com.Dispatch dispatch)
Method Detail

getType

public OutlookItemType getType()
Specified by:
getType in class OutlookItem

getBody

public java.lang.String getBody()

setBody

public void setBody(java.lang.String value)

getCategories

public java.lang.String getCategories()

setCategories

public void setCategories(java.lang.String value)

getColor

public NoteColor getColor()

setColor

public void setColor(NoteColor value)

getInspector

public Inspector getInspector()

getHeight

public int getHeight()

setHeight

public void setHeight(int value)

getLeft

public int getLeft()

setLeft

public void setLeft(int value)

getMessageClass

public java.lang.String getMessageClass()

setMessageClass

public void setMessageClass(java.lang.String value)

isSaved

public boolean isSaved()

getSize

public int getSize()

getSubject

public java.lang.String getSubject()

getTop

public int getTop()

setTop

public void setTop(int value)

getWidth

public int getWidth()

setWidth

public void setWidth(int value)

close

public void close(InspectorClose saveMode)

getDownloadState

public DownloadState getDownloadState()

getItemProperties

public ItemPropertiesCollection getItemProperties()

getMarkForDownload

public RemoteStatus getMarkForDownload()

setMarkForDownload

public void setMarkForDownload(RemoteStatus value)

isConflict

public boolean isConflict()

isAutoResolvedWinner

public boolean isAutoResolvedWinner()
The 'AutoResolvedWinner' property is only supported by Outlook 2003 or higher. With other versions this method will throw a ComponentObjectModelException.


getConflicts

public ConflictsCollection getConflicts()