Ejemplo n.º 1
0
 /**
  * Returns a reference to the protocol provider that created the contact.
  *
  * @return a refererence to an instance of the ProtocolProviderService
  */
 public ProtocolProviderService getProtocolProvider() {
   return ssclCallback.getParentProvider();
 }
Ejemplo n.º 2
0
  /** Returns the image of the contact or null if absent */
  public byte[] getImage() {
    if (image == null) ssclCallback.addContactForImageUpdate(this);

    return image;
  }
Ejemplo n.º 3
0
 /**
  * Returns a reference to the contact group that this contact is currently a child of or null if
  * the underlying protocol does not suppord persistent presence.
  *
  * @return a reference to the contact group that this contact is currently a child of or null if
  *     the underlying protocol does not suppord persistent presence.
  */
 public ContactGroup getParentContactGroup() {
   return ssclCallback.findContactGroup(this);
 }