|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.domino.AbstractItem | +--com.compoze.domino.AbstractDocument | +--com.compoze.domino.AddressEntry | +--com.compoze.domino.AddressBookEntry
This class is a Domino address book entry. Address book entry instances are obtained
from the AddressBook
class. Methods that access properites on the class require that the
properties were loaded beforehand, when the address book entry was initially retrieved.
Any methods in this class that begin with the string server
make a query to the server.
Field Summary | |
static PropertyKey[] |
ALL_PROPS
Contains an array of all of the properties available on a address book entry. |
Fields inherited from class com.compoze.domino.AbstractItem |
m_props, m_session |
Method Summary | |
java.lang.String |
getAddress()
Gets the address of the address book entry. |
AttachmentInfo |
getAttachmentInfo(int iIndex)
You cannot retrieve attachment info from address book entries. |
AttachmentInfo[] |
getAttachmentInfoArray()
You cannot retrieve attachment info from address book entries. |
java.lang.String |
getDisplayName()
Gets the display name of the address book entry. |
java.lang.String |
getEmailAddress()
Gets the email address of the address book entry. |
java.lang.String |
getFirstName()
Gets the first name of the address book entry. |
java.lang.String |
getFullName()
Gets the full name of the address book entry. |
java.lang.String |
getLastName()
Gets the last name of the address book entry. |
java.lang.String |
getMiddleInitial()
Gets the middle initial of the address book entry. |
java.lang.String |
getSuffix()
Gets the suffix of the address book entry, for example 'Jr', 'Sr', 'III'. |
java.lang.String |
getTitle()
Gets the title of the address book entry. |
void |
serverAddAttachment(java.lang.String sName,
javax.activation.DataHandler handler)
You cannot add attachments to address book entries. |
void |
serverDeleteAttachment(int iIndex)
You cannot delete attachments from address book entries. |
void |
serverUpdate()
Address book entries cannot be updated. |
Methods inherited from class com.compoze.domino.AbstractDocument |
getAttachmentCount, getDateCreated, getDateCreatedString, getDateModified, getDateModifiedString, getDocumentType, getEmbeddedImageCount, getEmbeddedImageInfo, getEmbeddedImageInfoArray, getID, getParentID, getSize, getSizeInKilos, hasAttachment, serverCopyTo, serverMoveTo |
Methods inherited from class com.compoze.domino.AbstractItem |
get, getBoolean, getDate, getDateArray, getDouble, getInt, getPropertyKeys, getString, getStringArray, getUpdatedPropertyValues, set, setBoolean, setDate, setDouble, setInt, setString, setStringArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final PropertyKey[] ALL_PROPS
Method Detail |
public java.lang.String getMiddleInitial() throws DominoException
PropertyKey.MIDDLE_INITIAL
public java.lang.String getSuffix() throws DominoException
PropertyKey.SUFFIX
,
Suffix
public java.lang.String getTitle() throws DominoException
PropertyKey.TITLE
,
Title
public java.lang.String getDisplayName() throws DominoException
getDisplayName
in class AddressEntry
PropertyKey.FIRST_NAME
,
PropertyKey.LAST_NAME
,
PropertyKey.MIDDLE_INITIAL
,
PropertyKey.FULL_NAME
,
PropertyKey.TITLE
,
PropertyKey.SUFFIX
public java.lang.String getFullName() throws DominoException
PropertyKey.FULL_NAME
public java.lang.String getLastName() throws DominoException
PropertyKey.LAST_NAME
public java.lang.String getFirstName() throws DominoException
PropertyKey.FIRST_NAME
public java.lang.String getAddress() throws DominoException
getAddress
in class AddressEntry
PropertyKey.FULL_NAME
public java.lang.String getEmailAddress() throws DominoException
PropertyKey.INTERNET_ADDRESS
public AttachmentInfo getAttachmentInfo(int iIndex) throws DominoException
UnsupportedOperationException
.getAttachmentInfo
in class AbstractDocument
com.compoze.domino.AbstractDocument
iIndex
- the attachment indexnull
if attachment index does not existPropertyKey.ATTACHMENT_INFO
public AttachmentInfo[] getAttachmentInfoArray() throws DominoException
UnsupportedOperationException
.getAttachmentInfoArray
in class AbstractDocument
com.compoze.domino.AbstractDocument
PropertyKey.ATTACHMENT_INFO
public void serverAddAttachment(java.lang.String sName, javax.activation.DataHandler handler) throws DominoException
UnsupportedOperationException
.serverAddAttachment
in class AbstractDocument
com.compoze.domino.AbstractDocument
sName
- the name of the attachmenthandler
- a handler that can supply the attachment dataDominoException
- an error occurs while connecting to the
Compoze Domino Service. An AttachmentSizeLimitException
is thrown if the attachment exceeds the
attachment setting limit in the Compoze Domino Service. Use instanceof
to determine if this exception is thrown.public void serverDeleteAttachment(int iIndex) throws DominoException
UnsupportedOperationException
.serverDeleteAttachment
in class AbstractDocument
com.compoze.domino.AbstractDocument
iIndex
- the index of the attachment to deletepublic void serverUpdate() throws DominoException
serverUpdate
in class AbstractDocument
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |