|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.groupware.AbstractItem | +--portlets.compoze.groupware.addressbook.Contact | +--portlets.compoze.groupware.addressbook.ExchangeContact
This class represents an exchange contact.
Constructor Summary | |
ExchangeContact()
Constructor. |
|
ExchangeContact(java.lang.String sID)
Constructor. |
Method Summary | |
java.lang.String |
getAccount()
Gets the account for the contact. |
java.util.Date |
getAnniversary()
Gets the anniversary date for the contact. |
java.lang.String |
getAnniversaryString(java.util.Locale locale)
Gets the birthday localized string. |
java.lang.String |
getBillingInfo()
Gets the billing info for the exchange contact. |
java.lang.String |
getCommentHtml()
Gets the comment text in HTML format. |
java.lang.String |
getComputerNetworkName()
Gets the name of the computer network for the contact. |
java.lang.String |
getCountry()
Gets the country of the contact. |
java.lang.String |
getFileAs()
Gets the file as for the contact. |
java.lang.String |
getFtpSite()
Gets the ftp site for the contact. |
java.lang.String |
getHobbies()
Gets the hobbies of the contact. |
java.lang.String |
getIMAddress()
Gets the IM address of the contact. |
java.lang.String |
getInitials()
Gets the initials of the contact. |
java.lang.String |
getInternetFreeBusyAddress()
Gets the internet free busy address for the contact. |
java.lang.String |
getLanguage()
Gets the language for the contact. |
java.lang.String |
getLocality()
Gets the locality of the contact. |
java.lang.String |
getMileage()
Gets the mileage of the contact. |
java.lang.String |
getOfficeLocation()
Gets the office location for the contact. |
java.lang.String |
getPersonalHomePage()
Gets the personal home page for the contact. |
java.lang.String |
getPostalCode()
Gets the postal code of the contact. |
java.lang.String |
getProfession()
Gets the profession for the contact. |
java.lang.String |
getReferredByName()
Gets the name of the person who referred the contact. |
java.lang.String |
getStreetAddress()
Gets the street address of the contact. |
java.lang.String |
getUserField1()
Gets the user field1 for the contact. |
java.lang.String |
getUserField2()
Gets the user field2 for the contact. |
java.lang.String |
getUserField3()
Gets the user field3 for the contact. |
java.lang.String |
getUserField4()
Gets the user field4 for the contact. |
boolean |
isAnyBusinessInfo()
Checks if any of the business information is set for the contact. |
boolean |
isAnyOtherInfo()
Checks if any fields for other information are set for the contact. |
boolean |
isAnyPersonalInfo()
Checks if any of the personal information is set for the contact. |
boolean |
isAnyPhoneInfo()
Checks if any of the phone numbers is set for the contact. |
void |
setAccount(java.lang.String sAccount)
Sets the account for the contact. |
void |
setAnniversary(java.util.Date anniversary)
Sets the anniversary information for the contact. |
void |
setBillingInfo(java.lang.String sBillingInfo)
Sets the billing info for the contact. |
void |
setComputerNetworkName(java.lang.String sComputerNetworkName)
Sets the name of the computer network for the contact. |
void |
setCountry(java.lang.String sCountry)
Sets the country of the contact. |
void |
setFileAs(java.lang.String sFileAs)
Sets the file as for the contact. |
void |
setFtpSite(java.lang.String sFtpsite)
Sets the ftp site for the contact. |
void |
setHobbies(java.lang.String sHobbies)
Sets the hobbies for the contact. |
void |
setIMAddress(java.lang.String sIMAddress)
Sets the IM address for the contact. |
void |
setInitials(java.lang.String sInitials)
Sets the initials of the contact. |
void |
setInternetFreeBusyAddress(java.lang.String sInternetFreeBusyAddress)
Sets the internet free busy address for the contact. |
void |
setLanguage(java.lang.String sLanguage)
Sets the language of the contact. |
void |
setLocality(java.lang.String sLocality)
Sets the locality of the contact. |
void |
setMileage(java.lang.String sMileage)
Sets the mileage for the contact. |
void |
setOfficeLocation(java.lang.String sOfficeLocation)
Sets the office location for the contact. |
void |
setPersonalHomePage(java.lang.String sPersonalHomePage)
Sets the personal home page for the contact. |
void |
setPostalCode(java.lang.String sPostalCode)
Sets the postal code of the contact. |
void |
setProfession(java.lang.String sProfession)
Sets the profession for the contact. |
void |
setReferredByName(java.lang.String sReferredByName)
Sets the name of the person who referred the contact. |
void |
setStreetAddress(java.lang.String sStreetAddress)
Sets the street address of the contact. |
void |
setUserField1(java.lang.String sUserField1)
Sets the user field1 for the contact. |
void |
setUserField2(java.lang.String sUserField2)
Sets the user field2 for the contact. |
void |
setUserField3(java.lang.String sUserField3)
Sets the user field3 for the contact. |
void |
setUserField4(java.lang.String sUserField4)
Sets the user field4 for a contact. |
Methods inherited from class portlets.compoze.groupware.AbstractItem |
getAttachmentCount, getAttachmentInfoArray, getBodyHtml, getBodyText, getBodyTextAsHtml, getDateCreated, getID, getImportance, getIndex, getItemType, getSize, getSizeInKilobytes, getSubject, getSubject, hasAttachment, prettyTruncate, setAttachmentCount, setAttachmentInfoArray, setBodyHtml, setBodyText, setDateCreated, setHasAttachment, setID, setImportance, setIndex, setItemType, setSize, setSubject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExchangeContact()
public ExchangeContact(java.lang.String sID)
sID
- the contact IDMethod Detail |
public java.lang.String getAnniversaryString(java.util.Locale locale)
locale
- the locale (may not be null
)public java.lang.String getBillingInfo()
public void setBillingInfo(java.lang.String sBillingInfo)
sBillingInfo
- the billing infopublic java.lang.String getComputerNetworkName()
public void setComputerNetworkName(java.lang.String sComputerNetworkName)
sComputerNetworkName
- the computer network namepublic java.lang.String getFtpSite()
public void setFtpSite(java.lang.String sFtpsite)
sFtpsite
- the ftp sitepublic java.lang.String getHobbies()
public void setHobbies(java.lang.String sHobbies)
sHobbies
- the hobbiespublic java.lang.String getIMAddress()
public void setIMAddress(java.lang.String sIMAddress)
sIMAddress
- the IM addresspublic java.lang.String getInitials()
public void setInitials(java.lang.String sInitials)
sInitials
- the initialspublic java.lang.String getLanguage()
public void setLanguage(java.lang.String sLanguage)
sLanguage
- the languagepublic java.lang.String getStreetAddress()
public void setStreetAddress(java.lang.String sStreetAddress)
sStreetAddress
- the street addresspublic java.lang.String getCountry()
public void setCountry(java.lang.String sCountry)
sCountry
- the countrypublic java.lang.String getPostalCode()
public void setPostalCode(java.lang.String sPostalCode)
sPostalCode
- the postal codepublic java.lang.String getLocality()
public void setLocality(java.lang.String sLocality)
sLocality
- the localitypublic java.lang.String getMileage()
public void setMileage(java.lang.String sMileage)
sMileage
- the mileagepublic java.lang.String getReferredByName()
public void setReferredByName(java.lang.String sReferredByName)
sReferredByName
- the name of the person who referred the contactpublic java.lang.String getAccount()
public void setAccount(java.lang.String sAccount)
sAccount
- the accountpublic java.lang.String getPersonalHomePage()
public void setPersonalHomePage(java.lang.String sPersonalHomePage)
sPersonalHomePage
- the personal home pagepublic java.lang.String getOfficeLocation()
public void setOfficeLocation(java.lang.String sOfficeLocation)
sOfficeLocation
- the office locationpublic java.lang.String getUserField1()
public void setUserField1(java.lang.String sUserField1)
sUserField1
- the user field1public java.lang.String getUserField2()
public void setUserField2(java.lang.String sUserField2)
sUserField2
- the user field2public java.lang.String getUserField3()
public void setUserField3(java.lang.String sUserField3)
sUserField3
- the user field3public java.lang.String getUserField4()
public void setUserField4(java.lang.String sUserField4)
sUserField4
- the user field4public java.lang.String getInternetFreeBusyAddress()
public void setInternetFreeBusyAddress(java.lang.String sInternetFreeBusyAddress)
sInternetFreeBusyAddress
- the internet free busy addresspublic java.lang.String getFileAs()
public void setFileAs(java.lang.String sFileAs)
sFileAs
- the file aspublic java.lang.String getProfession()
public void setProfession(java.lang.String sProfession)
sProfession
- the professionpublic java.util.Date getAnniversary()
null
for nonepublic void setAnniversary(java.util.Date anniversary)
anniversary
- the anniversarypublic boolean isAnyPhoneInfo()
isAnyPhoneInfo
in class Contact
true
if any of the phone numbers is not or empty or false
otherwise
public boolean isAnyBusinessInfo()
isAnyBusinessInfo
in class Contact
true
if any of the business information is not or empty or false
otherwise
public boolean isAnyPersonalInfo()
isAnyPersonalInfo
in class Contact
true
if any of the personal information is not or empty or false
otherwise
public boolean isAnyOtherInfo()
true
if any of the other information is not or empty
or false
otherwise
public java.lang.String getCommentHtml()
getCommentHtml
in class Contact
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |