public class LCFriendship extends LCObject
LCObject.Hook
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_FOLLOWEE |
static String |
ATTR_FOLLOWER |
static String |
ATTR_FRIEND_STATUS |
static String |
ATTR_USER |
static String |
CLASS_NAME |
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
Constructor and Description |
---|
LCFriendship() |
LCFriendship(LCObject object) |
Modifier and Type | Method and Description |
---|---|
LCUser |
getFollowee() |
LCUser |
getFollower() |
io.reactivex.Observable<? extends LCObject> |
saveInBackground(LCSaveOption option)
save friendship in backgound.
|
void |
setFollowee(LCUser followee) |
void |
setFollower(LCUser follower) |
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
public static final String CLASS_NAME
public static final String ATTR_FOLLOWEE
public static final String ATTR_FOLLOWER
public static final String ATTR_USER
public static final String ATTR_FRIEND_STATUS
public LCFriendship()
public LCFriendship(LCObject object)
public LCUser getFollowee()
public void setFollowee(LCUser followee)
public LCUser getFollower()
public void setFollower(LCUser follower)
public io.reactivex.Observable<? extends LCObject> saveInBackground(LCSaveOption option)
saveInBackground
in class LCObject
option
- save option.Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.