程序包 cn.leancloud
类 LCFriendship
- java.lang.Object
-
- cn.leancloud.LCObject
-
- cn.leancloud.LCFriendship
-
public class LCFriendship extends LCObject
-
-
嵌套类概要
-
从类继承的嵌套类/接口 cn.leancloud.LCObject
LCObject.Hook
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.StringATTR_FOLLOWEEstatic java.lang.StringATTR_FOLLOWERstatic java.lang.StringATTR_FRIEND_STATUSstatic java.lang.StringATTR_USERstatic java.lang.StringCLASS_NAME-
从类继承的字段 cn.leancloud.LCObject
acl, className, endpointClassName, KEY_ACL, KEY_CLASSNAME, KEY_CREATED_AT, KEY_IGNORE_HOOKS, KEY_OBJECT_ID, KEY_UPDATED_AT, logger, objectId, operations, serverData, totallyOverwrite, UUID_LEN
-
-
构造器概要
构造器 构造器 说明 LCFriendship()LCFriendship(LCObject object)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LCUsergetFollowee()LCUsergetFollower()io.reactivex.Observable<? extends LCObject>saveInBackground(LCSaveOption option)save friendship in backgound.voidsetFollowee(LCUser followee)voidsetFollower(LCUser follower)-
从类继承的方法 cn.leancloud.LCObject
abortOperations, add, addAll, addAllUnique, addNewOperation, addUnique, bitAnd, bitOr, bitXor, cast, containsKey, createWithoutData, createWithoutData, decrement, decrement, delete, delete, deleteAll, deleteAll, deleteAllInBackground, deleteAllInBackground, deleteEventually, deleteEventually, deleteInBackground, deleteInBackground, disableAfterHook, disableBeforeHook, equals, extractCascadingObjects, extractUnsavedFiles, fetch, fetch, fetch, fetchIfNeeded, fetchIfNeededInBackground, fetchIfNeededInBackground, fetchIfNeededInBackground, fetchInBackground, fetchInBackground, fetchInBackground, generateACLFromServerData, generateCascadingSaveObjects, generateChangedParam, get, getACL, getBoolean, getBytes, getClassName, getCreatedAt, getCreatedAtString, getDate, getDouble, getInt, getJSONArray, getJSONObject, getLCFile, getLCGeoPoint, getLCObject, getList, getLong, getNumber, getObjectId, getQuery, getRelation, getRequestMethod, getRequestRawEndpoint, getServerData, getString, getUnsavedFiles, getUpdatedAt, getUpdatedAtString, getUuid, has, hasCircleReference, hashCode, ignoreHook, increment, increment, internalClassName, internalGet, internalId, internalPut, isDataAvailable, isFetchWhenSave, onDataSynchronized, onSaveFailure, onSaveSuccess, parseLCObject, put, refresh, refresh, refresh, refreshInBackground, refreshInBackground, refreshInBackground, refreshInBackground, registerSubclass, remove, removeAll, removeOperationForKey, resetAll, resetByRawData, resetServerData, save, save, saveAll, saveAll, saveAllInBackground, saveAllInBackground, saveEventually, saveEventually, saveInBackground, saveInBackground, saveInBackground, setACL, setClassName, setFetchWhenSave, setObjectId, toJSONObject, toJSONString, toString, validFieldName, verifyInternalId
-
-
-
-
字段详细资料
-
CLASS_NAME
public static final java.lang.String CLASS_NAME
- 另请参阅:
- 常量字段值
-
ATTR_FOLLOWEE
public static final java.lang.String ATTR_FOLLOWEE
- 另请参阅:
- 常量字段值
-
ATTR_FOLLOWER
public static final java.lang.String ATTR_FOLLOWER
- 另请参阅:
- 常量字段值
-
ATTR_USER
public static final java.lang.String ATTR_USER
- 另请参阅:
- 常量字段值
-
ATTR_FRIEND_STATUS
public static final java.lang.String ATTR_FRIEND_STATUS
- 另请参阅:
- 常量字段值
-
-
构造器详细资料
-
LCFriendship
public LCFriendship()
-
LCFriendship
public LCFriendship(LCObject object)
-
-
方法详细资料
-
getFollowee
public LCUser getFollowee()
-
setFollowee
public void setFollowee(LCUser followee)
-
getFollower
public LCUser getFollower()
-
setFollower
public void setFollower(LCUser follower)
-
saveInBackground
public io.reactivex.Observable<? extends LCObject> saveInBackground(LCSaveOption option)
save friendship in backgound.- 覆盖:
saveInBackground在类中LCObject- 参数:
option- save option.- 返回:
- observable instance.
-
-