|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.exchange.webdav.AbstractItem | +--com.compoze.exchange.webdav.AbstractMessage | +--com.compoze.exchange.webdav.Document
This class extends AbstractMessage
to represent an message that is
a Document in the Exchange store.
The following table contains the properties defined in the Exchange store schema
and mappings to their corresponding Java enumeration and methods:
AbstractMessage
.
Document document = new Document("document.txt", new ByteArrayInputStream (new String ("Here is some document data.").getBytes())); mailFolder.addItem(document);
Constructor Summary | |
Document(java.lang.String sName,
java.io.InputStream srcIs)
Constructor. |
Method Summary | |
void |
addAttachment(Attachment attachment)
Adds an attachement to this message. |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
protected java.lang.String |
createFilename(int iIndex)
Creates a filename for this document. |
java.lang.String |
getApplicationName()
Gets the name of the application. |
java.lang.String |
getAuthor()
Gets the name of document author. |
java.util.LinkedList |
getBccAddresses()
Gets the blind carbon copy (Bcc) addresses. |
java.lang.String |
getBccAddressesString()
Gets the string representation of a list of blind carbon copy (Bcc) addresses. |
com.compoze.util.mail.InternetAddress[] |
getBccRecipients()
Gets internet addresses of recipients set in the "Bcc" (blind carbon copy) field. |
java.lang.String |
getBody()
Gets the body of this message. |
java.lang.String[] |
getCategories()
Gets the list of categories for this document. |
java.util.LinkedList |
getCcAddresses()
Gets the carbon copy (Cc) addresses. |
java.lang.String |
getCcAddressesString()
Gets the string representation of a list of carbon copy (Cc) addresses. |
com.compoze.util.mail.InternetAddress[] |
getCcRecipients()
Gets internet addresses of recipients set in the "Cc" (carbon copy) field. |
int |
getCharacterCount()
Gets the number of characters in this document. |
java.lang.String |
getCheckedX0020By()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getClient()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getComments()
Gets comments for the document. |
java.lang.String |
getCompany()
Gets the company of this document's author. |
java.lang.String[] |
getContactNames()
Gets the names of the contacts associated with this message. |
java.util.Date |
getDateCreated()
Gets the date and time this office document was created. |
java.lang.String |
getDateX0020Completed()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getDepartment()
Gets the author's department. |
java.lang.String |
getDestination()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getDisposition()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getDivision()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getDocumentSubject()
Gets the subject of this document. |
java.lang.String |
getDocumentX0020Number()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getEditor()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getForwardX0020To()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getGroup()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getHeadingPairs()
Gets status property used by Microsoft Office Applications. |
int |
getHiddenSlideCount()
Gets the number of hidden slides in this document. |
java.io.InputStream |
getInputStream()
Gets the input stream of this attachment to download from the Exchange server. |
java.util.List |
getKeywords()
Gets the list of keywords. |
java.lang.String |
getLanguage()
Gets the language the document was written. |
java.lang.String |
getLastAuthor()
Gets the author who last saved the document. |
java.util.Date |
getLastPrinted()
Gets the date and time this document was last printed. |
java.util.Date |
getLastSaved()
Gets the date and time this document was last saved. |
int |
getLineCount()
Gets the number of lines in this document. |
java.lang.String |
getMailStop()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getManager()
Gets the manager of the author of the document. |
java.lang.String |
getMatter()
Gets status property used by Microsoft Office Applications. |
int |
getMultimediaClipCount()
Gets the number of multimedia clips in the document. |
int |
getNoteCount()
Gets the number of notes in the document. |
java.lang.String |
getOffice()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getOwner()
Gets status property used by Microsoft Office Applications. |
int |
getPageCount()
Gets the number of pages in the document. |
int |
getParagraphCount()
Gets the number of paragraphs in this document. |
java.lang.String[] |
getPartTitles()
|
java.lang.String |
getPresentationFormat()
Gets the presentation form for the document. |
java.lang.String |
getProject()
Gets status property used by Microsoft Office Applications. |
static java.util.List |
getProperties()
Gets a list of default properties pertaining to a document. |
java.lang.String |
getPublisher()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getPurpose()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getReceived()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getRecorded()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getRecordedX0020Date()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getReference()
Gets status property used by Microsoft Office Applications. |
int |
getRevision()
Gets the revision number for the document. |
int |
getSecurity()
Gets status property used by Microsoft Office Applications. |
int |
getSlideCount()
Gets the number of slides in this document. |
java.lang.String |
getSource()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getStatus()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getTelephoneX0020Number()
Gets status property used by Microsoft Office Applications. |
java.lang.String |
getTemplate()
Gets the pathname for the template of the document. |
java.lang.String |
getTitle()
Gets status property used by Microsoft Office Applications. |
java.util.LinkedList |
getToAddresses()
Gets the principal (To) addresses. |
java.lang.String |
getToAddressesString()
Gets the string representation of a list of principal (To) addresses. |
com.compoze.util.mail.InternetAddress[] |
getToRecipients()
Gets internet addresses of recipients set in the "To" (principal) field. |
java.lang.String |
getTypist()
Gets status property used by Microsoft Office Applications. |
int |
getVersion()
Gets status property used by Microsoft Office Applications. |
int |
getWordCount()
Gets the number of words in the document. |
boolean |
isLinksUpToDate()
Determines if links are up-to-date. |
boolean |
isScaleCrop()
|
java.util.List |
serverGetAttachments()
Queries the server to get a list of the attachments of this message. |
void |
serverUpdate(boolean bServerRefresh)
Requests the server to update the document of any changed properties. |
void |
setApplicationName(java.lang.String sName)
Sets the name of the application. |
void |
setAuthor(java.lang.String sAuthor)
Sets name of document author. |
void |
setBccAddresses(java.util.List addresses)
Sets the blind carbon copy (Bcc) addresses. |
void |
setBccRecipients(com.compoze.util.mail.InternetAddress[] addressList)
Sets "Bcc" (blind carbon copy) field with recipient's internet addresses. |
void |
setBccRecipients(java.lang.String sAddressList)
Sets "Bcc" (blind carbon copy) field with sequence of recipient's internet addresses. |
void |
setBody(java.lang.String sBody)
Sets the body of this message. |
void |
setCategories(java.util.List categories)
Sets the list of categories for this document. |
void |
setCategories(java.lang.String[] categories)
Sets the list of categories for the document. |
void |
setCcAddresses(java.util.List addresses)
Sets the carbon copy (Cc) addresses. |
void |
setCcRecipients(com.compoze.util.mail.InternetAddress[] addressesList)
Sets "Cc" (carbon copy) field with recipient's internet addresses. |
void |
setCcRecipients(java.lang.String sAddressList)
Sets "Cc" (carbon copy) field with sequence of recipient's internet addresses. |
void |
setCharacterCount(int iCount)
Sets the number of characters in this document. |
void |
setCheckedX0020By(java.lang.String sCheckedX0020By)
Sets status property used by Microsoft Office Applications. |
void |
setClient(java.lang.String sClient)
Sets status property used by Microsoft Office Applications. |
void |
setComments(java.lang.String sComments)
Sets comments for the document. |
void |
setCompany(java.lang.String sCompany)
Sets the company of this document's author. |
void |
setContactNames(java.util.List names)
Sets the names of the contacts associated with this message. |
void |
setContactNames(java.lang.String[] names)
Sets the names of the contacts associated with this message. |
void |
setDateCreated(java.util.Date created)
Sets the date and time this office document was created. |
void |
setDateX0020Completed(java.lang.String sDateX0020Completed)
Sets status property used by Microsoft Office Applications. |
void |
setDepartment(java.lang.String sDepartment)
Sets the author's department. |
void |
setDestination(java.lang.String sDestination)
Sets status property used by Microsoft Office Applications. |
void |
setDisposition(java.lang.String sDisposition)
Sets status property used by Microsoft Office Applications. |
void |
setDivision(java.lang.String sDivision)
Sets status property used by Microsoft Office Applications. |
void |
setDocumentSubject(java.lang.String sSubject)
Sets the subject of this document. |
void |
setDocumentX0020Number(java.lang.String sDocumentX0020Number)
Sets status property used by Microsoft Office Applications. |
void |
setEditor(java.lang.String sEditor)
Sets status property used by Microsoft Office Applications. |
void |
setForwardX0020To(java.lang.String sForwardX0020To)
Sets status property used by Microsoft Office Applications. |
void |
setGroup(java.lang.String sGroup)
Sets status property used by Microsoft Office Applications. |
void |
setHeadingPairs(java.lang.String sHeadingPairs)
Sets status property used by Microsoft Office Applications. |
void |
setHiddenSlideCount(int iCount)
Gets the number of hidden slides in this document. |
void |
setKeywords(java.util.List keywords)
Sets the list of keywords. |
void |
setLanguage(java.lang.String sLanguage)
Sets the language the document was written. |
void |
setLastAuthor(java.lang.String sAuthor)
Sets the author who last saved the document. |
void |
setLastPrinted(java.util.Date lastPrinted)
Sets the date and time this document was last printed. |
void |
setLastSaved(java.util.Date lastSaved)
Sets the date and time this document was last saved. |
void |
setLineCount(int iCount)
Sets the number of lines in this document. |
void |
setLinksUpToDate(boolean bLinksUpToDate)
Sets the link as up-to-date. |
void |
setMailStop(java.lang.String sMailStop)
Sets status property used by Microsoft Office Applications. |
void |
setManager(java.lang.String sManager)
Sets the manager of the author of the document. |
void |
setMatter(java.lang.String sMatter)
Sets status property used by Microsoft Office Applications. |
void |
setMultimediaClipCount(int iCount)
Sets the number of multimedia clips in the document. |
void |
setNoteCount(int iCount)
Sets the number of notes in the document. |
void |
setOffice(java.lang.String sOffice)
Sets status property used by Microsoft Office Applications. |
void |
setOwner(java.lang.String sOwner)
Sets status property used by Microsoft Office Applications. |
void |
setPageCount(int iCount)
Sets the number of pages in this document. |
void |
setParagraphCount(int iCount)
Sets the number of paragraphs in this document. |
void |
setPartTitles(java.util.List partTitles)
|
void |
setPartTitles(java.lang.String[] partTitles)
|
void |
setPresentationFormat(java.lang.String sPresentationFormat)
Sets the presentation form for the document. |
void |
setProject(java.lang.String sProject)
Sets status property used by Microsoft Office Applications. |
void |
setPublisher(java.lang.String sPublisher)
Sets status property used by Microsoft Office Applications. |
void |
setPurpose(java.lang.String sPurpose)
Sets status property used by Microsoft Office Applications. |
void |
setReceived(java.lang.String sReceived)
Sets status property used by Microsoft Office Applications. |
void |
setRecorded(java.lang.String sRecorded)
Sets status property used by Microsoft Office Applications. |
void |
setRecordedX0020Date(java.lang.String sRecordedX0020Date)
Sets status property used by Microsoft Office Applications. |
void |
setReference(java.lang.String sReference)
Sets status property used by Microsoft Office Applications. |
void |
setRevision(int iRevision)
Sets the revision number for the document. |
void |
setScaleCrop(boolean bScaleCrop)
. |
void |
setSecurity(int iSecurity)
Sets status property used by Microsoft Office Applications. |
void |
setSlideCount(int iCount)
Gets the number of slides in this document. |
void |
setSource(java.lang.String sSource)
Sets status property used by Microsoft Office Applications. |
void |
setStatus(java.lang.String sStatus)
Sets status property used by Microsoft Office Applications. |
void |
setTelephoneX0020Number(java.lang.String sTelephoneX0020Number)
Sets status property used by Microsoft Office Applications. |
void |
setTemplate(java.lang.String sTemplate)
Sets the pathname for the template for the document |
void |
setTitle(java.lang.String sTitle)
Sets status property used by Microsoft Office Applications. |
void |
setToAddresses(java.util.List addresses)
Sets the principal (To) addresses. |
void |
setToRecipients(com.compoze.util.mail.InternetAddress[] addressList)
Sets "To" (principal) field with recipient's internet addresses. |
void |
setToRecipients(java.lang.String sAddressList)
Sets "To" (principal) field with sequence of recipient's internet addresses. |
void |
setTypist(java.lang.String sTypist)
Sets status property used by Microsoft Office Applications. |
void |
setVersion(int iVersion)
Sets status property used by Microsoft Office Applications. |
void |
setWordCount(int iWordCount)
Sets the number of words in the document. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class com.compoze.exchange.webdav.AbstractMessage |
equals, getAttachments, getDateReceived, getDefaultProperties, getFrom, getFromAddresses, getFromAddressesString, getFromEmailAddress, getFromName, getImportance, getNormalizedSubject, getSensitivity, getSize, getSubject, getTextDescription, getType, hasAttachment, isRead, serverDeleteAttachment, setDateReceived, setFrom, setFrom, setFromAddress, setFromAddresses, setImportance, setRead, setSensitivity, setSubject, setTextDescription, setType |
Methods inherited from class com.compoze.exchange.webdav.AbstractItem |
copy, copy, copy, createFilename, delete, equals, getComment, getContentClass, getCreationDate, getDateLastModified, getDisplayName, getFile, getHRef, getID, getParentFolder, getPermanentURL, getUID, isFolder, isHidden, isReadOnly, isRoot, move, move, move, serverCopyTo, serverCopyTo, serverCopyTo, serverCopyTo, serverDelete, serverGetParentFolder, serverMoveTo, serverMoveTo, serverMoveTo, serverMoveTo, serverUpdate, setComment, setContentClass, setContentClass, setHidden, setReadOnly, setReleased, setType, setUID, update, update, validate |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Document(java.lang.String sName, java.io.InputStream srcIs) throws java.io.IOException
sName
- name of the document.srcIs
- input stream of the document.Method Detail |
public java.lang.String[] getPartTitles()
OfficeProperty.PART_TITLES
public void setPartTitles(java.util.List partTitles)
OfficeProperty.PART_TITLES
public void setPartTitles(java.lang.String[] partTitles)
OfficeProperty.PART_TITLES
public java.lang.String getAuthor()
OfficeProperty.AUTHOR
public void setAuthor(java.lang.String sAuthor)
sAuthor
- name of authorOfficeProperty.AUTHOR
public java.lang.String[] getCategories()
getCategories
in class AbstractMessage
OfficeProperty.CATEGORY
public void setCategories(java.util.List categories)
setCategories
in class AbstractMessage
categories
- list of categories for the document.OfficeProperty.CATEGORY
public void setCategories(java.lang.String[] categories)
setCategories
in class AbstractMessage
categories
- list of categories for the document.OfficeProperty.CATEGORY
public int getCharacterCount()
OfficeProperty.CHARACTERS
public void setCharacterCount(int iCount)
iCount
- number of characters in the document.OfficeProperty.CHARACTERS
public java.lang.String getCheckedX0020By()
OfficeProperty.CHECKED_X0020_BY
public void setCheckedX0020By(java.lang.String sCheckedX0020By)
sCheckedX0020By
- status propertyOfficeProperty.CHECKED_X0020_BY
public java.lang.String getClient()
OfficeProperty.CLIENT
public void setClient(java.lang.String sClient)
sClient
- status propertyOfficeProperty.CLIENT
public java.lang.String getComments()
OfficeProperty.COMMENTS
public void setComments(java.lang.String sComments)
sComments
- commentsOfficeProperty.COMMENTS
public java.lang.String getCompany()
OfficeProperty.COMPANY
public void setCompany(java.lang.String sCompany)
sCompany
- the company of the document's author.OfficeProperty.COMPANY
public java.util.Date getDateCreated()
OfficeProperty.CREATED
public void setDateCreated(java.util.Date created)
created
- date the document was created.OfficeProperty.CREATED
public java.lang.String getDateX0020Completed()
OfficeProperty.DATE_X0020_COMPLETED
public void setDateX0020Completed(java.lang.String sDateX0020Completed)
sDateX0020Completed
- status propertyOfficeProperty.DATE_X0020_COMPLETED
public java.lang.String getDepartment()
OfficeProperty.DEPARTMENT
public void setDepartment(java.lang.String sDepartment)
sDepartment
- the author's departmentOfficeProperty.DEPARTMENT
public java.lang.String getDestination()
OfficeProperty.DESTINATION
public void setDestination(java.lang.String sDestination)
sDestination
- status propertyOfficeProperty.DESTINATION
public java.lang.String getDisposition()
OfficeProperty.DISPOSITION
public void setDisposition(java.lang.String sDisposition)
sDisposition
- status propertyOfficeProperty.DISPOSITION
public java.lang.String getDivision()
OfficeProperty.DIVISION
public void setDivision(java.lang.String sDivision)
sDivision
- status propertyOfficeProperty.DIVISION
public java.lang.String getDocumentX0020Number()
OfficeProperty.DOCUMENT_X0020_NUMBER
public void setDocumentX0020Number(java.lang.String sDocumentX0020Number)
sDocumentX0020Number
- status propertyOfficeProperty.DOCUMENT_X0020_NUMBER
public java.lang.String getEditor()
OfficeProperty.EDITOR
public void setEditor(java.lang.String sEditor)
sEditor
- status propertyOfficeProperty.EDITOR
public java.lang.String getForwardX0020To()
OfficeProperty.FORWARD_X0020_TO
public void setForwardX0020To(java.lang.String sForwardX0020To)
sForwardX0020To
- status propertyOfficeProperty.FORWARD_X0020_TO
public java.lang.String getGroup()
OfficeProperty.GROUP
public void setGroup(java.lang.String sGroup)
sGroup
- status propertyOfficeProperty.GROUP
public java.lang.String getHeadingPairs()
OfficeProperty.HEADING_PAIRS
public void setHeadingPairs(java.lang.String sHeadingPairs)
sHeadingPairs
- status propertyOfficeProperty.HEADING_PAIRS
public int getHiddenSlideCount()
OfficeProperty.HIDDEN_SLIDES
public void setHiddenSlideCount(int iCount)
iCount
- number of hidden slides in the document.OfficeProperty.HIDDEN_SLIDES
public java.util.List getKeywords()
OfficeProperty.KEYWORDS
public void setKeywords(java.util.List keywords)
keywords
- list of keywordsOfficeProperty.KEYWORDS
public java.lang.String getLanguage()
OfficeProperty.LANGUAGE
public void setLanguage(java.lang.String sLanguage)
sLanguage
- the languageOfficeProperty.LANGUAGE
public java.lang.String getLastAuthor()
OfficeProperty.LAST_AUTHOR
public void setLastAuthor(java.lang.String sAuthor)
sAuthor
- the authorOfficeProperty.LAST_AUTHOR
public java.util.Date getLastPrinted()
OfficeProperty.LAST_PRINTED
public void setLastPrinted(java.util.Date lastPrinted)
lastPrinted
- date and time the document was last printed.OfficeProperty.LAST_PRINTED
public java.util.Date getLastSaved()
OfficeProperty.LAST_SAVED
public void setLastSaved(java.util.Date lastSaved)
lastSaved
- date and time the document was last saved.OfficeProperty.LAST_SAVED
public int getLineCount()
OfficeProperty.LINES
public void setLineCount(int iCount)
iCount
- number of lines in the documentOfficeProperty.LINES
public boolean isLinksUpToDate()
true
if links up-to-date.OfficeProperty.LINKS_UP_TO_DATE
public void setLinksUpToDate(boolean bLinksUpToDate)
bLinksUpToDate
- true
if links up-to-date; false
otherwiseOfficeProperty.LINKS_UP_TO_DATE
public java.lang.String getMailStop()
OfficeProperty.MAILSTOP
public void setMailStop(java.lang.String sMailStop)
sMailStop
- status propertyOfficeProperty.MAILSTOP
public java.lang.String getManager()
OfficeProperty.MANAGER
public void setManager(java.lang.String sManager)
sManager
- the name of the managerOfficeProperty.MANAGER
public java.lang.String getMatter()
OfficeProperty.MATTER
public void setMatter(java.lang.String sMatter)
sMatter
- status propertyOfficeProperty.MATTER
public int getMultimediaClipCount()
OfficeProperty.MULTIMEDIA_CLIPS
public void setMultimediaClipCount(int iCount)
iCount
- number of multimedia clips in the document.OfficeProperty.MULTIMEDIA_CLIPS
public java.lang.String getApplicationName()
OfficeProperty.NAME_OF_APPLICATION
public void setApplicationName(java.lang.String sName)
sName
- name of applicationOfficeProperty.NAME_OF_APPLICATION
public int getNoteCount()
OfficeProperty.NOTES
public void setNoteCount(int iCount)
iCount
- number of notes in the document.OfficeProperty.NOTES
public java.lang.String getOffice()
OfficeProperty.OFFICE
public void setOffice(java.lang.String sOffice)
sOffice
- status propertyOfficeProperty.OFFICE
public java.lang.String getOwner()
OfficeProperty.OWNER
public void setOwner(java.lang.String sOwner)
sOwner
- status propertyOfficeProperty.OWNER
public int getPageCount()
OfficeProperty.PAGES
public void setPageCount(int iCount)
iCount
- number of pages in the document.OfficeProperty.PAGES
public int getParagraphCount()
OfficeProperty.PARAGRAPHS
public void setParagraphCount(int iCount)
iCount
- number of paragraphs in the document.OfficeProperty.PARAGRAPHS
public java.lang.String getPresentationFormat()
OfficeProperty.PRESENTATION_FORMAT
public void setPresentationFormat(java.lang.String sPresentationFormat)
sPresentationFormat
- the presentation formatOfficeProperty.PRESENTATION_FORMAT
public java.lang.String getProject()
OfficeProperty.PROJECT
public void setProject(java.lang.String sProject)
sProject
- status propertyOfficeProperty.PROJECT
public java.lang.String getPublisher()
OfficeProperty.PUBLISHER
public void setPublisher(java.lang.String sPublisher)
sPublisher
- status propertyOfficeProperty.PUBLISHER
public java.lang.String getPurpose()
OfficeProperty.PURPOSE
public void setPurpose(java.lang.String sPurpose)
sPurpose
- status propertyOfficeProperty.PURPOSE
public java.lang.String getReceived()
OfficeProperty.RECEIVED
public void setReceived(java.lang.String sReceived)
sReceived
- status propertyOfficeProperty.RECEIVED
public java.lang.String getRecorded()
OfficeProperty.RECORDED
public void setRecorded(java.lang.String sRecorded)
sRecorded
- status propertyOfficeProperty.RECORDED
public java.lang.String getRecordedX0020Date()
OfficeProperty.RECORDED_X0020_DATE
public void setRecordedX0020Date(java.lang.String sRecordedX0020Date)
sRecordedX0020Date
- status propertyOfficeProperty.RECORDED_X0020_DATE
public java.lang.String getReference()
OfficeProperty.REFERENCE
public void setReference(java.lang.String sReference)
sReference
- status propertyOfficeProperty.REFERENCE
public int getRevision()
OfficeProperty.REVISION
public void setRevision(int iRevision)
iRevision
- the revision numberOfficeProperty.REVISION
public boolean isScaleCrop()
OfficeProperty.SCALE_CROP
public void setScaleCrop(boolean bScaleCrop)
OfficeProperty.SCALE_CROP
public int getSecurity()
OfficeProperty.SECURITY
public void setSecurity(int iSecurity)
iSecurity
- status propertyOfficeProperty.SECURITY
public int getSlideCount()
OfficeProperty.SLIDES
public void setSlideCount(int iCount)
iCount
- number of slides in the document.OfficeProperty.SLIDES
public java.lang.String getSource()
OfficeProperty.SOURCE
public void setSource(java.lang.String sSource)
sSource
- status propertyOfficeProperty.SOURCE
public java.lang.String getStatus()
OfficeProperty.STATUS
public void setStatus(java.lang.String sStatus)
sStatus
- status propertyOfficeProperty.STATUS
public java.lang.String getDocumentSubject()
AbstractMessage.getSubject()
,
for a document, is used for display purposes.OfficeProperty.SUBJECT
public void setDocumentSubject(java.lang.String sSubject)
AbstractMessage.setSubject(String)
,
for a document, is used for display purposes.sSubject
- the subject of the documentOfficeProperty.SUBJECT
public java.lang.String getTelephoneX0020Number()
OfficeProperty.TELEPHONE_X0020_NUMBER
public void setTelephoneX0020Number(java.lang.String sTelephoneX0020Number)
sTelephoneX0020Number
- status propertyOfficeProperty.TELEPHONE_X0020_NUMBER
public java.lang.String getTemplate()
OfficeProperty.TEMPLATE
public void setTemplate(java.lang.String sTemplate)
sTemplate
- the template pathnameOfficeProperty.TEMPLATE
public java.lang.String getTitle()
OfficeProperty.TITLE
public void setTitle(java.lang.String sTitle)
sTitle
- status propertyOfficeProperty.TITLE
public java.lang.String getTypist()
OfficeProperty.TYPIST
public void setTypist(java.lang.String sTypist)
sTypist
- status propertyOfficeProperty.TYPIST
public int getVersion()
OfficeProperty.VERSION
public void setVersion(int iVersion)
iVersion
- status propertyOfficeProperty.VERSION
public int getWordCount()
OfficeProperty.WORDS
public void setWordCount(int iWordCount)
iWordCount
- the number of wordsOfficeProperty.WORDS
public java.lang.String getBody()
AbstractMessage
getBody
in class AbstractMessage
UnsupportedOperationException
- if the getBody
operation
is not supported by this document.public void setBody(java.lang.String sBody)
AbstractMessage
setBody
in class AbstractMessage
UnsupportedOperationException
- if the setBody
operation
is not supported by this document.public java.lang.String[] getContactNames()
AbstractMessage
getContactNames
in class AbstractMessage
UnsupportedOperationException
- if the getContactNames
operation
is not supported by this document.public void setContactNames(java.util.List names)
AbstractMessage
setContactNames
in class AbstractMessage
UnsupportedOperationException
- if the setContactNames
operation
is not supported by this document.public void setContactNames(java.lang.String[] names)
AbstractMessage
setContactNames
in class AbstractMessage
UnsupportedOperationException
- if the setContactNames
operation
is not supported by this document.public java.lang.String getToAddressesString()
AbstractMessage
getToAddressesString
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public java.util.LinkedList getToAddresses()
AbstractMessage
getToAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public void setToAddresses(java.util.List addresses)
AbstractMessage
setToAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public com.compoze.util.mail.InternetAddress[] getToRecipients() throws com.compoze.util.mail.AddressException
getToRecipients
in class AbstractMessage
InternetAddress
objects; or null
if not setcom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.TO
public void setToRecipients(java.lang.String sAddressList) throws com.compoze.util.mail.AddressException
setToRecipients
in class AbstractMessage
sAddressList
- sequence of internet addressescom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.TO
public void setToRecipients(com.compoze.util.mail.InternetAddress[] addressList)
setToRecipients
in class AbstractMessage
addressList
- array of InternetAddress
objectsUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.TO
public java.lang.String getCcAddressesString()
AbstractMessage
getCcAddressesString
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public java.util.LinkedList getCcAddresses()
AbstractMessage
getCcAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public void setCcAddresses(java.util.List addresses)
AbstractMessage
setCcAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public com.compoze.util.mail.InternetAddress[] getCcRecipients() throws com.compoze.util.mail.AddressException
getCcRecipients
in class AbstractMessage
InternetAddress
objects; or null
if not setcom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.CC
public void setCcRecipients(java.lang.String sAddressList) throws com.compoze.util.mail.AddressException
setCcRecipients
in class AbstractMessage
sAddressList
- sequence of internet addressescom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.CC
public void setCcRecipients(com.compoze.util.mail.InternetAddress[] addressesList)
setCcRecipients
in class AbstractMessage
addressesList
- array of InternetAddress
objectsUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.CC
public java.lang.String getBccAddressesString()
AbstractMessage
getBccAddressesString
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public java.util.LinkedList getBccAddresses()
AbstractMessage
getBccAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public void setBccAddresses(java.util.List addresses)
AbstractMessage
setBccAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public com.compoze.util.mail.InternetAddress[] getBccRecipients() throws com.compoze.util.mail.AddressException
getBccRecipients
in class AbstractMessage
InternetAddress
objects; or null
if not setcom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.BCC
public void setBccRecipients(java.lang.String sAddressList) throws com.compoze.util.mail.AddressException
setBccRecipients
in class AbstractMessage
sAddressList
- sequence of internet addressescom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.BCC
public void setBccRecipients(com.compoze.util.mail.InternetAddress[] addressList)
setBccRecipients
in class AbstractMessage
addressList
- array of InternetAddress
objectsUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.BCC
public void addAttachment(Attachment attachment) throws ExchangeException
AbstractMessage
addAttachment
in class AbstractMessage
UnsupportedOperationException
- if the addAttachment
operation
is not supported by this document.public java.util.List serverGetAttachments() throws ExchangeException
AbstractMessage
hasAttachment()
first to determine if this message has attachments.serverGetAttachments
in class AbstractMessage
UnsupportedOperationException
- if the getAttachments
operation
is not supported by this document.public java.io.InputStream getInputStream() throws ExchangeException
public void serverUpdate(boolean bServerRefresh) throws ExchangeException
If the document does not exist in the Exchange store, it is created, else the existing document is updated.
An AttachmentException
is thrown if any conflicts occur attaching
(uploading) files to the document. The exception will state what files failed
to attach. The document is still updated and can be sent, but will exclude
the failed attachments.
serverUpdate
in class AbstractMessage
bServerRefresh
- true
requests the server to refresh
the propertiesAttachmentException
- if any files failed to attached to this document.ExchangeException
- if a problem occurred while connecting to or interaction with Exchange ServerExchangeRuntimeException
- if this object has been released and can no longer be usedprotected java.lang.String createFilename(int iIndex)
createFilename
in class AbstractMessage
iIndex
- the index to appendAbstractItem.createFilename(int)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractMessage
java.lang.CloneNotSupportedException
- if the object's class does not support the Cloneable interface.public java.lang.String toString()
toString
in class AbstractMessage
public static java.util.List getProperties()
AbstractMessage.getProperties()
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |