/** * 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(); }
/** Returns the image of the contact or null if absent */ public byte[] getImage() { if (image == null) ssclCallback.addContactForImageUpdate(this); return image; }
/** * 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); }