|
Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference E14785-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Buddy
Abstraction of a "buddy" - a resource identifying a person for whom we want to set permissions for accessing presence information, or whom we want to add to different lists ("friends", "buddies", "workmates" etc).
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Evaluates if the two buddies are considered equal. |
java.lang.String |
getDisplayname()
|
java.lang.String |
getParentDisplayname()
Get the display name of the parent of a buddy in a buddy list. |
java.lang.String |
getParentName()
Get the name of the enclosing resource list |
java.lang.String |
getParentPath()
Get the full "path" of the enclosing resource list |
java.net.URI |
getURI()
Returns the URI of this Buddy. |
VCard |
getVCard()
|
void |
setDisplayname(java.lang.String displayname)
Set |
void |
setParentDisplayname(java.lang.String parentDisplayname)
Set the display name of the parent of a buddy in a buddy list. |
void |
setVCard(VCard vcard)
set this.vcard to vCard. |
Method Detail |
---|
boolean equals(java.lang.Object other)
Evaluates if the two buddies are considered equal.
Two buddies are considered equal if their URI:s are equal. No other information is taken into account (hence, same URI but different display names would still return true)
equals
in class java.lang.Object
other
-
java.lang.String getDisplayname()
java.lang.String getParentDisplayname()
java.lang.String getParentName()
java.lang.String getParentPath()
java.net.URI getURI()
VCard getVCard()
setVCard(VCard)
method with the updated Vcard object.void setDisplayname(java.lang.String displayname)
displayname
- void setParentDisplayname(java.lang.String parentDisplayname)
parentDisplayname
- void setVCard(VCard vcard)
setVCard(VCard)
method
must be called again with the updated Vcard object.
vcard
-
|
Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference E14785-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |