|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.domino.AbstractItem
com.compoze.domino.AbstractDocument
com.compoze.domino.AddressEntry
com.compoze.domino.AddressBookEntry
public class 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. |
java.lang.String |
getAssistant()
Gets the assistant 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 |
getChildren()
Gets the children of the address book entry. |
java.lang.String |
getCompanyName()
Gets the company name of the address book entry. |
java.lang.String |
getDepartment()
Gets the department of the address book entry. |
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 |
getEmployeeID()
Gets the employee ID of the address book entry. |
java.lang.String |
getFirstName()
Gets the first name of the address book entry. |
FreeBusy |
getFreeBusy()
Gets the free/busy information. |
java.lang.String |
getFullName()
Gets the full name of the address book entry. |
java.lang.String |
getHomeCity()
Gets the home city of the address book entry. |
java.lang.String |
getHomeCountry()
Gets the home country of the address book entry. |
java.lang.String |
getHomeFaxPhoneNumber()
Gets the home fax phone number of the address book entry. |
java.lang.String |
getHomePhoneNumber()
Gets the home phone number of the address book entry. |
java.lang.String |
getHomeState()
Gets the home state of the address book entry. |
java.lang.String |
getHomeStreetAddress()
Gets the home street address of the address book entry. |
java.lang.String |
getHomeZip()
Gets the home zip of the address book entry. |
java.lang.String |
getJobTitle()
Gets the job title of the address book entry. |
java.lang.String |
getLastName()
Gets the last name of the address book entry. |
java.lang.String |
getLocation()
Gets the location of the address book entry. |
java.lang.String |
getMiddleInitial()
Gets the middle initial of the address book entry. |
java.lang.String |
getOfficeCity()
Gets the office city of the address book entry. |
java.lang.String |
getOfficeCountry()
Gets the office country of the address book entry. |
java.lang.String |
getOfficeFaxPhoneNumber()
Gets the office fax phone number of the address book entry. |
java.lang.String |
getOfficeNumber()
Gets the office number of the address book entry. |
java.lang.String |
getOfficePhoneNumber()
Gets the office phone number of the address book entry. |
java.lang.String |
getOfficeState()
Gets the office state of the address book entry. |
java.lang.String |
getOfficeStreetAddress()
Gets the office street address of the address book entry. |
java.lang.String |
getOfficeZip()
Gets the office zip of the address book entry. |
java.lang.String |
getPager()
Gets the pager 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,
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
DominoException
PropertyKey.MIDDLE_INITIAL
public java.lang.String getSuffix() throws DominoException
DominoException
PropertyKey.SUFFIX
,
Suffix
public java.lang.String getTitle() throws DominoException
DominoException
PropertyKey.TITLE
,
Title
public java.lang.String getDisplayName() throws DominoException
getDisplayName
in class AddressEntry
DominoException
PropertyKey.FIRST_NAME
,
PropertyKey.LAST_NAME
,
PropertyKey.MIDDLE_INITIAL
,
PropertyKey.FULL_NAME
,
PropertyKey.TITLE
,
PropertyKey.SUFFIX
public java.lang.String getFullName() throws DominoException
DominoException
PropertyKey.FULL_NAME
public java.lang.String getLastName() throws DominoException
DominoException
PropertyKey.LAST_NAME
public java.lang.String getFirstName() throws DominoException
DominoException
PropertyKey.FIRST_NAME
public java.lang.String getAddress() throws DominoException
getAddress
in class AddressEntry
DominoException
PropertyKey.FULL_NAME
public java.lang.String getEmailAddress() throws DominoException
DominoException
PropertyKey.INTERNET_ADDRESS
public FreeBusy getFreeBusy() throws DominoException
DominoException
PropertyKey.FREE_BUSY
public java.lang.String getAssistant() throws DominoException
DominoException
PropertyKey.ASSISTANT
public java.lang.String getChildren() throws DominoException
DominoException
PropertyKey.CHILDREN
public java.lang.String getCompanyName() throws DominoException
DominoException
PropertyKey.COMPANY_NAME
public java.lang.String getDepartment() throws DominoException
DominoException
PropertyKey.DEPARTMENT
public java.lang.String getLocation() throws DominoException
DominoException
PropertyKey.LOCATION
public java.lang.String getJobTitle() throws DominoException
DominoException
PropertyKey.JOB_TITLE
public java.lang.String getEmployeeID() throws DominoException
DominoException
PropertyKey.EMPLOYEE_ID
public java.lang.String getOfficeStreetAddress() throws DominoException
DominoException
PropertyKey.OFFICE_STREET_ADDRESS
public java.lang.String getOfficeCity() throws DominoException
DominoException
PropertyKey.OFFICE_CITY
public java.lang.String getOfficeState() throws DominoException
DominoException
PropertyKey.OFFICE_STATE
public java.lang.String getOfficeZip() throws DominoException
DominoException
PropertyKey.OFFICE_ZIP
public java.lang.String getOfficeCountry() throws DominoException
DominoException
PropertyKey.OFFICE_COUNTRY
public java.lang.String getPager() throws DominoException
DominoException
PropertyKey.PAGER
public java.lang.String getOfficeNumber() throws DominoException
DominoException
PropertyKey.OFFICE_NUMBER
public java.lang.String getOfficePhoneNumber() throws DominoException
DominoException
PropertyKey.OFFICE_PHONE_NUMBER
public java.lang.String getOfficeFaxPhoneNumber() throws DominoException
DominoException
PropertyKey.OFFICE_FAX_PHONE_NUMBER
public java.lang.String getHomeStreetAddress() throws DominoException
DominoException
PropertyKey.HOME_STREET_ADDRESS
public java.lang.String getHomeCity() throws DominoException
DominoException
PropertyKey.HOME_CITY
public java.lang.String getHomeState() throws DominoException
DominoException
PropertyKey.HOME_STATE
public java.lang.String getHomeZip() throws DominoException
DominoException
PropertyKey.HOME_ZIP
public java.lang.String getHomeCountry() throws DominoException
DominoException
PropertyKey.HOME_COUNTRY
public java.lang.String getHomePhoneNumber() throws DominoException
DominoException
PropertyKey.HOME_PHONE_NUMBER
public java.lang.String getHomeFaxPhoneNumber() throws DominoException
DominoException
PropertyKey.HOME_FAX_PHONE_NUMBER
public AttachmentInfo getAttachmentInfo(int iIndex) throws DominoException
UnsupportedOperationException
.
getAttachmentInfo
in class AbstractDocument
iIndex
- the attachment index
null
if attachment index does not exist
DominoException
PropertyKey.ATTACHMENT_INFO
public AttachmentInfo[] getAttachmentInfoArray() throws DominoException
UnsupportedOperationException
.
getAttachmentInfoArray
in class AbstractDocument
DominoException
PropertyKey.ATTACHMENT_INFO
public void serverAddAttachment(java.lang.String sName, DataHandler handler) throws DominoException
UnsupportedOperationException
.
serverAddAttachment
in class AbstractDocument
sName
- the name of the attachmenthandler
- a handler that can supply the attachment data
DominoException
- 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
iIndex
- the index of the attachment to delete
DominoException
public void serverUpdate() throws DominoException
serverUpdate
in class AbstractDocument
DominoException
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |