public class

SCFriendManager

extends BaseFriendManager<T extends IBaseFriendData & Serializable>
implements ImageOwner Serializable
java.lang.Object
   ↳ com.c2call.sdk.pub.db.datamanager.BaseFriendManager<T extends com.c2call.sdk.pub.db.data.IBaseFriendData & java.io.Serializable>
     ↳ com.c2call.sdk.pub.db.datamanager.SCFriendManager

Summary

Constants
String ATTR_PUBLIC_GROUP
String ID_FRIENDCALLER_SYSTEM_USER
String ID_TEST_CALL
int TYPE_FOREIGN_FRIEND
int TYPE_FRIEND
int TYPE_GROUP
int TYPE_LOCAL_CONTACT
Public Constructors
SCFriendManager(SCFriendData data)
Public Methods
SCFriendExtraData getExtraData()
String getImage(boolean isLarge)
long getImageModTime()
String getOpenId(String host)
static String getPublicKey(String uid)
SCOnlineStatus getStatus()
static String getUserImage(String id)
String getUserImageKey()
boolean isArtificialUser()
boolean isFavorite()
boolean isFriendCallerSystemUser()
static boolean isFriendCallerSystemUser(String id)
static boolean isGroup(String userid)
boolean isGroup()
boolean isLocal()
boolean isPhoneNumberContact()
static boolean isTestCall(String id)
boolean isTestCall()
static SCFriendData load(String userid)
static SCFriendData loadByEmail(String email)
SCFriendData refresh()
void setFavorite(boolean isFavorite)
synchronized boolean storeAll(boolean notifyChange)
synchronized static boolean storeFavorite(SCFriendData data, boolean notifyChange)
synchronized boolean storeFavorite(boolean notifyChange)
boolean toggleFavorite()
Protected Methods
String getDisplayNameByNamesOnly(DisplayNameStyle style)
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.db.datamanager.BaseFriendManager
From class java.lang.Object
From interface com.c2call.sdk.pub.db.core.ImageOwner

Constants

public static final String ATTR_PUBLIC_GROUP

Constant Value: "C2GROUP_ATTR_PUBLIC"

public static final String ID_FRIENDCALLER_SYSTEM_USER

Constant Value: "4de69573138f20de09f"

public static final String ID_TEST_CALL

Constant Value: "9bc2858f1194dc1c107"

public static final int TYPE_FOREIGN_FRIEND

Constant Value: 4 (0x00000004)

public static final int TYPE_FRIEND

Constant Value: 0 (0x00000000)

public static final int TYPE_GROUP

Constant Value: 2 (0x00000002)

public static final int TYPE_LOCAL_CONTACT

Constant Value: 5 (0x00000005)

Public Constructors

public SCFriendManager (SCFriendData data)

Public Methods

public SCFriendExtraData getExtraData ()

public String getImage (boolean isLarge)

public long getImageModTime ()

public String getOpenId (String host)

public static String getPublicKey (String uid)

public SCOnlineStatus getStatus ()

public static String getUserImage (String id)

public String getUserImageKey ()

public boolean isArtificialUser ()

public boolean isFavorite ()

public boolean isFriendCallerSystemUser ()

public static boolean isFriendCallerSystemUser (String id)

public static boolean isGroup (String userid)

public boolean isGroup ()

public boolean isLocal ()

public boolean isPhoneNumberContact ()

public static boolean isTestCall (String id)

public boolean isTestCall ()

public static SCFriendData load (String userid)

public static SCFriendData loadByEmail (String email)

public SCFriendData refresh ()

public void setFavorite (boolean isFavorite)

public synchronized boolean storeAll (boolean notifyChange)

public static synchronized boolean storeFavorite (SCFriendData data, boolean notifyChange)

public synchronized boolean storeFavorite (boolean notifyChange)

public boolean toggleFavorite ()

Protected Methods

protected String getDisplayNameByNamesOnly (DisplayNameStyle style)