| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
a personal contact is essentially a person listed in an address book
| Field Summary | |
| static java.lang.String | EMAIL | 
| static java.lang.String | IM | 
| static java.lang.String | PHONE | 
| static int | SUBSCRIPTION_STATUS_CLOSED | 
| static int | SUBSCRIPTION_STATUS_OPEN | 
| static int | SUBSCRIPTION_STATUS_PENDING | 
| Fields inherited from interface com.sun.im.service.PersonalStoreEntry | 
| BOOKMARK, BOOKMARK_FOLDER, CONFERENCE, CONTACT, CONTACT_FOLDER, FOLDER, GATEWAY, GROUP, PROFILE, PROFILE_FOLDER, WATCHER | 
| Method Summary | |
|  void | addAddress(java.lang.String addressType,
           java.lang.String address,
           int priority)adds an address or changes its priority | 
|  java.lang.String | getAddress(java.lang.String addressType)get the highest priority address for a given type of communication Elements in the list are Strings. | 
|  java.util.List | getAddresses(java.lang.String addressType)get the addresses for a given type of communication addresses are sorted by priority Elements in the list are Strings. | 
|  int | getInboundSubscriptionStatus()Determines if the current user has subscription to this contact | 
|  int | getOutboundSubscriptionStatus()Determines if this contact has subscription to the current user | 
|  CollaborationPrincipal | getPrincipal()returns the CollaborationPrincipal for this user | 
|  void | removeAddress(java.lang.String addressType,
              java.lang.String address)removes an address | 
| Methods inherited from interface com.sun.im.service.PersonalStoreEntry | 
| addToFolder, getDisplayName, getEntryId, getFolders, getType, remove, removeFromFolder, save, setDisplayName | 
| Field Detail | 
public static final java.lang.String EMAIL
public static final java.lang.String PHONE
public static final java.lang.String IM
public static final int SUBSCRIPTION_STATUS_CLOSED
public static final int SUBSCRIPTION_STATUS_OPEN
public static final int SUBSCRIPTION_STATUS_PENDING
| Method Detail | 
public java.util.List getAddresses(java.lang.String addressType)
addressType - the type of address
public java.lang.String getAddress(java.lang.String addressType)
addressType - the type of address
public void removeAddress(java.lang.String addressType,
                          java.lang.String address)
                   throws CollaborationException
addressType - the type of addressaddress - the address to remove
CollaborationException
public void addAddress(java.lang.String addressType,
                       java.lang.String address,
                       int priority)
                throws CollaborationException
addressType - the type of addressaddress - the address to remove
CollaborationExceptionpublic int getOutboundSubscriptionStatus()
public int getInboundSubscriptionStatus()
public CollaborationPrincipal getPrincipal()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||