| Package | Description |
|---|---|
| com.avos.avoscloud | |
| com.avos.avoscloud.ops |
| Modifier and Type | Class and Description |
|---|---|
class |
AVQuery<T extends AVObject>
The AVQuery class defines a query that is used to fetch AVObjects.
|
class |
AVRelation<T extends AVObject>
A class that is used to access all of the children of a many-to-many relationship.
|
class |
FindCallback<T extends AVObject>
A FindCallback is used to run code after a AVQuery is used to fetch a list of AVObjects in a
background thread.
|
class |
FollowCallback<T extends AVObject>
Created with IntelliJ IDEA.
|
class |
FollowersAndFolloweesCallback<T extends AVObject>
Created with IntelliJ IDEA.
|
class |
GetCallback<T extends AVObject>
A GetCallback is used to run code after a AVQuery is used to fetch a AVObject in a background
thread.
|
class |
RefreshCallback<T extends AVObject>
A RefreshCallback is used to run code after refresh is used to update a AVObject in a background
thread.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AVRole
Represents a Role on the AVOSCloud server.
|
class |
AVStatus
Created with IntelliJ IDEA.
|
class |
AVUser |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AVObject> |
AVQuery.and(List<AVQuery<T>> queries) |
protected static <T extends AVObject> |
AVObject.cast(AVObject object,
Class<T> clazz) |
static <T extends AVObject> |
AVObject.createWithoutData(Class<T> clazz,
String objectId)
Creates a reference to an existing AVObject subclass instance for use in creating associations
between AVObjects.
|
<T extends AVObject> |
AVObject.getAVObject(String key)
Access a AVObject value.
|
<T extends AVObject> |
AVStatus.getAVObject(String key) |
<T extends AVObject> |
AVObject.getAVObject(String key,
Class<T> clazz) |
<T extends AVObject> |
AVObject.getList(String key,
Class<T> clazz)
获得一个指定类型的List值
|
static <T extends AVObject> |
AVObject.getQuery(Class<T> clazz)
Create a AVQuery with special sub-class.
|
static <T extends AVObject> |
AVQuery.getQuery(Class<T> clazz)
Create a AVQuery with special sub-class.
|
static <T extends AVObject> |
AVQuery.getQuery(String theClassName)
Constructs a query.
|
<T extends AVObject> |
AVObject.getRelation(String key)
Access or create a Relation value for a key
|
<T extends AVObject> |
AVStatus.getRelation(String key)
Deprecated.
|
static <T extends AVObject> |
AVQuery.or(List<AVQuery<T>> queries)
Constructs a query that is the or of the given queries.
|
static <T extends AVObject> |
AVObject.registerSubclass(Class<T> clazz)
Register subclass to AVOSCloud SDK.It must be invocated before AVOSCloud.initialize.
|
static <M extends AVObject> |
AVRelation.reverseQuery(Class<M> theParentClazz,
String relationKey,
AVObject child)
Create a query that can be used to query the parent objects in this relation.
|
static <M extends AVObject> |
AVRelation.reverseQuery(String parentClassName,
String relationKey,
AVObject child)
Create a query that can be used to query the parent objects in this relation.
|
| Modifier and Type | Method and Description |
|---|---|
static AVObject |
AVObject.create(String className)
Creates a new AVObject based upon a class name.
|
AVObject |
AVObject.AVObjectCreator.createFromParcel(android.os.Parcel parcel) |
static AVObject |
AVObject.createWithoutData(String className,
String objectId)
Creates a reference to an existing AVObject for use in creating associations between AVObjects.
|
AVObject |
AVObject.fetch() |
AVObject |
AVStatus.fetch()
Deprecated.
|
AVObject |
AVObject.fetch(String includeKeys) |
AVObject |
AVStatus.fetch(String includedKeys)
Deprecated.
|
AVObject |
AVObject.fetchIfNeeded() |
AVObject |
AVStatus.fetchIfNeeded()
Deprecated.
|
AVObject |
AVObject.fetchIfNeeded(String includeKeys) |
AVObject |
AVStatus.fetchIfNeeded(String includedKeys)
Deprecated.
|
AVObject |
AVRelation.getParent() |
AVObject |
AVObjectReferenceCount.getValue() |
AVObject[] |
AVObject.AVObjectCreator.newArray(int i) |
static AVObject |
AVUtils.newAVObjectByClassName(String name) |
static AVObject |
AVUtils.newAVObjectByClassName(String className,
String defaultClassName) |
static AVObject |
AVUtils.objectFromClassName(String className) |
static AVObject |
AVUtils.objectFromRelationMap(Map<String,Object> map) |
static AVObject |
AVObject.parseAVObject(String avObjectString)
通过解析AVObject.toString得到的String对象来获取AVObject对象
|
static AVObject |
AVUtils.parseObjectFromMap(Map<String,Object> map) |
AVObject |
AVStatus.toObject() |
| Modifier and Type | Method and Description |
|---|---|
static List<AVObject> |
AVObject.fetchAll(List<AVObject> objects)
Fetches all the objects in the provided list.
|
static List<AVObject> |
AVObject.fetchAllIfNeeded(List<AVObject> objects)
Fetches all the objects that don't have data in the provided list.
|
static Class<? extends AVObject> |
AVUtils.getAVObjectClassByClassName(String name) |
List<? extends AVObject> |
AVCloudQueryResult.getResults() |
| Modifier and Type | Method and Description |
|---|---|
protected static <T extends AVObject> |
AVObject.cast(AVObject object,
Class<T> clazz) |
static void |
AVUtils.copyPropertiesFromJsonStringToAVObject(String content,
AVObject object) |
static void |
AVUtils.copyPropertiesFromMapToAVObject(Map<String,Object> map,
AVObject object) |
static String |
AVUtils.getAVObjectCreatedAt(AVObject object) |
static String |
AVUtils.getAVObjectUpdatedAt(AVObject object) |
static String |
AVPowerfulUtils.getBatchEndpoint(String version,
AVObject object) |
static String |
AVPowerfulUtils.getBatchEndpoint(String version,
AVObject object,
boolean post) |
boolean |
AVObject.hasSameId(AVObject other) |
boolean |
AVStatus.hasSameId(AVObject other)
Deprecated.
|
static Map<String,String> |
AVUtils.mapFromChildObject(AVObject object,
String key) |
static Map<String,Object> |
AVUtils.mapFromPointerObject(AVObject object) |
static Map<String,Object> |
AVUtils.mapFromPointerObject(AVObject object,
boolean withPointerValue) |
void |
GenericObjectCallback.onGroupRequestFinished(int left,
int total,
AVObject object) |
static AVFile |
AVFile.parseFileWithAVObject(AVObject obj)
Deprecated.
Please use #
AVFile.withAVObject(AVObject) |
protected static void |
PaasClient.registerEventuallyObject(AVObject object) |
void |
AVRelation.remove(AVObject object)
Removes an object from this relation.
|
static <M extends AVObject> |
AVRelation.reverseQuery(Class<M> theParentClazz,
String relationKey,
AVObject child)
Create a query that can be used to query the parent objects in this relation.
|
static <M extends AVObject> |
AVRelation.reverseQuery(String parentClassName,
String relationKey,
AVObject child)
Create a query that can be used to query the parent objects in this relation.
|
void |
AVStatus.setSource(AVObject source) |
protected static void |
PaasClient.unregisterEvtuallyObject(AVObject object) |
static void |
AVUtils.updatePropertyFromList(AVObject object,
String key,
Collection<Object> list) |
static void |
AVUtils.updatePropertyFromMap(AVObject parent,
String key,
Map<String,Object> map) |
static AVFile |
AVFile.withAVObject(AVObject obj)
Construct a AVFile from AVObject.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AVObject.buildBatchParameterForNonSavedObject(List<AVObject> unSavedChildren,
List requestQueue) |
static Map<String,Object> |
AVUtils.createPointerArrayOpMap(String key,
String op,
Collection<AVObject> objects) |
static void |
AVObject.deleteAll(Collection<? extends AVObject> objects)
Delete AVObject in batch.The objects class name must be the same.
|
static void |
AVObject.deleteAllInBackground(Collection<? extends AVObject> objects,
DeleteCallback deleteCallback)
Delete AVObject in batch with callback in background.The objects class name must be the same.
|
static AVCloudQueryResult |
AVQuery.doCloudQuery(String cql,
Class<? extends AVObject> clazz)
通过cql查询对象
请在异步线程中调用此方法,在UI线程中,请调用doCloudQueryInBackground方法
|
static AVCloudQueryResult |
AVQuery.doCloudQuery(String cql,
Class<? extends AVObject> clazz,
Object... params)
通过cql查询对象
|
static void |
AVQuery.doCloudQueryInBackground(String cql,
CloudQueryCallback<AVCloudQueryResult> callback,
Class<? extends AVObject> clazz)
通过cql查询对象
|
static void |
AVQuery.doCloudQueryInBackground(String cql,
CloudQueryCallback<AVCloudQueryResult> callback,
Class<? extends AVObject> clazz,
Object... params)
通过cql查询对象
|
static List<AVObject> |
AVObject.fetchAll(List<AVObject> objects)
Fetches all the objects in the provided list.
|
static List<AVObject> |
AVObject.fetchAllIfNeeded(List<AVObject> objects)
Fetches all the objects that don't have data in the provided list.
|
static void |
AVObject.fetchAllIfNeededInBackground(List<AVObject> objects,
FindCallback<AVObject> callback)
Fetches all the objects that don't have data in the provided list in the background
|
static void |
AVObject.fetchAllIfNeededInBackground(List<AVObject> objects,
FindCallback<AVObject> callback)
Fetches all the objects that don't have data in the provided list in the background
|
static void |
AVObject.fetchAllInBackground(List<AVObject> objects,
FindCallback<AVObject> callback)
Fetches all the objects in the provided list in the background
|
static void |
AVObject.fetchAllInBackground(List<AVObject> objects,
FindCallback<AVObject> callback)
Fetches all the objects in the provided list in the background
|
void |
AVObject.fetchIfNeededInBackground(GetCallback<AVObject> callback)
If this AVObject has not been fetched (i.e.
|
void |
AVStatus.fetchIfNeededInBackground(GetCallback<AVObject> callback)
Deprecated.
|
void |
AVObject.fetchIfNeededInBackground(String includeKeys,
GetCallback<AVObject> callback)
If this AVObject has not been fetched (i.e.
|
void |
AVStatus.fetchIfNeededInBackground(String includedkeys,
GetCallback<AVObject> callback)
Deprecated.
|
void |
AVObject.fetchInBackground(GetCallback<AVObject> callback)
Fetches this object with the data from the server in a background thread.
|
void |
AVStatus.fetchInBackground(GetCallback<AVObject> callback)
Deprecated.
|
void |
AVObject.fetchInBackground(String includeKeys,
GetCallback<AVObject> callback)
Fetches this object with the data from the server in a background thread.
|
void |
AVStatus.fetchInBackground(String includeKeys,
GetCallback<AVObject> callback)
Deprecated.
|
static String |
AVUtils.getAVObjectClassName(Class<? extends AVObject> clazz) |
void |
AVObject.refreshInBackground(RefreshCallback<AVObject> callback)
Refreshes this object with the data from the server in a background thread.
|
void |
AVStatus.refreshInBackground(RefreshCallback<AVObject> callback)
Deprecated.
|
void |
AVObject.refreshInBackground(String includeKeys,
RefreshCallback<AVObject> callback)
Refreshes this object with the data from the server in a background thread.
|
void |
AVStatus.refreshInBackground(String includeKeys,
RefreshCallback<AVObject> callback)
Deprecated.
|
static void |
AVObject.saveAll(List<? extends AVObject> objects)
Saves each object in the provided list.
|
static void |
AVObject.saveAllInBackground(List<? extends AVObject> objects)
Saves each object in the provided list to the server in a background thread.
|
static void |
AVObject.saveAllInBackground(List<? extends AVObject> objects,
SaveCallback callback)
Saves each object in the provided list to the server in a background thread.
|
| Constructor and Description |
|---|
AVObjectReferenceCount(AVObject o) |
| Modifier and Type | Method and Description |
|---|---|
Set<AVObject> |
AddRelationOp.getValues() |
Set<AVObject> |
RemoveRelationOp.getValues() |
| Constructor and Description |
|---|
AddRelationOp(String key,
AVObject... values) |
RemoveRelationOp(String key,
AVObject... values) |
Copyright © 2017. All rights reserved.