| Modifier and Type | Class and Description |
|---|---|
class |
FindCallback<T extends ParseObject>
A FindCallback is used to run code after a
ParseQuery is used to fetch a list of
ParseObjects in a background thread. |
class |
GetCallback<T extends ParseObject>
A GetCallback is used to run code after a
ParseQuery is used to fetch a
ParseObject in a background thread. |
class |
ParseQuery<T extends ParseObject>
The ParseQuery class defines a query that is used to fetch ParseObjects.
|
class |
ParseQueryAdapter<T extends ParseObject>
A ParseQueryAdapter handles the fetching of objects by page, and displaying objects as views in a
ListView.
|
static interface |
ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject>
Implement with logic that is called before and after objects are fetched from Parse by the
adapter.
|
static interface |
ParseQueryAdapter.QueryFactory<T extends ParseObject>
Implement to construct your own custom
ParseQuery for fetching objects. |
class |
ParseRelation<T extends ParseObject>
A class that is used to access all of the children of a many-to-many relationship.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ParseInstallation |
class |
ParseRole
Represents a Role on the Parse server.
|
class |
ParseUser |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ParseObject> |
ParseObject.create(Class<T> subclass)
Creates a new
ParseObject based upon a subclass type. |
static <T extends ParseObject> |
ParseObject.createWithoutData(Class<T> subclass,
String objectId)
Creates a reference to an existing
ParseObject for use in creating associations between
ParseObjects. |
static <T extends ParseObject> |
ParseObject.deleteAll(List<T> objects)
Deletes each object in the provided list.
|
static <T extends ParseObject> |
ParseObject.deleteAllInBackground(List<T> objects)
Deletes each object in the provided list.
|
static <T extends ParseObject> |
ParseObject.deleteAllInBackground(List<T> objects,
DeleteCallback callback)
Deletes each object in the provided list.
|
<T extends ParseObject> |
ParseObject.fetch()
Fetches this object with the data from the server.
|
static <T extends ParseObject> |
ParseObject.fetchAll(List<T> objects)
Fetches all the objects in the provided list.
|
static <T extends ParseObject> |
ParseObject.fetchAllIfNeeded(List<T> objects)
Fetches all the objects that don't have data in the provided list.
|
static <T extends ParseObject> |
ParseObject.fetchAllIfNeededInBackground(List<T> objects)
Fetches all the objects that don't have data in the provided list in the background.
|
static <T extends ParseObject> |
ParseObject.fetchAllIfNeededInBackground(List<T> objects,
FindCallback<T> callback)
Fetches all the objects that don't have data in the provided list in the background.
|
static <T extends ParseObject> |
ParseObject.fetchAllInBackground(List<T> objects)
Fetches all the objects in the provided list in the background.
|
static <T extends ParseObject> |
ParseObject.fetchAllInBackground(List<T> objects,
FindCallback<T> callback)
Fetches all the objects in the provided list in the background.
|
<T extends ParseObject> |
ParseObject.fetchFromLocalDatastoreInBackground(GetCallback<T> callback)
Loads data from the local datastore into this object, if it has not been fetched from the
server already.
|
<T extends ParseObject> |
ParseObject.fetchIfNeeded()
If this
ParseObject has not been fetched (i.e. |
<T extends ParseObject> |
ParseObject.fetchIfNeededInBackground()
If this
ParseObject has not been fetched (i.e. |
<T extends ParseObject> |
ParseObject.fetchIfNeededInBackground(GetCallback<T> callback)
If this
ParseObject has not been fetched (i.e. |
<T extends ParseObject> |
ParseObject.fetchInBackground()
Fetches this object with the data from the server in a background thread.
|
<T extends ParseObject> |
ParseObject.fetchInBackground(GetCallback<T> callback)
Fetches this object with the data from the server in a background thread.
|
static <T extends ParseObject> |
ParseQuery.getQuery(Class<T> subclass)
Creates a new query for the given ParseObject subclass type.
|
static <T extends ParseObject> |
ParseQuery.getQuery(String className)
Creates a new query for the given class name.
|
<T extends ParseObject> |
ParseObject.getRelation(String key)
Access or create a
ParseRelation value for a key |
static <T extends ParseObject> |
ParseQuery.or(List<ParseQuery<T>> queries)
Constructs a query that is the or of the given queries.
|
static <T extends ParseObject> |
ParseObject.pinAll(List<T> objects)
Stores the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.pinAll(String name,
List<T> objects)
Stores the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.pinAllInBackground(List<T> objects)
Stores the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.pinAllInBackground(List<T> objects,
SaveCallback callback)
Stores the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.pinAllInBackground(String name,
List<T> objects)
Stores the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.pinAllInBackground(String name,
List<T> objects,
SaveCallback callback)
Stores the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.saveAll(List<T> objects)
Saves each object in the provided list.
|
static <T extends ParseObject> |
ParseObject.saveAllInBackground(List<T> objects)
Saves each object in the provided list to the server in a background thread.
|
static <T extends ParseObject> |
ParseObject.saveAllInBackground(List<T> objects,
SaveCallback callback)
Saves each object in the provided list to the server in a background thread.
|
static <T extends ParseObject> |
ParseObject.unpinAll(List<T> objects)
Removes the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.unpinAll(String name,
List<T> objects)
Removes the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.unpinAllInBackground(List<T> objects)
Removes the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.unpinAllInBackground(List<T> objects,
DeleteCallback callback)
Removes the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.unpinAllInBackground(String name,
List<T> objects)
Removes the objects and every object they point to in the local datastore, recursively.
|
static <T extends ParseObject> |
ParseObject.unpinAllInBackground(String name,
List<T> objects,
DeleteCallback callback)
Removes the objects and every object they point to in the local datastore, recursively.
|
| Modifier and Type | Method and Description |
|---|---|
static ParseObject |
ParseObject.create(String className)
Creates a new
ParseObject based upon a class name. |
static ParseObject |
ParseObject.createWithoutData(String className,
String objectId)
Creates a reference to an existing
ParseObject for use in creating associations between
ParseObjects. |
ParseObject |
ParseObject.getParseObject(String key)
Access a
ParseObject value. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
RefreshCallback.done(ParseObject object,
ParseException e)
Override this function with the code you want to run after the save is complete.
|
boolean |
ParseObject.hasSameId(ParseObject other) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ParseObject.registerSubclass(Class<? extends ParseObject> subclass)
Registers a custom subclass type with the Parse SDK, enabling strong-typing of those
ParseObjects whenever they appear. |
| Constructor and Description |
|---|
ParseQueryAdapter(Context context,
Class<? extends ParseObject> clazz)
Constructs a ParseQueryAdapter.
|
ParseQueryAdapter(Context context,
Class<? extends ParseObject> clazz,
int itemViewResource)
Constructs a ParseQueryAdapter.
|