|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.contact.Contact
This class represents a contact.
To add and search for contacts, see the Contacts
collection
class. Once the contact is obtained, its
accessor methods may be called to
set and get properties. The update()
method
must be called to store any changes to the server.
Contact conforms to the vCard specification (RFC #2426). To
generate a vCard compliant representation of a
contact, user toVcardString()
.
The following table contains the mappings from Contact properties to their corresponding Java methods:
Constructor Summary | |
Contact()
Constructor. |
Method Summary | |
void |
clearFlag()
Clears the flag on this contact. |
void |
delete()
Updates the contact (saves the contact entry). |
void |
delete(boolean bArchive)
Deletes the contact. |
boolean |
equals(java.lang.Object obj)
Checks if the specified object is "equal to" this one. |
void |
flag(Flag flag)
Flags this contact with the specified flag. |
AccessManager |
getAccessManager()
Gets the access manager for this contact. |
java.lang.String |
getAddressCity()
Gets the city of the contact which is the mailing address. |
java.lang.String |
getAddressCountry()
Gets the country of the contact which is the mailing address. |
java.lang.String |
getAddressPostalCode()
Gets the postal code of the contact which is the mailing address. |
java.lang.String |
getAddressPostOfficeBox()
Gets the post office box of the contact which is the mailing address. |
java.lang.String |
getAddressStateOrProvince()
Gets the state or province of the contact which is the mailing address. |
java.lang.String |
getAddressStreet()
Gets the street address of the contact which is the mailing address. |
java.util.Date |
getAnniversary()
Gets the anniversary for the contact. |
java.lang.String |
getAssistantName()
Gets the assistant's name of the contact. |
java.lang.String |
getAssistantTelephoneNumber()
Gets the assistant telephone number of the contact. |
java.lang.String |
getAuthor()
Gets the name of the author. |
java.util.Date |
getBirthday()
Gets the birthday for the contact. |
java.lang.String |
getBusinessAddressCity()
Gets the business address city of the contact. |
java.lang.String |
getBusinessAddressCountry()
Gets the business address country of the contact. |
java.lang.String |
getBusinessAddressPostalCode()
Gets the business address postal code of the contact. |
java.lang.String |
getBusinessAddressPostOfficeBox()
Gets the business address post office box of the contact. |
java.lang.String |
getBusinessAddressStateOrProvince()
Gets the business address state or province of the contact. |
java.lang.String |
getBusinessAddressStreet()
Gets the business address street of the contact. |
java.lang.String |
getBusinessFaxNumber()
Gets the business fax number of the contact. |
java.lang.String |
getBusinessTelephoneNumber()
Gets the business telephone number of the contact. |
java.lang.String |
getCarTelephoneNumber()
Gets the car telephone number of the contact. |
Category |
getCategory()
Gets the category of the contact. |
java.lang.String |
getCompanyName()
Gets the company name of the contact. |
long |
getCustomNum1()
Gets the custom number1 field of the contact. |
long |
getCustomNum2()
Gets the custom number2 field of the contact. |
long |
getCustomNum3()
Gets the custom number3 field of the contact. |
java.lang.String |
getCustomStr1()
Gets the custom string1 field of the contact. |
java.lang.String |
getCustomStr2()
Gets the custom string2 field of the contact. |
java.lang.String |
getCustomStr3()
Gets the custom string3 field of the contact. |
java.lang.String |
getCustomStr4()
Gets the custom string4 field of the contact. |
java.util.Date |
getDateCreated()
Gets the date the contact was created. |
java.util.Date |
getDateLastModified()
Gets the date the contact was last modified. |
java.lang.String |
getDepartmentName()
Gets the department name of the contact. |
java.lang.String |
getEmail2Address()
Gets the email2 address of the contact. |
java.lang.String |
getEmail3Address()
Gets the email3 address of the contact. |
java.lang.String |
getEmailAddress()
Gets the email address of the contact. |
java.lang.String |
getFirstName()
|
Flag |
getFlag()
Gets the flag of the contact. |
java.lang.String |
getFtpSite()
Gets the ftp site of the contact. |
java.lang.String |
getGivenName()
Gets the given name for a contact. |
java.lang.String |
getHomeAddressCity()
Gets the home address city of the contact. |
java.lang.String |
getHomeAddressCountry()
Gets the home address country of the contact. |
java.lang.String |
getHomeAddressPostalCode()
Gets the home address postal code of the contact. |
java.lang.String |
getHomeAddressPostOfficeBox()
Gets the home address post office box of the contact. |
java.lang.String |
getHomeAddressStateOrProvince()
Gets the home address state or province of the contact. |
java.lang.String |
getHomeAddressStreet()
Gets the home address street of the contact. |
java.lang.String |
getHomeFaxNumber()
Gets the home fax number of the contact. |
java.lang.String |
getHomeTelephoneNumber()
Gets the home telephone number of the contact. |
long |
getID()
Gets the unique identifier (id) of the contact. |
java.lang.String |
getLastName()
Gets the last name of the contact. |
MailingAddress |
getMailingAddress()
Gets the mailing address of the contact. |
java.lang.String |
getManagerName()
Gets the manager's name of the contact. |
java.lang.String |
getMiddleName()
Gets the middle name of the contact. |
java.lang.String |
getMobileTelephoneNumber()
Gets the mobile telephone number of the contact. |
java.lang.String |
getNamePrefix()
Gets the name prefix of the contact. |
java.lang.String |
getNameSuffix()
Gets the name suffix of the contact. |
java.lang.String |
getNickname()
Gets the nickname of the contact. |
java.lang.String |
getOfficeLocation()
Gets the office location of the contact. |
java.lang.String |
getOtherAddressCity()
Gets the other address city of the contact. |
java.lang.String |
getOtherAddressCountry()
Gets the other address country of the contact. |
java.lang.String |
getOtherAddressPostalCode()
Gets the other address postal code of the contact. |
java.lang.String |
getOtherAddressPostOfficeBox()
Gets the other address post office box of the contact. |
java.lang.String |
getOtherAddressStateOrProvince()
Gets the other address state or province of the contact. |
java.lang.String |
getOtherAddressStreet()
Gets the other address street of the contact. |
java.lang.String |
getOtherTelephoneNumber()
Gets the other telephone number of the contact. |
java.lang.String |
getPagerTelephoneNumber()
Gets the pager telephone number of the contact. |
BinaryData |
getPictureImage()
Gets the picture image for the contact. |
PrimaryTelephoneNumber |
getPrimaryTelephoneNumber()
Gets the setting for the primary telephone number. |
java.lang.String |
getSpouseName()
Gets the spouse's name of the contact. |
java.lang.String |
getTelephoneNumber()
Gets the telephone number of the contact which is the primary telephone number. |
java.lang.String |
getTitle()
Gets the title of the contact. |
java.lang.String |
getWebPage()
Gets the web page of the contact. |
void |
setAnniversary(java.util.Date anniversary)
Sets the anniversary for the contact. |
void |
setAssistantName(java.lang.String sAssistantName)
Sets the assistant's name of the contact. |
void |
setAssistantTelephoneNumber(java.lang.String sNumber)
Sets the assistant telephone number of the contact. |
void |
setBirthday(java.util.Date birthday)
Sets the birthday for the contact. |
void |
setBusinessAddressCity(java.lang.String sCity)
Sets the business address city of the contact. |
void |
setBusinessAddressCountry(java.lang.String sCountry)
Sets the business address country of the contact. |
void |
setBusinessAddressPostalCode(java.lang.String sPostalCode)
Sets the business address postal code of the contact. |
void |
setBusinessAddressPostOfficeBox(java.lang.String sPostOfficeBox)
Sets the business address post office box of the contact. |
void |
setBusinessAddressStateOrProvince(java.lang.String sStateOrProvince)
Sets the business address state or province of the contact. |
void |
setBusinessAddressStreet(java.lang.String sStreet)
Sets the business address street of the contact. |
void |
setBusinessFaxNumber(java.lang.String sNumber)
Sets the business fax number of the contact. |
void |
setBusinessTelephoneNumber(java.lang.String sNumber)
Sets the business telephone number of the contact. |
void |
setCarTelephoneNumber(java.lang.String sNumber)
Sets the car telephone number of the contact. |
void |
setCategory(Category category)
Sets the category of the contact. |
void |
setCompanyName(java.lang.String sCompanyName)
Sets the company name of the contact. |
void |
setCustomNum1(long lCustomNum1)
Sets the custom number1 field of the contact. |
void |
setCustomNum2(long lCustomNum2)
Sets the custom number2 field of the contact. |
void |
setCustomNum3(long lCustomNum3)
Sets the custom number3 field of the contact. |
void |
setCustomStr1(java.lang.String sCustomStr1)
Sets the custom string1 field of the contact. |
void |
setCustomStr2(java.lang.String sCustomStr2)
Sets the custom string2 field of the contact. |
void |
setCustomStr3(java.lang.String sCustomStr3)
Sets the custom string3 field of the contact. |
void |
setCustomStr4(java.lang.String sCustomStr4)
Sets the custom string4 field of the contact. |
void |
setDepartmentName(java.lang.String sDepartmentName)
Sets the department name of the contact. |
void |
setEmail2Address(java.lang.String sAddress)
Sets the email2 address of the contact. |
void |
setEmail3Address(java.lang.String sAddress)
Sets the email3 address of the contact. |
void |
setEmailAddress(java.lang.String sAddress)
Sets the email address of the contact. |
void |
setFirstName(java.lang.String sFirstName)
Sets the first name of the contact. |
void |
setFtpSite(java.lang.String sFtpSite)
Sets the ftp site of the contact. |
void |
setHomeAddressCity(java.lang.String sCity)
Sets the home address city of the contact. |
void |
setHomeAddressCountry(java.lang.String sCountry)
Sets the home address country of the contact. |
void |
setHomeAddressPostalCode(java.lang.String sPostalCode)
Sets the home address postal code of the contact. |
void |
setHomeAddressPostOfficeBox(java.lang.String sPostOfficeBox)
Sets the home address post office box of the contact. |
void |
setHomeAddressStateOrProvince(java.lang.String sStateOrProvince)
Sets the home address state or province of the contact. |
void |
setHomeAddressStreet(java.lang.String sStreet)
Sets the home address street of the contact. |
void |
setHomeFaxNumber(java.lang.String sNumber)
Sets the home fax number of the contact. |
void |
setHomeTelephoneNumber(java.lang.String sNumber)
Sets the home telephone number of the contact. |
void |
setLastName(java.lang.String sLastName)
Sets the last name of the contact. |
void |
setMailingAddress(MailingAddress address)
Sets the mailing address of the contact. |
void |
setManagerName(java.lang.String sManagerName)
Sets the manager's name of the contact. |
void |
setMiddleName(java.lang.String sMiddleName)
Sets the middle name of the contact. |
void |
setMobileTelephoneNumber(java.lang.String sNumber)
Sets the mobile telephone number of the contact. |
void |
setNamePrefix(java.lang.String sNamePrefix)
Sets the name prefix of the contact. |
void |
setNameSuffix(java.lang.String sNameSuffix)
Sets the name suffix of the contact. |
void |
setNickname(java.lang.String sNickname)
Sets the nickname of the contact. |
void |
setOfficeLocation(java.lang.String sOfficeLocation)
Sets the office location of the contact. |
void |
setOtherAddressCity(java.lang.String sCity)
Sets the other address city of the contact. |
void |
setOtherAddressCountry(java.lang.String sCountry)
Sets the other address country of the contact. |
void |
setOtherAddressPostalCode(java.lang.String sPostalCode)
Sets the other address postal code of the contact. |
void |
setOtherAddressPostOfficeBox(java.lang.String sPostOfficeBox)
Sets the other address post office box of the contact. |
void |
setOtherAddressStateOrProvince(java.lang.String sStateOrProvince)
Sets the other address state or province of the contact. |
void |
setOtherAddressStreet(java.lang.String sStreet)
Sets the other address street of the contact. |
void |
setOtherTelephoneNumber(java.lang.String sNumber)
Sets the other telephone number of the contact. |
void |
setPagerTelephoneNumber(java.lang.String sNumber)
Sets the pager telephone number of the contact. |
void |
setPictureImage(BinaryData image)
Sets the picture image for the contact. |
void |
setPrimaryTelephoneNumber(PrimaryTelephoneNumber primary)
Sets the primary telephone number. |
void |
setSpouseName(java.lang.String sSpouseName)
Sets the spouse's name of the contact. |
void |
setTitle(java.lang.String sTitle)
Sets the title of the contact. |
void |
setWebPage(java.lang.String sWebPage)
Sets the web page of the contact. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toVcardString()
Creates a string that contains the vCard compliant (RFC #2426) representation of the contact. |
boolean |
update()
Updates the contact (saves the contact entry). |
boolean |
update(boolean bForce)
Updates the contact (saves the contact entry). |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Contact()
Method Detail |
public long getID()
public java.lang.String getFirstName()
public void setFirstName(java.lang.String sFirstName)
sFirstName
- the first name of the contact or null
if no first name is setpublic java.lang.String getCompanyName()
null
if no company name is setpublic void setCompanyName(java.lang.String sCompanyName)
sCompanyName
- the company name of the contact or null
if no company name is setpublic Category getCategory()
null
if no category is setpublic void setCategory(Category category)
category
- the category of the contact or null
for no categorypublic java.lang.String getDepartmentName()
null
if no department name is setpublic void setDepartmentName(java.lang.String sDepartmentName)
sDepartmentName
- the department name of the contact or null
if no department name is setpublic java.lang.String getManagerName()
null
if no manager's name is setpublic void setManagerName(java.lang.String sManagerName)
sManagerName
- the manager's name of the contact or null
if no manager's name is setpublic java.lang.String getAssistantName()
null
if no assistant's name is setpublic void setAssistantName(java.lang.String sAssistantName)
sAssistantName
- the assistant's name of the contact or null
if no assistant's name is setpublic java.lang.String getOfficeLocation()
null
if no office location is setpublic void setOfficeLocation(java.lang.String sOfficeLocation)
sOfficeLocation
- the office location of the contact or null
if no office location is setpublic java.lang.String getTitle()
null
if no title is setpublic void setTitle(java.lang.String sTitle)
sTitle
- the title of the contact or null
if no title is setpublic java.util.Date getBirthday()
null
if no birthday is setpublic void setBirthday(java.util.Date birthday)
birthday
- the birthday for the contact or null
if no birthday is setpublic java.util.Date getAnniversary()
null
if no anniversary is setpublic void setAnniversary(java.util.Date anniversary)
anniversary
- the anniversary for the contact or null
if no anniversary is setpublic java.lang.String getSpouseName()
null
if no spouse's name is setpublic void setSpouseName(java.lang.String sSpouseName)
sSpouseName
- the anniversary of the contact or null
if no anniversary is setpublic java.lang.String getWebPage()
null
if no web page is setpublic void setWebPage(java.lang.String sWebPage)
sWebPage
- the web page of the contact or null
if no web page is setpublic java.lang.String getFtpSite()
null
if no ftp site is setpublic void setFtpSite(java.lang.String sFtpSite)
sFtpSite
- the ftp site of the contact or null
if no ftp site is setpublic Flag getFlag()
null
for nonepublic void flag(Flag flag)
flag
- the flagpublic void clearFlag()
public java.lang.String getCarTelephoneNumber()
null
if no car telephone number is setpublic void setCarTelephoneNumber(java.lang.String sNumber)
sNumber
- the car telephone number of the contact or null
for no car telephone numberpublic java.lang.String getMobileTelephoneNumber()
null
if no mobile telephone number is setpublic void setMobileTelephoneNumber(java.lang.String sNumber)
sNumber
- the mobile telephone number of the contact or null
for no mobile telephone numberpublic java.lang.String getPagerTelephoneNumber()
null
if no pager telephone number is setpublic void setPagerTelephoneNumber(java.lang.String sNumber)
sNumber
- the pager telephone number of the contact or null
for no pager telephone numberpublic java.lang.String getOtherTelephoneNumber()
null
if no other telephone number is setpublic void setOtherTelephoneNumber(java.lang.String sNumber)
sNumber
- the other telephone number of the contact or null
for no other telephone numberpublic java.lang.String getBusinessTelephoneNumber()
null
if no business telephone number is setpublic void setBusinessTelephoneNumber(java.lang.String sNumber)
sNumber
- the business telephone number of the contact or null
for no business telephone numberpublic java.lang.String getAssistantTelephoneNumber()
null
if no assistant telephone number is setpublic void setAssistantTelephoneNumber(java.lang.String sNumber)
sNumber
- the assistant telephone number of the contact or null
for no assistant telephone numberpublic java.lang.String getHomeTelephoneNumber()
null
if no home telephone number is setpublic void setHomeTelephoneNumber(java.lang.String sNumber)
sNumber
- the home telephone number of the contact or null
for no home telephone numberpublic java.lang.String getHomeFaxNumber()
null
if no home fax number is setpublic void setHomeFaxNumber(java.lang.String sNumber)
sNumber
- the home fax number of the contact or null
for no home fax numberpublic java.lang.String getBusinessFaxNumber()
null
if no business fax number is setpublic void setBusinessFaxNumber(java.lang.String sNumber)
sNumber
- the business fax number of the contact or null
for no business fax numberpublic java.lang.String getEmailAddress()
null
if no email addressis setpublic void setEmailAddress(java.lang.String sAddress)
sAddress
- the email address of the contact or null
for no email addresspublic java.lang.String getEmail2Address()
null
if no email2 addressis setpublic void setEmail2Address(java.lang.String sAddress)
sAddress
- the email2 address of the contact or null
for no email2 addresspublic java.lang.String getEmail3Address()
null
if no email3 addressis setpublic void setEmail3Address(java.lang.String sAddress)
sAddress
- the email3 address of the contact or null
for no email3 addresspublic java.lang.String getHomeAddressPostOfficeBox()
null
if no home address post office box setpublic void setHomeAddressPostOfficeBox(java.lang.String sPostOfficeBox)
sPostOfficeBox
- the home address post office box of the contact or null
for no home address post office boxpublic java.lang.String getHomeAddressStreet()
null
if no home address street setpublic void setHomeAddressStreet(java.lang.String sStreet)
sStreet
- the home address street of the contact or null
for no home address streetpublic java.lang.String getHomeAddressCity()
null
if no home address city setpublic void setHomeAddressCity(java.lang.String sCity)
sCity
- the home address city of the contact or null
for no home address citypublic java.lang.String getHomeAddressStateOrProvince()
null
if no home address state or province setpublic void setHomeAddressStateOrProvince(java.lang.String sStateOrProvince)
sStateOrProvince
- the home address state or province of the contact or null
for no home address state or provincepublic java.lang.String getHomeAddressPostalCode()
null
if no home address postal code setpublic void setHomeAddressPostalCode(java.lang.String sPostalCode)
sPostalCode
- the home address postal code of the contact or null
for no home address postal codepublic java.lang.String getHomeAddressCountry()
null
if no home address country setpublic void setHomeAddressCountry(java.lang.String sCountry)
sAddress
- the home address country of the contact or null
for no home address countrypublic java.lang.String getBusinessAddressPostOfficeBox()
null
if no business address post office box setpublic void setBusinessAddressPostOfficeBox(java.lang.String sPostOfficeBox)
sPostOfficeBox
- the business address post office box of the contact or null
for no business address post office boxpublic java.lang.String getBusinessAddressStreet()
null
if no business address street setpublic void setBusinessAddressStreet(java.lang.String sStreet)
sStreet
- the business address street of the contact or null
for no business address streetpublic java.lang.String getBusinessAddressCity()
null
if no business address city setpublic void setBusinessAddressCity(java.lang.String sCity)
sCity
- the business address city of the contact or null
for no business address citypublic java.lang.String getBusinessAddressStateOrProvince()
null
if no business address state or province setpublic void setBusinessAddressStateOrProvince(java.lang.String sStateOrProvince)
sStateOrProvince
- the business address state or province of the contact or null
for no business address state or provincepublic java.lang.String getBusinessAddressPostalCode()
null
if no business address postal code setpublic void setBusinessAddressPostalCode(java.lang.String sPostalCode)
sPostalCode
- the business address postal code of the contact or null
for no business address postal codepublic java.lang.String getBusinessAddressCountry()
null
if no business address country setpublic void setBusinessAddressCountry(java.lang.String sCountry)
sCountry
- the business address country of the contact or null
for no business address countrypublic java.lang.String getOtherAddressPostOfficeBox()
null
if no other address post office box setpublic void setOtherAddressPostOfficeBox(java.lang.String sPostOfficeBox)
sPostOfficeBox
- the other address post office box of the contact or null
for no other address post office boxpublic java.lang.String getOtherAddressStreet()
null
if no other address street setpublic void setOtherAddressStreet(java.lang.String sStreet)
sStreet
- the other address street of the contact or null
for no other address streetpublic java.lang.String getOtherAddressCity()
null
if no other address city setpublic void setOtherAddressCity(java.lang.String sCity)
sCity
- the other address city of the contact or null
for no other address citypublic java.lang.String getOtherAddressStateOrProvince()
null
if no other address state or province setpublic void setOtherAddressStateOrProvince(java.lang.String sStateOrProvince)
sStateOrProvince
- the other address state or province of the contact or null
for no other address state or provincepublic java.lang.String getOtherAddressPostalCode()
null
if no other address postal code setpublic void setOtherAddressPostalCode(java.lang.String sPostalCode)
sPostalCode
- the other address postal code of the contact or null
for no other address postal codepublic java.lang.String getOtherAddressCountry()
null
if no other address country setpublic void setOtherAddressCountry(java.lang.String sCountry)
sCountry
- the other address country of the contact or null
for no other address countrypublic java.lang.String getMiddleName()
null
if no middle name is setpublic void setMiddleName(java.lang.String sMiddleName)
sMiddleName
- the middle name of the contact or null
if no middle name is setpublic java.lang.String getLastName()
null
if no last name is setpublic void setLastName(java.lang.String sLastName)
sLastName
- the last name of the contact or null
if no last name is setpublic java.lang.String getNickname()
null
if no nickname is setpublic void setNickname(java.lang.String sNickname)
sNickname
- the nickname of the contact or null
if no nickname is setpublic java.lang.String getNamePrefix()
null
if no name prefix is setpublic void setNamePrefix(java.lang.String sNamePrefix)
sNamePrefix
- the name prefix of the contact (for example, Mr.) or null
if no name prefix is setpublic java.lang.String getNameSuffix()
null
if no name suffix is setpublic void setNameSuffix(java.lang.String sNameSuffix)
sNameSuffix
- the name suffix of the contact (for example, Mr.) or null
if no name suffix is setpublic long getCustomNum1()
null
if the custom number1 field is not setpublic void setCustomNum1(long lCustomNum1)
lCustomNum1
- the custom number1 field of the contactpublic long getCustomNum2()
null
if the custom number2 field is not setpublic void setCustomNum2(long lCustomNum2)
lCustomNum2
- the custom number2 field of the contactpublic long getCustomNum3()
null
if the custom number3 field is not setpublic void setCustomNum3(long lCustomNum3)
lCustomNum3
- the custom number3 field of the contactpublic java.lang.String getCustomStr1()
null
if the custom string1 field is not setpublic void setCustomStr1(java.lang.String sCustomStr1)
sCustomStr1
- the custom string1 field of the contactpublic java.lang.String getCustomStr2()
null
if the custom string2 field is not setpublic void setCustomStr2(java.lang.String sCustomStr2)
sCustomStr2
- the custom string2 field of the contactpublic java.lang.String getCustomStr3()
null
if the custom string3 field is not setpublic void setCustomStr3(java.lang.String sCustomStr3)
sCustomStr3
- the custom string3 field of the contactpublic java.lang.String getCustomStr4()
null
if the custom string4 field is not setpublic void setCustomStr4(java.lang.String sCustomStr4)
sCustomStr4
- the custom string4 field of the contactpublic AccessManager getAccessManager() throws AccessManagerException
AccessManagerException
- an error occurs retrieving the access managerContactPermission
public java.lang.String getGivenName()
[name prefix] [first name] [middle name] [last name] [name suffix]
If the given name is an empty string, the setting contact.given_name
from
contact.given_name
to blank.
public void setPrimaryTelephoneNumber(PrimaryTelephoneNumber primary)
primary
- the primary telephone number (may not be null
)public PrimaryTelephoneNumber getPrimaryTelephoneNumber()
getTelephoneNumber()
, the primary
telephone number is returned.public java.lang.String getTelephoneNumber()
null
if no telephone number is setpublic void setMailingAddress(MailingAddress address)
address
- the mailing address (may not be null
)getAddressStreet()
,
getAddressPostOfficeBox()
,
getAddressCity()
,
getAddressPostalCode()
,
getAddressStateOrProvince()
,
getAddressCountry()
public MailingAddress getMailingAddress()
public java.lang.String getAddressStreet()
null
if no mailing address is setpublic java.lang.String getAddressPostOfficeBox()
null
if no post office box is setpublic java.lang.String getAddressCity()
null
if no city is setpublic java.lang.String getAddressPostalCode()
null
if no postal code is setpublic java.lang.String getAddressStateOrProvince()
null
if no state or province is setpublic java.lang.String getAddressCountry()
null
if no country is setpublic java.lang.String getAuthor()
public void setPictureImage(BinaryData image)
pictureImage
- the picture image (null
for no picture image)public BinaryData getPictureImage()
null
for no imagepublic java.util.Date getDateCreated()
public java.util.Date getDateLastModified()
public boolean update() throws java.security.AccessControlException
true
if the update is successful; false
otherwisejava.security.AccessControlException
- the user does not have edit permissions for this contactpublic boolean update(boolean bForce) throws java.security.AccessControlException
bForce
- true
to force the update; false
otherwise (currently ignored)true
if the update is successful; false
otherwisejava.security.AccessControlException
- occurs if the user does not have permission to edit the contactpublic void delete() throws java.security.AccessControlException
The update tokens must match in order for the update
to occur. If the specified token is null
, empty or does not
match the token on the contact record, the update will
not succeed.
sToken
- the for update token (may not be null
)true
if the update is successful; false
if the specified token and update token in the contact do not matchjava.security.AccessControlException
- the user does not have edit permissions for this contactpublic void delete(boolean bArchive) throws java.security.AccessControlException
bArchive
- true
to archive the contact; false
to deletejava.security.AccessControlException
- occurs if the user does not have permission to delete the contactpublic java.lang.String toVcardString()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to comparetrue
if this object is the same as the obj argument; false
otherwise
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |