| 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Provides the interface to the Friend item.
 
 Friends are obtained either by getting the items in the Friends
 container (under the root container) or by getting the items in the
 containers underneath the Friends container (the friend
 groups).
| Field Summary | |
static ItemClass | 
CLASS
The ItemClass that represents a collab message.  | 
static Key | 
STATUS
Key that represents the instant messaging friend 'status' property.  | 
static Key | 
URI
Key that represents the instant messaging friend 'uri' property.  | 
static Key | 
USERNAME
Key that represents the instant messaging friend 'username' property.  | 
| Fields inherited from interface com.compoze.collab.IItem | 
ID, ITEM_CLASS, KEYID_ID, KEYID_ITEM_CLASS, KEYID_PARENT_ID, MINIMUM_ITEM_KEYS, PARENT_ID | 
| Method Summary | |
 FriendStatus | 
getStatus()
Gets the user's current status.  | 
 java.lang.String | 
getUri()
Gets URI value for this user  | 
 java.lang.String | 
getUsername()
Gets the username of the user.  | 
 boolean | 
isTyping()
Indicates whether this friend is currently typing  | 
 void | 
sendTypingStatus(boolean flag)
Sets the typing state for this friend.  | 
 void | 
setUri(java.lang.String sUri)
Sets the URI value for this user.  | 
 void | 
setUsername(java.lang.String sUsername)
Sets the username of the user (used when adding a new friend).  | 
| Methods inherited from interface com.compoze.collab.IItem | 
commit, containsKey, containsKey, copyProperties, copyTo, delete, fetchProperties, getAttribute, getEnum, getID, getInputStream, getItemClass, getOutputStream, getParent, getParent, getParentID, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getReader, getRootContainer, getSession, getWriter, isMissing, moveTo, removeAttribute, removeProperty, setAttribute, setProperties, setProperty, setProperty, setProperty | 
| Field Detail | 
public static final Key USERNAME
public static final Key URI
public static final Key STATUS
public static final ItemClass CLASS
| Method Detail | 
public void setUsername(java.lang.String sUsername)
                 throws CollaborationException
sUsername - the username (not null)USERNAME
public java.lang.String getUsername()
                             throws CollaborationException
null if it
		has not yet been set)USERNAME
public java.lang.String getUri()
                        throws CollaborationException
nullCollaborationException - if an error occurs
public void setUri(java.lang.String sUri)
            throws CollaborationException
sUri - URI value.  Cannot be nullCollaborationException - if an error occurs
public FriendStatus getStatus()
                       throws CollaborationException
STATUS
public boolean isTyping()
                 throws CollaborationException
true if typing, false if not typing
public void sendTypingStatus(boolean flag)
                      throws CollaborationException
flag - true if typing, false if not
  | 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||