diff --git a/TodoListManager/AndroidManifest.xml b/TodoListManager/AndroidManifest.xml index a6fc10d..f6b40fa 100644 --- a/TodoListManager/AndroidManifest.xml +++ b/TodoListManager/AndroidManifest.xml @@ -8,6 +8,9 @@ android:minSdkVersion="11" android:targetSdkVersion="19" /> + + + - + \ No newline at end of file diff --git a/TodoListManager/bin/AndroidManifest.xml b/TodoListManager/bin/AndroidManifest.xml index a6fc10d..f6b40fa 100644 --- a/TodoListManager/bin/AndroidManifest.xml +++ b/TodoListManager/bin/AndroidManifest.xml @@ -8,6 +8,9 @@ android:minSdkVersion="11" android:targetSdkVersion="19" /> + + + - + \ No newline at end of file diff --git a/TodoListManager/bin/TodoListManager.apk b/TodoListManager/bin/TodoListManager.apk index f1cfe3f..84754bf 100644 Binary files a/TodoListManager/bin/TodoListManager.apk and b/TodoListManager/bin/TodoListManager.apk differ diff --git a/TodoListManager/bin/classes.dex b/TodoListManager/bin/classes.dex index f70ba4b..46ec2fc 100644 Binary files a/TodoListManager/bin/classes.dex and b/TodoListManager/bin/classes.dex differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog$1.class b/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog$1.class index 887dc74..4f29781 100644 Binary files a/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog$1.class and b/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog$1.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog$2.class b/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog$2.class index dfd6eaa..61c375c 100644 Binary files a/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog$2.class and b/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog$2.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog.class b/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog.class index 9583531..ccb799a 100644 Binary files a/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog.class and b/TodoListManager/bin/classes/il/ac/huji/todolist/ActionTaskDialog.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity$1.class b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity$1.class index 1ada7bf..39c71b5 100644 Binary files a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity$1.class and b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity$1.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity$2.class b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity$2.class index ef4801b..e755537 100644 Binary files a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity$2.class and b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity$2.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity.class b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity.class index 5056199..d01c57c 100644 Binary files a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity.class and b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoListManagerActivity.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTask.class b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTask.class index 72f0084..c025eba 100644 Binary files a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTask.class and b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTask.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper$1.class b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper$1.class new file mode 100644 index 0000000..ca7ecf3 Binary files /dev/null and b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper$1.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper$2.class b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper$2.class new file mode 100644 index 0000000..b560014 Binary files /dev/null and b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper$2.class differ diff --git a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper.class b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper.class index c8ee91d..e8f6c8e 100644 Binary files a/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper.class and b/TodoListManager/bin/classes/il/ac/huji/todolist/TodoTaskSQLiteHelper.class differ diff --git a/TodoListManager/bin/dexedLibs/Parse-1.4.2-375e36aabe5e6373b22d5954b4d78998.jar b/TodoListManager/bin/dexedLibs/Parse-1.4.2-375e36aabe5e6373b22d5954b4d78998.jar new file mode 100644 index 0000000..f3f6c96 Binary files /dev/null and b/TodoListManager/bin/dexedLibs/Parse-1.4.2-375e36aabe5e6373b22d5954b4d78998.jar differ diff --git a/TodoListManager/bin/resources.ap_ b/TodoListManager/bin/resources.ap_ index 96bf49e..67a1ae6 100644 Binary files a/TodoListManager/bin/resources.ap_ and b/TodoListManager/bin/resources.ap_ differ diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/allclasses-frame.html b/TodoListManager/libs/Parse-1.4.2-javadoc/allclasses-frame.html new file mode 100644 index 0000000..b8a2808 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/allclasses-frame.html @@ -0,0 +1,103 @@ + + + + + +All Classes + + + + + + + + + + +All Classes +
+ + + + + +
CountCallback +
+DeleteCallback +
+FindCallback +
+FunctionCallback +
+GetCallback +
+GetDataCallback +
+LocationCallback +
+LogInCallback +
+Parse +
+ParseACL +
+ParseAnalytics +
+ParseAnonymousUtils +
+ParseClassName +
+ParseCloud +
+ParseException +
+ParseFacebookUtils +
+ParseFile +
+ParseGeoPoint +
+ParseImageView +
+ParseInstallation +
+ParseObject +
+ParsePush +
+ParseQuery +
+ParseQuery.CachePolicy +
+ParseQueryAdapter +
+ParseQueryAdapter.OnQueryLoadListener +
+ParseQueryAdapter.QueryFactory +
+ParseRelation +
+ParseRole +
+ParseTwitterUtils +
+ParseUser +
+ProgressCallback +
+PushService +
+RefreshCallback +
+RequestPasswordResetCallback +
+SaveCallback +
+SendCallback +
+SignUpCallback +
+
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/allclasses-noframe.html b/TodoListManager/libs/Parse-1.4.2-javadoc/allclasses-noframe.html new file mode 100644 index 0000000..710fb4b --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/allclasses-noframe.html @@ -0,0 +1,103 @@ + + + + + +All Classes + + + + + + + + + + +All Classes +
+ + + + + +
CountCallback +
+DeleteCallback +
+FindCallback +
+FunctionCallback +
+GetCallback +
+GetDataCallback +
+LocationCallback +
+LogInCallback +
+Parse +
+ParseACL +
+ParseAnalytics +
+ParseAnonymousUtils +
+ParseClassName +
+ParseCloud +
+ParseException +
+ParseFacebookUtils +
+ParseFile +
+ParseGeoPoint +
+ParseImageView +
+ParseInstallation +
+ParseObject +
+ParsePush +
+ParseQuery +
+ParseQuery.CachePolicy +
+ParseQueryAdapter +
+ParseQueryAdapter.OnQueryLoadListener +
+ParseQueryAdapter.QueryFactory +
+ParseRelation +
+ParseRole +
+ParseTwitterUtils +
+ParseUser +
+ProgressCallback +
+PushService +
+RefreshCallback +
+RequestPasswordResetCallback +
+SaveCallback +
+SendCallback +
+SignUpCallback +
+
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/CountCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/CountCallback.html new file mode 100644 index 0000000..46c05bb --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/CountCallback.html @@ -0,0 +1,279 @@ + + + + + +CountCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class CountCallback

+
+Object
+  extended by com.parse.CountCallback
+
+
+
+
public abstract class CountCallback
extends Object
+ + +

+A CountCallback is used to run code after a ParseQuery is used to count objects matching + a query in a background thread. +

+ The easiest way to use a GetCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the count is complete. + The done function will be run in the UI thread, while the count happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

+ For example, this sample code counts objects of class "MyClass". It calls a + different function depending on whether the count succeeded or not. +

+ +

+ ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
+ query.countInBackground(new CountCallback() {
+   public void done(int count, ParseException e) {
+     if (e == null) {
+       objectsWereCountedSuccessfully(count);
+     } else {
+       objectCountingFailed();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CountCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(int count, + ParseException e) + +
+          Override this function with the code you want to run after the count is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CountCallback

+
+public CountCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(int count,
+                          ParseException e)
+
+
Override this function with the code you want to run after the count is complete. +

+

+
Parameters:
count - The number of objects matching the query, or -1 if it failed.
e - The exception raised by the count, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/DeleteCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/DeleteCallback.html new file mode 100644 index 0000000..78cab61 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/DeleteCallback.html @@ -0,0 +1,275 @@ + + + + + +DeleteCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class DeleteCallback

+
+Object
+  extended by com.parse.DeleteCallback
+
+
+
+
public abstract class DeleteCallback
extends Object
+ + +

+A DeleteCallback is used to run code after saving a ParseObject in a background thread. +

+ The easiest way to use a DeleteCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the delete is complete. + The done function will be run in the UI thread, while the delete happens in a + background thread. This ensures that the UI does not freeze while the delete happens. +

+ For example, this sample code deletes the object myObject and calls a different + function depending on whether the save succeeded or not. +

+ +

+ myObject.deleteInBackground(new DeleteCallback() {
+   public void done(ParseException e) {
+     if (e == null) {
+       myObjectWasDeletedSuccessfully();
+     } else {
+       myObjectDeleteDidNotSucceed();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DeleteCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(ParseException e) + +
+          Override this function with the code you want to run after the delete is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DeleteCallback

+
+public DeleteCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(ParseException e)
+
+
Override this function with the code you want to run after the delete is complete. +

+

+
Parameters:
e - The exception raised by the delete, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/FindCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/FindCallback.html new file mode 100644 index 0000000..4975318 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/FindCallback.html @@ -0,0 +1,279 @@ + + + + + +FindCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class FindCallback<T extends ParseObject>

+
+Object
+  extended by com.parse.FindCallback<T>
+
+
+
+
public abstract class FindCallback<T extends ParseObject>
extends Object
+ + +

+A FindCallback is used to run code after a ParseQuery is used to fetch a list of + ParseObjects in a background thread. +

+ The easiest way to use a FindCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the fetch is complete. + The done function will be run in the UI thread, while the fetch happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

+ For example, this sample code fetches all objects of class "MyClass". It calls a + different function depending on whether the fetch succeeded or not. +

+ +

+ ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
+ query.findInBackground(new FindCallback<ParseObject>() {
+   public void done(List<ParseObject> objects, ParseException e) {
+     if (e == null) {
+       objectsWereRetrievedSuccessfully(objects);
+     } else {
+       objectRetrievalFailed();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FindCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(List<T> objects, + ParseException e) + +
+          Override this function with the code you want to run after the fetch is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FindCallback

+
+public FindCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(List<T> objects,
+                          ParseException e)
+
+
Override this function with the code you want to run after the fetch is complete. +

+

+
Parameters:
objects - The objects that were retrieved, or null if it did not succeed.
e - The exception raised by the save, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/FunctionCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/FunctionCallback.html new file mode 100644 index 0000000..45af03f --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/FunctionCallback.html @@ -0,0 +1,280 @@ + + + + + +FunctionCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class FunctionCallback<T>

+
+Object
+  extended by com.parse.FunctionCallback<T>
+
+
+
Type Parameters:
T - The type of object returned by the Cloud Function.
+
+
+
public abstract class FunctionCallback<T>
extends Object
+ + +

+A FunctionCallback is used to run code after ParseCloud.callFunction(java.lang.String, java.util.Map) is used to run a + Cloud Function in a background thread. +

+ The easiest way to use a FunctionCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the cloud function is + complete. The done function will be run in the UI thread, while the fetch happens in + a background thread. This ensures that the UI does not freeze while the fetch happens. +

+ For example, this sample code calls a cloud function "MyFunction" with + params and calls a different function depending on whether the function succeeded. +

+ +

+ ParseCloud.callFunctionInBackground("MyFunction"new, params, FunctionCallback() {
+   public void done(ParseObject object, ParseException e) {
+     if (e == null) {
+       cloudFunctionSucceeded(object);
+     } else {
+       cloudFunctionFailed();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FunctionCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(T object, + ParseException e) + +
+          Override this function with the code you want to run after the cloud function is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FunctionCallback

+
+public FunctionCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(T object,
+                          ParseException e)
+
+
Override this function with the code you want to run after the cloud function is complete. +

+

+
Parameters:
object - The object that was returned by the cloud function.
e - The exception raised by the cloud call, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/GetCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/GetCallback.html new file mode 100644 index 0000000..b023e59 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/GetCallback.html @@ -0,0 +1,279 @@ + + + + + +GetCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class GetCallback<T extends ParseObject>

+
+Object
+  extended by com.parse.GetCallback<T>
+
+
+
+
public abstract class GetCallback<T extends ParseObject>
extends Object
+ + +

+A GetCallback is used to run code after a ParseQuery is used to fetch a + ParseObject in a background thread. +

+ The easiest way to use a GetCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the fetch is complete. + The done function will be run in the UI thread, while the fetch happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

+ For example, this sample code fetches an object of class "MyClass" and id + myId. It calls a different function depending on whether the fetch succeeded or not. +

+ +

+ ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
+ query.getInBackground(myId, new GetCallback<ParseObject>() {
+   public void done(ParseObject object, ParseException e) {
+     if (e == null) {
+       objectWasRetrievedSuccessfully(object);
+     } else {
+       objectRetrievalFailed();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
GetCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(T object, + ParseException e) + +
+          Override this function with the code you want to run after the fetch is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GetCallback

+
+public GetCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(T object,
+                          ParseException e)
+
+
Override this function with the code you want to run after the fetch is complete. +

+

+
Parameters:
object - The object that was retrieved, or null if it did not succeed.
e - The exception raised by the save, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/GetDataCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/GetDataCallback.html new file mode 100644 index 0000000..4ce55f3 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/GetDataCallback.html @@ -0,0 +1,263 @@ + + + + + +GetDataCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class GetDataCallback

+
+Object
+  extended by com.parse.GetDataCallback
+
+
+
+
public abstract class GetDataCallback
extends Object
+ + +

+A GetDataCallback is used to run code after a ParseFile fetches its data on a background + thread. +

+ The easiest way to use a GetDataCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the fetch is complete. + The done function will be run in the UI thread, while the fetch happens in a + background thread. This ensures that the UI does not freeze while the fetch happens. +

+ file.getDataInBackground(new GetDataCallback() { public void done(byte[] data, ParseException e) + { // ... } }); +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
GetDataCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(byte[] data, + ParseException e) + +
+           
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GetDataCallback

+
+public GetDataCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(byte[] data,
+                          ParseException e)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/LocationCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/LocationCallback.html new file mode 100644 index 0000000..91debc3 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/LocationCallback.html @@ -0,0 +1,279 @@ + + + + + +LocationCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class LocationCallback

+
+Object
+  extended by com.parse.LocationCallback
+
+
+
+
public abstract class LocationCallback
extends Object
+ + +

+A LocationCallback is used to run code after a Location has been fetched by some + LocationProvider. +

+ The easiest way to use a LocationCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the location has been + fetched. The done function will be run in the UI thread, while the location check + happens in a background thread. This ensures that the UI does not freeze while the fetch happens. +

+ For example, this sample code defines a timeout for fetching the user's current location, and + provides a callback. Within the callback, the success and failure cases are handled differently. +

+ +

+ ParseGeoPoint.getCurrentLocationAsync(1000, new LocationCallback() {
+   public void done(ParseGeoPoint geoPoint, ParseException e) {
+     if (e == null) {
+       // do something with your new ParseGeoPoint
+     } else {
+       // handle your error
+       e.printStackTrace();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LocationCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(ParseGeoPoint geoPoint, + ParseException e) + +
+          Override this function with the code you want to run after the location fetch is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LocationCallback

+
+public LocationCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(ParseGeoPoint geoPoint,
+                          ParseException e)
+
+
Override this function with the code you want to run after the location fetch is complete. +

+

+
Parameters:
geoPoint - The ParseGeoPoint returned by the location fetch.
e - The exception raised by the location fetch, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/LogInCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/LogInCallback.html new file mode 100644 index 0000000..1f5b508 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/LogInCallback.html @@ -0,0 +1,279 @@ + + + + + +LogInCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class LogInCallback

+
+Object
+  extended by com.parse.LogInCallback
+
+
+
+
public abstract class LogInCallback
extends Object
+ + +

+A LogInCallback is used to run code after logging in a user. +

+ The easiest way to use a LogInCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the login is complete. + The done function will be run in the UI thread, while the login happens in a + background thread. This ensures that the UI does not freeze while the save happens. +

+ For example, this sample code logs in a user and calls a different function depending on whether + the login succeeded or not. +

+ +

+ ParseUser.logInInBackground("username", "password", new LogInCallback() {
+   public void done(ParseUser user, ParseException e) {
+     if (e == null && user != null) {
+       loginSuccessful();
+     } else if (user == null) {
+       usernameOrPasswordIsInvalid();
+     } else {
+       somethingWentWrong();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LogInCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(ParseUser user, + ParseException e) + +
+          Override this function with the code you want to run after the save is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LogInCallback

+
+public LogInCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(ParseUser user,
+                          ParseException e)
+
+
Override this function with the code you want to run after the save is complete. +

+

+
Parameters:
user - The user that logged in, if the username and password is valid.
e - The exception raised by the login.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/Parse.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/Parse.html new file mode 100644 index 0000000..9155965 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/Parse.html @@ -0,0 +1,420 @@ + + + + + +Parse + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class Parse

+
+Object
+  extended by com.parse.Parse
+
+
+
+
public class Parse
extends Object
+ + +

+The Parse class contains static functions that handle global configuration for the Parse library. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intLOG_LEVEL_DEBUG + +
+           
+static intLOG_LEVEL_ERROR + +
+           
+static intLOG_LEVEL_INFO + +
+           
+static intLOG_LEVEL_NONE + +
+           
+static intLOG_LEVEL_VERBOSE + +
+           
+static intLOG_LEVEL_WARNING + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static intgetLogLevel() + +
+          Gets the level of logging that will be displayed.
+static voidinitialize(Context context, + String applicationId, + String clientKey) + +
+          Authenticates this client as belonging to your application.
+static voidsetLogLevel(int logLevel) + +
+          Sets the level of logging to display, where each level includes all those below it.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+LOG_LEVEL_VERBOSE

+
+public static final int LOG_LEVEL_VERBOSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOG_LEVEL_DEBUG

+
+public static final int LOG_LEVEL_DEBUG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOG_LEVEL_INFO

+
+public static final int LOG_LEVEL_INFO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOG_LEVEL_WARNING

+
+public static final int LOG_LEVEL_WARNING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOG_LEVEL_ERROR

+
+public static final int LOG_LEVEL_ERROR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOG_LEVEL_NONE

+
+public static final int LOG_LEVEL_NONE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+initialize

+
+public static void initialize(Context context,
+                              String applicationId,
+                              String clientKey)
+
+
Authenticates this client as belonging to your application. This must be called before your + application can use the Parse library. The recommended way is to put a call to + Parse.initialize in each of your onCreate methods. An example: + +
+ import android.app.Application;
+ import com.parse.Parse;
+ 
+ public class MyApplication extends Application {
+ 
+   public void onCreate() {
+     Parse.initialize(this, "your application id", "your client key");
+   }
+ 
+ }
+ 
+

+

+
Parameters:
context - The active Context for your application.
applicationId - The application id provided in the Parse dashboard.
clientKey - The client key provided in the Parse dashboard.
+
+
+
+ +

+setLogLevel

+
+public static void setLogLevel(int logLevel)
+
+
Sets the level of logging to display, where each level includes all those below it. The default + level is Parse.LOG_LEVEL_ERROR. Please ensure this is set to Parse.LOG_LEVEL_ERROR + or Parse.LOG_LEVEL_NONE before deploying your app to ensure no sensitive information is + logged. The levels are: + +

+

+
Parameters:
logLevel - The level of logcat logging that Parse should do.
+
+
+
+ +

+getLogLevel

+
+public static int getLogLevel()
+
+
Gets the level of logging that will be displayed. +

+

+ +
Returns:
the log level.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseACL.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseACL.html new file mode 100644 index 0000000..c916b20 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseACL.html @@ -0,0 +1,752 @@ + + + + + +ParseACL + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseACL

+
+Object
+  extended by com.parse.ParseACL
+
+
+
+
public class ParseACL
extends Object
+ + +

+A ParseACL is used to control which users can access or modify a particular object. Each + ParseObject can have its own ParseACL. You can grant read and write permissions + separately to specific users, to groups of users that belong to roles, or you can grant + permissions to "the public" so that, for example, any user could read a particular object but + only a particular set of users could write to that object. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ParseACL() + +
+          Creates an ACL with no permissions granted.
ParseACL(ParseUser owner) + +
+          Creates an ACL where only the provided user has access.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleangetPublicReadAccess() + +
+          Get whether the public is allowed to read this object.
+ booleangetPublicWriteAccess() + +
+          Set whether the public is allowed to write this object.
+ booleangetReadAccess(ParseUser user) + +
+          Get whether the given user id is *explicitly* allowed to read this object.
+ booleangetReadAccess(String userId) + +
+          Get whether the given user id is *explicitly* allowed to read this object.
+ booleangetRoleReadAccess(ParseRole role) + +
+          Get whether users belonging to the given role are allowed to read this object.
+ booleangetRoleReadAccess(String roleName) + +
+          Get whether users belonging to the role with the given roleName are allowed to read this + object.
+ booleangetRoleWriteAccess(ParseRole role) + +
+          Get whether users belonging to the given role are allowed to write this object.
+ booleangetRoleWriteAccess(String roleName) + +
+          Get whether users belonging to the role with the given roleName are allowed to write this + object.
+ booleangetWriteAccess(ParseUser user) + +
+          Get whether the given user id is *explicitly* allowed to write this object.
+ booleangetWriteAccess(String userId) + +
+          Get whether the given user id is *explicitly* allowed to write this object.
+static voidsetDefaultACL(ParseACL acl, + boolean withAccessForCurrentUser) + +
+          Sets a default ACL that will be applied to all ParseObjects when they are created.
+ voidsetPublicReadAccess(boolean allowed) + +
+          Set whether the public is allowed to read this object.
+ voidsetPublicWriteAccess(boolean allowed) + +
+          Set whether the public is allowed to write this object.
+ voidsetReadAccess(ParseUser user, + boolean allowed) + +
+          Set whether the given user is allowed to read this object.
+ voidsetReadAccess(String userId, + boolean allowed) + +
+          Set whether the given user id is allowed to read this object.
+ voidsetRoleReadAccess(ParseRole role, + boolean allowed) + +
+          Set whether users belonging to the given role are allowed to read this object.
+ voidsetRoleReadAccess(String roleName, + boolean allowed) + +
+          Set whether users belonging to the role with the given roleName are allowed to read this + object.
+ voidsetRoleWriteAccess(ParseRole role, + boolean allowed) + +
+          Set whether users belonging to the given role are allowed to write this object.
+ voidsetRoleWriteAccess(String roleName, + boolean allowed) + +
+          Set whether users belonging to the role with the given roleName are allowed to write this + object.
+ voidsetWriteAccess(ParseUser user, + boolean allowed) + +
+          Set whether the given user is allowed to write this object.
+ voidsetWriteAccess(String userId, + boolean allowed) + +
+          Set whether the given user id is allowed to write this object.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseACL

+
+public ParseACL()
+
+
Creates an ACL with no permissions granted. +

+

+
+ +

+ParseACL

+
+public ParseACL(ParseUser owner)
+
+
Creates an ACL where only the provided user has access. +

+

+
Parameters:
owner - The only user that can read or write objects governed by this ACL.
+
+ + + + + + + + +
+Method Detail
+ +

+setPublicReadAccess

+
+public void setPublicReadAccess(boolean allowed)
+
+
Set whether the public is allowed to read this object. +

+

+
+
+
+
+ +

+getPublicReadAccess

+
+public boolean getPublicReadAccess()
+
+
Get whether the public is allowed to read this object. +

+

+
+
+
+
+ +

+setPublicWriteAccess

+
+public void setPublicWriteAccess(boolean allowed)
+
+
Set whether the public is allowed to write this object. +

+

+
+
+
+
+ +

+getPublicWriteAccess

+
+public boolean getPublicWriteAccess()
+
+
Set whether the public is allowed to write this object. +

+

+
+
+
+
+ +

+setReadAccess

+
+public void setReadAccess(String userId,
+                          boolean allowed)
+
+
Set whether the given user id is allowed to read this object. +

+

+
+
+
+
+ +

+getReadAccess

+
+public boolean getReadAccess(String userId)
+
+
Get whether the given user id is *explicitly* allowed to read this object. Even if this returns + false, the user may still be able to access it if getPublicReadAccess returns true or a role + that the user belongs to has read access. +

+

+
+
+
+
+ +

+setWriteAccess

+
+public void setWriteAccess(String userId,
+                           boolean allowed)
+
+
Set whether the given user id is allowed to write this object. +

+

+
+
+
+
+ +

+getWriteAccess

+
+public boolean getWriteAccess(String userId)
+
+
Get whether the given user id is *explicitly* allowed to write this object. Even if this + returns false, the user may still be able to write it if getPublicWriteAccess returns true or a + role that the user belongs to has write access. +

+

+
+
+
+
+ +

+setReadAccess

+
+public void setReadAccess(ParseUser user,
+                          boolean allowed)
+
+
Set whether the given user is allowed to read this object. +

+

+
+
+
+
+ +

+getReadAccess

+
+public boolean getReadAccess(ParseUser user)
+
+
Get whether the given user id is *explicitly* allowed to read this object. Even if this returns + false, the user may still be able to access it if getPublicReadAccess returns true or a role + that the user belongs to has read access. +

+

+
+
+
+
+ +

+setWriteAccess

+
+public void setWriteAccess(ParseUser user,
+                           boolean allowed)
+
+
Set whether the given user is allowed to write this object. +

+

+
+
+
+
+ +

+getWriteAccess

+
+public boolean getWriteAccess(ParseUser user)
+
+
Get whether the given user id is *explicitly* allowed to write this object. Even if this + returns false, the user may still be able to write it if getPublicWriteAccess returns true or a + role that the user belongs to has write access. +

+

+
+
+
+
+ +

+getRoleReadAccess

+
+public boolean getRoleReadAccess(String roleName)
+
+
Get whether users belonging to the role with the given roleName are allowed to read this + object. Even if this returns false, the role may still be able to read it if a parent + role has read access. +

+

+
Parameters:
roleName - The name of the role. +
Returns:
true if the role has read access. false otherwise.
+
+
+
+ +

+setRoleReadAccess

+
+public void setRoleReadAccess(String roleName,
+                              boolean allowed)
+
+
Set whether users belonging to the role with the given roleName are allowed to read this + object. +

+

+
Parameters:
roleName - The name of the role.
allowed - Whether the given role can read this object.
+
+
+
+ +

+getRoleWriteAccess

+
+public boolean getRoleWriteAccess(String roleName)
+
+
Get whether users belonging to the role with the given roleName are allowed to write this + object. Even if this returns false, the role may still be able to write it if a parent + role has write access. +

+

+
Parameters:
roleName - The name of the role. +
Returns:
true if the role has write access. false otherwise.
+
+
+
+ +

+setRoleWriteAccess

+
+public void setRoleWriteAccess(String roleName,
+                               boolean allowed)
+
+
Set whether users belonging to the role with the given roleName are allowed to write this + object. +

+

+
Parameters:
roleName - The name of the role.
allowed - Whether the given role can write this object.
+
+
+
+ +

+getRoleReadAccess

+
+public boolean getRoleReadAccess(ParseRole role)
+
+
Get whether users belonging to the given role are allowed to read this object. Even if this + returns false, the role may still be able to read it if a parent role has read access. + The role must already be saved on the server and its data must have been fetched in order to + use this method. +

+

+
Parameters:
role - The role to check for access. +
Returns:
true if the role has read access. false otherwise.
+
+
+
+ +

+setRoleReadAccess

+
+public void setRoleReadAccess(ParseRole role,
+                              boolean allowed)
+
+
Set whether users belonging to the given role are allowed to read this object. The role must + already be saved on the server and its data must have been fetched in order to use this method. +

+

+
Parameters:
role - The role to assign access.
allowed - Whether the given role can read this object.
+
+
+
+ +

+getRoleWriteAccess

+
+public boolean getRoleWriteAccess(ParseRole role)
+
+
Get whether users belonging to the given role are allowed to write this object. Even if this + returns false, the role may still be able to write it if a parent role has write + access. The role must already be saved on the server and its data must have been fetched in + order to use this method. +

+

+
Parameters:
role - The role to check for access. +
Returns:
true if the role has write access. false otherwise.
+
+
+
+ +

+setRoleWriteAccess

+
+public void setRoleWriteAccess(ParseRole role,
+                               boolean allowed)
+
+
Set whether users belonging to the given role are allowed to write this object. The role must + already be saved on the server and its data must have been fetched in order to use this method. +

+

+
Parameters:
role - The role to assign access.
allowed - Whether the given role can write this object.
+
+
+
+ +

+setDefaultACL

+
+public static void setDefaultACL(ParseACL acl,
+                                 boolean withAccessForCurrentUser)
+
+
Sets a default ACL that will be applied to all ParseObjects when they are created. +

+

+
Parameters:
acl - The ACL to use as a template for all ParseObjects created after setDefaultACL + has been called. This value will be copied and used as a template for the creation of + new ACLs, so changes to the instance after setDefaultACL() has been called will not be + reflected in new ParseObjects.
withAccessForCurrentUser - If true, the ParseACL that is applied to newly-created ParseObjects will + provide read and write access to the ParseUser.getCurrentUser() at the time of + creation. If false, the provided ACL will be used without modification. If acl is + null, this value is ignored.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseAnalytics.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseAnalytics.html new file mode 100644 index 0000000..9f10a40 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseAnalytics.html @@ -0,0 +1,318 @@ + + + + + +ParseAnalytics + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseAnalytics

+
+Object
+  extended by com.parse.ParseAnalytics
+
+
+
+
public class ParseAnalytics
extends Object
+ + +

+The ParseAnalytics class provides an interface to Parse's logging and analytics backend. Methods + will return immediately and cache requests (+ timestamps) to be handled "eventually." That is, + the request will be sent immediately if possible or the next time a network connection is + available otherwise. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ParseAnalytics() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidtrackAppOpened(Intent intent) + +
+          Tracks this application being launched (and if this happened as the result of the user opening + a push notification, this method sends along information to correlate this open with that + push).
+static voidtrackEvent(String name) + +
+          Tracks the occurrence of a custom event.
+static voidtrackEvent(String name, + Map<String,String> dimensions) + +
+          Tracks the occurrence of a custom event with additional dimensions.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseAnalytics

+
+public ParseAnalytics()
+
+
+ + + + + + + + +
+Method Detail
+ +

+trackAppOpened

+
+public static void trackAppOpened(Intent intent)
+
+
Tracks this application being launched (and if this happened as the result of the user opening + a push notification, this method sends along information to correlate this open with that + push). +

+

+
Parameters:
intent - The Intent that started an Activity, if any. Can be null.
+
+
+
+ +

+trackEvent

+
+public static void trackEvent(String name)
+
+
Tracks the occurrence of a custom event. Parse will store a data point at the time of + invocation with the given event name. +

+

+
Parameters:
name - The name of the custom event to report to Parse as having happened.
+
+
+
+ +

+trackEvent

+
+public static void trackEvent(String name,
+                              Map<String,String> dimensions)
+
+
Tracks the occurrence of a custom event with additional dimensions. Parse will store a data + point at the time of invocation with the given event name. Dimensions will allow segmentation + of the occurrences of this custom event. +

+ To track a user signup along with additional metadata, consider the following: +

+ Map dimensions = new HashMap();
+ dimensions.put("gender", "m");
+ dimensions.put("source", "web");
+ dimensions.put("dayType", "weekend");
+ ParseAnalytics.trackEvent("signup", dimensions);
+ 
+ There is a default limit of 4 dimensions per event tracked. +

+

+
Parameters:
name - The name of the custom event to report to Parse as having happened.
dimensions - The dictionary of information by which to segment this event.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseAnonymousUtils.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseAnonymousUtils.html new file mode 100644 index 0000000..94eb62a --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseAnonymousUtils.html @@ -0,0 +1,262 @@ + + + + + +ParseAnonymousUtils + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseAnonymousUtils

+
+Object
+  extended by com.parse.ParseAnonymousUtils
+
+
+
+
public final class ParseAnonymousUtils
extends Object
+ + +

+Provides utility functions for working with Anonymously logged-in users. Anonymous users have + some unique characteristics: +

    +
  • Anonymous users don't need a user name or password.
  • +
  • Once logged out, an anonymous user cannot be recovered.
  • +
  • When the current user is anonymous, the following methods can be used to switch to a + different user or convert the anonymous user into a regular one: +
      +
    • signUp converts an anonymous user to a standard user with the given username and password. + Data associated with the anonymous user is retained.
    • +
    • logIn switches users without converting the anonymous user. Data associated with the + anonymous user will be lost.
    • +
    • Service logIn (e.g. Facebook, Twitter) will attempt to convert the anonymous user into a + standard user by linking it to the service. If a user already exists that is linked to the + service, it will instead switch to the existing user.
    • +
    • Service linking (e.g. Facebook, Twitter) will convert the anonymous user into a standard user + by linking it to the service.
    • +
    +
+

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+static booleanisLinked(ParseUser user) + +
+          Whether the user is logged in anonymously.
+static voidlogIn(LogInCallback callback) + +
+          Creates an anonymous user.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+isLinked

+
+public static boolean isLinked(ParseUser user)
+
+
Whether the user is logged in anonymously. +

+

+
Parameters:
user - User to check for anonymity. The user must be logged in on this device. +
Returns:
True if the user is anonymous. False if the user is not the current user or is not + anonymous.
+
+
+
+ +

+logIn

+
+public static void logIn(LogInCallback callback)
+
+
Creates an anonymous user. +

+

+
Parameters:
callback - The callback to execute when anonymous user creation is complete.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseClassName.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseClassName.html new file mode 100644 index 0000000..9857d07 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseClassName.html @@ -0,0 +1,204 @@ + + + + + +ParseClassName + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Annotation Type ParseClassName

+
+
+
Associates a class name for a subclass of ParseObject.
+

+ +

+


+ +

+ + + + + + + + + + + +
+Required Element Summary
+ Stringvalue + +
+           
+  +

+ + + + + + + + +
+Element Detail
+ +

+value

+
+public abstract String value
+
+
+
+
+
+ +
Returns:
The Parse class name associated with the ParseObject subclass.
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseCloud.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseCloud.html new file mode 100644 index 0000000..8c965e9 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseCloud.html @@ -0,0 +1,324 @@ + + + + + +ParseCloud + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseCloud

+
+Object
+  extended by com.parse.ParseCloud
+
+
+
+
public class ParseCloud
extends Object
+
+ +

+The ParseCloud class defines provides methods for interacting with Parse Cloud Functions. A Cloud + Function can be called with ParseCloud.callFunctionInBackground(String, Map, FunctionCallback) + using a FunctionCallback. For example, this sample code calls the "validateGame" Cloud + Function and calls processResponse if the call succeeded and handleError if it failed. + +

+ ParseCloud.callFunctionInBackground("validateGame", parameters, new FunctionCallback() {
+      public void done(Object object, ParseException e) {
+        if (e == null) {
+          processResponse(object);
+        } else {
+          handleError();
+        }
+      }
+ }
+ 
+ 
+ Using the callback methods is usually preferred because the network operation will not block the
+ calling thread. However, in some cases it may be easier to use the
+ ParseCloud.callFunction(String, Map) call which do block the calling thread. For example, if your
+ application has already spawned a background task to perform work, that background task could use
+ the blocking calls and avoid the code complexity of callbacks.
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ParseCloud() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static + + + + +
+<T> T
+
callFunction(String name, + Map<String,?> params) + +
+          Calls a cloud function.
+static + + + + +
+<T> void
+
callFunctionInBackground(String name, + Map<String,?> params, + FunctionCallback<T> callback) + +
+          Calls a cloud function in the background.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseCloud

+
+public ParseCloud()
+
+
+ + + + + + + + +
+Method Detail
+ +

+callFunction

+
+public static <T> T callFunction(String name,
+                                 Map<String,?> params)
+                      throws ParseException
+
+
Calls a cloud function. +

+

+
Parameters:
name - The cloud function to call
params - The parameters to send to the cloud function. This map can contain anything that could + be placed in a ParseObject except for ParseObjects themselves. +
Returns:
The result of the cloud call. Result may be a @{link Map}< String, ?>, + ParseObject, List<?>, or any type that can be set as a field in a + ParseObject. +
Throws: +
ParseException
+
+
+
+ +

+callFunctionInBackground

+
+public static <T> void callFunctionInBackground(String name,
+                                                Map<String,?> params,
+                                                FunctionCallback<T> callback)
+
+
Calls a cloud function in the background. +

+

+
Parameters:
name - The cloud function to call
params - The parameters to send to the cloud function. This map can contain anything that could + be placed in a ParseObject except for ParseObjects themselves.
callback - The callback that will be called when the cloud function has returned.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseException.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseException.html new file mode 100644 index 0000000..db50c47 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseException.html @@ -0,0 +1,1168 @@ + + + + + +ParseException + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseException

+
+Object
+  extended by Throwable
+      extended by Exception
+          extended by com.parse.ParseException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class ParseException
extends Exception
+ + +

+A ParseException gets raised whenever a ParseObject issues an invalid request, such as + deleting or editing an object that no longer exists on the server, or when there is a network + failure preventing communication with the Parse server. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intACCOUNT_ALREADY_LINKED + +
+          Error code indicating that an an account being linked is already linked to another user.
+static intCACHE_MISS + +
+          Error code indicating the result was not found in the cache.
+static intCOMMAND_UNAVAILABLE + +
+          Error code indicating that the feature you tried to access is only available internally for + testing purposes.
+static intCONNECTION_FAILED + +
+          Error code indicating the connection to the Parse servers failed.
+static intDUPLICATE_VALUE + +
+          Error code indicating that a unique field was given a value that is already taken.
+static intEMAIL_MISSING + +
+          Error code indicating that the email is missing, but must be specified.
+static intEMAIL_NOT_FOUND + +
+          Error code indicating that a user with the specified email was not found.
+static intEMAIL_TAKEN + +
+          Error code indicating that the email has already been taken.
+static intEXCEEDED_QUOTA + +
+          Error code indicating that an application quota was exceeded.
+static intFILE_DELETE_ERROR + +
+          Error code indicating that deleting a file failed.
+static intINCORRECT_TYPE + +
+          Error code indicating that a field was set to an inconsistent type.
+static intINTERNAL_SERVER_ERROR + +
+          Error code indicating that something has gone wrong with the server.
+static intINVALID_ACL + +
+          Error code indicating an invalid ACL was provided.
+static intINVALID_CHANNEL_NAME + +
+          Error code indicating an invalid channel name.
+static intINVALID_CLASS_NAME + +
+          Error code indicating a missing or invalid classname.
+static intINVALID_EMAIL_ADDRESS + +
+          Error code indicating that the email address was invalid.
+static intINVALID_FILE_NAME + +
+          Error code indicating that an invalid filename was used for ParseFile.
+static intINVALID_JSON + +
+          Error code indicating that badly formed JSON was received upstream.
+static intINVALID_KEY_NAME + +
+          Error code indicating an invalid key name.
+static intINVALID_LINKED_SESSION + +
+          Error code indicating that a user with a linked (e.g.
+static intINVALID_NESTED_KEY + +
+          Error code indicating that an invalid key was used in a nested JSONObject.
+static intINVALID_POINTER + +
+          Error code indicating a malformed pointer.
+static intINVALID_QUERY + +
+          Error code indicating you tried to query with a datatype that doesn't support it, like exact + matching an array or object.
+static intINVALID_ROLE_NAME + +
+          Error code indicating that a role's name is invalid.
+static intLINKED_ID_MISSING + +
+          Error code indicating that a user cannot be linked to an account because that account's id + could not be found.
+static intMISSING_OBJECT_ID + +
+          Error code indicating an unspecified object id.
+static intMUST_CREATE_USER_THROUGH_SIGNUP + +
+          Error code indicating that a user can only be created through signup.
+static intNOT_INITIALIZED + +
+          You must call Parse.initialize before using the Parse library.
+static intOBJECT_NOT_FOUND + +
+          Error code indicating the specified object doesn't exist.
+static intOBJECT_TOO_LARGE + +
+          Error code indicating that the object is too large.
+static intOPERATION_FORBIDDEN + +
+          Error code indicating that the operation isn't allowed for clients.
+static intOTHER_CAUSE + +
+           
+static intPASSWORD_MISSING + +
+          Error code indicating that the password is missing or empty.
+static intPUSH_MISCONFIGURED + +
+          Error code indicating that push is misconfigured.
+static intSCRIPT_ERROR + +
+          Error code indicating that a Cloud Code script failed.
+static intSESSION_MISSING + +
+          Error code indicating that a user object without a valid session could not be altered.
+static intTIMEOUT + +
+          Error code indicating that the request timed out on the server.
+static intUNSUPPORTED_SERVICE + +
+          Error code indicating that a service being linked (e.g.
+static intUSERNAME_MISSING + +
+          Error code indicating that the username is missing or empty.
+static intUSERNAME_TAKEN + +
+          Error code indicating that the username has already been taken.
+static intVALIDATION_ERROR + +
+          Error code indicating that cloud code validation failed.
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
ParseException(int theCode, + String theMessage) + +
+          Construct a new ParseException with a particular error code.
ParseException(String message, + Throwable cause) + +
+          Construct a new ParseException with an external cause.
ParseException(Throwable cause) + +
+          Construct a new ParseException with an external cause.
+  + + + + + + + + + + + +
+Method Summary
+ intgetCode() + +
+          Access the code for this error.
+ + + + + + + +
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+OTHER_CAUSE

+
+public static final int OTHER_CAUSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTERNAL_SERVER_ERROR

+
+public static final int INTERNAL_SERVER_ERROR
+
+
Error code indicating that something has gone wrong with the server. If you get this error + code, it is Parse's fault. Contact us at https://parse.com/help +

+

+
See Also:
Constant Field Values
+
+
+ +

+CONNECTION_FAILED

+
+public static final int CONNECTION_FAILED
+
+
Error code indicating the connection to the Parse servers failed. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OBJECT_NOT_FOUND

+
+public static final int OBJECT_NOT_FOUND
+
+
Error code indicating the specified object doesn't exist. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_QUERY

+
+public static final int INVALID_QUERY
+
+
Error code indicating you tried to query with a datatype that doesn't support it, like exact + matching an array or object. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_CLASS_NAME

+
+public static final int INVALID_CLASS_NAME
+
+
Error code indicating a missing or invalid classname. Classnames are case-sensitive. They must + start with a letter, and a-zA-Z0-9_ are the only valid characters. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MISSING_OBJECT_ID

+
+public static final int MISSING_OBJECT_ID
+
+
Error code indicating an unspecified object id. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_KEY_NAME

+
+public static final int INVALID_KEY_NAME
+
+
Error code indicating an invalid key name. Keys are case-sensitive. They must start with a + letter, and a-zA-Z0-9_ are the only valid characters. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_POINTER

+
+public static final int INVALID_POINTER
+
+
Error code indicating a malformed pointer. You should not see this unless you have been mucking + about changing internal Parse code. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_JSON

+
+public static final int INVALID_JSON
+
+
Error code indicating that badly formed JSON was received upstream. This either indicates you + have done something unusual with modifying how things encode to JSON, or the network is failing + badly. +

+

+
See Also:
Constant Field Values
+
+
+ +

+COMMAND_UNAVAILABLE

+
+public static final int COMMAND_UNAVAILABLE
+
+
Error code indicating that the feature you tried to access is only available internally for + testing purposes. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NOT_INITIALIZED

+
+public static final int NOT_INITIALIZED
+
+
You must call Parse.initialize before using the Parse library. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INCORRECT_TYPE

+
+public static final int INCORRECT_TYPE
+
+
Error code indicating that a field was set to an inconsistent type. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_CHANNEL_NAME

+
+public static final int INVALID_CHANNEL_NAME
+
+
Error code indicating an invalid channel name. A channel name is either an empty string (the + broadcast channel) or contains only a-zA-Z0-9_ characters and starts with a letter. +

+

+
See Also:
Constant Field Values
+
+
+ +

+PUSH_MISCONFIGURED

+
+public static final int PUSH_MISCONFIGURED
+
+
Error code indicating that push is misconfigured. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OBJECT_TOO_LARGE

+
+public static final int OBJECT_TOO_LARGE
+
+
Error code indicating that the object is too large. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPERATION_FORBIDDEN

+
+public static final int OPERATION_FORBIDDEN
+
+
Error code indicating that the operation isn't allowed for clients. +

+

+
See Also:
Constant Field Values
+
+
+ +

+CACHE_MISS

+
+public static final int CACHE_MISS
+
+
Error code indicating the result was not found in the cache. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_NESTED_KEY

+
+public static final int INVALID_NESTED_KEY
+
+
Error code indicating that an invalid key was used in a nested JSONObject. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_FILE_NAME

+
+public static final int INVALID_FILE_NAME
+
+
Error code indicating that an invalid filename was used for ParseFile. A valid file name + contains only a-zA-Z0-9_. characters and is between 1 and 128 characters. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_ACL

+
+public static final int INVALID_ACL
+
+
Error code indicating an invalid ACL was provided. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TIMEOUT

+
+public static final int TIMEOUT
+
+
Error code indicating that the request timed out on the server. Typically this indicates that + the request is too expensive to run. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_EMAIL_ADDRESS

+
+public static final int INVALID_EMAIL_ADDRESS
+
+
Error code indicating that the email address was invalid. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DUPLICATE_VALUE

+
+public static final int DUPLICATE_VALUE
+
+
Error code indicating that a unique field was given a value that is already taken. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_ROLE_NAME

+
+public static final int INVALID_ROLE_NAME
+
+
Error code indicating that a role's name is invalid. +

+

+
See Also:
Constant Field Values
+
+
+ +

+EXCEEDED_QUOTA

+
+public static final int EXCEEDED_QUOTA
+
+
Error code indicating that an application quota was exceeded. Upgrade to resolve. +

+

+
See Also:
Constant Field Values
+
+
+ +

+SCRIPT_ERROR

+
+public static final int SCRIPT_ERROR
+
+
Error code indicating that a Cloud Code script failed. +

+

+
See Also:
Constant Field Values
+
+
+ +

+VALIDATION_ERROR

+
+public static final int VALIDATION_ERROR
+
+
Error code indicating that cloud code validation failed. +

+

+
See Also:
Constant Field Values
+
+
+ +

+FILE_DELETE_ERROR

+
+public static final int FILE_DELETE_ERROR
+
+
Error code indicating that deleting a file failed. +

+

+
See Also:
Constant Field Values
+
+
+ +

+USERNAME_MISSING

+
+public static final int USERNAME_MISSING
+
+
Error code indicating that the username is missing or empty. +

+

+
See Also:
Constant Field Values
+
+
+ +

+PASSWORD_MISSING

+
+public static final int PASSWORD_MISSING
+
+
Error code indicating that the password is missing or empty. +

+

+
See Also:
Constant Field Values
+
+
+ +

+USERNAME_TAKEN

+
+public static final int USERNAME_TAKEN
+
+
Error code indicating that the username has already been taken. +

+

+
See Also:
Constant Field Values
+
+
+ +

+EMAIL_TAKEN

+
+public static final int EMAIL_TAKEN
+
+
Error code indicating that the email has already been taken. +

+

+
See Also:
Constant Field Values
+
+
+ +

+EMAIL_MISSING

+
+public static final int EMAIL_MISSING
+
+
Error code indicating that the email is missing, but must be specified. +

+

+
See Also:
Constant Field Values
+
+
+ +

+EMAIL_NOT_FOUND

+
+public static final int EMAIL_NOT_FOUND
+
+
Error code indicating that a user with the specified email was not found. +

+

+
See Also:
Constant Field Values
+
+
+ +

+SESSION_MISSING

+
+public static final int SESSION_MISSING
+
+
Error code indicating that a user object without a valid session could not be altered. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MUST_CREATE_USER_THROUGH_SIGNUP

+
+public static final int MUST_CREATE_USER_THROUGH_SIGNUP
+
+
Error code indicating that a user can only be created through signup. +

+

+
See Also:
Constant Field Values
+
+
+ +

+ACCOUNT_ALREADY_LINKED

+
+public static final int ACCOUNT_ALREADY_LINKED
+
+
Error code indicating that an an account being linked is already linked to another user. +

+

+
See Also:
Constant Field Values
+
+
+ +

+LINKED_ID_MISSING

+
+public static final int LINKED_ID_MISSING
+
+
Error code indicating that a user cannot be linked to an account because that account's id + could not be found. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INVALID_LINKED_SESSION

+
+public static final int INVALID_LINKED_SESSION
+
+
Error code indicating that a user with a linked (e.g. Facebook) account has an invalid session. +

+

+
See Also:
Constant Field Values
+
+
+ +

+UNSUPPORTED_SERVICE

+
+public static final int UNSUPPORTED_SERVICE
+
+
Error code indicating that a service being linked (e.g. Facebook or Twitter) is unsupported. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ParseException

+
+public ParseException(int theCode,
+                      String theMessage)
+
+
Construct a new ParseException with a particular error code. +

+

+
Parameters:
theCode - The error code to identify the type of exception.
theMessage - A message describing the error in more detail.
+
+
+ +

+ParseException

+
+public ParseException(String message,
+                      Throwable cause)
+
+
Construct a new ParseException with an external cause. +

+

+
Parameters:
message - A message describing the error in more detail.
cause - The cause of the error.
+
+
+ +

+ParseException

+
+public ParseException(Throwable cause)
+
+
Construct a new ParseException with an external cause. +

+

+
Parameters:
cause - The cause of the error.
+
+ + + + + + + + +
+Method Detail
+ +

+getCode

+
+public int getCode()
+
+
Access the code for this error. +

+

+ +
Returns:
The numerical code for this error.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseFacebookUtils.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseFacebookUtils.html new file mode 100644 index 0000000..1fb77df --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseFacebookUtils.html @@ -0,0 +1,951 @@ + + + + + +ParseFacebookUtils + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseFacebookUtils

+
+Object
+  extended by com.parse.ParseFacebookUtils
+
+
+
+
public final class ParseFacebookUtils
extends Object
+ + +

+Provides a set of utilities for using Parse with Facebook. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidextendAccessToken(ParseUser user, + Context context, + SaveCallback callback) + +
+          Deprecated. 
+static booleanextendAccessTokenIfNeeded(ParseUser user, + Context context, + SaveCallback callback) + +
+          Deprecated. 
+static voidfinishAuthentication(int requestCode, + int resultCode, + Intent data) + +
+          Completes authentication after the Facebook app returns an activity result.
+static com.facebook.android.FacebookgetFacebook() + +
+          Deprecated. 
+static com.facebook.SessiongetSession() + +
+           
+static voidinitialize(String appId) + +
+          Initializes Facebook for use with Parse.
+static booleanisLinked(ParseUser user) + +
+          Returns true if the user is linked to a Facebook account.
+static voidlink(ParseUser user, + Activity activity) + +
+           
+static voidlink(ParseUser user, + Activity activity, + int activityCode) + +
+           
+static voidlink(ParseUser user, + Activity activity, + int activityCode, + SaveCallback callback) + +
+           
+static voidlink(ParseUser user, + Activity activity, + SaveCallback callback) + +
+           
+static voidlink(ParseUser user, + Collection<String> permissions, + Activity activity) + +
+           
+static voidlink(ParseUser user, + Collection<String> permissions, + Activity activity, + int activityCode) + +
+           
+static voidlink(ParseUser user, + Collection<String> permissions, + Activity activity, + int activityCode, + SaveCallback callback) + +
+          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
+static voidlink(ParseUser user, + Collection<String> permissions, + Activity activity, + SaveCallback callback) + +
+          Links a user using the default activity code if single sign-on is enabled.
+static voidlink(ParseUser user, + String facebookId, + String accessToken, + Date expirationDate) + +
+           
+static voidlink(ParseUser user, + String facebookId, + String accessToken, + Date expirationDate, + SaveCallback callback) + +
+          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
+static voidlogIn(Activity activity, + int activityCode, + LogInCallback callback) + +
+           
+static voidlogIn(Activity activity, + LogInCallback callback) + +
+           
+static voidlogIn(Collection<String> permissions, + Activity activity, + int activityCode, + LogInCallback callback) + +
+          Logs in a ParseUser using Facebook for authentication.
+static voidlogIn(Collection<String> permissions, + Activity activity, + LogInCallback callback) + +
+          Logs in a user using the default activity code if single sign-on is enabled.
+static voidlogIn(String facebookId, + String accessToken, + Date expirationDate, + LogInCallback callback) + +
+          Logs in a ParseUser using Facebook for authentication.
+static voidsaveLatestSessionData(ParseUser user) + +
+           
+static voidsaveLatestSessionData(ParseUser user, + SaveCallback callback) + +
+          Saves the latest session data to the user.
+static booleanshouldExtendAccessToken(ParseUser user) + +
+          Deprecated. 
+static voidunlink(ParseUser user) + +
+          Unlinks a user from a Facebook account.
+static voidunlinkInBackground(ParseUser user) + +
+           
+static voidunlinkInBackground(ParseUser user, + SaveCallback callback) + +
+          Unlinks a user from a Facebook account in the background.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getFacebook

+
+@Deprecated
+public static com.facebook.android.Facebook getFacebook()
+
+
Deprecated.  +

+

Please use getSession() and related Facebook SDK 3.0+ APIs instead. +

+

+
+
+
+
+ +

+getSession

+
+public static com.facebook.Session getSession()
+
+
+ +
Returns:
The active Facebook session associated with the logged in ParseUser, or null if there + is none.
+
+
+
+ +

+isLinked

+
+public static boolean isLinked(ParseUser user)
+
+
Returns true if the user is linked to a Facebook account. +

+

+
+
+
+
+ +

+initialize

+
+public static void initialize(String appId)
+
+
Initializes Facebook for use with Parse. Here, you can provide the set of permissions that will + be used when accessing Facebook, and toggle whether Facebook's single sign-on feature should be + used when calling ParseFacebookUtils.logIn(Activity, int, LogInCallback) or + ParseFacebookUtils.link(ParseUser, Activity, int, SaveCallback). You may invoke this method more than + once if you need to change the appId. +

+ IMPORTANT: If you choose to enable single sign-on, you must override the + Activity.onActivityResult(int, int, android.content.Intent) method to invoke + ParseFacebookUtils.finishAuthentication(int, int, Intent). +

+

+
Parameters:
appId - The Facebook appId for your application.
See Also:
ParseFacebookUtils.logIn(Collection, Activity, int, LogInCallback), +ParseFacebookUtils.link(ParseUser, Collection, Activity, int, SaveCallback)
+
+
+
+ +

+unlink

+
+public static void unlink(ParseUser user)
+                   throws ParseException
+
+
Unlinks a user from a Facebook account. Unlinking a user will save the user's data. +

+

+ +
Throws: +
ParseException
+
+
+
+ +

+unlinkInBackground

+
+public static void unlinkInBackground(ParseUser user)
+
+
+
See Also:
ParseFacebookUtils.unlinkInBackground(ParseUser)
+
+
+
+ +

+unlinkInBackground

+
+public static void unlinkInBackground(ParseUser user,
+                                      SaveCallback callback)
+
+
Unlinks a user from a Facebook account in the background. Unlinking a user will save the user's + data. +

+

+
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        String facebookId,
+                        String accessToken,
+                        Date expirationDate)
+
+
+
See Also:
ParseFacebookUtils.link(ParseUser, String, String, Date, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        String facebookId,
+                        String accessToken,
+                        Date expirationDate,
+                        SaveCallback callback)
+
+
Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user. This method allows you to handle getting access + tokens for the user yourself, rather than delegating to the Facebook SDK. +

+

+
Parameters:
user - The user to link to a Facebook account.
facebookId - The facebook ID of the user being linked.
accessToken - The access token for the user.
expirationDate - The expiration date of the access token.
callback - Callback for notifying when the new authentication data has been saved to the user.
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Collection<String> permissions,
+                        Activity activity,
+                        int activityCode,
+                        SaveCallback callback)
+
+
Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user. This method delegates to the Facebook SDK's + authenticate() method. +

+ IMPORTANT: Note that single sign-on authentication will not function correctly if you do + not include a call to the finishAuthentication() method in your onActivityResult() + function! Please see below for more information. +

+ From the Facebook SDK documentation: +

+ Starts either an Activity or a dialog which prompts the user to log in to Facebook and grant + the requested permissions to the given application. +

+ This method will, when possible, use Facebook's single sign-on for Android to obtain an access + token. This involves proxying a call through the Facebook for Android stand-alone application, + which will handle the authentication flow, and return an OAuth access token for making API + calls. +

+ Because this process will not be available for all users, if single sign-on is not possible, + this method will automatically fall back to the OAuth 2.0 User-Agent flow. In this flow, the + user credentials are handled by Facebook in an embedded WebView, not by the client application. + As such, the dialog makes a network request and renders HTML content rather than a native UI. + The access token is retrieved from a redirect to a special URL that the WebView handles. +

+

+
Parameters:
user - The user to link to a Facebook account.
permissions - A list of permissions to be used when logging in. Many of these constants are defined + here: ParseFacebookUtils.Permissions.
activity - The Android activity in which we want to display the authorization dialog.
activityCode - Single sign-on requires an activity result to be called back to the client application + -- if you are waiting on other activities to return data, pass a custom activity code + here to avoid collisions.
callback - Callback for notifying the calling application when the Facebook authentication has + completed, failed, or been canceled.
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Collection<String> permissions,
+                        Activity activity,
+                        SaveCallback callback)
+
+
Links a user using the default activity code if single sign-on is enabled. +

+

+
See Also:
ParseFacebookUtils.link(ParseUser, Collection, Activity, int, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Collection<String> permissions,
+                        Activity activity,
+                        int activityCode)
+
+
+
See Also:
ParseFacebookUtils.link(ParseUser, Collection, Activity, int, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Collection<String> permissions,
+                        Activity activity)
+
+
+
See Also:
ParseFacebookUtils.link(ParseUser, Collection, Activity, int, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Activity activity,
+                        int activityCode,
+                        SaveCallback callback)
+
+
+
See Also:
ParseFacebookUtils.link(ParseUser, Collection, Activity, int, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Activity activity,
+                        SaveCallback callback)
+
+
+
See Also:
ParseFacebookUtils.link(ParseUser, Collection, Activity, int, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Activity activity,
+                        int activityCode)
+
+
+
See Also:
ParseFacebookUtils.link(ParseUser, Collection, Activity, int, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Activity activity)
+
+
+
See Also:
ParseFacebookUtils.link(ParseUser, Collection, Activity, int, SaveCallback)
+
+
+
+ +

+logIn

+
+public static void logIn(String facebookId,
+                         String accessToken,
+                         Date expirationDate,
+                         LogInCallback callback)
+
+
Logs in a ParseUser using Facebook for authentication. If a user for the given Facebook + credentials does not already exist, a new user will be created. This method allows you to + handle getting access tokens for the user yourself, rather than delegating to the Facebook SDK. +

+

+
Parameters:
facebookId - The facebook ID of the user being linked.
accessToken - The access token for the user.
expirationDate - The expiration date of the access token.
callback - Callback for notifying when the new authentication data has been saved to the user.
+
+
+
+ +

+logIn

+
+public static void logIn(Collection<String> permissions,
+                         Activity activity,
+                         int activityCode,
+                         LogInCallback callback)
+
+
Logs in a ParseUser using Facebook for authentication. If a user for the given Facebook + credentials does not already exist, a new user will be created. This method delegates to the + Facebook SDK's authenticate() method. +

+ IMPORTANT: Note that single sign-on authentication will not function correctly if you do + not include a call to the finishAuthentication() method in your onActivityResult() + function! Please see below for more information. +

+ From the Facebook SDK documentation: +

+ Starts either an Activity or a dialog which prompts the user to log in to Facebook and grant + the requested permissions to the given application. +

+ This method will, when possible, use Facebook's single sign-on for Android to obtain an access + token. This involves proxying a call through the Facebook for Android stand-alone application, + which will handle the authentication flow, and return an OAuth access token for making API + calls. +

+ Because this process will not be available for all users, if single sign-on is not possible, + this method will automatically fall back to the OAuth 2.0 User-Agent flow. In this flow, the + user credentials are handled by Facebook in an embedded WebView, not by the client application. + As such, the dialog makes a network request and renders HTML content rather than a native UI. + The access token is retrieved from a redirect to a special URL that the WebView handles. +

+

+
Parameters:
permissions - A list of permissions to be used when logging in. Many of these constants are defined + here: ParseFacebookUtils.Permissions.
activity - The Android activity in which we want to display the authorization dialog.
activityCode - Single sign-on requires an activity result to be called back to the client application + -- if you are waiting on other activities to return data, pass a custom activity code + here to avoid collisions.
callback - Callback for notifying the calling application when the Facebook authentication has + completed, failed, or been canceled.
+
+
+
+ +

+logIn

+
+public static void logIn(Activity activity,
+                         int activityCode,
+                         LogInCallback callback)
+
+
+
See Also:
ParseFacebookUtils.logIn(Collection, Activity, int, LogInCallback)
+
+
+
+ +

+logIn

+
+public static void logIn(Collection<String> permissions,
+                         Activity activity,
+                         LogInCallback callback)
+
+
Logs in a user using the default activity code if single sign-on is enabled. +

+

+
See Also:
ParseFacebookUtils.logIn(Collection, Activity, int, LogInCallback)
+
+
+
+ +

+logIn

+
+public static void logIn(Activity activity,
+                         LogInCallback callback)
+
+
+
See Also:
ParseFacebookUtils.logIn(Collection, Activity, int, LogInCallback)
+
+
+
+ +

+finishAuthentication

+
+public static void finishAuthentication(int requestCode,
+                                        int resultCode,
+                                        Intent data)
+
+
Completes authentication after the Facebook app returns an activity result. IMPORTANT: + This method must be invoked at the top of the calling activity's onActivityResult() function or + Facebook authentication will not function properly! +

+ If your calling activity does not currently implement onActivityResult(), you must implement it + and include a call to this method if you intend to use the + ParseFacebookUtils.logIn(Activity, int, LogInCallback) or + ParseFacebookUtils.link(ParseUser, Activity, int, SaveCallback) methods in ParseFacebookUtilities + . For more information, see http://developer.android.com/reference/android/app/ + Activity.html#onActivityResult(int, int, android.content.Intent) +

+

+
+
+
+
+ +

+saveLatestSessionData

+
+public static void saveLatestSessionData(ParseUser user,
+                                         SaveCallback callback)
+
+
Saves the latest session data to the user. Call this after requesting new read or publish + permissions for the user's Facebook session. +

+

+
Parameters:
user - The user whose session information should be updated.
callback - Callback invoked when the session data has been saved.
+
+
+
+ +

+saveLatestSessionData

+
+public static void saveLatestSessionData(ParseUser user)
+
+
+
See Also:
ParseFacebookUtils.saveLatestSessionData(ParseUser, SaveCallback)
+
+
+
+ +

+shouldExtendAccessToken

+
+@Deprecated
+public static boolean shouldExtendAccessToken(ParseUser user)
+
+
Deprecated.  +

+

This is now handled automatically by the Facebook SDK. +

+

+
+
+
+
+ +

+extendAccessToken

+
+@Deprecated
+public static void extendAccessToken(ParseUser user,
+                                                Context context,
+                                                SaveCallback callback)
+
+
Deprecated.  +

+

This is now handled automatically by the Facebook SDK. +

+

+
+
+
+
+ +

+extendAccessTokenIfNeeded

+
+@Deprecated
+public static boolean extendAccessTokenIfNeeded(ParseUser user,
+                                                           Context context,
+                                                           SaveCallback callback)
+
+
Deprecated.  +

+

This is now handled automatically by the Facebook SDK. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseFile.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseFile.html new file mode 100644 index 0000000..46eb784 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseFile.html @@ -0,0 +1,585 @@ + + + + + +ParseFile + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseFile

+
+Object
+  extended by com.parse.ParseFile
+
+
+
+
public class ParseFile
extends Object
+ + +

+ParseFile is a local representation of a file that is saved to the Parse cloud. +

+ The workflow is to construct a ParseFile with data and optionally a filename. Then save it and + set it as a field on a ParseObject. +

+ Example: ParseFile file = new ParseFile("hello".getBytes()); file.save(); ParseObject object = + new ParseObject("TestObject"); object.put("file", file); object.save(); +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ParseFile(byte[] data) + +
+          Creates a new file from a byte array.
ParseFile(byte[] data, + String contentType) + +
+          Creates a new file from a byte array, and content type.
ParseFile(String name, + byte[] data) + +
+          Creates a new file from a byte array and a name.
ParseFile(String name, + byte[] data, + String contentType) + +
+          Creates a new file from a byte array, file name, and content type.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcancel() + +
+          Cancels the current network request and callbacks whether it's uploading or fetching data from + the server.
+ byte[]getData() + +
+          Synchronously gets the data for this object.
+ voidgetDataInBackground(GetDataCallback dataCallback) + +
+          Gets the data for this object in a background thread.
+ voidgetDataInBackground(GetDataCallback dataCallback, + ProgressCallback progressCallback) + +
+          Gets the data for this object in a background thread.
+ StringgetName() + +
+          The filename.
+ StringgetUrl() + +
+          This returns the url of the file.
+ booleanisDataAvailable() + +
+          Whether the file has available data.
+ booleanisDirty() + +
+          Whether the file still needs to be saved.
+ voidsave() + +
+          Saves the file to the Parse cloud synchronously.
+ voidsaveInBackground() + +
+          Saves the file to the Parse cloud in a background thread.
+ voidsaveInBackground(SaveCallback callback) + +
+          Saves the file to the Parse cloud in a background thread.
+ voidsaveInBackground(SaveCallback saveCallback, + ProgressCallback progressCallback) + +
+          Saves the file to the Parse cloud in a background thread.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseFile

+
+public ParseFile(String name,
+                 byte[] data,
+                 String contentType)
+
+
Creates a new file from a byte array, file name, and content type. Content type will be used + instead of auto-detection by file extension. +

+

+
Parameters:
name - The file's name, ideally with extension. The file name must begin with an alphanumeric + character, and consist of alphanumeric characters, periods, spaces, underscores, or + dashes.
data - The file's data.
contentType - The file's content type.
+
+
+ +

+ParseFile

+
+public ParseFile(byte[] data)
+
+
Creates a new file from a byte array. +

+

+
Parameters:
data - The file's data.
+
+
+ +

+ParseFile

+
+public ParseFile(String name,
+                 byte[] data)
+
+
Creates a new file from a byte array and a name. Giving a name with a proper file extension + (e.g. ".png") is ideal because it allows Parse to deduce the content type of the file and set + appropriate HTTP headers when it is fetched. +

+

+
Parameters:
name - The file's name, ideally with extension. The file name must begin with an alphanumeric + character, and consist of alphanumeric characters, periods, spaces, underscores, or + dashes.
data - The file's data.
+
+
+ +

+ParseFile

+
+public ParseFile(byte[] data,
+                 String contentType)
+
+
Creates a new file from a byte array, and content type. Content type will be used instead of + auto-detection by file extension. +

+

+
Parameters:
data - The file's data.
contentType - The file's content type.
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public String getName()
+
+
The filename. Before save is called, this is just the filename given by the user (if any). + After save is called, that name gets prefixed with a unique identifier. +

+

+ +
Returns:
The file's name.
+
+
+
+ +

+isDirty

+
+public boolean isDirty()
+
+
Whether the file still needs to be saved. +

+

+ +
Returns:
Whether the file needs to be saved.
+
+
+
+ +

+isDataAvailable

+
+public boolean isDataAvailable()
+
+
Whether the file has available data. +

+

+
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
This returns the url of the file. It's only available after you save or after you get the file + from a ParseObject. +

+

+ +
Returns:
The url of the file.
+
+
+
+ +

+save

+
+public void save()
+          throws ParseException
+
+
Saves the file to the Parse cloud synchronously. +

+

+ +
Throws: +
ParseException
+
+
+
+ +

+saveInBackground

+
+public void saveInBackground(SaveCallback saveCallback,
+                             ProgressCallback progressCallback)
+
+
Saves the file to the Parse cloud in a background thread. progressCallback is guaranteed to be + called with 100 before saveCallback is called. +

+

+
Parameters:
saveCallback - A SaveCallback that gets called when the save completes.
progressCallback - A ProgressCallback that is called periodically with progress updates.
+
+
+
+ +

+saveInBackground

+
+public void saveInBackground(SaveCallback callback)
+
+
Saves the file to the Parse cloud in a background thread. +

+

+
Parameters:
callback - A SaveCallback that gets called when the save completes.
+
+
+
+ +

+saveInBackground

+
+public void saveInBackground()
+
+
Saves the file to the Parse cloud in a background thread. +

+

+
+
+
+
+ +

+getData

+
+public byte[] getData()
+               throws ParseException
+
+
Synchronously gets the data for this object. You probably want to use + ParseFile.getDataInBackground(com.parse.GetDataCallback, com.parse.ProgressCallback) instead unless you're already in a background thread. +

+

+ +
Throws: +
ParseException
+
+
+
+ +

+getDataInBackground

+
+public void getDataInBackground(GetDataCallback dataCallback,
+                                ProgressCallback progressCallback)
+
+
Gets the data for this object in a background thread. progressCallback is guaranteed to be + called with 100 before dataCallback is called. +

+

+
Parameters:
dataCallback - A GetDataCallback that is called when the get completes.
progressCallback - A ProgressCallback that is called periodically with progress updates.
+
+
+
+ +

+getDataInBackground

+
+public void getDataInBackground(GetDataCallback dataCallback)
+
+
Gets the data for this object in a background thread. +

+

+
Parameters:
dataCallback - A GetDataCallback that is called when the get completes.
+
+
+
+ +

+cancel

+
+public void cancel()
+
+
Cancels the current network request and callbacks whether it's uploading or fetching data from + the server. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseGeoPoint.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseGeoPoint.html new file mode 100644 index 0000000..7d50581 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseGeoPoint.html @@ -0,0 +1,466 @@ + + + + + +ParseGeoPoint + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseGeoPoint

+
+Object
+  extended by com.parse.ParseGeoPoint
+
+
+
+
public class ParseGeoPoint
extends Object
+ + +

+ParseGeoPoint represents a latitude / longitude point that may be associated with a key in a + ParseObject or used as a reference point for geo queries. This allows proximity based queries on + the key. +

+ Only one key in a class may contain a GeoPoint. +

+ Example: + ParseGeoPoint point = new ParseGeoPoint(30.0, -20.0); + ParseObject object = new ParseObject("PlaceObject"); + object.put("location", point); + object.save(); + +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ParseGeoPoint() + +
+          Creates a new default point with latitude and longitude set to 0.0.
ParseGeoPoint(double latitude, + double longitude) + +
+          Creates a new point with the specified latitude and longitude.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doubledistanceInKilometersTo(ParseGeoPoint point) + +
+          Get distance between this point and another geopoint in kilometers.
+ doubledistanceInMilesTo(ParseGeoPoint point) + +
+          Get distance between this point and another geopoint in kilometers.
+ doubledistanceInRadiansTo(ParseGeoPoint point) + +
+          Get distance in radians between this point and another GeoPoint.
+static voidgetCurrentLocationInBackground(long timeout, + Criteria criteria, + LocationCallback callback) + +
+          Fetches the user's current location and returns a new ParseGeoPoint via the provided + LocationCallback.
+static voidgetCurrentLocationInBackground(long timeout, + LocationCallback callback) + +
+          Fetches the user's current location and returns a new ParseGeoPoint via the provided + LocationCallback.
+ doublegetLatitude() + +
+          Get latitude.
+ doublegetLongitude() + +
+          Get longitude.
+ voidsetLatitude(double latitude) + +
+          Set latitude.
+ voidsetLongitude(double longitude) + +
+          Set longitude.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseGeoPoint

+
+public ParseGeoPoint()
+
+
Creates a new default point with latitude and longitude set to 0.0. +

+

+
+ +

+ParseGeoPoint

+
+public ParseGeoPoint(double latitude,
+                     double longitude)
+
+
Creates a new point with the specified latitude and longitude. +

+

+
Parameters:
latitude - The point's latitude.
longitude - The point's longitude.
+
+ + + + + + + + +
+Method Detail
+ +

+setLatitude

+
+public void setLatitude(double latitude)
+
+
Set latitude. Valid range is (-90.0, 90.0). Extremes should not be used. +

+

+
Parameters:
latitude - The point's latitude.
+
+
+
+ +

+getLatitude

+
+public double getLatitude()
+
+
Get latitude. +

+

+
+
+
+
+ +

+setLongitude

+
+public void setLongitude(double longitude)
+
+
Set longitude. Valid range is (-180.0, 180.0). Extremes should not be used. +

+

+
Parameters:
longitude - The point's longitude.
+
+
+
+ +

+getLongitude

+
+public double getLongitude()
+
+
Get longitude. +

+

+
+
+
+
+ +

+distanceInRadiansTo

+
+public double distanceInRadiansTo(ParseGeoPoint point)
+
+
Get distance in radians between this point and another GeoPoint. This is the smallest angular + distance between the two points. +

+

+
Parameters:
point - GeoPoint describing the other point being measured against.
+
+
+
+ +

+distanceInKilometersTo

+
+public double distanceInKilometersTo(ParseGeoPoint point)
+
+
Get distance between this point and another geopoint in kilometers. +

+

+
Parameters:
point - GeoPoint describing the other point being measured against.
+
+
+
+ +

+distanceInMilesTo

+
+public double distanceInMilesTo(ParseGeoPoint point)
+
+
Get distance between this point and another geopoint in kilometers. +

+

+
Parameters:
point - GeoPoint describing the other point being measured against.
+
+
+
+ +

+getCurrentLocationInBackground

+
+public static void getCurrentLocationInBackground(long timeout,
+                                                  LocationCallback callback)
+
+
Fetches the user's current location and returns a new ParseGeoPoint via the provided + LocationCallback. Defaults to a Location Criteria with no accuracy or power requirements. +

+

+
Parameters:
timeout - The number of milliseconds to allow before timing out.
callback - callback.done(geoPoint, error) is called when a location is found.
+
+
+
+ +

+getCurrentLocationInBackground

+
+public static void getCurrentLocationInBackground(long timeout,
+                                                  Criteria criteria,
+                                                  LocationCallback callback)
+
+
Fetches the user's current location and returns a new ParseGeoPoint via the provided + LocationCallback. +

+

+
Parameters:
timeout - The number of milliseconds to allow before timing out.
criteria - The application criteria for selecting a location provider.
callback - callback.done(geoPoint, error) is called when a location is found.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseImageView.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseImageView.html new file mode 100644 index 0000000..4229008 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseImageView.html @@ -0,0 +1,501 @@ + + + + + +ParseImageView + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseImageView

+
+Object
+  extended by android.view.View
+      extended by android.widget.ImageView
+          extended by com.parse.ParseImageView
+
+
+
All Implemented Interfaces:
Drawable.Callback, AccessibilityEventSource, KeyEvent.Callback
+
+
+
+
public class ParseImageView
extends ImageView
+ + +

+A specialized ImageView that downloads and displays remote images stored on Parse's + servers. +

+ Given a ParseFile storing an image, a ParseImageView works seamlessly to fetch + the file data and display it in the background. See below for an example: + +

+ ParseImageView imageView = (ParseImageView) findViewById(android.R.id.icon);
+ // The placeholder will be used before and during the fetch, to be replaced by the fetched image
+ // data.
+ imageView.setPlaceholder(getResources().getDrawable(R.drawable.placeholder));
+ imageView.setParseFile(file);
+ imageView.loadInBackground(new GetDataCallback() {
+   @Override
+   public void done(byte[] data, ParseException e) {
+     Log.i("ParseImageView",
+         "Fetched! Data length: " + data.length + ", or exception: " + e.getMessage());
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class android.widget.ImageView
ImageView.ScaleType
+  + + + + + + + + +
Nested classes/interfaces inherited from class android.view.View
View.BaseSavedState, View.MeasureSpec, View.OnClickListener, View.OnCreateContextMenuListener, View.OnFocusChangeListener, View.OnKeyListener, View.OnLongClickListener, View.OnTouchListener
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class android.view.View
DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, INVISIBLE, KEEP_SCREEN_ON, NO_ID, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
ParseImageView(Context context) + +
+          Simple constructor to use when creating a ParseImageView from code.
ParseImageView(Context context, + AttributeSet attributeSet) + +
+          Constructor that is called when inflating a ParseImageView from XML.
ParseImageView(Context context, + AttributeSet attributeSet, + int defStyle) + +
+          Perform inflation from XML and apply a class-specific base style.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidloadInBackground() + +
+          Kick off downloading of remote image.
+ voidloadInBackground(GetDataCallback completionCallback) + +
+          Kick off downloading of remote image.
+protected  voidonDetachedFromWindow() + +
+           
+ voidsetImageBitmap(Bitmap bitmap) + +
+           
+ voidsetParseFile(ParseFile file) + +
+          Sets the remote file on Parse's server that stores the image.
+ voidsetPlaceholder(Drawable placeholder) + +
+          Sets the placeholder to be used while waiting for an image to be loaded.
+ + + + + + + +
Methods inherited from class android.widget.ImageView
clearColorFilter, drawableStateChanged, getBaseline, getDrawable, getImageMatrix, getScaleType, invalidateDrawable, onCreateDrawableState, onDraw, onMeasure, onSetAlpha, setAdjustViewBounds, setAlpha, setColorFilter, setColorFilter, setColorFilter, setFrame, setImageDrawable, setImageLevel, setImageMatrix, setImageResource, setImageState, setImageURI, setMaxHeight, setMaxWidth, setScaleType, setSelected, verifyDrawable
+ + + + + + + +
Methods inherited from class android.view.View
addFocusables, addFocusables, addTouchables, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, cancelLongPress, checkInputConnectionProxy, clearAnimation, clearFocus, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createContextMenu, destroyDrawingCache, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDraw, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetPressed, dispatchSetSelected, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowVisibilityChanged, draw, findFocus, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceLayout, getAnimation, getApplicationWindowToken, getBackground, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getContentDescription, getContext, getContextMenuInfo, getDefaultSize, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getKeepScreenOn, getKeyDispatcherState, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMeasuredHeight, getMeasuredWidth, getNextFocusDownId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getResources, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getTag, getTag, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getVerticalFadingEdgeLength, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, hasFocus, hasFocusable, hasWindowFocus, inflate, initializeFadingEdge, initializeScrollbars, invalidate, invalidate, invalidate, isClickable, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isInEditMode, isInTouchMode, isLayoutRequested, isLongClickable, isOpaque, isPaddingOffsetRequired, isPressed, isSaveEnabled, isScrollbarFadingEnabled, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, layout, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onAttachedToWindow, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onDisplayHint, onDrawScrollBars, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onLayout, onRestoreInstanceState, onSaveInstanceState, onScrollChanged, onSizeChanged, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onVisibilityChanged, onWindowFocusChanged, onWindowVisibilityChanged, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, refreshDrawableState, removeCallbacks, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAnimation, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setClickable, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFocusable, setFocusableInTouchMode, setHapticFeedbackEnabled, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setId, setKeepScreenOn, setLayoutParams, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnKeyListener, setOnLongClickListener, setOnTouchListener, setPadding, setPressed, setSaveEnabled, setScrollbarFadingEnabled, setScrollBarStyle, setScrollContainer, setSoundEffectsEnabled, setTag, setTag, setTouchDelegate, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVisibility, setWillNotCacheDrawing, setWillNotDraw, showContextMenu, startAnimation, unscheduleDrawable, unscheduleDrawable, willNotCacheDrawing, willNotDraw
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseImageView

+
+public ParseImageView(Context context)
+
+
Simple constructor to use when creating a ParseImageView from code. +

+

+
Parameters:
context - Context for this View
+
+
+ +

+ParseImageView

+
+public ParseImageView(Context context,
+                      AttributeSet attributeSet)
+
+
Constructor that is called when inflating a ParseImageView from XML. +

+

+
Parameters:
context - Context for this View
attributeSet - AttributeSet defined for this View in XML
+
+
+ +

+ParseImageView

+
+public ParseImageView(Context context,
+                      AttributeSet attributeSet,
+                      int defStyle)
+
+
Perform inflation from XML and apply a class-specific base style. +

+

+
Parameters:
context - Context for this View
attributeSet - AttributeSet defined for this View in XML
defStyle - Class-specific base style.
+
+ + + + + + + + +
+Method Detail
+ +

+onDetachedFromWindow

+
+protected void onDetachedFromWindow()
+
+
+
Overrides:
onDetachedFromWindow in class View
+
+
+
+
+
+
+ +

+setImageBitmap

+
+public void setImageBitmap(Bitmap bitmap)
+
+
+
Overrides:
setImageBitmap in class ImageView
+
+
+
+
+
+
+ +

+setPlaceholder

+
+public void setPlaceholder(Drawable placeholder)
+
+
Sets the placeholder to be used while waiting for an image to be loaded. +

+

+
Parameters:
placeholder - A Drawable to be displayed while the remote image data is being fetched. This + value can be null, and this ImageView will simply be blank while data is + fetched.
+
+
+
+ +

+setParseFile

+
+public void setParseFile(ParseFile file)
+
+
Sets the remote file on Parse's server that stores the image. +

+

+
Parameters:
file - The remote file on Parse's server.
+
+
+
+ +

+loadInBackground

+
+public void loadInBackground()
+
+
Kick off downloading of remote image. When the download is finished, the image data will be + displayed. +

+

+
+
+
+
+ +

+loadInBackground

+
+public void loadInBackground(GetDataCallback completionCallback)
+
+
Kick off downloading of remote image. When the download is finished, the image data will be + displayed and the completionCallback will be triggered. +

+

+
Parameters:
completionCallback - A custom GetDataCallback to be called after the image data is fetched and this + ImageView displays the image.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseInstallation.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseInstallation.html new file mode 100644 index 0000000..cceccae --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseInstallation.html @@ -0,0 +1,393 @@ + + + + + +ParseInstallation + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseInstallation

+
+Object
+  extended by com.parse.ParseObject
+      extended by com.parse.ParseInstallation
+
+
+
+
public class ParseInstallation
extends ParseObject
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ParseInstallation() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ParseInstallationgetCurrentInstallation() + +
+           
+ StringgetInstallationId() + +
+          Returns the unique ID of this installation.
+static ParseQuery<ParseInstallation>getQuery() + +
+          Constructs a query for ParseInstallations.
+ voidput(String key, + Object value) + +
+          Add a key-value pair to this object.
+ voidremove(String key) + +
+          Removes a key from this object's data if it exists.
+ voidsaveEventually(SaveCallback callback) + +
+          Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible.
+ + + + + + + +
Methods inherited from class com.parse.ParseObject
add, addAll, addAllUnique, addUnique, containsKey, create, create, createWithoutData, createWithoutData, delete, deleteAll, deleteAllInBackground, deleteEventually, deleteEventually, deleteInBackground, deleteInBackground, fetch, fetchAll, fetchAllIfNeeded, fetchAllIfNeededInBackground, fetchAllInBackground, fetchIfNeeded, fetchIfNeededInBackground, fetchInBackground, get, getACL, getBoolean, getBytes, getClassName, getCreatedAt, getDate, getDouble, getInt, getJSONArray, getJSONObject, getList, getLong, getMap, getNumber, getObjectId, getParseFile, getParseGeoPoint, getParseObject, getParseUser, getRelation, getString, getUpdatedAt, has, hasSameId, increment, increment, isDataAvailable, isDirty, isDirty, keySet, refresh, refreshInBackground, registerSubclass, removeAll, save, saveAll, saveAllInBackground, saveAllInBackground, saveEventually, saveInBackground, saveInBackground, setACL, setObjectId
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseInstallation

+
+public ParseInstallation()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCurrentInstallation

+
+public static ParseInstallation getCurrentInstallation()
+
+
+
+
+
+
+ +

+getQuery

+
+public static ParseQuery<ParseInstallation> getQuery()
+
+
Constructs a query for ParseInstallations. +

+

+
+
+
+
+ +

+getInstallationId

+
+public String getInstallationId()
+
+
Returns the unique ID of this installation. +

+

+ +
Returns:
A UUID that represents this device.
+
+
+
+ +

+put

+
+public void put(String key,
+                Object value)
+         throws IllegalArgumentException
+
+
Description copied from class: ParseObject
+
Add a key-value pair to this object. It is recommended to name keys in + partialCamelCaseLikeThis. +

+

+
Overrides:
put in class ParseObject
+
+
+
Parameters:
key - Keys must be alphanumerical plus underscore, and start with a letter.
value - Values may be numerical, String, JSONObject, JSONArray, JSONObject.NULL, or other + ParseObjects. value may not be null. +
Throws: +
IllegalArgumentException
+
+
+
+ +

+remove

+
+public void remove(String key)
+
+
Description copied from class: ParseObject
+
Removes a key from this object's data if it exists. +

+

+
Overrides:
remove in class ParseObject
+
+
+
Parameters:
key - The key to remove.
+
+
+
+ +

+saveEventually

+
+public void saveEventually(SaveCallback callback)
+
+
Description copied from class: ParseObject
+
Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the save completes. If there is some problem with the object such that it + can't be saved, it will be silently discarded. Objects saved with this method will be stored + locally in an on-disk cache until they can be delivered to Parse. They will be sent immediately + if possible. Otherwise, they will be sent the next time a network connection is available. + Objects saved this way will persist even after the app is closed, in which case they will be + sent the next time the app is opened. If more than 10MB of data is waiting to be sent, + subsequent calls to saveEventually or deleteEventually will cause old saves to be silently + discarded until the connection can be re-established, and the queued objects can be saved. +

+

+
Overrides:
saveEventually in class ParseObject
+
+
+
Parameters:
callback - - A callback which will be called if the save completes before the app exits.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseObject.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseObject.html new file mode 100644 index 0000000..d718069 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseObject.html @@ -0,0 +1,2066 @@ + + + + + +ParseObject + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseObject

+
+Object
+  extended by com.parse.ParseObject
+
+
+
Direct Known Subclasses:
ParseInstallation, ParseRole, ParseUser
+
+
+
+
public class ParseObject
extends Object
+ + +

+The ParseObject is a local representation of data that can be saved and retrieved from the Parse + cloud. +

+ The basic workflow for creating new data is to construct a new ParseObject, use put() to fill it + with data, and then use save() to persist to the database. +

+ The basic workflow for accessing existing data is to use a ParseQuery to specify which + existing data to retrieve. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+protected ParseObject() + +
+          The base class constructor to call in subclasses.
+ ParseObject(String theClassName) + +
+          Constructs a new ParseObject with no data in it.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(String key, + Object value) + +
+          Atomically adds an object to the end of the array associated with a given key.
+ voidaddAll(String key, + Collection<?> values) + +
+          Atomically adds the objects contained in a Collection to the end of the array + associated with a given key.
+ voidaddAllUnique(String key, + Collection<?> values) + +
+          Atomically adds the objects contained in a Collection to the array associated with a + given key, only adding elements which are not already present in the array.
+ voidaddUnique(String key, + Object value) + +
+          Atomically adds an object to the array associated with a given key, only if it is not already + present in the array.
+ booleancontainsKey(String key) + +
+          Whether this object has a particular key.
+static + + + + +
+<T extends ParseObject> +
+T
+
create(Class<T> subclass) + +
+          Creates a new ParseObject based upon a subclass type.
+static ParseObjectcreate(String className) + +
+          Creates a new ParseObject based upon a class name.
+static + + + + +
+<T extends ParseObject> +
+T
+
createWithoutData(Class<T> subclass, + String objectId) + +
+          Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects.
+static ParseObjectcreateWithoutData(String className, + String objectId) + +
+          Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects.
+ voiddelete() + +
+          Deletes this object on the server.
+static voiddeleteAll(List<ParseObject> objects) + +
+          Deletes each object in the provided list.
+static voiddeleteAllInBackground(List<ParseObject> objects, + DeleteCallback callback) + +
+          Deletes each object in the provided list.
+ voiddeleteEventually() + +
+          Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible.
+ voiddeleteEventually(DeleteCallback callback) + +
+          Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible.
+ voiddeleteInBackground() + +
+          Deletes this object on the server in a background thread.
+ voiddeleteInBackground(DeleteCallback callback) + +
+          Deletes this object on the server in a background thread.
+ + + + + +
+<T extends ParseObject> +
+T
+
fetch() + +
+          Fetches this object with the data from the server.
+static List<ParseObject>fetchAll(List<ParseObject> objects) + +
+          Fetches all the objects in the provided list.
+static + + + + +
+<T extends ParseObject> +
+List<T>
+
fetchAllIfNeeded(List<T> objects) + +
+          Fetches all the objects that don't have data in the provided list.
+static + + + + +
+<T extends ParseObject> +
+void
+
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> +
+void
+
fetchAllInBackground(List<T> objects, + FindCallback<T> callback) + +
+          Fetches all the objects in the provided list in the background
+ + + + + +
+<T extends ParseObject> +
+T
+
fetchIfNeeded() + +
+          If this ParseObject has not been fetched (i.e.
+ + + + + +
+<T extends ParseObject> +
+void
+
fetchIfNeededInBackground(GetCallback<T> callback) + +
+          If this ParseObject has not been fetched (i.e.
+ + + + + +
+<T extends ParseObject> +
+void
+
fetchInBackground(GetCallback<T> callback) + +
+          Fetches this object with the data from the server in a background thread.
+ Objectget(String key) + +
+          Access a value.
+ ParseACLgetACL() + +
+          Access the ParseACL governing this object.
+ booleangetBoolean(String key) + +
+          Access a boolean value.
+ byte[]getBytes(String key) + +
+          Access a byte array value.
+ StringgetClassName() + +
+          Accessor to the class name.
+ DategetCreatedAt() + +
+          This reports time as the server sees it, so that if you create a ParseObject, then wait a + while, and then call save(), the creation time will be the time of the first save() call rather + than the time the object was created locally.
+ DategetDate(String key) + +
+          Access a Date value.
+ doublegetDouble(String key) + +
+          Access a double value.
+ intgetInt(String key) + +
+          Access an int value.
+ JSONArraygetJSONArray(String key) + +
+          Access a JSONArray value.
+ JSONObjectgetJSONObject(String key) + +
+          Access a JSONObject value.
+ + + + + +
+<T> List<T>
+
getList(String key) + +
+          Access a List value.
+ longgetLong(String key) + +
+          Access a long value.
+ + + + + +
+<V> Map<String,V>
+
getMap(String key) + +
+          Access a Map value
+ NumbergetNumber(String key) + +
+          Access a numerical value.
+ StringgetObjectId() + +
+          Accessor to the object id.
+ ParseFilegetParseFile(String key) + +
+          Access a ParseFile value.
+ ParseGeoPointgetParseGeoPoint(String key) + +
+          Access a ParseGeoPoint value.
+ ParseObjectgetParseObject(String key) + +
+          Access a ParseObject value.
+ ParseUsergetParseUser(String key) + +
+          Access a ParseUser value.
+ + + + + +
+<T extends ParseObject> +
+ParseRelation<T>
+
getRelation(String key) + +
+          Access or create a Relation value for a key
+ StringgetString(String key) + +
+          Access a string value.
+ DategetUpdatedAt() + +
+          This reports time as the server sees it, so that if you make changes to a ParseObject, then + wait a while, and then call save(), the updated time will be the time of the save() call rather + than the time the object was changed locally.
+ booleanhas(String key) + +
+          Whether this object has a particular key.
+ booleanhasSameId(ParseObject other) + +
+           
+ voidincrement(String key) + +
+          Atomically increments the given key by 1.
+ voidincrement(String key, + Number amount) + +
+          Atomically increments the given key by the given number.
+ booleanisDataAvailable() + +
+          Gets whether the ParseObject has been fetched.
+ booleanisDirty() + +
+          Whether any key-value pair in this object (or its children) has been added/updated/removed + and not saved yet.
+ booleanisDirty(String key) + +
+          Whether a value associated with a key has been added/updated/removed and not saved yet.
+ Set<String>keySet() + +
+          Returns a set view of the keys contained in this object.
+ voidput(String key, + Object value) + +
+          Add a key-value pair to this object.
+ voidrefresh() + +
+          Refreshes this object with the data from the server.
+ voidrefreshInBackground(RefreshCallback callback) + +
+          Refreshes this object with the data from the server in a background thread.
+static voidregisterSubclass(Class<? extends ParseObject> subclass) + +
+          Registers a custom subclass type with the Parse SDK, enabling strong-typing of those + ParseObjects whenever they appear.
+ voidremove(String key) + +
+          Removes a key from this object's data if it exists.
+ voidremoveAll(String key, + Collection<?> values) + +
+          Atomically removes all instances of the objects contained in a Collection from the + array associated with a given key.
+ voidsave() + +
+          Saves this object to the server.
+static voidsaveAll(List<ParseObject> objects) + +
+          Saves each object in the provided list.
+static voidsaveAllInBackground(List<ParseObject> objects) + +
+          Saves each object to the server in a background thread.
+static voidsaveAllInBackground(List<ParseObject> objects, + SaveCallback callback) + +
+          Saves each object in the provided list to the server in a background thread.
+ voidsaveEventually() + +
+          Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible.
+ voidsaveEventually(SaveCallback callback) + +
+          Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible.
+ voidsaveInBackground() + +
+          Saves this object to the server in a background thread.
+ voidsaveInBackground(SaveCallback callback) + +
+          Saves this object to the server in a background thread.
+ voidsetACL(ParseACL acl) + +
+          Set the ParseACL governing this object.
+ voidsetObjectId(String newObjectId) + +
+          Setter for the object id.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseObject

+
+protected ParseObject()
+
+
The base class constructor to call in subclasses. Uses the class name specified with the + ParseClassName annotation on the subclass. +

+

+
+ +

+ParseObject

+
+public ParseObject(String theClassName)
+
+
Constructs a new ParseObject with no data in it. A ParseObject constructed in this way will not + have an objectId and will not persist to the database until save() is called. +

+ Class names must be alphanumerical plus underscore, and start with a letter. It is recommended + to name classes in CamelCaseLikeThis. +

+

+
Parameters:
theClassName - The className for this ParseObject.
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static ParseObject create(String className)
+
+
Creates a new ParseObject based upon a class name. If the class name is a special type (e.g. + for ParseUser), then the appropriate type of ParseObject is returned. +

+

+
Parameters:
className - The class of object to create. +
Returns:
A new ParseObject for the given class name.
+
+
+
+ +

+create

+
+public static <T extends ParseObject> T create(Class<T> subclass)
+
+
Creates a new ParseObject based upon a subclass type. Note that the object will be created + based upon the ParseClassName of the given subclass type. For example, calling + create(ParseUser.class) may create an instance of a custom subclass of ParseUser. +

+

+
Parameters:
subclass - The class of object to create. +
Returns:
A new ParseObject based upon the class name of the given subclass type.
+
+
+
+ +

+createWithoutData

+
+public static ParseObject createWithoutData(String className,
+                                            String objectId)
+
+
Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects. Calling ParseObject.isDataAvailable() on this object will return false until + ParseObject.fetchIfNeeded() or ParseObject.refresh() has been called. No network request will be + made. +

+

+
Parameters:
className - The object's class.
objectId - The object id for the referenced object. +
Returns:
A ParseObject without data.
+
+
+
+ +

+createWithoutData

+
+public static <T extends ParseObject> T createWithoutData(Class<T> subclass,
+                                                          String objectId)
+
+
Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects. Calling ParseObject.isDataAvailable() on this object will return false until + ParseObject.fetchIfNeeded() or ParseObject.refresh() has been called. No network request will be + made. +

+

+
Parameters:
subclass - The ParseObject subclass to create.
objectId - The object id for the referenced object. +
Returns:
A ParseObject without data.
+
+
+
+ +

+registerSubclass

+
+public static void registerSubclass(Class<? extends ParseObject> subclass)
+
+
Registers a custom subclass type with the Parse SDK, enabling strong-typing of those + ParseObjects whenever they appear. Subclasses must specify the ParseClassName + annotation and have a default constructor. +

+

+
Parameters:
subclass - The subclass type to register.
+
+
+
+ +

+getClassName

+
+public String getClassName()
+
+
Accessor to the class name. +

+

+
+
+
+
+ +

+keySet

+
+public Set<String> keySet()
+
+
Returns a set view of the keys contained in this object. This does not include createdAt, + updatedAt, authData, or objectId. It does include things like username and ACL. +

+

+
+
+
+
+ +

+getUpdatedAt

+
+public Date getUpdatedAt()
+
+
This reports time as the server sees it, so that if you make changes to a ParseObject, then + wait a while, and then call save(), the updated time will be the time of the save() call rather + than the time the object was changed locally. +

+

+ +
Returns:
The last time this object was updated on the server.
+
+
+
+ +

+getCreatedAt

+
+public Date getCreatedAt()
+
+
This reports time as the server sees it, so that if you create a ParseObject, then wait a + while, and then call save(), the creation time will be the time of the first save() call rather + than the time the object was created locally. +

+

+ +
Returns:
The first time this object was saved on the server.
+
+
+
+ +

+isDirty

+
+public boolean isDirty()
+
+
Whether any key-value pair in this object (or its children) has been added/updated/removed + and not saved yet. +

+

+ +
Returns:
Returns whether this object has been altered and not saved yet.
+
+
+
+ +

+isDirty

+
+public boolean isDirty(String key)
+
+
Whether a value associated with a key has been added/updated/removed and not saved yet. +

+

+
Parameters:
key - The key to check for +
Returns:
Returns whether this key has been altered and not saved yet.
+
+
+
+ +

+getObjectId

+
+public String getObjectId()
+
+
Accessor to the object id. An object id is assigned as soon as an object is saved to the + server. The combination of a className and an objectId uniquely identifies an object in your + application. +

+

+ +
Returns:
The object id.
+
+
+
+ +

+setObjectId

+
+public void setObjectId(String newObjectId)
+
+
Setter for the object id. In general you do not need to use this. However, in some cases this + can be convenient. For example, if you are serializing a ParseObject yourself and wish to + recreate it, you can use this to recreate the ParseObject exactly. +

+

+
+
+
+
+ +

+save

+
+public final void save()
+                throws ParseException
+
+
Saves this object to the server. Typically, you should use ParseObject.saveInBackground(com.parse.SaveCallback) instead of + this, unless you are managing your own threading. +

+

+ +
Throws: +
ParseException - Throws an exception if the server is inaccessible.
+
+
+
+ +

+saveInBackground

+
+public final void saveInBackground(SaveCallback callback)
+
+
Saves this object to the server in a background thread. This is preferable to using save(), + unless your code is already running from a background thread. +

+

+
Parameters:
callback - callback.done(e) is called when the save completes.
+
+
+
+ +

+saveInBackground

+
+public final void saveInBackground()
+
+
Saves this object to the server in a background thread. Use this when you do not have code to + run on completion of the push. +

+

+
+
+
+
+ +

+saveEventually

+
+public final void saveEventually()
+
+
Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the save completes. If there is some problem with the object such that it + can't be saved, it will be silently discarded. Objects saved with this method will be stored + locally in an on-disk cache until they can be delivered to Parse. They will be sent immediately + if possible. Otherwise, they will be sent the next time a network connection is available. + Objects saved this way will persist even after the app is closed, in which case they will be + sent the next time the app is opened. If more than 10MB of data is waiting to be sent, + subsequent calls to saveEventually or deleteEventually will cause old saves to be silently + discarded until the connection can be re-established, and the queued objects can be saved. +

+

+
+
+
+
+ +

+saveEventually

+
+public void saveEventually(SaveCallback callback)
+
+
Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the save completes. If there is some problem with the object such that it + can't be saved, it will be silently discarded. Objects saved with this method will be stored + locally in an on-disk cache until they can be delivered to Parse. They will be sent immediately + if possible. Otherwise, they will be sent the next time a network connection is available. + Objects saved this way will persist even after the app is closed, in which case they will be + sent the next time the app is opened. If more than 10MB of data is waiting to be sent, + subsequent calls to saveEventually or deleteEventually will cause old saves to be silently + discarded until the connection can be re-established, and the queued objects can be saved. +

+

+
Parameters:
callback - - A callback which will be called if the save completes before the app exits.
+
+
+
+ +

+deleteEventually

+
+public final void deleteEventually()
+
+
Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the delete completes. If there is some problem with the object such that it + can't be deleted, the request will be silently discarded. Delete requests made with this method + will be stored locally in an on-disk cache until they can be transmitted to Parse. They will be + sent immediately if possible. Otherwise, they will be sent the next time a network connection + is available. Delete instructions saved this way will persist even after the app is closed, in + which case they will be sent the next time the app is opened. If more than 10MB of commands are + waiting to be sent, subsequent calls to deleteEventually or saveEventually will cause old + instructions to be silently discarded until the connection can be re-established, and the + queued objects can be saved. +

+

+
+
+
+
+ +

+deleteEventually

+
+public final void deleteEventually(DeleteCallback callback)
+
+
Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible. Use this when you may not have a solid network connection, and don't + need to know when the delete completes. If there is some problem with the object such that it + can't be deleted, the request will be silently discarded. Delete requests made with this method + will be stored locally in an on-disk cache until they can be transmitted to Parse. They will be + sent immediately if possible. Otherwise, they will be sent the next time a network connection + is available. Delete instructions saved this way will persist even after the app is closed, in + which case they will be sent the next time the app is opened. If more than 10MB of commands are + waiting to be sent, subsequent calls to deleteEventually or saveEventually will cause old + instructions to be silently discarded until the connection can be re-established, and the + queued objects can be saved. +

+

+
Parameters:
callback - - A callback which will be called if the delete completes before the app exits.
+
+
+
+ +

+refresh

+
+public final void refresh()
+                   throws ParseException
+
+
Refreshes this object with the data from the server. Call this whenever you want the state of + the object to reflect exactly what is on the server. +

+

+ +
Throws: +
ParseException - Throws an exception if the server is inaccessible.
+
+
+
+ +

+refreshInBackground

+
+public final void refreshInBackground(RefreshCallback callback)
+
+
Refreshes this object with the data from the server in a background thread. This is preferable + to using refresh(), unless your code is already running from a background thread. +

+

+
Parameters:
callback - callback.done(object, e) is called when the refresh completes.
+
+
+
+ +

+fetch

+
+public <T extends ParseObject> T fetch()
+                            throws ParseException
+
+
Fetches this object with the data from the server. Call this whenever you want the state of the + object to reflect exactly what is on the server. +

+

+ +
Returns:
The ParseObject that was fetched. +
Throws: +
ParseException - Throws an exception if the server is inaccessible.
+
+
+
+ +

+fetchInBackground

+
+public final <T extends ParseObject> void fetchInBackground(GetCallback<T> callback)
+
+
Fetches this object with the data from the server in a background thread. This is preferable to + using fetch(), unless your code is already running from a background thread. +

+

+
Parameters:
callback - callback.done(object, e) is called when the fetch completes.
+
+
+
+ +

+fetchIfNeeded

+
+public <T extends ParseObject> T fetchIfNeeded()
+                                    throws ParseException
+
+
If this ParseObject has not been fetched (i.e. ParseObject.isDataAvailable() returns false), + fetches this object with the data from the server. +

+

+ +
Returns:
The fetched ParseObject. +
Throws: +
ParseException - Throws an exception if the server is inaccessible.
+
+
+
+ +

+fetchIfNeededInBackground

+
+public final <T extends ParseObject> void fetchIfNeededInBackground(GetCallback<T> callback)
+
+
If this ParseObject has not been fetched (i.e. ParseObject.isDataAvailable() returns false), + fetches this object with the data from the server in a background thread. This is preferable to + using ParseObject.fetchIfNeeded(), unless your code is already running from a background thread. +

+

+
Parameters:
callback - callback.done(object, e) is called when the fetch completes.
+
+
+
+ +

+delete

+
+public final void delete()
+                  throws ParseException
+
+
Deletes this object on the server. This does not delete or destroy the object locally. +

+

+ +
Throws: +
ParseException - Throws an error if the object does not exist or if the internet fails.
+
+
+
+ +

+deleteInBackground

+
+public final void deleteInBackground(DeleteCallback callback)
+
+
Deletes this object on the server in a background thread. This is preferable to using delete(), + unless your code is already running from a background thread. +

+

+
Parameters:
callback - callback.done(e) is called when the save completes.
+
+
+
+ +

+deleteInBackground

+
+public final void deleteInBackground()
+
+
Deletes this object on the server in a background thread. Does nothing in particular when the + save completes. Use this when you don't care if the delete works. +

+

+
+
+
+
+ +

+deleteAll

+
+public static void deleteAll(List<ParseObject> objects)
+                      throws ParseException
+
+
Deletes each object in the provided list. This is faster than deleting each object individually + because it batches the requests. +

+

+
Parameters:
objects - The objects to delete. +
Throws: +
ParseException - Throws an exception if the server returns an error or is inaccessible.
+
+
+
+ +

+deleteAllInBackground

+
+public static void deleteAllInBackground(List<ParseObject> objects,
+                                         DeleteCallback callback)
+
+
Deletes each object in the provided list. This is faster than deleting each object individually + because it batches the requests. +

+

+
Parameters:
objects - The objects to delete.
callback - The callback method to execute when completed. +
Throws: +
ParseException - Throws an exception if the server returns an error or is inaccessible.
+
+
+
+ +

+saveAll

+
+public static void saveAll(List<ParseObject> objects)
+                    throws ParseException
+
+
Saves each object in the provided list. This is faster than saving each object individually + because it batches the requests. +

+

+
Parameters:
objects - The objects to save. +
Throws: +
ParseException - Throws an exception if the server returns an error or is inaccessible.
+
+
+
+ +

+fetchAllIfNeeded

+
+public static <T extends ParseObject> List<T> fetchAllIfNeeded(List<T> objects)
+                                                    throws ParseException
+
+
Fetches all the objects that don't have data in the provided list. +

+

+
Parameters:
objects - The list of objects to fetch. +
Returns:
The list passed in for convenience. +
Throws: +
ParseException - Throws an exception if the server returns an error or is inaccessible.
+
+
+
+ +

+fetchAllIfNeededInBackground

+
+public static <T extends ParseObject> void fetchAllIfNeededInBackground(List<T> objects,
+                                                                        FindCallback<T> callback)
+
+
Fetches all the objects that don't have data in the provided list in the background +

+

+
Parameters:
objects - The list of objects to fetch.
callback - callback.done(result, e) is called when the fetch completes.
+
+
+
+ +

+fetchAll

+
+public static List<ParseObject> fetchAll(List<ParseObject> objects)
+                                  throws ParseException
+
+
Fetches all the objects in the provided list. +

+

+
Parameters:
objects - The list of objects to fetch. +
Returns:
The list passed in. +
Throws: +
ParseException - Throws an exception if the server returns an error or is inaccessible.
+
+
+
+ +

+fetchAllInBackground

+
+public static <T extends ParseObject> void fetchAllInBackground(List<T> objects,
+                                                                FindCallback<T> callback)
+
+
Fetches all the objects in the provided list in the background +

+

+
Parameters:
objects - The list of objects to fetch.
callback - callback.done(result, e) is called when the fetch completes.
+
+
+
+ +

+saveAllInBackground

+
+public static void saveAllInBackground(List<ParseObject> objects,
+                                       SaveCallback callback)
+
+
Saves each object in the provided list to the server in a background thread. This is preferable + to using saveAll, unless your code is already running from a background thread. +

+

+
Parameters:
objects - The objects to save.
callback - callback.done(e) is called when the save completes.
+
+
+
+ +

+saveAllInBackground

+
+public static void saveAllInBackground(List<ParseObject> objects)
+
+
Saves each object to the server in a background thread. Does nothing in particular when the + save completes. Use this when you don't care if the save works. +

+

+
Parameters:
objects - The objects to save.
+
+
+
+ +

+remove

+
+public void remove(String key)
+
+
Removes a key from this object's data if it exists. +

+

+
Parameters:
key - The key to remove.
+
+
+
+ +

+has

+
+public boolean has(String key)
+
+
Whether this object has a particular key. Same as containsKey. +

+

+
Parameters:
key - The key to check for +
Returns:
Returns whether this object contains the key
+
+
+
+ +

+put

+
+public void put(String key,
+                Object value)
+
+
Add a key-value pair to this object. It is recommended to name keys in + partialCamelCaseLikeThis. +

+

+
Parameters:
key - Keys must be alphanumerical plus underscore, and start with a letter.
value - Values may be numerical, String, JSONObject, JSONArray, JSONObject.NULL, or other + ParseObjects. value may not be null.
+
+
+
+ +

+increment

+
+public void increment(String key)
+
+
Atomically increments the given key by 1. +

+

+
Parameters:
key - The key to increment.
+
+
+
+ +

+increment

+
+public void increment(String key,
+                      Number amount)
+
+
Atomically increments the given key by the given number. +

+

+
Parameters:
key - The key to increment.
amount - The amount to increment by.
+
+
+
+ +

+add

+
+public void add(String key,
+                Object value)
+
+
Atomically adds an object to the end of the array associated with a given key. +

+

+
Parameters:
key - The key.
value - The object to add.
+
+
+
+ +

+addAll

+
+public void addAll(String key,
+                   Collection<?> values)
+
+
Atomically adds the objects contained in a Collection to the end of the array + associated with a given key. +

+

+
Parameters:
key - The key.
values - The objects to add.
+
+
+
+ +

+addUnique

+
+public void addUnique(String key,
+                      Object value)
+
+
Atomically adds an object to the array associated with a given key, only if it is not already + present in the array. The position of the insert is not guaranteed. +

+

+
Parameters:
key - The key.
value - The object to add.
+
+
+
+ +

+addAllUnique

+
+public void addAllUnique(String key,
+                         Collection<?> values)
+
+
Atomically adds the objects contained in a Collection to the array associated with a + given key, only adding elements which are not already present in the array. The position of the + insert is not guaranteed. +

+

+
Parameters:
key - The key.
values - The objects to add.
+
+
+
+ +

+removeAll

+
+public void removeAll(String key,
+                      Collection<?> values)
+
+
Atomically removes all instances of the objects contained in a Collection from the + array associated with a given key. To maintain consistency with the Java Collection API, there + is no method removing all instances of a single object. Instead, you can call + parseObject.removeAll(key, Arrays.asList(value)). +

+

+
Parameters:
key - The key.
values - The objects to remove.
+
+
+
+ +

+containsKey

+
+public boolean containsKey(String key)
+
+
Whether this object has a particular key. Same as 'has'. +

+

+
Parameters:
key - The key to check for +
Returns:
Returns whether this object contains the key
+
+
+
+ +

+getString

+
+public String getString(String key)
+
+
Access a string value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a String.
+
+
+
+ +

+getBytes

+
+public byte[] getBytes(String key)
+
+
Access a byte array value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a byte array.
+
+
+
+ +

+getNumber

+
+public Number getNumber(String key)
+
+
Access a numerical value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a Number.
+
+
+
+ +

+getJSONArray

+
+public JSONArray getJSONArray(String key)
+
+
Access a JSONArray value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a JSONArray.
+
+
+
+ +

+getList

+
+public <T> List<T> getList(String key)
+
+
Access a List value. +

+

+
Parameters:
key - The key to access the value for +
Returns:
Returns null if there is no such key or if the value can't be converted to a List
+
+
+
+ +

+getMap

+
+public <V> Map<String,V> getMap(String key)
+
+
Access a Map value +

+

+
Parameters:
key - The key to access the value for +
Returns:
Returns null if there is no such key or if the value can't be converted to a Map.
+
+
+
+ +

+getJSONObject

+
+public JSONObject getJSONObject(String key)
+
+
Access a JSONObject value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a JSONObject.
+
+
+
+ +

+getInt

+
+public int getInt(String key)
+
+
Access an int value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns 0 if there is no such key or if it is not a JSONObject.
+
+
+
+ +

+getDouble

+
+public double getDouble(String key)
+
+
Access a double value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns 0 if there is no such key or if it is not a double.
+
+
+
+ +

+getLong

+
+public long getLong(String key)
+
+
Access a long value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns 0 if there is no such key or if it is not a long.
+
+
+
+ +

+getBoolean

+
+public boolean getBoolean(String key)
+
+
Access a boolean value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns false if there is no such key or if it is not a boolean.
+
+
+
+ +

+getDate

+
+public Date getDate(String key)
+
+
Access a Date value. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a Date.
+
+
+
+ +

+getParseObject

+
+public ParseObject getParseObject(String key)
+
+
Access a ParseObject value. This function will not perform a network request. Unless the + ParseObject has been downloaded (e.g. by a ParseQuery.include(String) or by calling + ParseObject.fetchIfNeeded() or ParseObject.refresh()), ParseObject.isDataAvailable() will return false. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a ParseObject.
+
+
+
+ +

+getParseUser

+
+public ParseUser getParseUser(String key)
+
+
Access a ParseUser value. This function will not perform a network request. Unless the + ParseObject has been downloaded (e.g. by a ParseQuery.include(String) or by calling + ParseObject.fetchIfNeeded() or ParseObject.refresh()), ParseObject.isDataAvailable() will return false. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a ParseUser.
+
+
+
+ +

+getParseFile

+
+public ParseFile getParseFile(String key)
+
+
Access a ParseFile value. This function will not perform a network request. Unless the + ParseFile has been downloaded (e.g. by calling ParseFile.getData()), + ParseFile.isDataAvailable() will return false. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key or if it is not a ParseFile.
+
+
+
+ +

+getParseGeoPoint

+
+public ParseGeoPoint getParseGeoPoint(String key)
+
+
Access a ParseGeoPoint value. +

+

+
Parameters:
key - The key to access the value for +
Returns:
Returns null if there is no such key or if it is not a ParseGeoPoint.
+
+
+
+ +

+getACL

+
+public ParseACL getACL()
+
+
Access the ParseACL governing this object. +

+

+
+
+
+
+ +

+setACL

+
+public void setACL(ParseACL acl)
+
+
Set the ParseACL governing this object. +

+

+
+
+
+
+ +

+isDataAvailable

+
+public boolean isDataAvailable()
+
+
Gets whether the ParseObject has been fetched. +

+

+ +
Returns:
true if the ParseObject is new or has been fetched or refreshed. false + otherwise.
+
+
+
+ +

+getRelation

+
+public <T extends ParseObject> ParseRelation<T> getRelation(String key)
+
+
Access or create a Relation value for a key +

+

+
Parameters:
key - The key to access the relation for. +
Returns:
the ParseRelation object if the relation already exists for the key or can be created + for this key.
+
+
+
+ +

+get

+
+public Object get(String key)
+
+
Access a value. In most cases it is more convenient to use a helper function such as getString + or getInt. +

+

+
Parameters:
key - The key to access the value for. +
Returns:
Returns null if there is no such key. +
Throws: +
Throws - a ParseException if the server could not be reached to load a relational value.
+
+
+
+ +

+hasSameId

+
+public boolean hasSameId(ParseObject other)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParsePush.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParsePush.html new file mode 100644 index 0000000..6670511 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParsePush.html @@ -0,0 +1,646 @@ + + + + + +ParsePush + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParsePush

+
+Object
+  extended by com.parse.ParsePush
+
+
+
+
public class ParsePush
extends Object
+ + +

+The ParsePush is a local representation of data that can be sent as a push notification. +

+ The typical workflow for sending a push notification from the client is to construct a new + ParsePush, use the setter functions to fill it with data, and then use + ParsePush.sendInBackground() to send it. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ParsePush() + +
+          Creates a new push notification.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearExpiration() + +
+          Clears both expiration values, indicating that the notification should never expire.
+ voidsend() + +
+          Sends this push notification while blocking this thread until the push notification has + successfully reached the Parse servers.
+static voidsendDataInBackground(JSONObject data, + ParseQuery<ParseInstallation> query) + +
+          A helper method to concisely send a push to a query.
+static voidsendDataInBackground(JSONObject data, + ParseQuery<ParseInstallation> query, + SendCallback callback) + +
+          A helper method to concisely send a push to a query.
+ voidsendInBackground() + +
+          Sends this push notification in a background thread.
+ voidsendInBackground(SendCallback callback) + +
+          Sends this push notification in a background thread.
+static voidsendMessageInBackground(String message, + ParseQuery<ParseInstallation> query) + +
+          A helper method to concisely send a push message to a query.
+static voidsendMessageInBackground(String message, + ParseQuery<ParseInstallation> query, + SendCallback callback) + +
+          A helper method to concisely send a push message to a query.
+ voidsetChannel(String channel) + +
+          Sets the channel on which this push notification will be sent.
+ voidsetChannels(Collection<String> channels) + +
+          Sets the collection of channels on which this push notification will be sent.
+ voidsetData(JSONObject data) + +
+          Sets the entire data of the push message.
+ voidsetExpirationTime(long time) + +
+          Sets a UNIX epoch timestamp at which this notification should expire, in seconds (UTC).
+ voidsetExpirationTimeInterval(long timeInterval) + +
+          Sets the time interval after which this notification should expire, in seconds.
+ voidsetMessage(String message) + +
+          Sets the message that will be shown in the notification.
+ voidsetPushToAndroid(boolean pushToAndroid) + +
+          Deprecated. 
+ voidsetPushToIOS(boolean pushToIOS) + +
+          Deprecated. 
+ voidsetQuery(ParseQuery<ParseInstallation> query) + +
+          Sets the query for this push for which this push notification will be sent.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParsePush

+
+public ParsePush()
+
+
Creates a new push notification. The default channel is the empty string, also known as the + global broadcast channel, but this value can be overridden using ParsePush.setChannel(String), + ParsePush.setChannels(Collection) or ParsePush.setQuery(ParseQuery). Before sending the push + notification you must call either ParsePush.setMessage(String) or ParsePush.setData(JSONObject). +

+

+ + + + + + + + +
+Method Detail
+ +

+sendMessageInBackground

+
+public static void sendMessageInBackground(String message,
+                                           ParseQuery<ParseInstallation> query)
+
+
A helper method to concisely send a push message to a query. This method is equivalent to + ParsePush push = new ParsePush(); push.setMessage(message); push.setQuery(query); + push.sendInBackground(); +

+

+
Parameters:
message - The message that will be shown in the notification.
query - A ParseInstallation query which specifies the recipients of a push.
+
+
+
+ +

+sendMessageInBackground

+
+public static void sendMessageInBackground(String message,
+                                           ParseQuery<ParseInstallation> query,
+                                           SendCallback callback)
+
+
A helper method to concisely send a push message to a query. This method is equivalent to + ParsePush push = new ParsePush(); push.setMessage(message); push.setQuery(query); + push.sendInBackground(callback); +

+

+
Parameters:
message - The message that will be shown in the notification.
query - A ParseInstallation query which specifies the recipients of a push.
callback - callback.done(e) is called when the send completes.
+
+
+
+ +

+sendDataInBackground

+
+public static void sendDataInBackground(JSONObject data,
+                                        ParseQuery<ParseInstallation> query)
+
+
A helper method to concisely send a push to a query. This method is equivalent to ParsePush + push = new ParsePush(); push.setData(data); push.setQuery(query); push.sendInBackground(); +

+

+
Parameters:
data - The entire data of the push message. See the push guide for more details on the data + format.
query - A ParseInstallation query which specifies the recipients of a push.
+
+
+
+ +

+sendDataInBackground

+
+public static void sendDataInBackground(JSONObject data,
+                                        ParseQuery<ParseInstallation> query,
+                                        SendCallback callback)
+
+
A helper method to concisely send a push to a query. This method is equivalent to ParsePush + push = new ParsePush(); push.setData(data); push.setQuery(query); + push.sendInBackground(callback); +

+

+
Parameters:
data - The entire data of the push message. See the push guide for more details on the data + format.
query - A ParseInstallation query which specifies the recipients of a push.
callback - callback.done(e) is called when the send completes.
+
+
+
+ +

+setChannel

+
+public void setChannel(String channel)
+
+
Sets the channel on which this push notification will be sent. The channel name must start with + a letter and contain only letters, numbers, dashes, and underscores. A push can either have + channels or a query. Setting this will unset the query. +

+

+
+
+
+
+ +

+setChannels

+
+public void setChannels(Collection<String> channels)
+
+
Sets the collection of channels on which this push notification will be sent. Each channel name + must start with a letter and contain only letters, numbers, dashes, and underscores. A push can + either have channels or a query. Setting this will unset the query. +

+

+
+
+
+
+ +

+setQuery

+
+public void setQuery(ParseQuery<ParseInstallation> query)
+
+
Sets the query for this push for which this push notification will be sent. This query will be + executed in the Parse cloud; this push notification will be sent to Installations which this + query yields. A push can either have channels or a query. Setting this will unset the channels. +

+

+
Parameters:
query - A query to which this push should target. This must be a ParseInstallation query.
+
+
+
+ +

+setExpirationTime

+
+public void setExpirationTime(long time)
+
+
Sets a UNIX epoch timestamp at which this notification should expire, in seconds (UTC). This + notification will be sent to devices which are either online at the time the notification is + sent, or which come online before the expiration time is reached. Because device clocks are not + guaranteed to be accurate, most applications should instead use + ParsePush.setExpirationTimeInterval(long). +

+

+
+
+
+
+ +

+setExpirationTimeInterval

+
+public void setExpirationTimeInterval(long timeInterval)
+
+
Sets the time interval after which this notification should expire, in seconds. This + notification will be sent to devices which are either online at the time the notification is + sent, or which come online within the given number of seconds of the notification being + received by Parse's server. An interval which is less than or equal to zero indicates that the + message should only be sent to devices which are currently online. +

+

+
+
+
+
+ +

+clearExpiration

+
+public void clearExpiration()
+
+
Clears both expiration values, indicating that the notification should never expire. +

+

+
+
+
+
+ +

+setPushToIOS

+
+@Deprecated
+public void setPushToIOS(boolean pushToIOS)
+
+
Deprecated.  +

+

+
+
+
+
+ +

+setPushToAndroid

+
+@Deprecated
+public void setPushToAndroid(boolean pushToAndroid)
+
+
Deprecated.  +

+

+
+
+
+
+ +

+setData

+
+public void setData(JSONObject data)
+
+
Sets the entire data of the push message. See the push guide for more details on the data + format. This will overwrite any data specified in ParsePush.setMessage(String). +

+

+
+
+
+
+ +

+setMessage

+
+public void setMessage(String message)
+
+
Sets the message that will be shown in the notification. This will overwrite any data specified + in ParsePush.setData(JSONObject). +

+

+
+
+
+
+ +

+send

+
+public void send()
+          throws ParseException
+
+
Sends this push notification while blocking this thread until the push notification has + successfully reached the Parse servers. Typically, you should use ParsePush.sendInBackground() + instead of this, unless you are managing your own threading. +

+

+ +
Throws: +
ParseException - Throws an exception if the server is inaccessible.
+
+
+
+ +

+sendInBackground

+
+public void sendInBackground(SendCallback callback)
+
+
Sends this push notification in a background thread. This is preferable to using + send(), unless your code is already running from a background thread. +

+

+
Parameters:
callback - callback.done(e) is called when the send completes.
+
+
+
+ +

+sendInBackground

+
+public void sendInBackground()
+
+
Sends this push notification in a background thread. Use this when you do not have code to run + on completion of the push. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQuery.CachePolicy.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQuery.CachePolicy.html new file mode 100644 index 0000000..b743ad7 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQuery.CachePolicy.html @@ -0,0 +1,385 @@ + + + + + +ParseQuery.CachePolicy + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Enum ParseQuery.CachePolicy

+
+Object
+  extended by Enum<ParseQuery.CachePolicy>
+      extended by com.parse.ParseQuery.CachePolicy
+
+
+
All Implemented Interfaces:
Serializable, Comparable<ParseQuery.CachePolicy>
+
+
+
Enclosing class:
ParseQuery<T extends ParseObject>
+
+
+
+
public static enum ParseQuery.CachePolicy
extends Enum<ParseQuery.CachePolicy>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
CACHE_ELSE_NETWORK + +
+           
CACHE_ONLY + +
+           
CACHE_THEN_NETWORK + +
+           
IGNORE_CACHE + +
+           
NETWORK_ELSE_CACHE + +
+           
NETWORK_ONLY + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static ParseQuery.CachePolicyvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static ParseQuery.CachePolicy[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+IGNORE_CACHE

+
+public static final ParseQuery.CachePolicy IGNORE_CACHE
+
+
+
+
+
+ +

+CACHE_ONLY

+
+public static final ParseQuery.CachePolicy CACHE_ONLY
+
+
+
+
+
+ +

+NETWORK_ONLY

+
+public static final ParseQuery.CachePolicy NETWORK_ONLY
+
+
+
+
+
+ +

+CACHE_ELSE_NETWORK

+
+public static final ParseQuery.CachePolicy CACHE_ELSE_NETWORK
+
+
+
+
+
+ +

+NETWORK_ELSE_CACHE

+
+public static final ParseQuery.CachePolicy NETWORK_ELSE_CACHE
+
+
+
+
+
+ +

+CACHE_THEN_NETWORK

+
+public static final ParseQuery.CachePolicy CACHE_THEN_NETWORK
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ParseQuery.CachePolicy[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ParseQuery.CachePolicy c : ParseQuery.CachePolicy.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ParseQuery.CachePolicy valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQuery.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQuery.html new file mode 100644 index 0000000..29fe66a --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQuery.html @@ -0,0 +1,1738 @@ + + + + + +ParseQuery + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseQuery<T extends ParseObject>

+
+Object
+  extended by com.parse.ParseQuery<T>
+
+
+
+
public class ParseQuery<T extends ParseObject>
extends Object
+ + +

+The ParseQuery class defines a query that is used to fetch ParseObjects. The most common use case + is finding all objects that match a query through the findInBackground + method, using a FindCallback. For example, this sample code fetches all objects of class + "MyClass". It calls a different function depending on whether the fetch succeeded or + not. + +

+ ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
+ query.findInBackground(new FindCallback<ParseObject>() {
+     public void done(List<ParseObject> objects, ParseException e) {
+         if (e == null) {
+             objectsWereRetrievedSuccessfully(objects);
+         } else {
+             objectRetrievalFailed();
+         }
+     }
+ }
+ 
+ + A ParseQuery can also be used to retrieve a single object whose id is known, through the + getInBackground method, using a GetCallback. For example, this + sample code fetches an object of class "MyClass" and id myId. It calls + a different function depending on whether the fetch succeeded or not. + +
+ ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
+ query.getInBackground(myId, new GetCallback<ParseObject>() {
+     public void done(ParseObject object, ParseException e) {
+         if (e == null) {
+             objectWasRetrievedSuccessfully(object);
+         } else {
+             objectRetrievalFailed();
+         }
+     }
+ }
+ 
+ + A ParseQuery can also be used to count the number of objects that match the query without + retrieving all of those objects. For example, this sample code counts the number of objects of + the class "MyClass". + +
+ ParseQuery<ParseObject> query = ParseQuery.getQuery("MyClass");
+ query.countInBackground(new CountCallback() {
+     public void done(int count, ParseException e) {
+         if (e == null) {
+             objectsWereCounted(count);
+         } else {
+             objectCountFailed();
+         }
+     }
+ }
+ 
+ + Using the callback methods is usually preferred because the network operation will not block the + calling thread. However, in some cases it may be easier to use the find, + get or count calls, which do block the calling thread. For example, + if your application has already spawned a background task to perform work, that background task + could use the blocking calls and avoid the code complexity of callbacks. +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classParseQuery.CachePolicy + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
ParseQuery(Class<T> subclass) + +
+          Constructs a query for a ParseObject subclass type.
ParseQuery(String theClassName) + +
+          Constructs a query.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ParseQuery<T>addAscendingOrder(String key) + +
+          Also sorts the results in ascending order by the given key.
+ ParseQuery<T>addDescendingOrder(String key) + +
+          Also sorts the results in descending order by the given key.
+ voidcancel() + +
+          Cancels the current network request (if one is running).
+static voidclearAllCachedResults() + +
+          Clears the cached result for all queries.
+ voidclearCachedResult() + +
+          Removes the previously cached result for this query, forcing the next find() to hit the + network.
+ intcount() + +
+          Counts the number of objects that match this query.
+ voidcountInBackground(CountCallback callback) + +
+          Counts the number of objects that match this query in a background thread.
+ List<T>find() + +
+          Retrieves a list of ParseObjects that satisfy this query.
+ voidfindInBackground(FindCallback<T> callback) + +
+          Retrieves a list of ParseObjects that satisfy this query from the server in a background + thread.
+ Tget(String objectId) + +
+          Constructs a ParseObject whose id is already known by fetching data from the server.
+ ParseQuery.CachePolicygetCachePolicy() + +
+          Accessor for the caching policy.
+ StringgetClassName() + +
+          Accessor for the class name.
+ TgetFirst() + +
+          Retrieves at most one ParseObject that satisfies this query.
+ voidgetFirstInBackground(GetCallback<T> callback) + +
+          Retrieves at most one ParseObject that satisfies this query from the server in a background + thread.
+ voidgetInBackground(String objectId, + GetCallback<T> callback) + +
+          Constructs a ParseObject whose id is already known by fetching data from the server in a + background thread.
+ intgetLimit() + +
+          Accessor for the limit.
+ longgetMaxCacheAge() + +
+          Gets the maximum age of cached data that will be considered in this query.
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
getQuery(Class<T> subclass) + +
+          Creates a new query for the given ParseObject subclass type.
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
getQuery(String className) + +
+          Creates a new query for the given class name.
+ intgetSkip() + +
+          Accessor for the skip value.
+static ParseQuery<ParseUser>getUserQuery() + +
+          Deprecated. Please use ParseUser.getQuery() instead.
+ booleanhasCachedResult() + +
+          Returns whether or not this query has a cached result.
+ voidinclude(String key) + +
+          Include nested ParseObjects for the provided key.
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
or(List<ParseQuery<T>> queries) + +
+          Constructs a query that is the or of the given queries.
+ ParseQuery<T>orderByAscending(String key) + +
+          Sorts the results in ascending order by the given key.
+ ParseQuery<T>orderByDescending(String key) + +
+          Sorts the results in descending order by the given key.
+ voidselectKeys(Collection<String> keys) + +
+          Restrict the fields of returned ParseObjects to only include the provided keys.
+ voidsetCachePolicy(ParseQuery.CachePolicy newCachePolicy) + +
+          Change the caching policy of this query.
+ voidsetLimit(int newLimit) + +
+          Controls the maximum number of results that are returned.
+ voidsetMaxCacheAge(long maxAgeInMilliseconds) + +
+          Sets the maximum age of cached data that will be considered in this query.
+ voidsetSkip(int newSkip) + +
+          Controls the number of results to skip before returning any results.
+ voidsetTrace(boolean shouldTrace) + +
+          Turn on performance tracing of finds.
+ ParseQuery<T>whereContainedIn(String key, + Collection<? extends Object> values) + +
+          Add a constraint to the query that requires a particular key's value to be contained in the + provided list of values.
+ ParseQuery<T>whereContains(String key, + String substring) + +
+          Add a constraint for finding string values that contain a provided string.
+ ParseQuery<T>whereContainsAll(String key, + Collection<?> values) + +
+          Add a constraint to the query that requires a particular key's value match another ParseQuery.
+ ParseQuery<T>whereDoesNotExist(String key) + +
+          Add a constraint for finding objects that do not contain a given key.
+ ParseQuery<T>whereDoesNotMatchKeyInQuery(String key, + String keyInQuery, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value does not match any value + for a key in the results of another ParseQuery.
+ ParseQuery<T>whereDoesNotMatchQuery(String key, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value does not match another + ParseQuery.
+ ParseQuery<T>whereEndsWith(String key, + String suffix) + +
+          Add a constraint for finding string values that end with a provided string.
+ ParseQuery<T>whereEqualTo(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be equal to the + provided value.
+ ParseQuery<T>whereExists(String key) + +
+          Add a constraint for finding objects that contain the given key.
+ ParseQuery<T>whereGreaterThan(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be greater than the + provided value.
+ ParseQuery<T>whereGreaterThanOrEqualTo(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be greater than or + equal to the provided value.
+ ParseQuery<T>whereLessThan(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be less than the + provided value.
+ ParseQuery<T>whereLessThanOrEqualTo(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be less than or equal + to the provided value.
+ ParseQuery<T>whereMatches(String key, + String regex) + +
+          Add a regular expression constraint for finding string values that match the provided regular + expression.
+ ParseQuery<T>whereMatches(String key, + String regex, + String modifiers) + +
+          Add a regular expression constraint for finding string values that match the provided regular + expression.
+ ParseQuery<T>whereMatchesKeyInQuery(String key, + String keyInQuery, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value matches a value for a key + in the results of another ParseQuery
+ ParseQuery<T>whereMatchesQuery(String key, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value match another ParseQuery.
+ ParseQuery<T>whereNear(String key, + ParseGeoPoint point) + +
+          Add a proximity based constraint for finding objects with key point values near the point + given.
+ ParseQuery<T>whereNotContainedIn(String key, + Collection<? extends Object> values) + +
+          Add a constraint to the query that requires a particular key's value not be contained in the + provided list of values.
+ ParseQuery<T>whereNotEqualTo(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be not equal to the + provided value.
+ ParseQuery<T>whereStartsWith(String key, + String prefix) + +
+          Add a constraint for finding string values that start with a provided string.
+ ParseQuery<T>whereWithinGeoBox(String key, + ParseGeoPoint southwest, + ParseGeoPoint northeast) + +
+          Add a constraint to the query that requires a particular key's coordinates be contained within + a given rectangular geographic bounding box.
+ ParseQuery<T>whereWithinKilometers(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+ ParseQuery<T>whereWithinMiles(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+ ParseQuery<T>whereWithinRadians(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseQuery

+
+public ParseQuery(Class<T> subclass)
+
+
Constructs a query for a ParseObject subclass type. A default query with no further parameters + will retrieve all ParseObjects of the provided class. +

+

+
Parameters:
subclass - The ParseObject subclass type to retrieve.
+
+
+ +

+ParseQuery

+
+public ParseQuery(String theClassName)
+
+
Constructs a query. A default query with no further parameters will retrieve all ParseObjects + of the provided class. +

+

+
Parameters:
theClassName - The name of the class to retrieve ParseObjects for.
+
+ + + + + + + + +
+Method Detail
+ +

+or

+
+public static <T extends ParseObject> ParseQuery<T> or(List<ParseQuery<T>> queries)
+
+
Constructs a query that is the or of the given queries. +

+

+
Parameters:
queries - The list of ParseQuerys to 'or' together +
Returns:
A ParseQuery that is the 'or' of the passed in queries
+
+
+
+ +

+getQuery

+
+public static <T extends ParseObject> ParseQuery<T> getQuery(Class<T> subclass)
+
+
Creates a new query for the given ParseObject subclass type. A default query with no further + parameters will retrieve all ParseObjects of the provided class. +

+

+
Parameters:
subclass - The ParseObject subclass type to retrieve. +
Returns:
A new ParseQuery.
+
+
+
+ +

+getQuery

+
+public static <T extends ParseObject> ParseQuery<T> getQuery(String className)
+
+
Creates a new query for the given class name. A default query with no further parameters will + retrieve all ParseObjects of the provided class name. +

+

+
Parameters:
className - The name of the class to retrieve ParseObjects for. +
Returns:
A new ParseQuery.
+
+
+
+ +

+getUserQuery

+
+@Deprecated
+public static ParseQuery<ParseUser> getUserQuery()
+
+
Deprecated. Please use ParseUser.getQuery() instead. +

+

Constructs a query for ParseUsers +

+

+
+
+
+
+ +

+cancel

+
+public void cancel()
+
+
Cancels the current network request (if one is running). +

+

+
+
+
+
+ +

+find

+
+public List<T> find()
+                                 throws ParseException
+
+
Retrieves a list of ParseObjects that satisfy this query. Uses the network and/or the cache, + depending on the cache policy. +

+

+ +
Returns:
A list of all ParseObjects obeying the conditions set in this query. +
Throws: +
ParseException
+
+
+
+ +

+getFirst

+
+public T getFirst()
+                               throws ParseException
+
+
Retrieves at most one ParseObject that satisfies this query. Uses the network and/or the cache, + depending on the cache policy. This mutates the ParseQuery. +

+

+ +
Returns:
A ParseObject obeying the conditions set in this query, or null if none found. +
Throws: +
ParseException - Throws a ParseException if no object is found.
+
+
+
+ +

+setCachePolicy

+
+public void setCachePolicy(ParseQuery.CachePolicy newCachePolicy)
+
+
Change the caching policy of this query. +

+

+
+
+
+
+ +

+getCachePolicy

+
+public ParseQuery.CachePolicy getCachePolicy()
+
+
Accessor for the caching policy. +

+

+
+
+
+
+ +

+setMaxCacheAge

+
+public void setMaxCacheAge(long maxAgeInMilliseconds)
+
+
Sets the maximum age of cached data that will be considered in this query. +

+

+
+
+
+
+ +

+getMaxCacheAge

+
+public long getMaxCacheAge()
+
+
Gets the maximum age of cached data that will be considered in this query. The returned value + is in milliseconds +

+

+
+
+
+
+ +

+findInBackground

+
+public void findInBackground(FindCallback<T> callback)
+
+
Retrieves a list of ParseObjects that satisfy this query from the server in a background + thread. This is preferable to using find(), unless your code is already running in a background + thread. +

+

+
Parameters:
callback - callback.done(objectList, e) is called when the find completes.
+
+
+
+ +

+getFirstInBackground

+
+public void getFirstInBackground(GetCallback<T> callback)
+
+
Retrieves at most one ParseObject that satisfies this query from the server in a background + thread. This is preferable to using getFirst(), unless your code is already running in a + background thread. This mutates the ParseQuery. +

+

+
Parameters:
callback - callback.done(object, e) is called when the find completes.
+
+
+
+ +

+count

+
+public int count()
+          throws ParseException
+
+
Counts the number of objects that match this query. This does not use caching. +

+

+ +
Throws: +
ParseException - Throws an exception when the network connection fails or when the query is invalid.
+
+
+
+ +

+countInBackground

+
+public void countInBackground(CountCallback callback)
+
+
Counts the number of objects that match this query in a background thread. This does not use + caching. +

+

+
Parameters:
callback - callback.done(count, e) will be called when the count completes.
+
+
+
+ +

+get

+
+public T get(String objectId)
+                          throws ParseException
+
+
Constructs a ParseObject whose id is already known by fetching data from the server. This + mutates the ParseQuery. +

+

+
Parameters:
objectId - Object id of the ParseObject to fetch. +
Throws: +
ParseException - Throws an exception when there is no such object or when the network connection + fails.
+
+
+
+ +

+hasCachedResult

+
+public boolean hasCachedResult()
+
+
Returns whether or not this query has a cached result. +

+

+
+
+
+
+ +

+clearCachedResult

+
+public void clearCachedResult()
+
+
Removes the previously cached result for this query, forcing the next find() to hit the + network. If there is no cached result for this query, then this is a no-op. +

+

+
+
+
+
+ +

+clearAllCachedResults

+
+public static void clearAllCachedResults()
+
+
Clears the cached result for all queries. +

+

+
+
+
+
+ +

+getInBackground

+
+public void getInBackground(String objectId,
+                            GetCallback<T> callback)
+
+
Constructs a ParseObject whose id is already known by fetching data from the server in a + background thread. This does not use caching. This is preferable to using the + ParseObject(className, objectId) constructor, unless your code is already running in a + background thread. +

+

+
Parameters:
objectId - Object id of the ParseObject to fetch.
callback - callback.done(object, e) will be called when the fetch completes.
+
+
+
+ +

+whereEqualTo

+
+public ParseQuery<T> whereEqualTo(String key,
+                                  Object value)
+
+
Add a constraint to the query that requires a particular key's value to be equal to the + provided value. +

+

+
Parameters:
key - The key to check.
value - The value that the ParseObject must contain. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereLessThan

+
+public ParseQuery<T> whereLessThan(String key,
+                                   Object value)
+
+
Add a constraint to the query that requires a particular key's value to be less than the + provided value. +

+

+
Parameters:
key - The key to check.
value - The value that provides an upper bound. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereNotEqualTo

+
+public ParseQuery<T> whereNotEqualTo(String key,
+                                     Object value)
+
+
Add a constraint to the query that requires a particular key's value to be not equal to the + provided value. +

+

+
Parameters:
key - The key to check.
value - The value that must not be equalled. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereGreaterThan

+
+public ParseQuery<T> whereGreaterThan(String key,
+                                      Object value)
+
+
Add a constraint to the query that requires a particular key's value to be greater than the + provided value. +

+

+
Parameters:
key - The key to check.
value - The value that provides an lower bound. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereLessThanOrEqualTo

+
+public ParseQuery<T> whereLessThanOrEqualTo(String key,
+                                            Object value)
+
+
Add a constraint to the query that requires a particular key's value to be less than or equal + to the provided value. +

+

+
Parameters:
key - The key to check.
value - The value that provides an upper bound. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereGreaterThanOrEqualTo

+
+public ParseQuery<T> whereGreaterThanOrEqualTo(String key,
+                                               Object value)
+
+
Add a constraint to the query that requires a particular key's value to be greater than or + equal to the provided value. +

+

+
Parameters:
key - The key to check.
value - The value that provides an lower bound. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereContainedIn

+
+public ParseQuery<T> whereContainedIn(String key,
+                                      Collection<? extends Object> values)
+
+
Add a constraint to the query that requires a particular key's value to be contained in the + provided list of values. +

+

+
Parameters:
key - The key to check.
values - The values that will match. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereContainsAll

+
+public ParseQuery<T> whereContainsAll(String key,
+                                      Collection<?> values)
+
+
Add a constraint to the query that requires a particular key's value match another ParseQuery. + This only works on keys whose values are ParseObjects or lists of ParseObjects. Add a + constraint to the query that requires a particular key's value to contain every one of the + provided list of values. +

+

+
Parameters:
key - The key to check. This key's value must be an array.
values - The values that will match. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereMatchesQuery

+
+public ParseQuery<T> whereMatchesQuery(String key,
+                                       ParseQuery<?> query)
+
+
Add a constraint to the query that requires a particular key's value match another ParseQuery. + This only works on keys whose values are ParseObjects or lists of ParseObjects. +

+

+
Parameters:
key - The key to check.
query - The query that the value should match +
Returns:
Returns the query so you can chain this call.
+
+
+
+ +

+whereDoesNotMatchQuery

+
+public ParseQuery<T> whereDoesNotMatchQuery(String key,
+                                            ParseQuery<?> query)
+
+
Add a constraint to the query that requires a particular key's value does not match another + ParseQuery. This only works on keys whose values are ParseObjects or lists of ParseObjects. +

+

+
Parameters:
key - The key to check.
query - The query that the value should not match +
Returns:
Returns the query so you can chain this call.
+
+
+
+ +

+whereMatchesKeyInQuery

+
+public ParseQuery<T> whereMatchesKeyInQuery(String key,
+                                            String keyInQuery,
+                                            ParseQuery<?> query)
+
+
Add a constraint to the query that requires a particular key's value matches a value for a key + in the results of another ParseQuery +

+

+
Parameters:
key - The key whose value is being checked
keyInQuery - The key in the objects from the sub query to look in
query - The sub query to run +
Returns:
Returns the query so you can chain this call.
+
+
+
+ +

+whereDoesNotMatchKeyInQuery

+
+public ParseQuery<T> whereDoesNotMatchKeyInQuery(String key,
+                                                 String keyInQuery,
+                                                 ParseQuery<?> query)
+
+
Add a constraint to the query that requires a particular key's value does not match any value + for a key in the results of another ParseQuery. +

+

+
Parameters:
key - The key whose value is being checked and excluded
keyInQuery - The key in the objects from the sub query to look in
query - The sub query to run +
Returns:
Returns the query so you can chain this call.
+
+
+
+ +

+whereNotContainedIn

+
+public ParseQuery<T> whereNotContainedIn(String key,
+                                         Collection<? extends Object> values)
+
+
Add a constraint to the query that requires a particular key's value not be contained in the + provided list of values. +

+

+
Parameters:
key - The key to check.
values - The values that will not match. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereNear

+
+public ParseQuery<T> whereNear(String key,
+                               ParseGeoPoint point)
+
+
Add a proximity based constraint for finding objects with key point values near the point + given. +

+

+
Parameters:
key - The key that the ParseGeoPoint is stored in.
point - The reference ParseGeoPoint that is used. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereWithinMiles

+
+public ParseQuery<T> whereWithinMiles(String key,
+                                      ParseGeoPoint point,
+                                      double maxDistance)
+
+
Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given. Radius of earth used is 3958.8 miles. +

+

+
Parameters:
key - The key that the ParseGeoPoint is stored in.
point - The reference ParseGeoPoint that is used.
maxDistance - Maximum distance (in miles) of results to return. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereWithinKilometers

+
+public ParseQuery<T> whereWithinKilometers(String key,
+                                           ParseGeoPoint point,
+                                           double maxDistance)
+
+
Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given. Radius of earth used is 6371.0 kilometers. +

+

+
Parameters:
key - The key that the ParseGeoPoint is stored in.
point - The reference ParseGeoPoint that is used.
maxDistance - Maximum distance (in kilometers) of results to return. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereWithinRadians

+
+public ParseQuery<T> whereWithinRadians(String key,
+                                        ParseGeoPoint point,
+                                        double maxDistance)
+
+
Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given. +

+

+
Parameters:
key - The key that the ParseGeoPoint is stored in.
point - The reference ParseGeoPoint that is used.
maxDistance - Maximum distance (in radians) of results to return. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereWithinGeoBox

+
+public ParseQuery<T> whereWithinGeoBox(String key,
+                                       ParseGeoPoint southwest,
+                                       ParseGeoPoint northeast)
+
+
Add a constraint to the query that requires a particular key's coordinates be contained within + a given rectangular geographic bounding box. +

+

+
Parameters:
key - The key to be constrained.
southwest - The lower-left inclusive corner of the box.
northeast - The upper-right inclusive corner of the box. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereMatches

+
+public ParseQuery<T> whereMatches(String key,
+                                  String regex)
+
+
Add a regular expression constraint for finding string values that match the provided regular + expression. This may be slow for large datasets. +

+

+
Parameters:
key - The key that the string to match is stored in.
regex - The regular expression pattern to match. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereMatches

+
+public ParseQuery<T> whereMatches(String key,
+                                  String regex,
+                                  String modifiers)
+
+
Add a regular expression constraint for finding string values that match the provided regular + expression. This may be slow for large datasets. +

+

+
Parameters:
key - The key that the string to match is stored in.
regex - The regular expression pattern to match.
modifiers - Any of the following supported PCRE modifiers:
+ i - Case insensitive search
+ m - Search across multiple lines of input
+
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereContains

+
+public ParseQuery<T> whereContains(String key,
+                                   String substring)
+
+
Add a constraint for finding string values that contain a provided string. This will be slow + for large datasets. +

+

+
Parameters:
key - The key that the string to match is stored in.
substring - The substring that the value must contain. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereStartsWith

+
+public ParseQuery<T> whereStartsWith(String key,
+                                     String prefix)
+
+
Add a constraint for finding string values that start with a provided string. This query will + use the backend index, so it will be fast even for large datasets. +

+

+
Parameters:
key - The key that the string to match is stored in.
prefix - The substring that the value must start with. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+whereEndsWith

+
+public ParseQuery<T> whereEndsWith(String key,
+                                   String suffix)
+
+
Add a constraint for finding string values that end with a provided string. This will be slow + for large datasets. +

+

+
Parameters:
key - The key that the string to match is stored in.
suffix - The substring that the value must end with. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+include

+
+public void include(String key)
+
+
Include nested ParseObjects for the provided key. You can use dot notation to specify which + fields in the included object that are also fetched. +

+

+
Parameters:
key - The key that should be included.
+
+
+
+ +

+selectKeys

+
+public void selectKeys(Collection<String> keys)
+
+
Restrict the fields of returned ParseObjects to only include the provided keys. If this is + called multiple times, then all of the keys specified in each of the calls will be included. +

+

+
Parameters:
keys - The set of keys to include in the result.
+
+
+
+ +

+whereExists

+
+public ParseQuery<T> whereExists(String key)
+
+
Add a constraint for finding objects that contain the given key. +

+

+
Parameters:
key - The key that should exist.
+
+
+
+ +

+whereDoesNotExist

+
+public ParseQuery<T> whereDoesNotExist(String key)
+
+
Add a constraint for finding objects that do not contain a given key. +

+

+
Parameters:
key - The key that should not exist
+
+
+
+ +

+orderByAscending

+
+public ParseQuery<T> orderByAscending(String key)
+
+
Sorts the results in ascending order by the given key. +

+

+
Parameters:
key - The key to order by. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+addAscendingOrder

+
+public ParseQuery<T> addAscendingOrder(String key)
+
+
Also sorts the results in ascending order by the given key. The previous sort keys have + precedence over this key. +

+

+
Parameters:
key - The key to order by +
Returns:
Returns the query so you can chain this call.
+
+
+
+ +

+orderByDescending

+
+public ParseQuery<T> orderByDescending(String key)
+
+
Sorts the results in descending order by the given key. +

+

+
Parameters:
key - The key to order by. +
Returns:
Returns the query, so you can chain this call.
+
+
+
+ +

+addDescendingOrder

+
+public ParseQuery<T> addDescendingOrder(String key)
+
+
Also sorts the results in descending order by the given key. The previous sort keys have + precedence over this key. +

+

+
Parameters:
key - The key to order by +
Returns:
Returns the query so you can chain this call.
+
+
+
+ +

+setLimit

+
+public void setLimit(int newLimit)
+
+
Controls the maximum number of results that are returned. Setting a negative limit denotes + retrieval without a limit. The default limit is 100, with a maximum of 1000 results being + returned at a time. +

+

+
Parameters:
newLimit -
+
+
+
+ +

+setTrace

+
+public void setTrace(boolean shouldTrace)
+
+
Turn on performance tracing of finds. If performance tracing is already turned on this does + nothing. In general you don't need to call trace. +

+

+
+
+
+
+ +

+getLimit

+
+public int getLimit()
+
+
Accessor for the limit. +

+

+
+
+
+
+ +

+setSkip

+
+public void setSkip(int newSkip)
+
+
Controls the number of results to skip before returning any results. This is useful for + pagination. Default is to skip zero results. +

+

+
Parameters:
newSkip -
+
+
+
+ +

+getSkip

+
+public int getSkip()
+
+
Accessor for the skip value. +

+

+
+
+
+
+ +

+getClassName

+
+public String getClassName()
+
+
Accessor for the class name. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.OnQueryLoadListener.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.OnQueryLoadListener.html new file mode 100644 index 0000000..2c786d9 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.OnQueryLoadListener.html @@ -0,0 +1,231 @@ + + + + + +ParseQueryAdapter.OnQueryLoadListener + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Interface ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject>

+
+
Enclosing class:
ParseQueryAdapter<T extends ParseObject>
+
+
+
+
public static interface ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject>
+ + +

+Implement with logic that is called before and after objects are fetched from Parse by the + adapter. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidonLoaded(List<T> objects, + Exception e) + +
+           
+ voidonLoading() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+onLoading

+
+void onLoading()
+
+
+
+
+
+
+ +

+onLoaded

+
+void onLoaded(List<T> objects,
+              Exception e)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.QueryFactory.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.QueryFactory.html new file mode 100644 index 0000000..79f94c7 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.QueryFactory.html @@ -0,0 +1,209 @@ + + + + + +ParseQueryAdapter.QueryFactory + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Interface ParseQueryAdapter.QueryFactory<T extends ParseObject>

+
+
Enclosing class:
ParseQueryAdapter<T extends ParseObject>
+
+
+
+
public static interface ParseQueryAdapter.QueryFactory<T extends ParseObject>
+ + +

+Implement to construct your own custom ParseQuery for fetching objects. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ ParseQuery<T>create() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+create

+
+ParseQuery<T> create()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.html new file mode 100644 index 0000000..719d357 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseQueryAdapter.html @@ -0,0 +1,1010 @@ + + + + + +ParseQueryAdapter + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseQueryAdapter<T extends ParseObject>

+
+Object
+  extended by android.widget.BaseAdapter
+      extended by com.parse.ParseQueryAdapter<T>
+
+
+
All Implemented Interfaces:
Adapter, ListAdapter, SpinnerAdapter
+
+
+
+
public class ParseQueryAdapter<T extends ParseObject>
extends BaseAdapter
+ + +

+A ParseQueryAdapter handles the fetching of objects by page, and displaying objects as views in a + ListView. +

+ This class is highly configurable, but also intended to be easy to get started with. See below + for an example of using a ParseQueryAdapter inside an Activity's onCreate: + +

+ final ParseQueryAdapter adapter = new ParseQueryAdapter(this, "TestObject");
+ adapter.setTextKey("name");
+ 
+ ListView listView = (ListView) findViewById(R.id.listview);
+ listView.setAdapter(adapter);
+ 
+ + Below, an example showing off the level of configuration available with this class: + +
+ // Instantiate a QueryFactory to define the ParseQuery to be used for fetching items in this
+ // Adapter.
+ ParseQueryAdapter.QueryFactory<ParseObject> factory =
+     new ParseQueryAdapter.QueryFactory<ParseObject>() {
+       public ParseQuery create() {
+         ParseQuery query = new ParseQuery("Customer");
+         query.whereEqualTo("activated", true);
+         query.orderByDescending("moneySpent");
+         return query;
+       }
+     };
+ 
+ // Pass the factory into the ParseQueryAdapter's constructor.
+ ParseQueryAdapter<ParseObject> adapter = new ParseQueryAdapter<ParseObject>(this, factory);
+ adapter.setTextKey("name");
+ 
+ // Perhaps set a callback to be fired upon successful loading of a new set of ParseObjects.
+ adapter.addOnQueryLoadListener(new OnQueryLoadListener<ParseObject>() {
+   public void onLoading() {
+     // Trigger any "loading" UI
+   }
+ 
+   public void onLoaded(List<ParseObject> objects, ParseException e) {
+     // Execute any post-loading logic, hide "loading" UI
+   }
+ });
+ 
+ // Attach it to your ListView, as in the example above
+ ListView listView = (ListView) findViewById(R.id.listview);
+ listView.setAdapter(adapter);
+ 
+

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static interfaceParseQueryAdapter.OnQueryLoadListener<T extends ParseObject> + +
+          Implement with logic that is called before and after objects are fetched from Parse by the + adapter.
+static interfaceParseQueryAdapter.QueryFactory<T extends ParseObject> + +
+          Implement to construct your own custom ParseQuery for fetching objects.
+ + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface android.widget.Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
+  + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ParseQueryAdapter(Context context, + Class<? extends ParseObject> clazz) + +
+          Constructs a ParseQueryAdapter.
ParseQueryAdapter(Context context, + Class<? extends ParseObject> clazz, + int itemViewResource) + +
+          Constructs a ParseQueryAdapter.
ParseQueryAdapter(Context context, + ParseQueryAdapter.QueryFactory<T> queryFactory) + +
+          Constructs a ParseQueryAdapter.
ParseQueryAdapter(Context context, + ParseQueryAdapter.QueryFactory<T> queryFactory, + int itemViewResource) + +
+          Constructs a ParseQueryAdapter.
ParseQueryAdapter(Context context, + String className) + +
+          Constructs a ParseQueryAdapter.
ParseQueryAdapter(Context context, + String className, + int itemViewResource) + +
+          Constructs a ParseQueryAdapter.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T> listener) + +
+           
+ voidclear() + +
+          Remove all elements from the list.
+ ContextgetContext() + +
+          Return the context provided by the Activity utilizing this ParseQueryAdapter.
+ intgetCount() + +
+          Overrides Adapter's ParseQueryAdapter.getCount() method to return the number of cells to + display.
+ TgetItem(int index) + +
+          
+ longgetItemId(int position) + +
+          
+ ViewgetItemView(T object, + View v, + ViewGroup parent) + +
+          Override this method to customize each cell given a ParseObject.
+ intgetItemViewType(int position) + +
+           
+ ViewgetNextPageView(View v, + ViewGroup parent) + +
+          Override this method to customize the "Load Next Page" cell, visible when pagination is turned + on and there may be more results to display.
+ intgetObjectsPerPage() + +
+           
+ ViewgetView(int position, + View convertView, + ViewGroup parent) + +
+          The base class, Adapter, defines a getView method intended to display data at + the specified position in the data set.
+ intgetViewTypeCount() + +
+           
+ voidloadNextPage() + +
+          Loads the next page of objects, appends to table, and notifies the UI that the model has + changed.
+ voidloadObjects() + +
+          Clears the table and loads the first page of objects asynchronously.
+ voidregisterDataSetObserver(DataSetObserver observer) + +
+           
+ voidremoveOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T> listener) + +
+           
+ voidsetAutoload(boolean autoload) + +
+          Enable or disable the automatic loading of results upon attachment to an AdapterView.
+ voidsetImageKey(String imageKey) + +
+           
+ voidsetObjectsPerPage(int objectsPerPage) + +
+           
+protected  voidsetPageOnQuery(int page, + ParseQuery<T> query) + +
+          Override this method to manually paginate the provided ParseQuery.
+ voidsetPaginationEnabled(boolean paginationEnabled) + +
+          Enable or disable pagination of results.
+ voidsetPlaceholder(Drawable placeholder) + +
+          Sets a placeholder image to be used when fetching data for each item in the AdapterView + .
+ voidsetTextKey(String textKey) + +
+           
+ voidunregisterDataSetObserver(DataSetObserver observer) + +
+           
+ + + + + + + +
Methods inherited from class android.widget.BaseAdapter
areAllItemsEnabled, getDropDownView, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseQueryAdapter

+
+public ParseQueryAdapter(Context context,
+                         Class<? extends ParseObject> clazz)
+
+
Constructs a ParseQueryAdapter. Given a ParseObject subclass, this adapter will fetch and + display all ParseObjects of the specified class, ordered by creation time. +

+

+
Parameters:
context - The activity utilizing this adapter.
clazz - The ParseObject subclass type to fetch and display.
+
+
+ +

+ParseQueryAdapter

+
+public ParseQueryAdapter(Context context,
+                         String className)
+
+
Constructs a ParseQueryAdapter. Given a ParseObject subclass, this adapter will fetch and + display all ParseObjects of the specified class, ordered by creation time. +

+

+
Parameters:
context - The activity utilizing this adapter.
className - The name of the Parse class of ParseObjects to display.
+
+
+ +

+ParseQueryAdapter

+
+public ParseQueryAdapter(Context context,
+                         Class<? extends ParseObject> clazz,
+                         int itemViewResource)
+
+
Constructs a ParseQueryAdapter. Given a ParseObject subclass, this adapter will fetch and + display all ParseObjects of the specified class, ordered by creation time. +

+

+
Parameters:
context - The activity utilizing this adapter.
clazz - The ParseObject subclass type to fetch and display.
itemViewResource - A resource id that represents the layout for an item in the AdapterView.
+
+
+ +

+ParseQueryAdapter

+
+public ParseQueryAdapter(Context context,
+                         String className,
+                         int itemViewResource)
+
+
Constructs a ParseQueryAdapter. Given a ParseObject subclass, this adapter will fetch and + display all ParseObjects of the specified class, ordered by creation time. +

+

+
Parameters:
context - The activity utilizing this adapter.
className - The name of the Parse class of ParseObjects to display.
itemViewResource - A resource id that represents the layout for an item in the AdapterView.
+
+
+ +

+ParseQueryAdapter

+
+public ParseQueryAdapter(Context context,
+                         ParseQueryAdapter.QueryFactory<T> queryFactory)
+
+
Constructs a ParseQueryAdapter. Allows the caller to define further constraints on the + ParseQuery to be used when fetching items from Parse. +

+

+
Parameters:
context - The activity utilizing this adapter.
queryFactory - A ParseQueryAdapter.QueryFactory to build a ParseQuery for fetching objects.
+
+
+ +

+ParseQueryAdapter

+
+public ParseQueryAdapter(Context context,
+                         ParseQueryAdapter.QueryFactory<T> queryFactory,
+                         int itemViewResource)
+
+
Constructs a ParseQueryAdapter. Allows the caller to define further constraints on the + ParseQuery to be used when fetching items from Parse. +

+

+
Parameters:
context - The activity utilizing this adapter.
queryFactory - A ParseQueryAdapter.QueryFactory to build a ParseQuery for fetching objects.
itemViewResource - A resource id that represents the layout for an item in the AdapterView.
+
+ + + + + + + + +
+Method Detail
+ +

+getContext

+
+public Context getContext()
+
+
Return the context provided by the Activity utilizing this ParseQueryAdapter. +

+

+ +
Returns:
The activity utilizing this adapter.
+
+
+
+ +

+getItem

+
+public T getItem(int index)
+
+
+

+

+
+
+
+
+ +

+getItemId

+
+public long getItemId(int position)
+
+
+

+

+
+
+
+
+ +

+getItemViewType

+
+public int getItemViewType(int position)
+
+
+
Specified by:
getItemViewType in interface Adapter
Overrides:
getItemViewType in class BaseAdapter
+
+
+
+
+
+
+ +

+getViewTypeCount

+
+public int getViewTypeCount()
+
+
+
Specified by:
getViewTypeCount in interface Adapter
Overrides:
getViewTypeCount in class BaseAdapter
+
+
+
+
+
+
+ +

+registerDataSetObserver

+
+public void registerDataSetObserver(DataSetObserver observer)
+
+
+
Specified by:
registerDataSetObserver in interface Adapter
Overrides:
registerDataSetObserver in class BaseAdapter
+
+
+
+
+
+
+ +

+unregisterDataSetObserver

+
+public void unregisterDataSetObserver(DataSetObserver observer)
+
+
+
Specified by:
unregisterDataSetObserver in interface Adapter
Overrides:
unregisterDataSetObserver in class BaseAdapter
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
Remove all elements from the list. +

+

+
+
+
+
+ +

+loadObjects

+
+public void loadObjects()
+
+
Clears the table and loads the first page of objects asynchronously. This method is called + automatically when this Adapter is attached to an AdapterView. +

+ loadObjects() should only need to be called if ParseQueryAdapter.setAutoload(boolean) is set to + false. +

+

+
+
+
+
+ +

+loadNextPage

+
+public void loadNextPage()
+
+
Loads the next page of objects, appends to table, and notifies the UI that the model has + changed. +

+

+
+
+
+
+ +

+getCount

+
+public int getCount()
+
+
Overrides Adapter's ParseQueryAdapter.getCount() method to return the number of cells to + display. If pagination is turned on, this count will include an extra +1 count for the + pagination cell row. +

+

+ +
Returns:
The number of cells to be displayed by the ListView.
+
+
+
+ +

+getItemView

+
+public View getItemView(T object,
+                        View v,
+                        ViewGroup parent)
+
+
Override this method to customize each cell given a ParseObject. +

+ If a view is not provided, a default view will be created based upon + android.R.layout.activity_list_item. +

+ This method expects a TextView with id android.R.id.text1 in your object views. + If ParseQueryAdapter.setImageKey(String) was used, this method also expects an ImageView with id + android.R.id.icon. +

+ This method displays the text value specified by the text key (set via + ParseQueryAdapter.setTextKey(String)) and an image (described by a ParseFile, under the key set + via ParseQueryAdapter.setImageKey(String)) if applicable. If the text key is not set, the value for + ParseObject.getObjectId() will be displayed instead. +

+

+
Parameters:
object - The ParseObject associated with this item.
v - The View associated with this row. This view, if non-null, is being recycled + and intended to be used for displaying this item.
parent - The parent that this view will eventually be attached to +
Returns:
The customized view displaying the ParseObject's information.
+
+
+
+ +

+getNextPageView

+
+public View getNextPageView(View v,
+                            ViewGroup parent)
+
+
Override this method to customize the "Load Next Page" cell, visible when pagination is turned + on and there may be more results to display. +

+ This method expects a TextView with id android.R.id.text1. +

+

+
Parameters:
v - The view object associated with this row + type (a "Next Page" view, instead of an + "Item" view).
parent - The parent that this view will eventually be attached to +
Returns:
The view object that allows the user to paginate.
+
+
+
+ +

+getView

+
+public final View getView(int position,
+                          View convertView,
+                          ViewGroup parent)
+
+
The base class, Adapter, defines a getView method intended to display data at + the specified position in the data set. We override it here in order to toggle between + ParseQueryAdapter.getNextPageView(View, ViewGroup) and + ParseQueryAdapter.getItemView(ParseObject, View, ViewGroup) depending on the value of + ParseQueryAdapter.getItemViewType(int). +

+

+
+
+
+
+ +

+setPageOnQuery

+
+protected void setPageOnQuery(int page,
+                              ParseQuery<T> query)
+
+
Override this method to manually paginate the provided ParseQuery. By default, this + method will set the limit value to ParseQueryAdapter.getObjectsPerPage() and the skip + value to ParseQueryAdapter.getObjectsPerPage() * page. +

+ Overriding this method will not be necessary, in most cases. +

+

+
Parameters:
page - the page number of results to fetch from Parse.
query - the ParseQuery used to fetch items from Parse. This query will be mutated and + used in its mutated form.
+
+
+
+ +

+setTextKey

+
+public void setTextKey(String textKey)
+
+
+
+
+
+
+ +

+setImageKey

+
+public void setImageKey(String imageKey)
+
+
+
+
+
+
+ +

+setObjectsPerPage

+
+public void setObjectsPerPage(int objectsPerPage)
+
+
+
+
+
+
+ +

+getObjectsPerPage

+
+public int getObjectsPerPage()
+
+
+
+
+
+
+ +

+setPaginationEnabled

+
+public void setPaginationEnabled(boolean paginationEnabled)
+
+
Enable or disable pagination of results. Defaults to true. +

+

+
Parameters:
paginationEnabled - Defaults to true.
+
+
+
+ +

+setPlaceholder

+
+public void setPlaceholder(Drawable placeholder)
+
+
Sets a placeholder image to be used when fetching data for each item in the AdapterView + . Will not be used if ParseQueryAdapter.setImageKey(String) was not used to define which images to + display. +

+

+
Parameters:
placeholder - A Drawable to be displayed while the remote image data is being fetched. This + value can be null, and ImageViews in this AdapterView will simply be blank + while data is being fetched.
+
+
+
+ +

+setAutoload

+
+public void setAutoload(boolean autoload)
+
+
Enable or disable the automatic loading of results upon attachment to an AdapterView. + Defaults to true. +

+

+
Parameters:
autoload - Defaults to true.
+
+
+
+ +

+addOnQueryLoadListener

+
+public void addOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T> listener)
+
+
+
+
+
+
+ +

+removeOnQueryLoadListener

+
+public void removeOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T> listener)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseRelation.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseRelation.html new file mode 100644 index 0000000..5b9bed9 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseRelation.html @@ -0,0 +1,265 @@ + + + + + +ParseRelation + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseRelation<T extends ParseObject>

+
+Object
+  extended by com.parse.ParseRelation<T>
+
+
+
+
public class ParseRelation<T extends ParseObject>
extends Object
+ + +

+A class that is used to access all of the children of a many-to-many relationship. Each instance + of Parse.Relation is associated with a particular parent object and key. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(T object) + +
+          Adds an object to this relation.
+ ParseQuery<T>getQuery() + +
+          Gets a query that can be used to query the objects in this relation.
+ voidremove(T object) + +
+          Removes an object from this relation.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(T object)
+
+
Adds an object to this relation. +

+

+
Parameters:
object - The object to add to this relation.
+
+
+
+ +

+remove

+
+public void remove(T object)
+
+
Removes an object from this relation. +

+

+
Parameters:
object - The object to remove from this relation.
+
+
+
+ +

+getQuery

+
+public ParseQuery<T> getQuery()
+
+
Gets a query that can be used to query the objects in this relation. +

+

+ +
Returns:
A ParseQuery that restricts the results to objects in this relations.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseRole.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseRole.html new file mode 100644 index 0000000..0898b07 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseRole.html @@ -0,0 +1,446 @@ + + + + + +ParseRole + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseRole

+
+Object
+  extended by com.parse.ParseObject
+      extended by com.parse.ParseRole
+
+
+
+
public class ParseRole
extends ParseObject
+ + +

+Represents a Role on the Parse server. ParseRoles represent groupings of + ParseUsers for the purposes of granting permissions (e.g. specifying a ParseACL + for a ParseObject). Roles are specified by their sets of child users and child roles, all + of which are granted any permissions that the parent role has.
+
+ Roles must have a name (which cannot be changed after creation of the role), and must specify an + ACL. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ParseRole(String name) + +
+          Constructs a new ParseRole with the given name.
ParseRole(String name, + ParseACL acl) + +
+          Constructs a new ParseRole with the given name.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetName() + +
+          Gets the name of the role.
+static ParseQuery<ParseRole>getQuery() + +
+          Gets a ParseQuery over the Role collection.
+ ParseRelation<ParseRole>getRoles() + +
+          Gets the ParseRelation for the ParseRoles that are direct children of this + role.
+ ParseRelation<ParseUser>getUsers() + +
+          Gets the ParseRelation for the ParseUsers that are direct children of this + role.
+ voidput(String key, + Object value) + +
+          Add a key-value pair to this object.
+ voidsetName(String name) + +
+          Sets the name for a role.
+protected  voidvalidateSave() + +
+           
+ + + + + + + +
Methods inherited from class com.parse.ParseObject
add, addAll, addAllUnique, addUnique, containsKey, create, create, createWithoutData, createWithoutData, delete, deleteAll, deleteAllInBackground, deleteEventually, deleteEventually, deleteInBackground, deleteInBackground, fetch, fetchAll, fetchAllIfNeeded, fetchAllIfNeededInBackground, fetchAllInBackground, fetchIfNeeded, fetchIfNeededInBackground, fetchInBackground, get, getACL, getBoolean, getBytes, getClassName, getCreatedAt, getDate, getDouble, getInt, getJSONArray, getJSONObject, getList, getLong, getMap, getNumber, getObjectId, getParseFile, getParseGeoPoint, getParseObject, getParseUser, getRelation, getString, getUpdatedAt, has, hasSameId, increment, increment, isDataAvailable, isDirty, isDirty, keySet, refresh, refreshInBackground, registerSubclass, remove, removeAll, save, saveAll, saveAllInBackground, saveAllInBackground, saveEventually, saveEventually, saveInBackground, saveInBackground, setACL, setObjectId
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseRole

+
+public ParseRole(String name)
+
+
Constructs a new ParseRole with the given name. If no default ACL has been specified, you must + provide an ACL for the role. +

+

+
Parameters:
name - The name of the Role to create.
+
+
+ +

+ParseRole

+
+public ParseRole(String name,
+                 ParseACL acl)
+
+
Constructs a new ParseRole with the given name. +

+

+
Parameters:
name - The name of the Role to create.
acl - The ACL for this role. Roles must have an ACL.
+
+ + + + + + + + +
+Method Detail
+ +

+setName

+
+public void setName(String name)
+
+
Sets the name for a role. This value must be set before the role has been saved to the server, + and cannot be set once the role has been saved.
+
+ A role's name can only contain alphanumeric characters, _, -, and spaces. +

+

+
Parameters:
name - The name of the role. +
Throws: +
IllegalStateException - if the object has already been saved to the server.
+
+
+
+ +

+getName

+
+public String getName()
+
+
Gets the name of the role. +

+

+ +
Returns:
the name of the role.
+
+
+
+ +

+getUsers

+
+public ParseRelation<ParseUser> getUsers()
+
+
Gets the ParseRelation for the ParseUsers that are direct children of this + role. These users are granted any privileges that this role has been granted (e.g. read or + write access through ACLs). You can add or remove users from the role through this relation. +

+

+ +
Returns:
the relation for the users belonging to this role.
+
+
+
+ +

+getRoles

+
+public ParseRelation<ParseRole> getRoles()
+
+
Gets the ParseRelation for the ParseRoles that are direct children of this + role. These roles' users are granted any privileges that this role has been granted (e.g. read + or write access through ACLs). You can add or remove child roles from this role through this + relation. +

+

+ +
Returns:
the relation for the roles belonging to this role.
+
+
+
+ +

+validateSave

+
+protected void validateSave()
+
+
+
+
+
+
+
+
+
+ +

+put

+
+public void put(String key,
+                Object value)
+
+
Description copied from class: ParseObject
+
Add a key-value pair to this object. It is recommended to name keys in + partialCamelCaseLikeThis. +

+

+
Overrides:
put in class ParseObject
+
+
+
Parameters:
key - Keys must be alphanumerical plus underscore, and start with a letter.
value - Values may be numerical, String, JSONObject, JSONArray, JSONObject.NULL, or other + ParseObjects. value may not be null.
+
+
+
+ +

+getQuery

+
+public static ParseQuery<ParseRole> getQuery()
+
+
Gets a ParseQuery over the Role collection. +

+

+ +
Returns:
A new query over the Role collection.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseTwitterUtils.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseTwitterUtils.html new file mode 100644 index 0000000..9974abf --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseTwitterUtils.html @@ -0,0 +1,498 @@ + + + + + +ParseTwitterUtils + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseTwitterUtils

+
+Object
+  extended by com.parse.ParseTwitterUtils
+
+
+
+
public final class ParseTwitterUtils
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static com.parse.twitter.TwittergetTwitter() + +
+          Gets the shared Twitter singleton that Parse is using.
+static voidinitialize(String consumerKey, + String consumerSecret) + +
+          Initializes Twitter for use with Parse.
+static booleanisLinked(ParseUser user) + +
+          Returns true if the user is linked to a Twitter account.
+static voidlink(ParseUser user, + Context context) + +
+           
+static voidlink(ParseUser user, + Context context, + SaveCallback callback) + +
+          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
+static voidlink(ParseUser user, + String twitterId, + String screenName, + String authToken, + String authTokenSecret) + +
+           
+static voidlink(ParseUser user, + String twitterId, + String screenName, + String authToken, + String authTokenSecret, + SaveCallback callback) + +
+          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
+static voidlogIn(Context context, + LogInCallback callback) + +
+          Logs in a ParseUser using Twitter for authentication.
+static voidlogIn(String twitterId, + String screenName, + String authToken, + String authTokenSecret, + LogInCallback callback) + +
+          Logs in a ParseUser using Twitter for authentication.
+static voidunlink(ParseUser user) + +
+          Unlinks a user from a Twitter account.
+static voidunlinkInBackground(ParseUser user) + +
+           
+static voidunlinkInBackground(ParseUser user, + SaveCallback callback) + +
+          Unlinks a user from a Twitter account in the background.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTwitter

+
+public static com.parse.twitter.Twitter getTwitter()
+
+
Gets the shared Twitter singleton that Parse is using. +

+

+
+
+
+
+ +

+initialize

+
+public static void initialize(String consumerKey,
+                              String consumerSecret)
+
+
Initializes Twitter for use with Parse. This method must be invoked prior to calling + ParseTwitterUtils.link(ParseUser, Context, SaveCallback) and ParseTwitterUtils.logIn(Context, LogInCallback). +

+

+
Parameters:
consumerKey - Your Twitter consumer key.
consumerSecret - Your Twitter consumer secret.
+
+
+
+ +

+isLinked

+
+public static boolean isLinked(ParseUser user)
+
+
Returns true if the user is linked to a Twitter account. +

+

+
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Context context)
+
+
+
See Also:
ParseTwitterUtils.link(ParseUser, Context, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        Context context,
+                        SaveCallback callback)
+
+
Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user. A dialog will be shown to the user for Twitter + authentication. +

+

+
Parameters:
user - The user to link to a Twitter account.
context - An Android context from which the login dialog can be launched.
callback - Callback for notifying the calling application when the Twitter authentication has + completed, failed, or been canceled.
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        String twitterId,
+                        String screenName,
+                        String authToken,
+                        String authTokenSecret)
+
+
+
See Also:
ParseTwitterUtils.link(ParseUser, String, String, String, String, SaveCallback)
+
+
+
+ +

+link

+
+public static void link(ParseUser user,
+                        String twitterId,
+                        String screenName,
+                        String authToken,
+                        String authTokenSecret,
+                        SaveCallback callback)
+
+
Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user. This method allows you to handle getting the + auth tokens for your users, rather than delegating to the provided dialog log-in. +

+

+
Parameters:
user - The user to link to a Twitter account.
twitterId - The user's Twitter ID.
screenName - The user's Twitter screen name.
authToken - The auth token for the session.
authTokenSecret - The auth token secret for the session.
callback - Callback for notifying that the authentication data has been saved to the ParseUser.
+
+
+
+ +

+logIn

+
+public static void logIn(String twitterId,
+                         String screenName,
+                         String authToken,
+                         String authTokenSecret,
+                         LogInCallback callback)
+
+
Logs in a ParseUser using Twitter for authentication. If a user for the given Twitter + credentials does not already exist, a new user will be created. This method allows you to + handle getting the auth tokens for your users, rather than delegating to the provided dialog + log-in. +

+

+
Parameters:
twitterId - The user's Twitter ID.
screenName - The user's Twitter screen name.
authToken - The auth token for the session.
authTokenSecret - The auth token secret for the session.
callback - Callback for notifying that the authentication data has been saved to the ParseUser.
+
+
+
+ +

+logIn

+
+public static void logIn(Context context,
+                         LogInCallback callback)
+
+
Logs in a ParseUser using Twitter for authentication. If a user for the given Twitter + credentials does not already exist, a new user will be created. A dialog will be shown to the + user for Twitter authentication. +

+

+
Parameters:
context - An Android context from which the login dialog can be launched.
callback - Callback for notifying the calling application when the Twitter authentication has + completed, failed, or been canceled.
+
+
+
+ +

+unlink

+
+public static void unlink(ParseUser user)
+                   throws ParseException
+
+
Unlinks a user from a Twitter account. Unlinking a user will save the user's data. +

+

+ +
Throws: +
ParseException
+
+
+
+ +

+unlinkInBackground

+
+public static void unlinkInBackground(ParseUser user)
+
+
+
See Also:
ParseTwitterUtils.unlinkInBackground(ParseUser)
+
+
+
+ +

+unlinkInBackground

+
+public static void unlinkInBackground(ParseUser user,
+                                      SaveCallback callback)
+
+
Unlinks a user from a Twitter account in the background. Unlinking a user will save the user's + data. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseUser.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseUser.html new file mode 100644 index 0000000..4af3229 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ParseUser.html @@ -0,0 +1,867 @@ + + + + + +ParseUser + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ParseUser

+
+Object
+  extended by com.parse.ParseObject
+      extended by com.parse.ParseUser
+
+
+
+
public class ParseUser
extends ParseObject
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ParseUser() + +
+          Constructs a new ParseUser with no data in it.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ParseUserbecome(String sessionToken) + +
+          Authorize a user with a session token.
+static voidbecomeInBackground(String sessionToken, + LogInCallback callback) + +
+          Authorize a user with a session token.
+static voidenableAutomaticUser() + +
+          Enables automatic creation of anonymous users.
+ ParseUserfetch() + +
+          Fetches this object with the data from the server.
+ ParseUserfetchIfNeeded() + +
+          If this ParseObject has not been fetched (i.e.
+static ParseUsergetCurrentUser() + +
+          This retrieves the currently logged in ParseUser with a valid session, either from memory or + disk if necessary.
+ StringgetEmail() + +
+          Retrieves the email address.
+static ParseQuery<ParseUser>getQuery() + +
+          Constructs a query for ParseUsers.
+ StringgetSessionToken() + +
+          Retrieves the session token for a user, if they are logged in.
+ StringgetUsername() + +
+          Retrieves the username.
+ booleanisAuthenticated() + +
+          Whether the ParseUser has been authenticated on this device.
+ booleanisNew() + +
+          Indicates whether this ParseUser was created during this session through a call to + ParseUser.signUp() or by logging in with a linked service such as Facebook.
+static ParseUserlogIn(String username, + String password) + +
+          Logs in a user with a username and password.
+static voidlogInInBackground(String username, + String password, + LogInCallback callback) + +
+          Logs in a user with a username and password.
+static voidlogOut() + +
+          Logs out the currently logged in user session.
+ voidput(String key, + Object value) + +
+          Add a key-value pair to this object.
+ voidremove(String key) + +
+          Removes a key from this object's data if it exists.
+static voidrequestPasswordReset(String email) + +
+          Requests a password reset email to be sent to the specified email address associated with the + user account.
+static voidrequestPasswordResetInBackground(String email, + RequestPasswordResetCallback callback) + +
+          Requests a password reset email to be sent in a background thread to the specified email + address associated with the user account.
+ voidsetEmail(String email) + +
+          Sets the email address.
+ voidsetPassword(String password) + +
+          Sets the password.
+ voidsetUsername(String username) + +
+          Sets the username.
+ voidsignUp() + +
+          Signs up a new user.
+ voidsignUpInBackground(SignUpCallback callback) + +
+          Signs up a new user.
+ + + + + + + +
Methods inherited from class com.parse.ParseObject
add, addAll, addAllUnique, addUnique, containsKey, create, create, createWithoutData, createWithoutData, delete, deleteAll, deleteAllInBackground, deleteEventually, deleteEventually, deleteInBackground, deleteInBackground, fetchAll, fetchAllIfNeeded, fetchAllIfNeededInBackground, fetchAllInBackground, fetchIfNeededInBackground, fetchInBackground, get, getACL, getBoolean, getBytes, getClassName, getCreatedAt, getDate, getDouble, getInt, getJSONArray, getJSONObject, getList, getLong, getMap, getNumber, getObjectId, getParseFile, getParseGeoPoint, getParseObject, getParseUser, getRelation, getString, getUpdatedAt, has, hasSameId, increment, increment, isDataAvailable, isDirty, isDirty, keySet, refresh, refreshInBackground, registerSubclass, removeAll, save, saveAll, saveAllInBackground, saveAllInBackground, saveEventually, saveEventually, saveInBackground, saveInBackground, setACL, setObjectId
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParseUser

+
+public ParseUser()
+
+
Constructs a new ParseUser with no data in it. A ParseUser constructed in this way will not + have an objectId and will not persist to the database until ParseUser.signUp() is called. +

+

+ + + + + + + + +
+Method Detail
+ +

+isAuthenticated

+
+public boolean isAuthenticated()
+
+
Whether the ParseUser has been authenticated on this device. This will be true if the ParseUser + was obtained via a logIn or signUp method. Only an authenticated ParseUser can be saved (with + altered attributes) and deleted. +

+

+
+
+
+
+ +

+remove

+
+public void remove(String key)
+
+
Description copied from class: ParseObject
+
Removes a key from this object's data if it exists. +

+

+
Overrides:
remove in class ParseObject
+
+
+
Parameters:
key - The key to remove.
+
+
+
+ +

+setUsername

+
+public void setUsername(String username)
+
+
Sets the username. Usernames cannot be null or blank. +

+

+
Parameters:
username - The username to set.
+
+
+
+ +

+getUsername

+
+public String getUsername()
+
+
Retrieves the username. +

+

+
+
+
+
+ +

+setPassword

+
+public void setPassword(String password)
+
+
Sets the password. +

+

+
Parameters:
password - The password to set.
+
+
+
+ +

+setEmail

+
+public void setEmail(String email)
+
+
Sets the email address. +

+

+
Parameters:
email - The email address to set.
+
+
+
+ +

+getEmail

+
+public String getEmail()
+
+
Retrieves the email address. +

+

+
+
+
+
+ +

+put

+
+public void put(String key,
+                Object value)
+
+
Description copied from class: ParseObject
+
Add a key-value pair to this object. It is recommended to name keys in + partialCamelCaseLikeThis. +

+

+
Overrides:
put in class ParseObject
+
+
+
Parameters:
key - Keys must be alphanumerical plus underscore, and start with a letter.
value - Values may be numerical, String, JSONObject, JSONArray, JSONObject.NULL, or other + ParseObjects. value may not be null.
+
+
+
+ +

+getSessionToken

+
+public String getSessionToken()
+
+
Retrieves the session token for a user, if they are logged in. +

+

+
+
+
+
+ +

+fetch

+
+public ParseUser fetch()
+                throws ParseException
+
+
Description copied from class: ParseObject
+
Fetches this object with the data from the server. Call this whenever you want the state of the + object to reflect exactly what is on the server. +

+

+
Overrides:
fetch in class ParseObject
+
+
+ +
Returns:
The ParseObject that was fetched. +
Throws: +
ParseException - Throws an exception if the server is inaccessible.
+
+
+
+ +

+signUp

+
+public void signUp()
+            throws ParseException
+
+
Signs up a new user. You should call this instead of ParseObject.save() for new ParseUsers. This + will create a new ParseUser on the server, and also persist the session on disk so that you can + access the user using ParseUser.getCurrentUser(). +

+ A username and password must be set before calling signUp. +

+

+ Typically, you should use ParseUser.signUpInBackground(com.parse.SignUpCallback) instead of this, unless you are managing + your own threading. +

+

+

+ +
Throws: +
ParseException - Throws an exception if the server is inaccessible, or if the username has already + been taken.
+
+
+
+ +

+signUpInBackground

+
+public void signUpInBackground(SignUpCallback callback)
+
+
Signs up a new user. You should call this instead of ParseObject.save() for new ParseUsers. This + will create a new ParseUser on the server, and also persist the session on disk so that you can + access the user using ParseUser.getCurrentUser(). +

+ A username and password must be set before calling signUp. +

+

+ This is preferable to using ParseUser.signUp(), unless your code is already running from a + background thread. +

+

+
Parameters:
callback - callback.done(user, e) is called when the signUp completes. +
Throws: +
ParseException - Throws an exception if the server is inaccessible, or if the username has already + been taken.
+
+
+
+ +

+logIn

+
+public static ParseUser logIn(String username,
+                              String password)
+                       throws ParseException
+
+
Logs in a user with a username and password. On success, this saves the session to disk, so you + can retrieve the currently logged in user using ParseUser.getCurrentUser() +

+ Typically, you should use ParseUser.logInInBackground(java.lang.String, java.lang.String, com.parse.LogInCallback) instead of this, unless you are managing + your own threading. +

+

+

+
Parameters:
username - The username to log in with.
password - The password to log in with. +
Returns:
The user if the login was successful. +
Throws: +
ParseException - Throws an exception if the login was unsuccessful.
+
+
+
+ +

+logInInBackground

+
+public static void logInInBackground(String username,
+                                     String password,
+                                     LogInCallback callback)
+
+
Logs in a user with a username and password. On success, this saves the session to disk, so you + can retrieve the currently logged in user using ParseUser.getCurrentUser() +

+ This is preferable to using ParseUser.logIn(java.lang.String, java.lang.String), unless your code is already running from a + background thread. +

+

+

+
Parameters:
username - The username to log in with.
password - The password to log in with.
callback - callback.done(user, e) is called when the login completes.
+
+
+
+ +

+become

+
+public static ParseUser become(String sessionToken)
+                        throws ParseException
+
+
Authorize a user with a session token. On success, this saves the session to disk, so you + can retrieve the currently logged in user using ParseUser.getCurrentUser() +

+ Typically, you should use ParseUser.becomeInBackground(java.lang.String, com.parse.LogInCallback) instead of this, unless you are managing + your own threading. +

+

+

+
Parameters:
sessionToken - The session token to authorize with. +
Returns:
The user if the authorization was successful. +
Throws: +
ParseException - Throws an exception if the authorization was unsuccessful.
+
+
+
+ +

+becomeInBackground

+
+public static void becomeInBackground(String sessionToken,
+                                      LogInCallback callback)
+
+
Authorize a user with a session token. On success, this saves the session to disk, so you + can retrieve the currently logged in user using ParseUser.getCurrentUser() +

+ This is preferable to using ParseUser.become(java.lang.String), unless your code is already running from a + background thread. +

+

+

+
Parameters:
sessionToken - The session token to authorize with.
callback - callback.done(user, e) is called when the authorization completes.
+
+
+
+ +

+getCurrentUser

+
+public static ParseUser getCurrentUser()
+
+
This retrieves the currently logged in ParseUser with a valid session, either from memory or + disk if necessary. +

+

+ +
Returns:
The currently logged in ParseUser
+
+
+
+ +

+logOut

+
+public static void logOut()
+
+
Logs out the currently logged in user session. This will remove the session from disk, log out + of linked services, and future calls to ParseUser.getCurrentUser() will return null. +

+

+
+
+
+
+ +

+requestPasswordReset

+
+public static void requestPasswordReset(String email)
+                                 throws ParseException
+
+
Requests a password reset email to be sent to the specified email address associated with the + user account. This email allows the user to securely reset their password on the Parse site. +

+ Typically, you should use ParseUser.requestPasswordResetInBackground(java.lang.String, com.parse.RequestPasswordResetCallback) instead of this, unless you + are managing your own threading. +

+

+

+
Parameters:
email - The email address associated with the user that forgot their password. +
Throws: +
ParseException - Throws an exception if the server is inaccessible, or if an account with that email + doesn't exist.
+
+
+
+ +

+requestPasswordResetInBackground

+
+public static void requestPasswordResetInBackground(String email,
+                                                    RequestPasswordResetCallback callback)
+
+
Requests a password reset email to be sent in a background thread to the specified email + address associated with the user account. This email allows the user to securely reset their + password on the Parse site. +

+ This is preferable to using requestPasswordReset(), unless your code is already running from a + background thread. +

+

+

+
Parameters:
email - The email address associated with the user that forgot their password.
callback - callback.done(e) is called when the request completes.
+
+
+
+ +

+fetchIfNeeded

+
+public ParseUser fetchIfNeeded()
+                        throws ParseException
+
+
Description copied from class: ParseObject
+
If this ParseObject has not been fetched (i.e. ParseObject.isDataAvailable() returns false), + fetches this object with the data from the server. +

+

+
Overrides:
fetchIfNeeded in class ParseObject
+
+
+ +
Returns:
The fetched ParseObject. +
Throws: +
ParseException - Throws an exception if the server is inaccessible.
+
+
+
+ +

+isNew

+
+public boolean isNew()
+
+
Indicates whether this ParseUser was created during this session through a call to + ParseUser.signUp() or by logging in with a linked service such as Facebook. +

+

+
+
+
+
+ +

+enableAutomaticUser

+
+public static void enableAutomaticUser()
+
+
Enables automatic creation of anonymous users. After calling this method, + ParseUser.getCurrentUser() will always have a value. The user will only be created on + the server once the user has been saved, or once an object with a relation to that user or an + ACL that refers to the user has been saved. Note: saveEventually will not work if an item being + saved has a relation to an automatic user that has never been saved. +

+

+
+
+
+
+ +

+getQuery

+
+public static ParseQuery<ParseUser> getQuery()
+
+
Constructs a query for ParseUsers. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ProgressCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ProgressCallback.html new file mode 100644 index 0000000..c039027 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/ProgressCallback.html @@ -0,0 +1,256 @@ + + + + + +ProgressCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class ProgressCallback

+
+Object
+  extended by com.parse.ProgressCallback
+
+
+
+
public abstract class ProgressCallback
extends Object
+ + +

+A ProgressCallback is used to get progress of an operation. +

+ The easiest way to use a ProgressCallback is through an anonymous inner class. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ProgressCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(Integer percentDone) + +
+          Override this function with your desired callback.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProgressCallback

+
+public ProgressCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(Integer percentDone)
+
+
Override this function with your desired callback. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/PushService.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/PushService.html new file mode 100644 index 0000000..3b7b5ec --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/PushService.html @@ -0,0 +1,672 @@ + + + + + +PushService + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class PushService

+
+Object
+  extended by android.content.Context
+      extended by android.content.ContextWrapper
+          extended by android.app.Service
+              extended by com.parse.PushService
+
+
+
All Implemented Interfaces:
ComponentCallbacks
+
+
+
+
public final class PushService
extends Service
+ + +

+A service to listen for push notifications. This operates in the same process as the parent + application. + + The PushService can listen to pushes from two different sources: Google Cloud Messaging (GCM) or + the Parse Push Notification Service (PPNS). Parse will inspect your application's manifest at + runtime and determine which service to use for push. We recommend using GCM for push on devices + that have Google Play Store support. PPNS support is provided for apps that want to avoid a + dependency on the Google Play Store, and for devices (like Kindles) which do not have Play Store + support. + + To configure the PushService for GCM, ensure these permission declarations are present in your + AndroidManifest.xml as children of the <manifest> element: + +

+ <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.VIBRATE" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="android.permission.GET_ACCOUNTS" />
+ <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
+ <permission android:name="YOUR_PACKAGE_NAME.permission.C2D_MESSAGE"
+   android:protectionLevel="signature" />
+ <uses-permission android:name="YOUR_PACKAGE_NAME.permission.C2D_MESSAGE" />
+ 
+ 
+ Replace YOUR_PACKAGE_NAME in the declarations above with your application's package name. Also,
+ make sure that com.parse.GcmBroadcastReceiver and com.parse.PushService are declared as children
+ of the <application> element:
+ 
+ 
+ <service android:name="com.parse.PushService" />
+ <receiver android:name="com.parse.GcmBroadcastReceiver"
+  android:permission="com.google.android.c2dm.permission.SEND">
+   <intent-filter>
+     <action android:name="com.google.android.c2dm.intent.RECEIVE" />
+     <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
+     <category android:name="YOUR_PACKAGE_NAME" />
+   </intent-filter>
+ </receiver>
+ 
+ + Again, replace YOUR_PACKAGE_NAME with your application's package name. + + To configure the PushService for PPNS, ensure these permission declarations are present in your + AndroidManifest.xml as children of the <manifest> element: + +
+ <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+ <uses-permission android:name="android.permission.VIBRATE" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ 
+ + Also, make sure that com.parse.ParseBroadcastReceiver and com.parse.PushService are declared as + children of the <application> element: + + <service android:name="com.parse.PushService" /> + <receiver android:name="com.parse.ParseBroadcastReceiver"> + <intent-filter> + <action android:name="android.intent.action.BOOT_COMPLETED" /> + <action android:name="android.intent.action.USER_PRESENT" /> + </intent-filter> + </receiver> + + Note that you can configure the push service for both GCM and PPNS by adding all the declarations + above to your application's manifest. In this case, Parse will use GCM on devices with Play + Store support and fall back to using PPNS on devices without Play Store support. + + Once push notifications are configured in the manifest, you can subscribe to a push channel by + calling: + +
+ PushService.subscribe(context, "the_channel_name", YourActivity.class);
+ 
+ + When the client receives a push message, a notification will appear in the system tray. When the + user taps the notification, they will enter the application through a new instance of + YourActivity. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class android.app.Service
START_CONTINUATION_MASK, START_FLAG_REDELIVERY, START_FLAG_RETRY, START_NOT_STICKY, START_REDELIVER_INTENT, START_STICKY, START_STICKY_COMPATIBILITY
+ + + + + + + +
Fields inherited from class android.content.Context
ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_NOT_FOREGROUND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, UI_MODE_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
+  + + + + + + + + + + +
+Constructor Summary
PushService() + +
+          Client code should not construct a PushService directly.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Set<String>getSubscriptions(Context context) + +
+          Accesses the current set of channels for which the current installation is subscribed.
+ IBinderonBind(Intent intent) + +
+          onBind should not be called directly.
+ voidonCreate() + +
+          Client code should not call onCreate directly.
+ voidonDestroy() + +
+          Client code should not call onDestroy directly.
+ intonStartCommand(Intent intent, + int flags, + int startId) + +
+           
+static voidsetDefaultPushCallback(Context context, + Class<? extends Activity> cls) + +
+          Provides a default Activity class to handle pushes.
+static voidsetDefaultPushCallback(Context context, + Class<? extends Activity> cls, + int icon) + +
+          Provides a default Activity class to handle pushes.
+static voidstartServiceIfRequired(Context context) + +
+           
+static voidsubscribe(Context context, + String channel, + Class<? extends Activity> cls) + +
+          Helper function to subscribe to push notifications with the default application icon.
+static voidsubscribe(Context context, + String channel, + Class<? extends Activity> cls, + int icon) + +
+          Call this function when the user should be subscribed to a new push channel.
+static voidunsubscribe(Context context, + String channel) + +
+          Cancels a previous call to subscribe.
+ + + + + + + +
Methods inherited from class android.app.Service
dump, finalize, getApplication, onConfigurationChanged, onLowMemory, onRebind, onStart, onUnbind, setForeground, startForeground, stopForeground, stopSelf, stopSelf, stopSelfResult
+ + + + + + + +
Methods inherited from class android.content.ContextWrapper
attachBaseContext, bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalFilesDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getSystemService, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setTheme, setWallpaper, setWallpaper, startActivity, startInstrumentation, startIntentSender, startService, stopService, unbindService, unregisterReceiver
+ + + + + + + +
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
+ + + + + + + +
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PushService

+
+public PushService()
+
+
Client code should not construct a PushService directly. +

+

+ + + + + + + + +
+Method Detail
+ +

+startServiceIfRequired

+
+public static void startServiceIfRequired(Context context)
+
+
+
+
+
+
+ +

+subscribe

+
+public static void subscribe(Context context,
+                             String channel,
+                             Class<? extends Activity> cls)
+
+
Helper function to subscribe to push notifications with the default application icon. +

+

+
Parameters:
context - This is used to access local storage to cache the subscription, so it must currently + be a viable context.
channel - A string identifier that determines which messages will cause a push notification to + be sent to this client. The channel name must start with a letter and contain only + letters, numbers, dashes, and underscores.
cls - This should be a subclass of Activity. An instance of this Activity is started when + the user responds to this push notification. If you are not sure what to use here, + just use your application's main Activity subclass. +
Throws: +
IllegalArgumentException - if the channel name is not valid.
+
+
+
+ +

+subscribe

+
+public static void subscribe(Context context,
+                             String channel,
+                             Class<? extends Activity> cls,
+                             int icon)
+
+
Call this function when the user should be subscribed to a new push channel. When push + notifications are sent out on this channel subsequently, this device will display a "toast" + notification in the system tray. This function returns immediately, even when there is no + internet access. In that case the subscription is cached and when internet access is next + available the client will inform the server of its subscription. This starts a PushService + running in the background that will not permanently terminate as long as the user is subscribed + to some channel, unless the application is uninstalled. +

+

+
Parameters:
context - This is used to access local storage to cache the subscription, so it must currently + be a viable context.
channel - A string identifier that determines which messages will cause a push notification to + be sent to this client. The channel name must start with a letter and contain only + letters, numbers, dashes, and underscores.
cls - This should be a subclass of Activity. An instance of this Activity is started when + the user responds to this push notification. If you are not sure what to use here, + just use your application's main Activity subclass.
icon - The icon to show for the notification. +
Throws: +
IllegalArgumentException - if the channel name is not valid.
+
+
+
+ +

+unsubscribe

+
+public static void unsubscribe(Context context,
+                               String channel)
+
+
Cancels a previous call to subscribe. If the user is not subscribed to this channel, this is a + no-op. This call does not require internet access. It returns without blocking. +

+

+
Parameters:
context - A currently viable Context.
channel - The string defining the channel to unsubscribe from.
+
+
+
+ +

+setDefaultPushCallback

+
+public static void setDefaultPushCallback(Context context,
+                                          Class<? extends Activity> cls)
+
+
Provides a default Activity class to handle pushes. Setting a default allows your program to + handle pushes that aren't registered with a subscribe call. This can happen when your + application changes its subscriptions directly through the ParseInstallation or via + push-to-query. +

+

+
Parameters:
context - This is used to access local storage to cache the subscription, so it must currently + be a viable context.
cls - This should be a subclass of Activity. An instance of this Activity is started when + the user responds to this push notification. If you are not sure what to use here, + just use your application's main Activity subclass.
+
+
+
+ +

+setDefaultPushCallback

+
+public static void setDefaultPushCallback(Context context,
+                                          Class<? extends Activity> cls,
+                                          int icon)
+
+
Provides a default Activity class to handle pushes. Setting a default allows your program to + handle pushes that aren't registered with a subscribe call. This can happen when your + application changes its subscriptions directly through the ParseInstallation or via + push-to-query. +

+

+
Parameters:
context - This is used to access local storage to cache the subscription, so it must currently + be a viable context.
cls - This should be a subclass of Activity. An instance of this Activity is started when + the user responds to this push notification. If you are not sure what to use here, + just use your application's main Activity subclass.
icon - The icon to show for the notification.
+
+
+
+ +

+getSubscriptions

+
+public static Set<String> getSubscriptions(Context context)
+
+
Accesses the current set of channels for which the current installation is subscribed. It is + important to remember that the device may receive pushes by means other than channels. This + method returns the local cache, so it returns without blocking on network IO. In rare + circumstances this may be stale, but only after the installation was edited via the REST API + using the master key. +

+

+
Parameters:
context - A currently viable Context. +
Returns:
A set containing all of the channels this application is currently subscribed to.
+
+
+
+ +

+onCreate

+
+public void onCreate()
+
+
Client code should not call onCreate directly. +

+

+
Overrides:
onCreate in class Service
+
+
+
+
+
+
+ +

+onStartCommand

+
+public int onStartCommand(Intent intent,
+                          int flags,
+                          int startId)
+
+
+
Overrides:
onStartCommand in class Service
+
+
+
+
+
+
+ +

+onBind

+
+public IBinder onBind(Intent intent)
+
+
onBind should not be called directly. +

+

+
Specified by:
onBind in class Service
+
+
+
+
+
+
+ +

+onDestroy

+
+public void onDestroy()
+
+
Client code should not call onDestroy directly. +

+

+
Overrides:
onDestroy in class Service
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/RefreshCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/RefreshCallback.html new file mode 100644 index 0000000..a0f0774 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/RefreshCallback.html @@ -0,0 +1,279 @@ + + + + + +RefreshCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class RefreshCallback

+
+Object
+  extended by com.parse.RefreshCallback
+
+
+
+
public abstract class RefreshCallback
extends Object
+
+ +

+A RefreshCallback is used to run code after refresh is used to update a ParseObject in a + background thread. +

+ The easiest way to use a RefreshCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the refresh is complete. + The done function will be run in the UI thread, while the refresh happens in a + background thread. This ensures that the UI does not freeze while the refresh happens. +

+ For example, this sample code refreshes an object of class "MyClass" and id + myId. It calls a different function depending on whether the refresh succeeded or + not. +

+ +

+ object.refreshInBackground(new RefreshCallback() {
+   public void done(ParseObject object, ParseException e) {
+     if (e == null) {
+       objectWasRefreshedSuccessfully(object);
+     } else {
+       objectRefreshFailed();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RefreshCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(ParseObject object, + ParseException e) + +
+          Override this function with the code you want to run after the save is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RefreshCallback

+
+public RefreshCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(ParseObject object,
+                          ParseException e)
+
+
Override this function with the code you want to run after the save is complete. +

+

+
Parameters:
e - The exception raised by the save, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/RequestPasswordResetCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/RequestPasswordResetCallback.html new file mode 100644 index 0000000..15d3cf0 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/RequestPasswordResetCallback.html @@ -0,0 +1,278 @@ + + + + + +RequestPasswordResetCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class RequestPasswordResetCallback

+
+Object
+  extended by com.parse.RequestPasswordResetCallback
+
+
+
+
public abstract class RequestPasswordResetCallback
extends Object
+
+ +

+A RequestPasswordResetCallback is used to run code requesting a password reset for a user. +

+ The easiest way to use a RequestPasswordResetCallback is through an anonymous inner class. + Override the done function to specify what the callback should do after the request + is complete. The done function will be run in the UI thread, while the request + happens in a background thread. This ensures that the UI does not freeze while the request + happens. +

+ For example, this sample code requests a password reset for a user and calls a different function + depending on whether the request succeeded or not. +

+ +

+ ParseUser.requestPasswordResetInBackground("forgetful@example.com",
+     new RequestPasswordResetCallback() {
+       public void done(ParseException e) {
+         if (e == null) {
+           requestedSuccessfully();
+         } else {
+           requestDidNotSucceed();
+         }
+       }
+     });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RequestPasswordResetCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(ParseException e) + +
+          Override this function with the code you want to run after the request is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RequestPasswordResetCallback

+
+public RequestPasswordResetCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(ParseException e)
+
+
Override this function with the code you want to run after the request is complete. +

+

+
Parameters:
e - The exception raised by the save, or null if no account is associated with the email + address.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SaveCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SaveCallback.html new file mode 100644 index 0000000..b1be4c7 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SaveCallback.html @@ -0,0 +1,275 @@ + + + + + +SaveCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class SaveCallback

+
+Object
+  extended by com.parse.SaveCallback
+
+
+
+
public abstract class SaveCallback
extends Object
+ + +

+A SaveCallback is used to run code after saving a ParseObject in a background thread. +

+ The easiest way to use a SaveCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the save is complete. The + done function will be run in the UI thread, while the save happens in a background + thread. This ensures that the UI does not freeze while the save happens. +

+ For example, this sample code saves the object myObject and calls a different + function depending on whether the save succeeded or not. +

+ +

+ myObject.saveInBackground(new SaveCallback() {
+   public void done(ParseException e) {
+     if (e == null) {
+       myObjectSavedSuccessfully();
+     } else {
+       myObjectSaveDidNotSucceed();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SaveCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(ParseException e) + +
+          Override this function with the code you want to run after the save is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SaveCallback

+
+public SaveCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(ParseException e)
+
+
Override this function with the code you want to run after the save is complete. +

+

+
Parameters:
e - The exception raised by the save, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SendCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SendCallback.html new file mode 100644 index 0000000..dedfc12 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SendCallback.html @@ -0,0 +1,278 @@ + + + + + +SendCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class SendCallback

+
+Object
+  extended by com.parse.SendCallback
+
+
+
+
public abstract class SendCallback
extends Object
+ + +

+A SendCallback is used to run code after sending a ParsePush in a background thread. +

+ The easiest way to use a SendCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the send is complete. The + done function will be run in the UI thread, while the send happens in a background + thread. This ensures that the UI does not freeze while the send happens. +

+ For example, this sample code sends the message "Hello world" on the + "hello" channel and logs whether the send succeeded. +

+ +

+ ParsePush push = new ParsePush();
+ push.setChannel("hello");
+ push.setMessage("Hello world!");
+ push.sendInBackground(new SendCallback() {
+   public void done(ParseException e) {
+     if (e == null) {
+       Log.d("push", "success!");
+     } else {
+       Log.d("push", "failure");
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SendCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(ParseException e) + +
+          Override this function with the code you want to run after the send is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SendCallback

+
+public SendCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(ParseException e)
+
+
Override this function with the code you want to run after the send is complete. +

+

+
Parameters:
e - The exception raised by the send, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SignUpCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SignUpCallback.html new file mode 100644 index 0000000..2664a14 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/SignUpCallback.html @@ -0,0 +1,275 @@ + + + + + +SignUpCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.parse +
+Class SignUpCallback

+
+Object
+  extended by com.parse.SignUpCallback
+
+
+
+
public abstract class SignUpCallback
extends Object
+ + +

+A SignUpCallback is used to run code after signing up a ParseUser in a background thread. +

+ The easiest way to use a SignUpCallback is through an anonymous inner class. Override the + done function to specify what the callback should do after the save is complete. The + done function will be run in the UI thread, while the signup happens in a background + thread. This ensures that the UI does not freeze while the signup happens. +

+ For example, this sample code signs up the object myUser and calls a different + function depending on whether the signup succeeded or not. +

+ +

+ myUser.signUpInBackground(new SignUpCallback() {
+   public void done(ParseException e) {
+     if (e == null) {
+       myUserSignedUpSuccessfully();
+     } else {
+       myUserSignUpDidNotSucceed();
+     }
+   }
+ });
+ 
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SignUpCallback() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+abstract  voiddone(ParseException e) + +
+          Override this function with the code you want to run after the signUp is complete.
+ + + + + + + +
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SignUpCallback

+
+public SignUpCallback()
+
+
+ + + + + + + + +
+Method Detail
+ +

+done

+
+public abstract void done(ParseException e)
+
+
Override this function with the code you want to run after the signUp is complete. +

+

+
Parameters:
e - The exception raised by the signUp, or null if it succeeded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/CountCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/CountCallback.html new file mode 100644 index 0000000..1809d3e --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/CountCallback.html @@ -0,0 +1,163 @@ + + + + + +Uses of Class com.parse.CountCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.CountCallback

+
+ + + + + +
+Uses of CountCallback in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse with parameters of type CountCallback
+ voidParseQuery.countInBackground(CountCallback callback) + +
+          Counts the number of objects that match this query in a background thread.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/DeleteCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/DeleteCallback.html new file mode 100644 index 0000000..e18ceae --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/DeleteCallback.html @@ -0,0 +1,181 @@ + + + + + +Uses of Class com.parse.DeleteCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.DeleteCallback

+
+ + + + + +
+Uses of DeleteCallback in com.parse
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type DeleteCallback
+static voidParseObject.deleteAllInBackground(List<ParseObject> objects, + DeleteCallback callback) + +
+          Deletes each object in the provided list.
+ voidParseObject.deleteEventually(DeleteCallback callback) + +
+          Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible.
+ voidParseObject.deleteInBackground(DeleteCallback callback) + +
+          Deletes this object on the server in a background thread.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/FindCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/FindCallback.html new file mode 100644 index 0000000..61bdbab --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/FindCallback.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class com.parse.FindCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.FindCallback

+
+ + + + + +
+Uses of FindCallback in com.parse
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type FindCallback
+static + + + + +
+<T extends ParseObject> +
+void
+
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> +
+void
+
ParseObject.fetchAllInBackground(List<T> objects, + FindCallback<T> callback) + +
+          Fetches all the objects in the provided list in the background
+ voidParseQuery.findInBackground(FindCallback<T> callback) + +
+          Retrieves a list of ParseObjects that satisfy this query from the server in a background + thread.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/FunctionCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/FunctionCallback.html new file mode 100644 index 0000000..43b21ed --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/FunctionCallback.html @@ -0,0 +1,172 @@ + + + + + +Uses of Class com.parse.FunctionCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.FunctionCallback

+
+ + + + + +
+Uses of FunctionCallback in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse with parameters of type FunctionCallback
+static + + + + +
+<T> void
+
ParseCloud.callFunctionInBackground(String name, + Map<String,?> params, + FunctionCallback<T> callback) + +
+          Calls a cloud function in the background.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/GetCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/GetCallback.html new file mode 100644 index 0000000..0bbb09c --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/GetCallback.html @@ -0,0 +1,208 @@ + + + + + +Uses of Class com.parse.GetCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.GetCallback

+
+ + + + + +
+Uses of GetCallback in com.parse
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type GetCallback
+ + + + + +
+<T extends ParseObject> +
+void
+
ParseObject.fetchIfNeededInBackground(GetCallback<T> callback) + +
+          If this ParseObject has not been fetched (i.e.
+ + + + + +
+<T extends ParseObject> +
+void
+
ParseObject.fetchInBackground(GetCallback<T> callback) + +
+          Fetches this object with the data from the server in a background thread.
+ voidParseQuery.getFirstInBackground(GetCallback<T> callback) + +
+          Retrieves at most one ParseObject that satisfies this query from the server in a background + thread.
+ voidParseQuery.getInBackground(String objectId, + GetCallback<T> callback) + +
+          Constructs a ParseObject whose id is already known by fetching data from the server in a + background thread.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/GetDataCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/GetDataCallback.html new file mode 100644 index 0000000..48a8ae1 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/GetDataCallback.html @@ -0,0 +1,180 @@ + + + + + +Uses of Class com.parse.GetDataCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.GetDataCallback

+
+ + + + + +
+Uses of GetDataCallback in com.parse
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type GetDataCallback
+ voidParseFile.getDataInBackground(GetDataCallback dataCallback) + +
+          Gets the data for this object in a background thread.
+ voidParseFile.getDataInBackground(GetDataCallback dataCallback, + ProgressCallback progressCallback) + +
+          Gets the data for this object in a background thread.
+ voidParseImageView.loadInBackground(GetDataCallback completionCallback) + +
+          Kick off downloading of remote image.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/LocationCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/LocationCallback.html new file mode 100644 index 0000000..05f9de4 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/LocationCallback.html @@ -0,0 +1,176 @@ + + + + + +Uses of Class com.parse.LocationCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.LocationCallback

+
+ + + + + +
+Uses of LocationCallback in com.parse
+  +

+ + + + + + + + + + + + + +
Methods in com.parse with parameters of type LocationCallback
+static voidParseGeoPoint.getCurrentLocationInBackground(long timeout, + Criteria criteria, + LocationCallback callback) + +
+          Fetches the user's current location and returns a new ParseGeoPoint via the provided + LocationCallback.
+static voidParseGeoPoint.getCurrentLocationInBackground(long timeout, + LocationCallback callback) + +
+          Fetches the user's current location and returns a new ParseGeoPoint via the provided + LocationCallback.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/LogInCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/LogInCallback.html new file mode 100644 index 0000000..a127d92 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/LogInCallback.html @@ -0,0 +1,254 @@ + + + + + +Uses of Class com.parse.LogInCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.LogInCallback

+
+ + + + + +
+Uses of LogInCallback in com.parse
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type LogInCallback
+static voidParseUser.becomeInBackground(String sessionToken, + LogInCallback callback) + +
+          Authorize a user with a session token.
+static voidParseFacebookUtils.logIn(Activity activity, + int activityCode, + LogInCallback callback) + +
+           
+static voidParseFacebookUtils.logIn(Activity activity, + LogInCallback callback) + +
+           
+static voidParseFacebookUtils.logIn(Collection<String> permissions, + Activity activity, + int activityCode, + LogInCallback callback) + +
+          Logs in a ParseUser using Facebook for authentication.
+static voidParseFacebookUtils.logIn(Collection<String> permissions, + Activity activity, + LogInCallback callback) + +
+          Logs in a user using the default activity code if single sign-on is enabled.
+static voidParseTwitterUtils.logIn(Context context, + LogInCallback callback) + +
+          Logs in a ParseUser using Twitter for authentication.
+static voidParseAnonymousUtils.logIn(LogInCallback callback) + +
+          Creates an anonymous user.
+static voidParseFacebookUtils.logIn(String facebookId, + String accessToken, + Date expirationDate, + LogInCallback callback) + +
+          Logs in a ParseUser using Facebook for authentication.
+static voidParseTwitterUtils.logIn(String twitterId, + String screenName, + String authToken, + String authTokenSecret, + LogInCallback callback) + +
+          Logs in a ParseUser using Twitter for authentication.
+static voidParseUser.logInInBackground(String username, + String password, + LogInCallback callback) + +
+          Logs in a user with a username and password.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/Parse.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/Parse.html new file mode 100644 index 0000000..3ee92a4 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/Parse.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.Parse + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.Parse

+
+No usage of com.parse.Parse +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseACL.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseACL.html new file mode 100644 index 0000000..1c66d45 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseACL.html @@ -0,0 +1,203 @@ + + + + + +Uses of Class com.parse.ParseACL + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseACL

+
+ + + + + +
+Uses of ParseACL in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse that return ParseACL
+ ParseACLParseObject.getACL() + +
+          Access the ParseACL governing this object.
+  +

+ + + + + + + + + + + + + +
Methods in com.parse with parameters of type ParseACL
+ voidParseObject.setACL(ParseACL acl) + +
+          Set the ParseACL governing this object.
+static voidParseACL.setDefaultACL(ParseACL acl, + boolean withAccessForCurrentUser) + +
+          Sets a default ACL that will be applied to all ParseObjects when they are created.
+  +

+ + + + + + + + +
Constructors in com.parse with parameters of type ParseACL
ParseRole(String name, + ParseACL acl) + +
+          Constructs a new ParseRole with the given name.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseAnalytics.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseAnalytics.html new file mode 100644 index 0000000..5dec4b8 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseAnalytics.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.ParseAnalytics + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseAnalytics

+
+No usage of com.parse.ParseAnalytics +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseAnonymousUtils.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseAnonymousUtils.html new file mode 100644 index 0000000..30fe711 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseAnonymousUtils.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.ParseAnonymousUtils + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseAnonymousUtils

+
+No usage of com.parse.ParseAnonymousUtils +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseClassName.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseClassName.html new file mode 100644 index 0000000..fba0135 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseClassName.html @@ -0,0 +1,179 @@ + + + + + +Uses of Class com.parse.ParseClassName + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseClassName

+
+ + + + + +
+Uses of ParseClassName in com.parse
+  +

+ + + + + + + + + + + + + + + + + +
Classes in com.parse with annotations of type ParseClassName
+ classParseInstallation + +
+           
+ classParseRole + +
+          Represents a Role on the Parse server.
+ classParseUser + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseCloud.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseCloud.html new file mode 100644 index 0000000..a991263 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseCloud.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.ParseCloud + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseCloud

+
+No usage of com.parse.ParseCloud +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseException.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseException.html new file mode 100644 index 0000000..c693228 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseException.html @@ -0,0 +1,513 @@ + + + + + +Uses of Class com.parse.ParseException + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseException

+
+ + + + + +
+Uses of ParseException in com.parse
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type ParseException
+abstract  voidGetDataCallback.done(byte[] data, + ParseException e) + +
+           
+abstract  voidCountCallback.done(int count, + ParseException e) + +
+          Override this function with the code you want to run after the count is complete.
+abstract  voidFindCallback.done(List<T> objects, + ParseException e) + +
+          Override this function with the code you want to run after the fetch is complete.
+abstract  voidSignUpCallback.done(ParseException e) + +
+          Override this function with the code you want to run after the signUp is complete.
+abstract  voidSendCallback.done(ParseException e) + +
+          Override this function with the code you want to run after the send is complete.
+abstract  voidSaveCallback.done(ParseException e) + +
+          Override this function with the code you want to run after the save is complete.
+abstract  voidRequestPasswordResetCallback.done(ParseException e) + +
+          Override this function with the code you want to run after the request is complete.
+abstract  voidDeleteCallback.done(ParseException e) + +
+          Override this function with the code you want to run after the delete is complete.
+abstract  voidLocationCallback.done(ParseGeoPoint geoPoint, + ParseException e) + +
+          Override this function with the code you want to run after the location fetch is complete.
+abstract  voidRefreshCallback.done(ParseObject object, + ParseException e) + +
+          Override this function with the code you want to run after the save is complete.
+abstract  voidLogInCallback.done(ParseUser user, + ParseException e) + +
+          Override this function with the code you want to run after the save is complete.
+abstract  voidGetCallback.done(T object, + ParseException e) + +
+          Override this function with the code you want to run after the fetch is complete.
+abstract  voidFunctionCallback.done(T object, + ParseException e) + +
+          Override this function with the code you want to run after the cloud function is complete.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse that throw ParseException
+static ParseUserParseUser.become(String sessionToken) + +
+          Authorize a user with a session token.
+static + + + + +
+<T> T
+
ParseCloud.callFunction(String name, + Map<String,?> params) + +
+          Calls a cloud function.
+ intParseQuery.count() + +
+          Counts the number of objects that match this query.
+ voidParseObject.delete() + +
+          Deletes this object on the server.
+static voidParseObject.deleteAll(List<ParseObject> objects) + +
+          Deletes each object in the provided list.
+ ParseUserParseUser.fetch() + +
+           
+ + + + + +
+<T extends ParseObject> +
+T
+
ParseObject.fetch() + +
+          Fetches this object with the data from the server.
+static List<ParseObject>ParseObject.fetchAll(List<ParseObject> objects) + +
+          Fetches all the objects in the provided list.
+static + + + + +
+<T extends ParseObject> +
+List<T>
+
ParseObject.fetchAllIfNeeded(List<T> objects) + +
+          Fetches all the objects that don't have data in the provided list.
+ ParseUserParseUser.fetchIfNeeded() + +
+           
+ + + + + +
+<T extends ParseObject> +
+T
+
ParseObject.fetchIfNeeded() + +
+          If this ParseObject has not been fetched (i.e.
+ List<T>ParseQuery.find() + +
+          Retrieves a list of ParseObjects that satisfy this query.
+ TParseQuery.get(String objectId) + +
+          Constructs a ParseObject whose id is already known by fetching data from the server.
+ byte[]ParseFile.getData() + +
+          Synchronously gets the data for this object.
+ TParseQuery.getFirst() + +
+          Retrieves at most one ParseObject that satisfies this query.
+static ParseUserParseUser.logIn(String username, + String password) + +
+          Logs in a user with a username and password.
+ voidParseObject.refresh() + +
+          Refreshes this object with the data from the server.
+static voidParseUser.requestPasswordReset(String email) + +
+          Requests a password reset email to be sent to the specified email address associated with the + user account.
+ voidParseObject.save() + +
+          Saves this object to the server.
+ voidParseFile.save() + +
+          Saves the file to the Parse cloud synchronously.
+static voidParseObject.saveAll(List<ParseObject> objects) + +
+          Saves each object in the provided list.
+ voidParsePush.send() + +
+          Sends this push notification while blocking this thread until the push notification has + successfully reached the Parse servers.
+ voidParseUser.signUp() + +
+          Signs up a new user.
+static voidParseTwitterUtils.unlink(ParseUser user) + +
+          Unlinks a user from a Twitter account.
+static voidParseFacebookUtils.unlink(ParseUser user) + +
+          Unlinks a user from a Facebook account.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseFacebookUtils.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseFacebookUtils.html new file mode 100644 index 0000000..1ee61cd --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseFacebookUtils.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.ParseFacebookUtils + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseFacebookUtils

+
+No usage of com.parse.ParseFacebookUtils +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseFile.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseFile.html new file mode 100644 index 0000000..21b8ab9 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseFile.html @@ -0,0 +1,179 @@ + + + + + +Uses of Class com.parse.ParseFile + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseFile

+
+ + + + + +
+Uses of ParseFile in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse that return ParseFile
+ ParseFileParseObject.getParseFile(String key) + +
+          Access a ParseFile value.
+  +

+ + + + + + + + + +
Methods in com.parse with parameters of type ParseFile
+ voidParseImageView.setParseFile(ParseFile file) + +
+          Sets the remote file on Parse's server that stores the image.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseGeoPoint.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseGeoPoint.html new file mode 100644 index 0000000..382b1cb --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseGeoPoint.html @@ -0,0 +1,258 @@ + + + + + +Uses of Class com.parse.ParseGeoPoint + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseGeoPoint

+
+ + + + + +
+Uses of ParseGeoPoint in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse that return ParseGeoPoint
+ ParseGeoPointParseObject.getParseGeoPoint(String key) + +
+          Access a ParseGeoPoint value.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type ParseGeoPoint
+ doubleParseGeoPoint.distanceInKilometersTo(ParseGeoPoint point) + +
+          Get distance between this point and another geopoint in kilometers.
+ doubleParseGeoPoint.distanceInMilesTo(ParseGeoPoint point) + +
+          Get distance between this point and another geopoint in kilometers.
+ doubleParseGeoPoint.distanceInRadiansTo(ParseGeoPoint point) + +
+          Get distance in radians between this point and another GeoPoint.
+abstract  voidLocationCallback.done(ParseGeoPoint geoPoint, + ParseException e) + +
+          Override this function with the code you want to run after the location fetch is complete.
+ ParseQuery<T>ParseQuery.whereNear(String key, + ParseGeoPoint point) + +
+          Add a proximity based constraint for finding objects with key point values near the point + given.
+ ParseQuery<T>ParseQuery.whereWithinGeoBox(String key, + ParseGeoPoint southwest, + ParseGeoPoint northeast) + +
+          Add a constraint to the query that requires a particular key's coordinates be contained within + a given rectangular geographic bounding box.
+ ParseQuery<T>ParseQuery.whereWithinKilometers(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+ ParseQuery<T>ParseQuery.whereWithinMiles(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+ ParseQuery<T>ParseQuery.whereWithinRadians(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseImageView.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseImageView.html new file mode 100644 index 0000000..408e1ef --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseImageView.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.ParseImageView + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseImageView

+
+No usage of com.parse.ParseImageView +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseInstallation.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseInstallation.html new file mode 100644 index 0000000..a9891c1 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseInstallation.html @@ -0,0 +1,233 @@ + + + + + +Uses of Class com.parse.ParseInstallation + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseInstallation

+
+ + + + + +
+Uses of ParseInstallation in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse that return ParseInstallation
+static ParseInstallationParseInstallation.getCurrentInstallation() + +
+           
+  +

+ + + + + + + + + +
Methods in com.parse that return types with arguments of type ParseInstallation
+static ParseQuery<ParseInstallation>ParseInstallation.getQuery() + +
+          Constructs a query for ParseInstallations.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Method parameters in com.parse with type arguments of type ParseInstallation
+static voidParsePush.sendDataInBackground(JSONObject data, + ParseQuery<ParseInstallation> query) + +
+          A helper method to concisely send a push to a query.
+static voidParsePush.sendDataInBackground(JSONObject data, + ParseQuery<ParseInstallation> query, + SendCallback callback) + +
+          A helper method to concisely send a push to a query.
+static voidParsePush.sendMessageInBackground(String message, + ParseQuery<ParseInstallation> query) + +
+          A helper method to concisely send a push message to a query.
+static voidParsePush.sendMessageInBackground(String message, + ParseQuery<ParseInstallation> query, + SendCallback callback) + +
+          A helper method to concisely send a push message to a query.
+ voidParsePush.setQuery(ParseQuery<ParseInstallation> query) + +
+          Sets the query for this push for which this push notification will be sent.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseObject.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseObject.html new file mode 100644 index 0000000..58cd228 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseObject.html @@ -0,0 +1,645 @@ + + + + + +Uses of Class com.parse.ParseObject + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseObject

+
+ + + + + +
+Uses of ParseObject in com.parse
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in com.parse with type parameters of type ParseObject
+ classFindCallback<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.
+ classGetCallback<T extends ParseObject> + +
+          A GetCallback is used to run code after a ParseQuery is used to fetch a + ParseObject in a background thread.
+ classParseQuery<T extends ParseObject> + +
+          The ParseQuery class defines a query that is used to fetch ParseObjects.
+ classParseQueryAdapter<T extends ParseObject> + +
+          A ParseQueryAdapter handles the fetching of objects by page, and displaying objects as views in a + ListView.
+static interfaceParseQueryAdapter.OnQueryLoadListener<T extends ParseObject> + +
+          Implement with logic that is called before and after objects are fetched from Parse by the + adapter.
+static interfaceParseQueryAdapter.QueryFactory<T extends ParseObject> + +
+          Implement to construct your own custom ParseQuery for fetching objects.
+ classParseRelation<T extends ParseObject> + +
+          A class that is used to access all of the children of a many-to-many relationship.
+  +

+ + + + + + + + + + + + + + + + + +
Subclasses of ParseObject in com.parse
+ classParseInstallation + +
+           
+ classParseRole + +
+          Represents a Role on the Parse server.
+ classParseUser + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with type parameters of type ParseObject
+static + + + + +
+<T extends ParseObject> +
+T
+
ParseObject.create(Class<T> subclass) + +
+          Creates a new ParseObject based upon a subclass type.
+static + + + + +
+<T extends ParseObject> +
+T
+
ParseObject.createWithoutData(Class<T> subclass, + String objectId) + +
+          Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects.
+ + + + + +
+<T extends ParseObject> +
+T
+
ParseObject.fetch() + +
+          Fetches this object with the data from the server.
+static + + + + +
+<T extends ParseObject> +
+List<T>
+
ParseObject.fetchAllIfNeeded(List<T> objects) + +
+          Fetches all the objects that don't have data in the provided list.
+static + + + + +
+<T extends ParseObject> +
+void
+
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> +
+void
+
ParseObject.fetchAllInBackground(List<T> objects, + FindCallback<T> callback) + +
+          Fetches all the objects in the provided list in the background
+ + + + + +
+<T extends ParseObject> +
+T
+
ParseObject.fetchIfNeeded() + +
+          If this ParseObject has not been fetched (i.e.
+ + + + + +
+<T extends ParseObject> +
+void
+
ParseObject.fetchIfNeededInBackground(GetCallback<T> callback) + +
+          If this ParseObject has not been fetched (i.e.
+ + + + + +
+<T extends ParseObject> +
+void
+
ParseObject.fetchInBackground(GetCallback<T> callback) + +
+          Fetches this object with the data from the server in a background thread.
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
ParseQuery.getQuery(Class<T> subclass) + +
+          Creates a new query for the given ParseObject subclass type.
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
ParseQuery.getQuery(String className) + +
+          Creates a new query for the given class name.
+ + + + + +
+<T extends ParseObject> +
+ParseRelation<T>
+
ParseObject.getRelation(String key) + +
+          Access or create a Relation value for a key
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
ParseQuery.or(List<ParseQuery<T>> queries) + +
+          Constructs a query that is the or of the given queries.
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.parse that return ParseObject
+static ParseObjectParseObject.create(String className) + +
+          Creates a new ParseObject based upon a class name.
+static ParseObjectParseObject.createWithoutData(String className, + String objectId) + +
+          Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects.
+ ParseObjectParseObject.getParseObject(String key) + +
+          Access a ParseObject value.
+  +

+ + + + + + + + + +
Methods in com.parse that return types with arguments of type ParseObject
+static List<ParseObject>ParseObject.fetchAll(List<ParseObject> objects) + +
+          Fetches all the objects in the provided list.
+  +

+ + + + + + + + + + + + + +
Methods in com.parse with parameters of type ParseObject
+abstract  voidRefreshCallback.done(ParseObject object, + ParseException e) + +
+          Override this function with the code you want to run after the save is complete.
+ booleanParseObject.hasSameId(ParseObject other) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method parameters in com.parse with type arguments of type ParseObject
+static voidParseObject.deleteAll(List<ParseObject> objects) + +
+          Deletes each object in the provided list.
+static voidParseObject.deleteAllInBackground(List<ParseObject> objects, + DeleteCallback callback) + +
+          Deletes each object in the provided list.
+static List<ParseObject>ParseObject.fetchAll(List<ParseObject> objects) + +
+          Fetches all the objects in the provided list.
+static voidParseObject.registerSubclass(Class<? extends ParseObject> subclass) + +
+          Registers a custom subclass type with the Parse SDK, enabling strong-typing of those + ParseObjects whenever they appear.
+static voidParseObject.saveAll(List<ParseObject> objects) + +
+          Saves each object in the provided list.
+static voidParseObject.saveAllInBackground(List<ParseObject> objects) + +
+          Saves each object to the server in a background thread.
+static voidParseObject.saveAllInBackground(List<ParseObject> objects, + SaveCallback callback) + +
+          Saves each object in the provided list to the server in a background thread.
+  +

+ + + + + + + + + + + +
Constructor parameters in com.parse with type arguments of type ParseObject
ParseQueryAdapter(Context context, + Class<? extends ParseObject> clazz) + +
+          Constructs a ParseQueryAdapter.
ParseQueryAdapter(Context context, + Class<? extends ParseObject> clazz, + int itemViewResource) + +
+          Constructs a ParseQueryAdapter.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParsePush.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParsePush.html new file mode 100644 index 0000000..84e12da --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParsePush.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.ParsePush + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParsePush

+
+No usage of com.parse.ParsePush +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQuery.CachePolicy.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQuery.CachePolicy.html new file mode 100644 index 0000000..310d19b --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQuery.CachePolicy.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class com.parse.ParseQuery.CachePolicy + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseQuery.CachePolicy

+
+ + + + + +
+Uses of ParseQuery.CachePolicy in com.parse
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.parse that return ParseQuery.CachePolicy
+ ParseQuery.CachePolicyParseQuery.getCachePolicy() + +
+          Accessor for the caching policy.
+static ParseQuery.CachePolicyParseQuery.CachePolicy.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static ParseQuery.CachePolicy[]ParseQuery.CachePolicy.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Methods in com.parse with parameters of type ParseQuery.CachePolicy
+ voidParseQuery.setCachePolicy(ParseQuery.CachePolicy newCachePolicy) + +
+          Change the caching policy of this query.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQuery.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQuery.html new file mode 100644 index 0000000..38c74ec --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQuery.html @@ -0,0 +1,663 @@ + + + + + +Uses of Class com.parse.ParseQuery + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseQuery

+
+ + + + + +
+Uses of ParseQuery in com.parse
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse that return ParseQuery
+ ParseQuery<T>ParseQuery.addAscendingOrder(String key) + +
+          Also sorts the results in ascending order by the given key.
+ ParseQuery<T>ParseQuery.addDescendingOrder(String key) + +
+          Also sorts the results in descending order by the given key.
+ ParseQuery<T>ParseQueryAdapter.QueryFactory.create() + +
+           
+static ParseQuery<ParseUser>ParseUser.getQuery() + +
+          Constructs a query for ParseUsers.
+static ParseQuery<ParseRole>ParseRole.getQuery() + +
+          Gets a ParseQuery over the Role collection.
+ ParseQuery<T>ParseRelation.getQuery() + +
+          Gets a query that can be used to query the objects in this relation.
+static ParseQuery<ParseInstallation>ParseInstallation.getQuery() + +
+          Constructs a query for ParseInstallations.
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
ParseQuery.getQuery(Class<T> subclass) + +
+          Creates a new query for the given ParseObject subclass type.
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
ParseQuery.getQuery(String className) + +
+          Creates a new query for the given class name.
+static ParseQuery<ParseUser>ParseQuery.getUserQuery() + +
+          Deprecated. Please use ParseUser.getQuery() instead.
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
ParseQuery.or(List<ParseQuery<T>> queries) + +
+          Constructs a query that is the or of the given queries.
+ ParseQuery<T>ParseQuery.orderByAscending(String key) + +
+          Sorts the results in ascending order by the given key.
+ ParseQuery<T>ParseQuery.orderByDescending(String key) + +
+          Sorts the results in descending order by the given key.
+ ParseQuery<T>ParseQuery.whereContainedIn(String key, + Collection<? extends Object> values) + +
+          Add a constraint to the query that requires a particular key's value to be contained in the + provided list of values.
+ ParseQuery<T>ParseQuery.whereContains(String key, + String substring) + +
+          Add a constraint for finding string values that contain a provided string.
+ ParseQuery<T>ParseQuery.whereContainsAll(String key, + Collection<?> values) + +
+          Add a constraint to the query that requires a particular key's value match another ParseQuery.
+ ParseQuery<T>ParseQuery.whereDoesNotExist(String key) + +
+          Add a constraint for finding objects that do not contain a given key.
+ ParseQuery<T>ParseQuery.whereDoesNotMatchKeyInQuery(String key, + String keyInQuery, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value does not match any value + for a key in the results of another ParseQuery.
+ ParseQuery<T>ParseQuery.whereDoesNotMatchQuery(String key, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value does not match another + ParseQuery.
+ ParseQuery<T>ParseQuery.whereEndsWith(String key, + String suffix) + +
+          Add a constraint for finding string values that end with a provided string.
+ ParseQuery<T>ParseQuery.whereEqualTo(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be equal to the + provided value.
+ ParseQuery<T>ParseQuery.whereExists(String key) + +
+          Add a constraint for finding objects that contain the given key.
+ ParseQuery<T>ParseQuery.whereGreaterThan(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be greater than the + provided value.
+ ParseQuery<T>ParseQuery.whereGreaterThanOrEqualTo(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be greater than or + equal to the provided value.
+ ParseQuery<T>ParseQuery.whereLessThan(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be less than the + provided value.
+ ParseQuery<T>ParseQuery.whereLessThanOrEqualTo(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be less than or equal + to the provided value.
+ ParseQuery<T>ParseQuery.whereMatches(String key, + String regex) + +
+          Add a regular expression constraint for finding string values that match the provided regular + expression.
+ ParseQuery<T>ParseQuery.whereMatches(String key, + String regex, + String modifiers) + +
+          Add a regular expression constraint for finding string values that match the provided regular + expression.
+ ParseQuery<T>ParseQuery.whereMatchesKeyInQuery(String key, + String keyInQuery, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value matches a value for a key + in the results of another ParseQuery
+ ParseQuery<T>ParseQuery.whereMatchesQuery(String key, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value match another ParseQuery.
+ ParseQuery<T>ParseQuery.whereNear(String key, + ParseGeoPoint point) + +
+          Add a proximity based constraint for finding objects with key point values near the point + given.
+ ParseQuery<T>ParseQuery.whereNotContainedIn(String key, + Collection<? extends Object> values) + +
+          Add a constraint to the query that requires a particular key's value not be contained in the + provided list of values.
+ ParseQuery<T>ParseQuery.whereNotEqualTo(String key, + Object value) + +
+          Add a constraint to the query that requires a particular key's value to be not equal to the + provided value.
+ ParseQuery<T>ParseQuery.whereStartsWith(String key, + String prefix) + +
+          Add a constraint for finding string values that start with a provided string.
+ ParseQuery<T>ParseQuery.whereWithinGeoBox(String key, + ParseGeoPoint southwest, + ParseGeoPoint northeast) + +
+          Add a constraint to the query that requires a particular key's coordinates be contained within + a given rectangular geographic bounding box.
+ ParseQuery<T>ParseQuery.whereWithinKilometers(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+ ParseQuery<T>ParseQuery.whereWithinMiles(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+ ParseQuery<T>ParseQuery.whereWithinRadians(String key, + ParseGeoPoint point, + double maxDistance) + +
+          Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type ParseQuery
+static voidParsePush.sendDataInBackground(JSONObject data, + ParseQuery<ParseInstallation> query) + +
+          A helper method to concisely send a push to a query.
+static voidParsePush.sendDataInBackground(JSONObject data, + ParseQuery<ParseInstallation> query, + SendCallback callback) + +
+          A helper method to concisely send a push to a query.
+static voidParsePush.sendMessageInBackground(String message, + ParseQuery<ParseInstallation> query) + +
+          A helper method to concisely send a push message to a query.
+static voidParsePush.sendMessageInBackground(String message, + ParseQuery<ParseInstallation> query, + SendCallback callback) + +
+          A helper method to concisely send a push message to a query.
+protected  voidParseQueryAdapter.setPageOnQuery(int page, + ParseQuery<T> query) + +
+          Override this method to manually paginate the provided ParseQuery.
+ voidParsePush.setQuery(ParseQuery<ParseInstallation> query) + +
+          Sets the query for this push for which this push notification will be sent.
+ ParseQuery<T>ParseQuery.whereDoesNotMatchKeyInQuery(String key, + String keyInQuery, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value does not match any value + for a key in the results of another ParseQuery.
+ ParseQuery<T>ParseQuery.whereDoesNotMatchQuery(String key, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value does not match another + ParseQuery.
+ ParseQuery<T>ParseQuery.whereMatchesKeyInQuery(String key, + String keyInQuery, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value matches a value for a key + in the results of another ParseQuery
+ ParseQuery<T>ParseQuery.whereMatchesQuery(String key, + ParseQuery<?> query) + +
+          Add a constraint to the query that requires a particular key's value match another ParseQuery.
+  +

+ + + + + + + + + +
Method parameters in com.parse with type arguments of type ParseQuery
+static + + + + +
+<T extends ParseObject> +
+ParseQuery<T>
+
ParseQuery.or(List<ParseQuery<T>> queries) + +
+          Constructs a query that is the or of the given queries.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.OnQueryLoadListener.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.OnQueryLoadListener.html new file mode 100644 index 0000000..180107d --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.OnQueryLoadListener.html @@ -0,0 +1,171 @@ + + + + + +Uses of Interface com.parse.ParseQueryAdapter.OnQueryLoadListener + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.parse.ParseQueryAdapter.OnQueryLoadListener

+
+ + + + + +
+Uses of ParseQueryAdapter.OnQueryLoadListener in com.parse
+  +

+ + + + + + + + + + + + + +
Methods in com.parse with parameters of type ParseQueryAdapter.OnQueryLoadListener
+ voidParseQueryAdapter.addOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T> listener) + +
+           
+ voidParseQueryAdapter.removeOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T> listener) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.QueryFactory.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.QueryFactory.html new file mode 100644 index 0000000..a248b05 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.QueryFactory.html @@ -0,0 +1,170 @@ + + + + + +Uses of Interface com.parse.ParseQueryAdapter.QueryFactory + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.parse.ParseQueryAdapter.QueryFactory

+
+ + + + + +
+Uses of ParseQueryAdapter.QueryFactory in com.parse
+  +

+ + + + + + + + + + + +
Constructors in com.parse with parameters of type ParseQueryAdapter.QueryFactory
ParseQueryAdapter(Context context, + ParseQueryAdapter.QueryFactory<T> queryFactory) + +
+          Constructs a ParseQueryAdapter.
ParseQueryAdapter(Context context, + ParseQueryAdapter.QueryFactory<T> queryFactory, + int itemViewResource) + +
+          Constructs a ParseQueryAdapter.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.html new file mode 100644 index 0000000..ed40d66 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseQueryAdapter.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.ParseQueryAdapter + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseQueryAdapter

+
+No usage of com.parse.ParseQueryAdapter +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseRelation.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseRelation.html new file mode 100644 index 0000000..5ebe05c --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseRelation.html @@ -0,0 +1,190 @@ + + + + + +Uses of Class com.parse.ParseRelation + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseRelation

+
+ + + + + +
+Uses of ParseRelation in com.parse
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.parse that return ParseRelation
+ + + + + +
+<T extends ParseObject> +
+ParseRelation<T>
+
ParseObject.getRelation(String key) + +
+          Access or create a Relation value for a key
+ ParseRelation<ParseRole>ParseRole.getRoles() + +
+          Gets the ParseRelation for the ParseRoles that are direct children of this + role.
+ ParseRelation<ParseUser>ParseRole.getUsers() + +
+          Gets the ParseRelation for the ParseUsers that are direct children of this + role.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseRole.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseRole.html new file mode 100644 index 0000000..213ba7e --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseRole.html @@ -0,0 +1,214 @@ + + + + + +Uses of Class com.parse.ParseRole + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseRole

+
+ + + + + +
+Uses of ParseRole in com.parse
+  +

+ + + + + + + + + + + + + +
Methods in com.parse that return types with arguments of type ParseRole
+static ParseQuery<ParseRole>ParseRole.getQuery() + +
+          Gets a ParseQuery over the Role collection.
+ ParseRelation<ParseRole>ParseRole.getRoles() + +
+          Gets the ParseRelation for the ParseRoles that are direct children of this + role.
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type ParseRole
+ booleanParseACL.getRoleReadAccess(ParseRole role) + +
+          Get whether users belonging to the given role are allowed to read this object.
+ booleanParseACL.getRoleWriteAccess(ParseRole role) + +
+          Get whether users belonging to the given role are allowed to write this object.
+ voidParseACL.setRoleReadAccess(ParseRole role, + boolean allowed) + +
+          Set whether users belonging to the given role are allowed to read this object.
+ voidParseACL.setRoleWriteAccess(ParseRole role, + boolean allowed) + +
+          Set whether users belonging to the given role are allowed to write this object.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseTwitterUtils.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseTwitterUtils.html new file mode 100644 index 0000000..ad40253 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseTwitterUtils.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.ParseTwitterUtils + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseTwitterUtils

+
+No usage of com.parse.ParseTwitterUtils +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseUser.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseUser.html new file mode 100644 index 0000000..5a70cd1 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ParseUser.html @@ -0,0 +1,577 @@ + + + + + +Uses of Class com.parse.ParseUser + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ParseUser

+
+ + + + + +
+Uses of ParseUser in com.parse
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse that return ParseUser
+static ParseUserParseUser.become(String sessionToken) + +
+          Authorize a user with a session token.
+ ParseUserParseUser.fetch() + +
+           
+ ParseUserParseUser.fetchIfNeeded() + +
+           
+static ParseUserParseUser.getCurrentUser() + +
+          This retrieves the currently logged in ParseUser with a valid session, either from memory or + disk if necessary.
+ ParseUserParseObject.getParseUser(String key) + +
+          Access a ParseUser value.
+static ParseUserParseUser.logIn(String username, + String password) + +
+          Logs in a user with a username and password.
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.parse that return types with arguments of type ParseUser
+static ParseQuery<ParseUser>ParseUser.getQuery() + +
+          Constructs a query for ParseUsers.
+static ParseQuery<ParseUser>ParseQuery.getUserQuery() + +
+          Deprecated. Please use ParseUser.getQuery() instead.
+ ParseRelation<ParseUser>ParseRole.getUsers() + +
+          Gets the ParseRelation for the ParseUsers that are direct children of this + role.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type ParseUser
+abstract  voidLogInCallback.done(ParseUser user, + ParseException e) + +
+          Override this function with the code you want to run after the save is complete.
+static voidParseFacebookUtils.extendAccessToken(ParseUser user, + Context context, + SaveCallback callback) + +
+          Deprecated. 
+static booleanParseFacebookUtils.extendAccessTokenIfNeeded(ParseUser user, + Context context, + SaveCallback callback) + +
+          Deprecated. 
+ booleanParseACL.getReadAccess(ParseUser user) + +
+          Get whether the given user id is *explicitly* allowed to read this object.
+ booleanParseACL.getWriteAccess(ParseUser user) + +
+          Get whether the given user id is *explicitly* allowed to write this object.
+static booleanParseTwitterUtils.isLinked(ParseUser user) + +
+          Returns true if the user is linked to a Twitter account.
+static booleanParseFacebookUtils.isLinked(ParseUser user) + +
+          Returns true if the user is linked to a Facebook account.
+static booleanParseAnonymousUtils.isLinked(ParseUser user) + +
+          Whether the user is logged in anonymously.
+static voidParseFacebookUtils.link(ParseUser user, + Activity activity) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + Activity activity, + int activityCode) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + Activity activity, + int activityCode, + SaveCallback callback) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + Activity activity, + SaveCallback callback) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + Collection<String> permissions, + Activity activity) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + Collection<String> permissions, + Activity activity, + int activityCode) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + Collection<String> permissions, + Activity activity, + int activityCode, + SaveCallback callback) + +
+          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
+static voidParseFacebookUtils.link(ParseUser user, + Collection<String> permissions, + Activity activity, + SaveCallback callback) + +
+          Links a user using the default activity code if single sign-on is enabled.
+static voidParseTwitterUtils.link(ParseUser user, + Context context) + +
+           
+static voidParseTwitterUtils.link(ParseUser user, + Context context, + SaveCallback callback) + +
+          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
+static voidParseFacebookUtils.link(ParseUser user, + String facebookId, + String accessToken, + Date expirationDate) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + String facebookId, + String accessToken, + Date expirationDate, + SaveCallback callback) + +
+          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
+static voidParseTwitterUtils.link(ParseUser user, + String twitterId, + String screenName, + String authToken, + String authTokenSecret) + +
+           
+static voidParseTwitterUtils.link(ParseUser user, + String twitterId, + String screenName, + String authToken, + String authTokenSecret, + SaveCallback callback) + +
+          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
+static voidParseFacebookUtils.saveLatestSessionData(ParseUser user) + +
+           
+static voidParseFacebookUtils.saveLatestSessionData(ParseUser user, + SaveCallback callback) + +
+          Saves the latest session data to the user.
+ voidParseACL.setReadAccess(ParseUser user, + boolean allowed) + +
+          Set whether the given user is allowed to read this object.
+ voidParseACL.setWriteAccess(ParseUser user, + boolean allowed) + +
+          Set whether the given user is allowed to write this object.
+static booleanParseFacebookUtils.shouldExtendAccessToken(ParseUser user) + +
+          Deprecated. 
+static voidParseTwitterUtils.unlink(ParseUser user) + +
+          Unlinks a user from a Twitter account.
+static voidParseFacebookUtils.unlink(ParseUser user) + +
+          Unlinks a user from a Facebook account.
+static voidParseTwitterUtils.unlinkInBackground(ParseUser user) + +
+           
+static voidParseFacebookUtils.unlinkInBackground(ParseUser user) + +
+           
+static voidParseTwitterUtils.unlinkInBackground(ParseUser user, + SaveCallback callback) + +
+          Unlinks a user from a Twitter account in the background.
+static voidParseFacebookUtils.unlinkInBackground(ParseUser user, + SaveCallback callback) + +
+          Unlinks a user from a Facebook account in the background.
+  +

+ + + + + + + + +
Constructors in com.parse with parameters of type ParseUser
ParseACL(ParseUser owner) + +
+          Creates an ACL where only the provided user has access.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ProgressCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ProgressCallback.html new file mode 100644 index 0000000..028e8bf --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/ProgressCallback.html @@ -0,0 +1,173 @@ + + + + + +Uses of Class com.parse.ProgressCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.ProgressCallback

+
+ + + + + +
+Uses of ProgressCallback in com.parse
+  +

+ + + + + + + + + + + + + +
Methods in com.parse with parameters of type ProgressCallback
+ voidParseFile.getDataInBackground(GetDataCallback dataCallback, + ProgressCallback progressCallback) + +
+          Gets the data for this object in a background thread.
+ voidParseFile.saveInBackground(SaveCallback saveCallback, + ProgressCallback progressCallback) + +
+          Saves the file to the Parse cloud in a background thread.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/PushService.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/PushService.html new file mode 100644 index 0000000..efef624 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/PushService.html @@ -0,0 +1,140 @@ + + + + + +Uses of Class com.parse.PushService + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.PushService

+
+No usage of com.parse.PushService +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/RefreshCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/RefreshCallback.html new file mode 100644 index 0000000..d8b0174 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/RefreshCallback.html @@ -0,0 +1,163 @@ + + + + + +Uses of Class com.parse.RefreshCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.RefreshCallback

+
+ + + + + +
+Uses of RefreshCallback in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse with parameters of type RefreshCallback
+ voidParseObject.refreshInBackground(RefreshCallback callback) + +
+          Refreshes this object with the data from the server in a background thread.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/RequestPasswordResetCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/RequestPasswordResetCallback.html new file mode 100644 index 0000000..c11339f --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/RequestPasswordResetCallback.html @@ -0,0 +1,165 @@ + + + + + +Uses of Class com.parse.RequestPasswordResetCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.RequestPasswordResetCallback

+
+ + + + + +
+Uses of RequestPasswordResetCallback in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse with parameters of type RequestPasswordResetCallback
+static voidParseUser.requestPasswordResetInBackground(String email, + RequestPasswordResetCallback callback) + +
+          Requests a password reset email to be sent in a background thread to the specified email + address associated with the user account.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SaveCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SaveCallback.html new file mode 100644 index 0000000..4f1e92c --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SaveCallback.html @@ -0,0 +1,336 @@ + + + + + +Uses of Class com.parse.SaveCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.SaveCallback

+
+ + + + + +
+Uses of SaveCallback in com.parse
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type SaveCallback
+static voidParseFacebookUtils.extendAccessToken(ParseUser user, + Context context, + SaveCallback callback) + +
+          Deprecated. 
+static booleanParseFacebookUtils.extendAccessTokenIfNeeded(ParseUser user, + Context context, + SaveCallback callback) + +
+          Deprecated. 
+static voidParseFacebookUtils.link(ParseUser user, + Activity activity, + int activityCode, + SaveCallback callback) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + Activity activity, + SaveCallback callback) + +
+           
+static voidParseFacebookUtils.link(ParseUser user, + Collection<String> permissions, + Activity activity, + int activityCode, + SaveCallback callback) + +
+          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
+static voidParseFacebookUtils.link(ParseUser user, + Collection<String> permissions, + Activity activity, + SaveCallback callback) + +
+          Links a user using the default activity code if single sign-on is enabled.
+static voidParseTwitterUtils.link(ParseUser user, + Context context, + SaveCallback callback) + +
+          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
+static voidParseFacebookUtils.link(ParseUser user, + String facebookId, + String accessToken, + Date expirationDate, + SaveCallback callback) + +
+          Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user.
+static voidParseTwitterUtils.link(ParseUser user, + String twitterId, + String screenName, + String authToken, + String authTokenSecret, + SaveCallback callback) + +
+          Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user.
+static voidParseObject.saveAllInBackground(List<ParseObject> objects, + SaveCallback callback) + +
+          Saves each object in the provided list to the server in a background thread.
+ voidParseObject.saveEventually(SaveCallback callback) + +
+          Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible.
+ voidParseInstallation.saveEventually(SaveCallback callback) + +
+           
+ voidParseObject.saveInBackground(SaveCallback callback) + +
+          Saves this object to the server in a background thread.
+ voidParseFile.saveInBackground(SaveCallback callback) + +
+          Saves the file to the Parse cloud in a background thread.
+ voidParseFile.saveInBackground(SaveCallback saveCallback, + ProgressCallback progressCallback) + +
+          Saves the file to the Parse cloud in a background thread.
+static voidParseFacebookUtils.saveLatestSessionData(ParseUser user, + SaveCallback callback) + +
+          Saves the latest session data to the user.
+static voidParseTwitterUtils.unlinkInBackground(ParseUser user, + SaveCallback callback) + +
+          Unlinks a user from a Twitter account in the background.
+static voidParseFacebookUtils.unlinkInBackground(ParseUser user, + SaveCallback callback) + +
+          Unlinks a user from a Facebook account in the background.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SendCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SendCallback.html new file mode 100644 index 0000000..b4b3d91 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SendCallback.html @@ -0,0 +1,183 @@ + + + + + +Uses of Class com.parse.SendCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.SendCallback

+
+ + + + + +
+Uses of SendCallback in com.parse
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.parse with parameters of type SendCallback
+static voidParsePush.sendDataInBackground(JSONObject data, + ParseQuery<ParseInstallation> query, + SendCallback callback) + +
+          A helper method to concisely send a push to a query.
+ voidParsePush.sendInBackground(SendCallback callback) + +
+          Sends this push notification in a background thread.
+static voidParsePush.sendMessageInBackground(String message, + ParseQuery<ParseInstallation> query, + SendCallback callback) + +
+          A helper method to concisely send a push message to a query.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SignUpCallback.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SignUpCallback.html new file mode 100644 index 0000000..70b093a --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/class-use/SignUpCallback.html @@ -0,0 +1,163 @@ + + + + + +Uses of Class com.parse.SignUpCallback + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.parse.SignUpCallback

+
+ + + + + +
+Uses of SignUpCallback in com.parse
+  +

+ + + + + + + + + +
Methods in com.parse with parameters of type SignUpCallback
+ voidParseUser.signUpInBackground(SignUpCallback callback) + +
+          Signs up a new user.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-frame.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-frame.html new file mode 100644 index 0000000..f1ddc79 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-frame.html @@ -0,0 +1,140 @@ + + + + + +com.parse + + + + + + + + + + +com.parse + + + + +
+Interfaces  + +
+ParseQueryAdapter.OnQueryLoadListener +
+ParseQueryAdapter.QueryFactory
+ + + + + + +
+Classes  + +
+CountCallback +
+DeleteCallback +
+FindCallback +
+FunctionCallback +
+GetCallback +
+GetDataCallback +
+LocationCallback +
+LogInCallback +
+Parse +
+ParseACL +
+ParseAnalytics +
+ParseAnonymousUtils +
+ParseCloud +
+ParseFacebookUtils +
+ParseFile +
+ParseGeoPoint +
+ParseImageView +
+ParseInstallation +
+ParseObject +
+ParsePush +
+ParseQuery +
+ParseQueryAdapter +
+ParseRelation +
+ParseRole +
+ParseTwitterUtils +
+ParseUser +
+ProgressCallback +
+PushService +
+RefreshCallback +
+RequestPasswordResetCallback +
+SaveCallback +
+SendCallback +
+SignUpCallback
+ + + + + + +
+Enums  + +
+ParseQuery.CachePolicy
+ + + + + + +
+Exceptions  + +
+ParseException
+ + + + + + +
+Annotation Types  + +
+ParseClassName
+ + + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-summary.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-summary.html new file mode 100644 index 0000000..e8a39ac --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-summary.html @@ -0,0 +1,355 @@ + + + + + +com.parse + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.parse +

+ + + + + + + + + + + + + +
+Interface Summary
ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject>Implement with logic that is called before and after objects are fetched from Parse by the + adapter.
ParseQueryAdapter.QueryFactory<T extends ParseObject>Implement to construct your own custom ParseQuery for fetching objects.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CountCallbackA CountCallback is used to run code after a ParseQuery is used to count objects matching + a query in a background thread.
DeleteCallbackA DeleteCallback is used to run code after saving a ParseObject in a background thread.
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.
FunctionCallback<T>A FunctionCallback is used to run code after ParseCloud.callFunction(java.lang.String, java.util.Map) is used to run a + Cloud Function in a background thread.
GetCallback<T extends ParseObject>A GetCallback is used to run code after a ParseQuery is used to fetch a + ParseObject in a background thread.
GetDataCallbackA GetDataCallback is used to run code after a ParseFile fetches its data on a background + thread.
LocationCallbackA LocationCallback is used to run code after a Location has been fetched by some + LocationProvider.
LogInCallbackA LogInCallback is used to run code after logging in a user.
ParseThe Parse class contains static functions that handle global configuration for the Parse library.
ParseACLA ParseACL is used to control which users can access or modify a particular object.
ParseAnalyticsThe ParseAnalytics class provides an interface to Parse's logging and analytics backend.
ParseAnonymousUtilsProvides utility functions for working with Anonymously logged-in users.
ParseCloudThe ParseCloud class defines provides methods for interacting with Parse Cloud Functions.
ParseFacebookUtilsProvides a set of utilities for using Parse with Facebook.
ParseFileParseFile is a local representation of a file that is saved to the Parse cloud.
ParseGeoPointParseGeoPoint represents a latitude / longitude point that may be associated with a key in a + ParseObject or used as a reference point for geo queries.
ParseImageViewA specialized ImageView that downloads and displays remote images stored on Parse's + servers.
ParseInstallation 
ParseObjectThe ParseObject is a local representation of data that can be saved and retrieved from the Parse + cloud.
ParsePushThe ParsePush is a local representation of data that can be sent as a push notification.
ParseQuery<T extends ParseObject>The ParseQuery class defines a query that is used to fetch ParseObjects.
ParseQueryAdapter<T extends ParseObject>A ParseQueryAdapter handles the fetching of objects by page, and displaying objects as views in a + ListView.
ParseRelation<T extends ParseObject>A class that is used to access all of the children of a many-to-many relationship.
ParseRoleRepresents a Role on the Parse server.
ParseTwitterUtils 
ParseUser 
ProgressCallbackA ProgressCallback is used to get progress of an operation.
PushServiceA service to listen for push notifications.
RefreshCallbackA RefreshCallback is used to run code after refresh is used to update a ParseObject in a + background thread.
RequestPasswordResetCallbackA RequestPasswordResetCallback is used to run code requesting a password reset for a user.
SaveCallbackA SaveCallback is used to run code after saving a ParseObject in a background thread.
SendCallbackA SendCallback is used to run code after sending a ParsePush in a background thread.
SignUpCallbackA SignUpCallback is used to run code after signing up a ParseUser in a background thread.
+  + +

+ + + + + + + + + +
+Enum Summary
ParseQuery.CachePolicy 
+  + +

+ + + + + + + + + +
+Exception Summary
ParseExceptionA ParseException gets raised whenever a ParseObject issues an invalid request, such as + deleting or editing an object that no longer exists on the server, or when there is a network + failure preventing communication with the Parse server.
+  + +

+ + + + + + + + + +
+Annotation Types Summary
ParseClassNameAssociates a class name for a subclass of ParseObject.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-tree.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-tree.html new file mode 100644 index 0000000..00b9e08 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-tree.html @@ -0,0 +1,189 @@ + + + + + +com.parse Class Hierarchy + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.parse +

+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Annotation Type Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-use.html b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-use.html new file mode 100644 index 0000000..1cc5bed --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/com/parse/package-use.html @@ -0,0 +1,327 @@ + + + + + +Uses of Package com.parse + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.parse

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.parse used by com.parse
CountCallback + +
+          A CountCallback is used to run code after a ParseQuery is used to count objects matching + a query in a background thread.
DeleteCallback + +
+          A DeleteCallback is used to run code after saving a ParseObject in a background thread.
FindCallback + +
+          A FindCallback is used to run code after a ParseQuery is used to fetch a list of + ParseObjects in a background thread.
FunctionCallback + +
+          A FunctionCallback is used to run code after ParseCloud.callFunction(java.lang.String, java.util.Map) is used to run a + Cloud Function in a background thread.
GetCallback + +
+          A GetCallback is used to run code after a ParseQuery is used to fetch a + ParseObject in a background thread.
GetDataCallback + +
+          A GetDataCallback is used to run code after a ParseFile fetches its data on a background + thread.
LocationCallback + +
+          A LocationCallback is used to run code after a Location has been fetched by some + LocationProvider.
LogInCallback + +
+          A LogInCallback is used to run code after logging in a user.
ParseACL + +
+          A ParseACL is used to control which users can access or modify a particular object.
ParseClassName + +
+          Associates a class name for a subclass of ParseObject.
ParseException + +
+          A ParseException gets raised whenever a ParseObject issues an invalid request, such as + deleting or editing an object that no longer exists on the server, or when there is a network + failure preventing communication with the Parse server.
ParseFile + +
+          ParseFile is a local representation of a file that is saved to the Parse cloud.
ParseGeoPoint + +
+          ParseGeoPoint represents a latitude / longitude point that may be associated with a key in a + ParseObject or used as a reference point for geo queries.
ParseInstallation + +
+           
ParseObject + +
+          The ParseObject is a local representation of data that can be saved and retrieved from the Parse + cloud.
ParseQuery + +
+          The ParseQuery class defines a query that is used to fetch ParseObjects.
ParseQuery.CachePolicy + +
+           
ParseQueryAdapter.OnQueryLoadListener + +
+          Implement with logic that is called before and after objects are fetched from Parse by the + adapter.
ParseQueryAdapter.QueryFactory + +
+          Implement to construct your own custom ParseQuery for fetching objects.
ParseRelation + +
+          A class that is used to access all of the children of a many-to-many relationship.
ParseRole + +
+          Represents a Role on the Parse server.
ParseUser + +
+           
ProgressCallback + +
+          A ProgressCallback is used to get progress of an operation.
RefreshCallback + +
+          A RefreshCallback is used to run code after refresh is used to update a ParseObject in a + background thread.
RequestPasswordResetCallback + +
+          A RequestPasswordResetCallback is used to run code requesting a password reset for a user.
SaveCallback + +
+          A SaveCallback is used to run code after saving a ParseObject in a background thread.
SendCallback + +
+          A SendCallback is used to run code after sending a ParsePush in a background thread.
SignUpCallback + +
+          A SignUpCallback is used to run code after signing up a ParseUser in a background thread.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/constant-values.html b/TodoListManager/libs/Parse-1.4.2-javadoc/constant-values.html new file mode 100644 index 0000000..66a07e6 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/constant-values.html @@ -0,0 +1,458 @@ + + + + + +Constant Field Values + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+com.parse.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.parse.Parse
+public static final intLOG_LEVEL_DEBUG3
+public static final intLOG_LEVEL_ERROR6
+public static final intLOG_LEVEL_INFO4
+public static final intLOG_LEVEL_NONE2147483647
+public static final intLOG_LEVEL_VERBOSE2
+public static final intLOG_LEVEL_WARNING5
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.parse.ParseException
+public static final intACCOUNT_ALREADY_LINKED208
+public static final intCACHE_MISS120
+public static final intCOMMAND_UNAVAILABLE108
+public static final intCONNECTION_FAILED100
+public static final intDUPLICATE_VALUE137
+public static final intEMAIL_MISSING204
+public static final intEMAIL_NOT_FOUND205
+public static final intEMAIL_TAKEN203
+public static final intEXCEEDED_QUOTA140
+public static final intFILE_DELETE_ERROR153
+public static final intINCORRECT_TYPE111
+public static final intINTERNAL_SERVER_ERROR1
+public static final intINVALID_ACL123
+public static final intINVALID_CHANNEL_NAME112
+public static final intINVALID_CLASS_NAME103
+public static final intINVALID_EMAIL_ADDRESS125
+public static final intINVALID_FILE_NAME122
+public static final intINVALID_JSON107
+public static final intINVALID_KEY_NAME105
+public static final intINVALID_LINKED_SESSION251
+public static final intINVALID_NESTED_KEY121
+public static final intINVALID_POINTER106
+public static final intINVALID_QUERY102
+public static final intINVALID_ROLE_NAME139
+public static final intLINKED_ID_MISSING250
+public static final intMISSING_OBJECT_ID104
+public static final intMUST_CREATE_USER_THROUGH_SIGNUP207
+public static final intNOT_INITIALIZED109
+public static final intOBJECT_NOT_FOUND101
+public static final intOBJECT_TOO_LARGE116
+public static final intOPERATION_FORBIDDEN119
+public static final intOTHER_CAUSE-1
+public static final intPASSWORD_MISSING201
+public static final intPUSH_MISCONFIGURED115
+public static final intSCRIPT_ERROR141
+public static final intSESSION_MISSING206
+public static final intTIMEOUT124
+public static final intUNSUPPORTED_SERVICE252
+public static final intUSERNAME_MISSING200
+public static final intUSERNAME_TAKEN202
+public static final intVALIDATION_ERROR142
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/deprecated-list.html b/TodoListManager/libs/Parse-1.4.2-javadoc/deprecated-list.html new file mode 100644 index 0000000..d5a8988 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/deprecated-list.html @@ -0,0 +1,187 @@ + + + + + +Deprecated List + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Deprecated Methods
com.parse.ParseFacebookUtils.extendAccessToken(ParseUser, Context, SaveCallback) +
+           
com.parse.ParseFacebookUtils.extendAccessTokenIfNeeded(ParseUser, Context, SaveCallback) +
+           
com.parse.ParseFacebookUtils.getFacebook() +
+           
com.parse.ParseQuery.getUserQuery() +
+          Please use ParseUser.getQuery() instead. 
com.parse.ParsePush.setPushToAndroid(boolean) +
+           
com.parse.ParsePush.setPushToIOS(boolean) +
+           
com.parse.ParseFacebookUtils.shouldExtendAccessToken(ParseUser) +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/help-doc.html b/TodoListManager/libs/Parse-1.4.2-javadoc/help-doc.html new file mode 100644 index 0000000..35d3846 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/help-doc.html @@ -0,0 +1,213 @@ + + + + + +API Help + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    +
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description +

    +

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary +

    +

  • Field Detail
  • Constructor Detail
  • Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

    +
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

    +
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    +
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/index-all.html b/TodoListManager/libs/Parse-1.4.2-javadoc/index-all.html new file mode 100644 index 0000000..6ec63ec --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/index-all.html @@ -0,0 +1,1612 @@ + + + + + +Index + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P R S T U V W
+

+A

+
+
ACCOUNT_ALREADY_LINKED - +Static variable in exception com.parse.ParseException +
Error code indicating that an an account being linked is already linked to another user. +
add(String, Object) - +Method in class com.parse.ParseObject +
Atomically adds an object to the end of the array associated with a given key. +
add(T) - +Method in class com.parse.ParseRelation +
Adds an object to this relation. +
addAll(String, Collection<?>) - +Method in class com.parse.ParseObject +
Atomically adds the objects contained in a Collection to the end of the array + associated with a given key. +
addAllUnique(String, Collection<?>) - +Method in class com.parse.ParseObject +
Atomically adds the objects contained in a Collection to the array associated with a + given key, only adding elements which are not already present in the array. +
addAscendingOrder(String) - +Method in class com.parse.ParseQuery +
Also sorts the results in ascending order by the given key. +
addDescendingOrder(String) - +Method in class com.parse.ParseQuery +
Also sorts the results in descending order by the given key. +
addOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T>) - +Method in class com.parse.ParseQueryAdapter +
  +
addUnique(String, Object) - +Method in class com.parse.ParseObject +
Atomically adds an object to the array associated with a given key, only if it is not already + present in the array. +
+
+

+B

+
+
become(String) - +Static method in class com.parse.ParseUser +
Authorize a user with a session token. +
becomeInBackground(String, LogInCallback) - +Static method in class com.parse.ParseUser +
Authorize a user with a session token. +
+
+

+C

+
+
CACHE_MISS - +Static variable in exception com.parse.ParseException +
Error code indicating the result was not found in the cache. +
callFunction(String, Map<String, ?>) - +Static method in class com.parse.ParseCloud +
Calls a cloud function. +
callFunctionInBackground(String, Map<String, ?>, FunctionCallback<T>) - +Static method in class com.parse.ParseCloud +
Calls a cloud function in the background. +
cancel() - +Method in class com.parse.ParseFile +
Cancels the current network request and callbacks whether it's uploading or fetching data from + the server. +
cancel() - +Method in class com.parse.ParseQuery +
Cancels the current network request (if one is running). +
clear() - +Method in class com.parse.ParseQueryAdapter +
Remove all elements from the list. +
clearAllCachedResults() - +Static method in class com.parse.ParseQuery +
Clears the cached result for all queries. +
clearCachedResult() - +Method in class com.parse.ParseQuery +
Removes the previously cached result for this query, forcing the next find() to hit the + network. +
clearExpiration() - +Method in class com.parse.ParsePush +
Clears both expiration values, indicating that the notification should never expire. +
com.parse - package com.parse
 
COMMAND_UNAVAILABLE - +Static variable in exception com.parse.ParseException +
Error code indicating that the feature you tried to access is only available internally for + testing purposes. +
CONNECTION_FAILED - +Static variable in exception com.parse.ParseException +
Error code indicating the connection to the Parse servers failed. +
containsKey(String) - +Method in class com.parse.ParseObject +
Whether this object has a particular key. +
count() - +Method in class com.parse.ParseQuery +
Counts the number of objects that match this query. +
CountCallback - Class in com.parse
A CountCallback is used to run code after a ParseQuery is used to count objects matching + a query in a background thread.
CountCallback() - +Constructor for class com.parse.CountCallback +
  +
countInBackground(CountCallback) - +Method in class com.parse.ParseQuery +
Counts the number of objects that match this query in a background thread. +
create(String) - +Static method in class com.parse.ParseObject +
Creates a new ParseObject based upon a class name. +
create(Class<T>) - +Static method in class com.parse.ParseObject +
Creates a new ParseObject based upon a subclass type. +
create() - +Method in interface com.parse.ParseQueryAdapter.QueryFactory +
  +
createWithoutData(String, String) - +Static method in class com.parse.ParseObject +
Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects. +
createWithoutData(Class<T>, String) - +Static method in class com.parse.ParseObject +
Creates a reference to an existing ParseObject for use in creating associations between + ParseObjects. +
+
+

+D

+
+
delete() - +Method in class com.parse.ParseObject +
Deletes this object on the server. +
deleteAll(List<ParseObject>) - +Static method in class com.parse.ParseObject +
Deletes each object in the provided list. +
deleteAllInBackground(List<ParseObject>, DeleteCallback) - +Static method in class com.parse.ParseObject +
Deletes each object in the provided list. +
DeleteCallback - Class in com.parse
A DeleteCallback is used to run code after saving a ParseObject in a background thread.
DeleteCallback() - +Constructor for class com.parse.DeleteCallback +
  +
deleteEventually() - +Method in class com.parse.ParseObject +
Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible. +
deleteEventually(DeleteCallback) - +Method in class com.parse.ParseObject +
Deletes this object from the server at some unspecified time in the future, even if Parse is + currently inaccessible. +
deleteInBackground(DeleteCallback) - +Method in class com.parse.ParseObject +
Deletes this object on the server in a background thread. +
deleteInBackground() - +Method in class com.parse.ParseObject +
Deletes this object on the server in a background thread. +
distanceInKilometersTo(ParseGeoPoint) - +Method in class com.parse.ParseGeoPoint +
Get distance between this point and another geopoint in kilometers. +
distanceInMilesTo(ParseGeoPoint) - +Method in class com.parse.ParseGeoPoint +
Get distance between this point and another geopoint in kilometers. +
distanceInRadiansTo(ParseGeoPoint) - +Method in class com.parse.ParseGeoPoint +
Get distance in radians between this point and another GeoPoint. +
done(int, ParseException) - +Method in class com.parse.CountCallback +
Override this function with the code you want to run after the count is complete. +
done(ParseException) - +Method in class com.parse.DeleteCallback +
Override this function with the code you want to run after the delete is complete. +
done(List<T>, ParseException) - +Method in class com.parse.FindCallback +
Override this function with the code you want to run after the fetch is complete. +
done(T, ParseException) - +Method in class com.parse.FunctionCallback +
Override this function with the code you want to run after the cloud function is complete. +
done(T, ParseException) - +Method in class com.parse.GetCallback +
Override this function with the code you want to run after the fetch is complete. +
done(byte[], ParseException) - +Method in class com.parse.GetDataCallback +
  +
done(ParseGeoPoint, ParseException) - +Method in class com.parse.LocationCallback +
Override this function with the code you want to run after the location fetch is complete. +
done(ParseUser, ParseException) - +Method in class com.parse.LogInCallback +
Override this function with the code you want to run after the save is complete. +
done(Integer) - +Method in class com.parse.ProgressCallback +
Override this function with your desired callback. +
done(ParseObject, ParseException) - +Method in class com.parse.RefreshCallback +
Override this function with the code you want to run after the save is complete. +
done(ParseException) - +Method in class com.parse.RequestPasswordResetCallback +
Override this function with the code you want to run after the request is complete. +
done(ParseException) - +Method in class com.parse.SaveCallback +
Override this function with the code you want to run after the save is complete. +
done(ParseException) - +Method in class com.parse.SendCallback +
Override this function with the code you want to run after the send is complete. +
done(ParseException) - +Method in class com.parse.SignUpCallback +
Override this function with the code you want to run after the signUp is complete. +
DUPLICATE_VALUE - +Static variable in exception com.parse.ParseException +
Error code indicating that a unique field was given a value that is already taken. +
+
+

+E

+
+
EMAIL_MISSING - +Static variable in exception com.parse.ParseException +
Error code indicating that the email is missing, but must be specified. +
EMAIL_NOT_FOUND - +Static variable in exception com.parse.ParseException +
Error code indicating that a user with the specified email was not found. +
EMAIL_TAKEN - +Static variable in exception com.parse.ParseException +
Error code indicating that the email has already been taken. +
enableAutomaticUser() - +Static method in class com.parse.ParseUser +
Enables automatic creation of anonymous users. +
EXCEEDED_QUOTA - +Static variable in exception com.parse.ParseException +
Error code indicating that an application quota was exceeded. +
extendAccessToken(ParseUser, Context, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
Deprecated.  +
extendAccessTokenIfNeeded(ParseUser, Context, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
Deprecated.  +
+
+

+F

+
+
fetch() - +Method in class com.parse.ParseObject +
Fetches this object with the data from the server. +
fetch() - +Method in class com.parse.ParseUser +
  +
fetchAll(List<ParseObject>) - +Static method in class com.parse.ParseObject +
Fetches all the objects in the provided list. +
fetchAllIfNeeded(List<T>) - +Static method in class com.parse.ParseObject +
Fetches all the objects that don't have data in the provided list. +
fetchAllIfNeededInBackground(List<T>, FindCallback<T>) - +Static method in class com.parse.ParseObject +
Fetches all the objects that don't have data in the provided list in the background +
fetchAllInBackground(List<T>, FindCallback<T>) - +Static method in class com.parse.ParseObject +
Fetches all the objects in the provided list in the background +
fetchIfNeeded() - +Method in class com.parse.ParseObject +
If this ParseObject has not been fetched (i.e. +
fetchIfNeeded() - +Method in class com.parse.ParseUser +
  +
fetchIfNeededInBackground(GetCallback<T>) - +Method in class com.parse.ParseObject +
If this ParseObject has not been fetched (i.e. +
fetchInBackground(GetCallback<T>) - +Method in class com.parse.ParseObject +
Fetches this object with the data from the server in a background thread. +
FILE_DELETE_ERROR - +Static variable in exception com.parse.ParseException +
Error code indicating that deleting a file failed. +
find() - +Method in class com.parse.ParseQuery +
Retrieves a list of ParseObjects that satisfy this query. +
FindCallback<T extends ParseObject> - Class in com.parse
A FindCallback is used to run code after a ParseQuery is used to fetch a list of + ParseObjects in a background thread.
FindCallback() - +Constructor for class com.parse.FindCallback +
  +
findInBackground(FindCallback<T>) - +Method in class com.parse.ParseQuery +
Retrieves a list of ParseObjects that satisfy this query from the server in a background + thread. +
finishAuthentication(int, int, Intent) - +Static method in class com.parse.ParseFacebookUtils +
Completes authentication after the Facebook app returns an activity result. +
FunctionCallback<T> - Class in com.parse
A FunctionCallback is used to run code after ParseCloud.callFunction(java.lang.String, java.util.Map) is used to run a + Cloud Function in a background thread.
FunctionCallback() - +Constructor for class com.parse.FunctionCallback +
  +
+
+

+G

+
+
get(String) - +Method in class com.parse.ParseObject +
Access a value. +
get(String) - +Method in class com.parse.ParseQuery +
Constructs a ParseObject whose id is already known by fetching data from the server. +
getACL() - +Method in class com.parse.ParseObject +
Access the ParseACL governing this object. +
getBoolean(String) - +Method in class com.parse.ParseObject +
Access a boolean value. +
getBytes(String) - +Method in class com.parse.ParseObject +
Access a byte array value. +
getCachePolicy() - +Method in class com.parse.ParseQuery +
Accessor for the caching policy. +
GetCallback<T extends ParseObject> - Class in com.parse
A GetCallback is used to run code after a ParseQuery is used to fetch a + ParseObject in a background thread.
GetCallback() - +Constructor for class com.parse.GetCallback +
  +
getClassName() - +Method in class com.parse.ParseObject +
Accessor to the class name. +
getClassName() - +Method in class com.parse.ParseQuery +
Accessor for the class name. +
getCode() - +Method in exception com.parse.ParseException +
Access the code for this error. +
getContext() - +Method in class com.parse.ParseQueryAdapter +
Return the context provided by the Activity utilizing this ParseQueryAdapter. +
getCount() - +Method in class com.parse.ParseQueryAdapter +
Overrides Adapter's ParseQueryAdapter.getCount() method to return the number of cells to + display. +
getCreatedAt() - +Method in class com.parse.ParseObject +
This reports time as the server sees it, so that if you create a ParseObject, then wait a + while, and then call save(), the creation time will be the time of the first save() call rather + than the time the object was created locally. +
getCurrentInstallation() - +Static method in class com.parse.ParseInstallation +
  +
getCurrentLocationInBackground(long, LocationCallback) - +Static method in class com.parse.ParseGeoPoint +
Fetches the user's current location and returns a new ParseGeoPoint via the provided + LocationCallback. +
getCurrentLocationInBackground(long, Criteria, LocationCallback) - +Static method in class com.parse.ParseGeoPoint +
Fetches the user's current location and returns a new ParseGeoPoint via the provided + LocationCallback. +
getCurrentUser() - +Static method in class com.parse.ParseUser +
This retrieves the currently logged in ParseUser with a valid session, either from memory or + disk if necessary. +
getData() - +Method in class com.parse.ParseFile +
Synchronously gets the data for this object. +
GetDataCallback - Class in com.parse
A GetDataCallback is used to run code after a ParseFile fetches its data on a background + thread.
GetDataCallback() - +Constructor for class com.parse.GetDataCallback +
  +
getDataInBackground(GetDataCallback, ProgressCallback) - +Method in class com.parse.ParseFile +
Gets the data for this object in a background thread. +
getDataInBackground(GetDataCallback) - +Method in class com.parse.ParseFile +
Gets the data for this object in a background thread. +
getDate(String) - +Method in class com.parse.ParseObject +
Access a Date value. +
getDouble(String) - +Method in class com.parse.ParseObject +
Access a double value. +
getEmail() - +Method in class com.parse.ParseUser +
Retrieves the email address. +
getFacebook() - +Static method in class com.parse.ParseFacebookUtils +
Deprecated.  +
getFirst() - +Method in class com.parse.ParseQuery +
Retrieves at most one ParseObject that satisfies this query. +
getFirstInBackground(GetCallback<T>) - +Method in class com.parse.ParseQuery +
Retrieves at most one ParseObject that satisfies this query from the server in a background + thread. +
getInBackground(String, GetCallback<T>) - +Method in class com.parse.ParseQuery +
Constructs a ParseObject whose id is already known by fetching data from the server in a + background thread. +
getInstallationId() - +Method in class com.parse.ParseInstallation +
Returns the unique ID of this installation. +
getInt(String) - +Method in class com.parse.ParseObject +
Access an int value. +
getItem(int) - +Method in class com.parse.ParseQueryAdapter +
+
getItemId(int) - +Method in class com.parse.ParseQueryAdapter +
+
getItemView(T, View, ViewGroup) - +Method in class com.parse.ParseQueryAdapter +
Override this method to customize each cell given a ParseObject. +
getItemViewType(int) - +Method in class com.parse.ParseQueryAdapter +
  +
getJSONArray(String) - +Method in class com.parse.ParseObject +
Access a JSONArray value. +
getJSONObject(String) - +Method in class com.parse.ParseObject +
Access a JSONObject value. +
getLatitude() - +Method in class com.parse.ParseGeoPoint +
Get latitude. +
getLimit() - +Method in class com.parse.ParseQuery +
Accessor for the limit. +
getList(String) - +Method in class com.parse.ParseObject +
Access a List value. +
getLogLevel() - +Static method in class com.parse.Parse +
Gets the level of logging that will be displayed. +
getLong(String) - +Method in class com.parse.ParseObject +
Access a long value. +
getLongitude() - +Method in class com.parse.ParseGeoPoint +
Get longitude. +
getMap(String) - +Method in class com.parse.ParseObject +
Access a Map value +
getMaxCacheAge() - +Method in class com.parse.ParseQuery +
Gets the maximum age of cached data that will be considered in this query. +
getName() - +Method in class com.parse.ParseFile +
The filename. +
getName() - +Method in class com.parse.ParseRole +
Gets the name of the role. +
getNextPageView(View, ViewGroup) - +Method in class com.parse.ParseQueryAdapter +
Override this method to customize the "Load Next Page" cell, visible when pagination is turned + on and there may be more results to display. +
getNumber(String) - +Method in class com.parse.ParseObject +
Access a numerical value. +
getObjectId() - +Method in class com.parse.ParseObject +
Accessor to the object id. +
getObjectsPerPage() - +Method in class com.parse.ParseQueryAdapter +
  +
getParseFile(String) - +Method in class com.parse.ParseObject +
Access a ParseFile value. +
getParseGeoPoint(String) - +Method in class com.parse.ParseObject +
Access a ParseGeoPoint value. +
getParseObject(String) - +Method in class com.parse.ParseObject +
Access a ParseObject value. +
getParseUser(String) - +Method in class com.parse.ParseObject +
Access a ParseUser value. +
getPublicReadAccess() - +Method in class com.parse.ParseACL +
Get whether the public is allowed to read this object. +
getPublicWriteAccess() - +Method in class com.parse.ParseACL +
Set whether the public is allowed to write this object. +
getQuery() - +Static method in class com.parse.ParseInstallation +
Constructs a query for ParseInstallations. +
getQuery(Class<T>) - +Static method in class com.parse.ParseQuery +
Creates a new query for the given ParseObject subclass type. +
getQuery(String) - +Static method in class com.parse.ParseQuery +
Creates a new query for the given class name. +
getQuery() - +Method in class com.parse.ParseRelation +
Gets a query that can be used to query the objects in this relation. +
getQuery() - +Static method in class com.parse.ParseRole +
Gets a ParseQuery over the Role collection. +
getQuery() - +Static method in class com.parse.ParseUser +
Constructs a query for ParseUsers. +
getReadAccess(String) - +Method in class com.parse.ParseACL +
Get whether the given user id is *explicitly* allowed to read this object. +
getReadAccess(ParseUser) - +Method in class com.parse.ParseACL +
Get whether the given user id is *explicitly* allowed to read this object. +
getRelation(String) - +Method in class com.parse.ParseObject +
Access or create a Relation value for a key +
getRoleReadAccess(String) - +Method in class com.parse.ParseACL +
Get whether users belonging to the role with the given roleName are allowed to read this + object. +
getRoleReadAccess(ParseRole) - +Method in class com.parse.ParseACL +
Get whether users belonging to the given role are allowed to read this object. +
getRoles() - +Method in class com.parse.ParseRole +
Gets the ParseRelation for the ParseRoles that are direct children of this + role. +
getRoleWriteAccess(String) - +Method in class com.parse.ParseACL +
Get whether users belonging to the role with the given roleName are allowed to write this + object. +
getRoleWriteAccess(ParseRole) - +Method in class com.parse.ParseACL +
Get whether users belonging to the given role are allowed to write this object. +
getSession() - +Static method in class com.parse.ParseFacebookUtils +
  +
getSessionToken() - +Method in class com.parse.ParseUser +
Retrieves the session token for a user, if they are logged in. +
getSkip() - +Method in class com.parse.ParseQuery +
Accessor for the skip value. +
getString(String) - +Method in class com.parse.ParseObject +
Access a string value. +
getSubscriptions(Context) - +Static method in class com.parse.PushService +
Accesses the current set of channels for which the current installation is subscribed. +
getTwitter() - +Static method in class com.parse.ParseTwitterUtils +
Gets the shared Twitter singleton that Parse is using. +
getUpdatedAt() - +Method in class com.parse.ParseObject +
This reports time as the server sees it, so that if you make changes to a ParseObject, then + wait a while, and then call save(), the updated time will be the time of the save() call rather + than the time the object was changed locally. +
getUrl() - +Method in class com.parse.ParseFile +
This returns the url of the file. +
getUsername() - +Method in class com.parse.ParseUser +
Retrieves the username. +
getUserQuery() - +Static method in class com.parse.ParseQuery +
Deprecated. Please use ParseUser.getQuery() instead. +
getUsers() - +Method in class com.parse.ParseRole +
Gets the ParseRelation for the ParseUsers that are direct children of this + role. +
getView(int, View, ViewGroup) - +Method in class com.parse.ParseQueryAdapter +
The base class, Adapter, defines a getView method intended to display data at + the specified position in the data set. +
getViewTypeCount() - +Method in class com.parse.ParseQueryAdapter +
  +
getWriteAccess(String) - +Method in class com.parse.ParseACL +
Get whether the given user id is *explicitly* allowed to write this object. +
getWriteAccess(ParseUser) - +Method in class com.parse.ParseACL +
Get whether the given user id is *explicitly* allowed to write this object. +
+
+

+H

+
+
has(String) - +Method in class com.parse.ParseObject +
Whether this object has a particular key. +
hasCachedResult() - +Method in class com.parse.ParseQuery +
Returns whether or not this query has a cached result. +
hasSameId(ParseObject) - +Method in class com.parse.ParseObject +
  +
+
+

+I

+
+
include(String) - +Method in class com.parse.ParseQuery +
Include nested ParseObjects for the provided key. +
INCORRECT_TYPE - +Static variable in exception com.parse.ParseException +
Error code indicating that a field was set to an inconsistent type. +
increment(String) - +Method in class com.parse.ParseObject +
Atomically increments the given key by 1. +
increment(String, Number) - +Method in class com.parse.ParseObject +
Atomically increments the given key by the given number. +
initialize(Context, String, String) - +Static method in class com.parse.Parse +
Authenticates this client as belonging to your application. +
initialize(String) - +Static method in class com.parse.ParseFacebookUtils +
Initializes Facebook for use with Parse. +
initialize(String, String) - +Static method in class com.parse.ParseTwitterUtils +
Initializes Twitter for use with Parse. +
INTERNAL_SERVER_ERROR - +Static variable in exception com.parse.ParseException +
Error code indicating that something has gone wrong with the server. +
INVALID_ACL - +Static variable in exception com.parse.ParseException +
Error code indicating an invalid ACL was provided. +
INVALID_CHANNEL_NAME - +Static variable in exception com.parse.ParseException +
Error code indicating an invalid channel name. +
INVALID_CLASS_NAME - +Static variable in exception com.parse.ParseException +
Error code indicating a missing or invalid classname. +
INVALID_EMAIL_ADDRESS - +Static variable in exception com.parse.ParseException +
Error code indicating that the email address was invalid. +
INVALID_FILE_NAME - +Static variable in exception com.parse.ParseException +
Error code indicating that an invalid filename was used for ParseFile. +
INVALID_JSON - +Static variable in exception com.parse.ParseException +
Error code indicating that badly formed JSON was received upstream. +
INVALID_KEY_NAME - +Static variable in exception com.parse.ParseException +
Error code indicating an invalid key name. +
INVALID_LINKED_SESSION - +Static variable in exception com.parse.ParseException +
Error code indicating that a user with a linked (e.g. +
INVALID_NESTED_KEY - +Static variable in exception com.parse.ParseException +
Error code indicating that an invalid key was used in a nested JSONObject. +
INVALID_POINTER - +Static variable in exception com.parse.ParseException +
Error code indicating a malformed pointer. +
INVALID_QUERY - +Static variable in exception com.parse.ParseException +
Error code indicating you tried to query with a datatype that doesn't support it, like exact + matching an array or object. +
INVALID_ROLE_NAME - +Static variable in exception com.parse.ParseException +
Error code indicating that a role's name is invalid. +
isAuthenticated() - +Method in class com.parse.ParseUser +
Whether the ParseUser has been authenticated on this device. +
isDataAvailable() - +Method in class com.parse.ParseFile +
Whether the file has available data. +
isDataAvailable() - +Method in class com.parse.ParseObject +
Gets whether the ParseObject has been fetched. +
isDirty() - +Method in class com.parse.ParseFile +
Whether the file still needs to be saved. +
isDirty() - +Method in class com.parse.ParseObject +
Whether any key-value pair in this object (or its children) has been added/updated/removed + and not saved yet. +
isDirty(String) - +Method in class com.parse.ParseObject +
Whether a value associated with a key has been added/updated/removed and not saved yet. +
isLinked(ParseUser) - +Static method in class com.parse.ParseAnonymousUtils +
Whether the user is logged in anonymously. +
isLinked(ParseUser) - +Static method in class com.parse.ParseFacebookUtils +
Returns true if the user is linked to a Facebook account. +
isLinked(ParseUser) - +Static method in class com.parse.ParseTwitterUtils +
Returns true if the user is linked to a Twitter account. +
isNew() - +Method in class com.parse.ParseUser +
Indicates whether this ParseUser was created during this session through a call to + ParseUser.signUp() or by logging in with a linked service such as Facebook. +
+
+

+K

+
+
keySet() - +Method in class com.parse.ParseObject +
Returns a set view of the keys contained in this object. +
+
+

+L

+
+
link(ParseUser, String, String, Date) - +Static method in class com.parse.ParseFacebookUtils +
  +
link(ParseUser, String, String, Date, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user. +
link(ParseUser, Collection<String>, Activity, int, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and + providing access to Facebook data for the user. +
link(ParseUser, Collection<String>, Activity, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
Links a user using the default activity code if single sign-on is enabled. +
link(ParseUser, Collection<String>, Activity, int) - +Static method in class com.parse.ParseFacebookUtils +
  +
link(ParseUser, Collection<String>, Activity) - +Static method in class com.parse.ParseFacebookUtils +
  +
link(ParseUser, Activity, int, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
  +
link(ParseUser, Activity, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
  +
link(ParseUser, Activity, int) - +Static method in class com.parse.ParseFacebookUtils +
  +
link(ParseUser, Activity) - +Static method in class com.parse.ParseFacebookUtils +
  +
link(ParseUser, Context) - +Static method in class com.parse.ParseTwitterUtils +
  +
link(ParseUser, Context, SaveCallback) - +Static method in class com.parse.ParseTwitterUtils +
Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user. +
link(ParseUser, String, String, String, String) - +Static method in class com.parse.ParseTwitterUtils +
  +
link(ParseUser, String, String, String, String, SaveCallback) - +Static method in class com.parse.ParseTwitterUtils +
Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and + providing access to Twitter data for the user. +
LINKED_ID_MISSING - +Static variable in exception com.parse.ParseException +
Error code indicating that a user cannot be linked to an account because that account's id + could not be found. +
loadInBackground() - +Method in class com.parse.ParseImageView +
Kick off downloading of remote image. +
loadInBackground(GetDataCallback) - +Method in class com.parse.ParseImageView +
Kick off downloading of remote image. +
loadNextPage() - +Method in class com.parse.ParseQueryAdapter +
Loads the next page of objects, appends to table, and notifies the UI that the model has + changed. +
loadObjects() - +Method in class com.parse.ParseQueryAdapter +
Clears the table and loads the first page of objects asynchronously. +
LocationCallback - Class in com.parse
A LocationCallback is used to run code after a Location has been fetched by some + LocationProvider.
LocationCallback() - +Constructor for class com.parse.LocationCallback +
  +
LOG_LEVEL_DEBUG - +Static variable in class com.parse.Parse +
  +
LOG_LEVEL_ERROR - +Static variable in class com.parse.Parse +
  +
LOG_LEVEL_INFO - +Static variable in class com.parse.Parse +
  +
LOG_LEVEL_NONE - +Static variable in class com.parse.Parse +
  +
LOG_LEVEL_VERBOSE - +Static variable in class com.parse.Parse +
  +
LOG_LEVEL_WARNING - +Static variable in class com.parse.Parse +
  +
logIn(LogInCallback) - +Static method in class com.parse.ParseAnonymousUtils +
Creates an anonymous user. +
logIn(String, String, Date, LogInCallback) - +Static method in class com.parse.ParseFacebookUtils +
Logs in a ParseUser using Facebook for authentication. +
logIn(Collection<String>, Activity, int, LogInCallback) - +Static method in class com.parse.ParseFacebookUtils +
Logs in a ParseUser using Facebook for authentication. +
logIn(Activity, int, LogInCallback) - +Static method in class com.parse.ParseFacebookUtils +
  +
logIn(Collection<String>, Activity, LogInCallback) - +Static method in class com.parse.ParseFacebookUtils +
Logs in a user using the default activity code if single sign-on is enabled. +
logIn(Activity, LogInCallback) - +Static method in class com.parse.ParseFacebookUtils +
  +
logIn(String, String, String, String, LogInCallback) - +Static method in class com.parse.ParseTwitterUtils +
Logs in a ParseUser using Twitter for authentication. +
logIn(Context, LogInCallback) - +Static method in class com.parse.ParseTwitterUtils +
Logs in a ParseUser using Twitter for authentication. +
logIn(String, String) - +Static method in class com.parse.ParseUser +
Logs in a user with a username and password. +
LogInCallback - Class in com.parse
A LogInCallback is used to run code after logging in a user.
LogInCallback() - +Constructor for class com.parse.LogInCallback +
  +
logInInBackground(String, String, LogInCallback) - +Static method in class com.parse.ParseUser +
Logs in a user with a username and password. +
logOut() - +Static method in class com.parse.ParseUser +
Logs out the currently logged in user session. +
+
+

+M

+
+
MISSING_OBJECT_ID - +Static variable in exception com.parse.ParseException +
Error code indicating an unspecified object id. +
MUST_CREATE_USER_THROUGH_SIGNUP - +Static variable in exception com.parse.ParseException +
Error code indicating that a user can only be created through signup. +
+
+

+N

+
+
NOT_INITIALIZED - +Static variable in exception com.parse.ParseException +
You must call Parse.initialize before using the Parse library. +
+
+

+O

+
+
OBJECT_NOT_FOUND - +Static variable in exception com.parse.ParseException +
Error code indicating the specified object doesn't exist. +
OBJECT_TOO_LARGE - +Static variable in exception com.parse.ParseException +
Error code indicating that the object is too large. +
onBind(Intent) - +Method in class com.parse.PushService +
onBind should not be called directly. +
onCreate() - +Method in class com.parse.PushService +
Client code should not call onCreate directly. +
onDestroy() - +Method in class com.parse.PushService +
Client code should not call onDestroy directly. +
onDetachedFromWindow() - +Method in class com.parse.ParseImageView +
  +
onLoaded(List<T>, Exception) - +Method in interface com.parse.ParseQueryAdapter.OnQueryLoadListener +
  +
onLoading() - +Method in interface com.parse.ParseQueryAdapter.OnQueryLoadListener +
  +
onStartCommand(Intent, int, int) - +Method in class com.parse.PushService +
  +
OPERATION_FORBIDDEN - +Static variable in exception com.parse.ParseException +
Error code indicating that the operation isn't allowed for clients. +
or(List<ParseQuery<T>>) - +Static method in class com.parse.ParseQuery +
Constructs a query that is the or of the given queries. +
orderByAscending(String) - +Method in class com.parse.ParseQuery +
Sorts the results in ascending order by the given key. +
orderByDescending(String) - +Method in class com.parse.ParseQuery +
Sorts the results in descending order by the given key. +
OTHER_CAUSE - +Static variable in exception com.parse.ParseException +
  +
+
+

+P

+
+
Parse - Class in com.parse
The Parse class contains static functions that handle global configuration for the Parse library.
ParseACL - Class in com.parse
A ParseACL is used to control which users can access or modify a particular object.
ParseACL() - +Constructor for class com.parse.ParseACL +
Creates an ACL with no permissions granted. +
ParseACL(ParseUser) - +Constructor for class com.parse.ParseACL +
Creates an ACL where only the provided user has access. +
ParseAnalytics - Class in com.parse
The ParseAnalytics class provides an interface to Parse's logging and analytics backend.
ParseAnalytics() - +Constructor for class com.parse.ParseAnalytics +
  +
ParseAnonymousUtils - Class in com.parse
Provides utility functions for working with Anonymously logged-in users.
ParseClassName - Annotation Type in com.parse
Associates a class name for a subclass of ParseObject.
ParseCloud - Class in com.parse
The ParseCloud class defines provides methods for interacting with Parse Cloud Functions.
ParseCloud() - +Constructor for class com.parse.ParseCloud +
  +
ParseException - Exception in com.parse
A ParseException gets raised whenever a ParseObject issues an invalid request, such as + deleting or editing an object that no longer exists on the server, or when there is a network + failure preventing communication with the Parse server.
ParseException(int, String) - +Constructor for exception com.parse.ParseException +
Construct a new ParseException with a particular error code. +
ParseException(String, Throwable) - +Constructor for exception com.parse.ParseException +
Construct a new ParseException with an external cause. +
ParseException(Throwable) - +Constructor for exception com.parse.ParseException +
Construct a new ParseException with an external cause. +
ParseFacebookUtils - Class in com.parse
Provides a set of utilities for using Parse with Facebook.
ParseFile - Class in com.parse
ParseFile is a local representation of a file that is saved to the Parse cloud.
ParseFile(String, byte[], String) - +Constructor for class com.parse.ParseFile +
Creates a new file from a byte array, file name, and content type. +
ParseFile(byte[]) - +Constructor for class com.parse.ParseFile +
Creates a new file from a byte array. +
ParseFile(String, byte[]) - +Constructor for class com.parse.ParseFile +
Creates a new file from a byte array and a name. +
ParseFile(byte[], String) - +Constructor for class com.parse.ParseFile +
Creates a new file from a byte array, and content type. +
ParseGeoPoint - Class in com.parse
ParseGeoPoint represents a latitude / longitude point that may be associated with a key in a + ParseObject or used as a reference point for geo queries.
ParseGeoPoint() - +Constructor for class com.parse.ParseGeoPoint +
Creates a new default point with latitude and longitude set to 0.0. +
ParseGeoPoint(double, double) - +Constructor for class com.parse.ParseGeoPoint +
Creates a new point with the specified latitude and longitude. +
ParseImageView - Class in com.parse
A specialized ImageView that downloads and displays remote images stored on Parse's + servers.
ParseImageView(Context) - +Constructor for class com.parse.ParseImageView +
Simple constructor to use when creating a ParseImageView from code. +
ParseImageView(Context, AttributeSet) - +Constructor for class com.parse.ParseImageView +
Constructor that is called when inflating a ParseImageView from XML. +
ParseImageView(Context, AttributeSet, int) - +Constructor for class com.parse.ParseImageView +
Perform inflation from XML and apply a class-specific base style. +
ParseInstallation - Class in com.parse
 
ParseInstallation() - +Constructor for class com.parse.ParseInstallation +
  +
ParseObject - Class in com.parse
The ParseObject is a local representation of data that can be saved and retrieved from the Parse + cloud.
ParseObject() - +Constructor for class com.parse.ParseObject +
The base class constructor to call in subclasses. +
ParseObject(String) - +Constructor for class com.parse.ParseObject +
Constructs a new ParseObject with no data in it. +
ParsePush - Class in com.parse
The ParsePush is a local representation of data that can be sent as a push notification.
ParsePush() - +Constructor for class com.parse.ParsePush +
Creates a new push notification. +
ParseQuery<T extends ParseObject> - Class in com.parse
The ParseQuery class defines a query that is used to fetch ParseObjects.
ParseQuery(Class<T>) - +Constructor for class com.parse.ParseQuery +
Constructs a query for a ParseObject subclass type. +
ParseQuery(String) - +Constructor for class com.parse.ParseQuery +
Constructs a query. +
ParseQuery.CachePolicy - Enum in com.parse
 
ParseQueryAdapter<T extends ParseObject> - Class in com.parse
A ParseQueryAdapter handles the fetching of objects by page, and displaying objects as views in a + ListView.
ParseQueryAdapter(Context, Class<? extends ParseObject>) - +Constructor for class com.parse.ParseQueryAdapter +
Constructs a ParseQueryAdapter. +
ParseQueryAdapter(Context, String) - +Constructor for class com.parse.ParseQueryAdapter +
Constructs a ParseQueryAdapter. +
ParseQueryAdapter(Context, Class<? extends ParseObject>, int) - +Constructor for class com.parse.ParseQueryAdapter +
Constructs a ParseQueryAdapter. +
ParseQueryAdapter(Context, String, int) - +Constructor for class com.parse.ParseQueryAdapter +
Constructs a ParseQueryAdapter. +
ParseQueryAdapter(Context, ParseQueryAdapter.QueryFactory<T>) - +Constructor for class com.parse.ParseQueryAdapter +
Constructs a ParseQueryAdapter. +
ParseQueryAdapter(Context, ParseQueryAdapter.QueryFactory<T>, int) - +Constructor for class com.parse.ParseQueryAdapter +
Constructs a ParseQueryAdapter. +
ParseQueryAdapter.OnQueryLoadListener<T extends ParseObject> - Interface in com.parse
Implement with logic that is called before and after objects are fetched from Parse by the + adapter.
ParseQueryAdapter.QueryFactory<T extends ParseObject> - Interface in com.parse
Implement to construct your own custom ParseQuery for fetching objects.
ParseRelation<T extends ParseObject> - Class in com.parse
A class that is used to access all of the children of a many-to-many relationship.
ParseRole - Class in com.parse
Represents a Role on the Parse server.
ParseRole(String) - +Constructor for class com.parse.ParseRole +
Constructs a new ParseRole with the given name. +
ParseRole(String, ParseACL) - +Constructor for class com.parse.ParseRole +
Constructs a new ParseRole with the given name. +
ParseTwitterUtils - Class in com.parse
 
ParseUser - Class in com.parse
 
ParseUser() - +Constructor for class com.parse.ParseUser +
Constructs a new ParseUser with no data in it. +
PASSWORD_MISSING - +Static variable in exception com.parse.ParseException +
Error code indicating that the password is missing or empty. +
ProgressCallback - Class in com.parse
A ProgressCallback is used to get progress of an operation.
ProgressCallback() - +Constructor for class com.parse.ProgressCallback +
  +
PUSH_MISCONFIGURED - +Static variable in exception com.parse.ParseException +
Error code indicating that push is misconfigured. +
PushService - Class in com.parse
A service to listen for push notifications.
PushService() - +Constructor for class com.parse.PushService +
Client code should not construct a PushService directly. +
put(String, Object) - +Method in class com.parse.ParseInstallation +
  +
put(String, Object) - +Method in class com.parse.ParseObject +
Add a key-value pair to this object. +
put(String, Object) - +Method in class com.parse.ParseRole +
  +
put(String, Object) - +Method in class com.parse.ParseUser +
  +
+
+

+R

+
+
refresh() - +Method in class com.parse.ParseObject +
Refreshes this object with the data from the server. +
RefreshCallback - Class in com.parse
A RefreshCallback is used to run code after refresh is used to update a ParseObject in a + background thread.
RefreshCallback() - +Constructor for class com.parse.RefreshCallback +
  +
refreshInBackground(RefreshCallback) - +Method in class com.parse.ParseObject +
Refreshes this object with the data from the server in a background thread. +
registerDataSetObserver(DataSetObserver) - +Method in class com.parse.ParseQueryAdapter +
  +
registerSubclass(Class<? extends ParseObject>) - +Static method in class com.parse.ParseObject +
Registers a custom subclass type with the Parse SDK, enabling strong-typing of those + ParseObjects whenever they appear. +
remove(String) - +Method in class com.parse.ParseInstallation +
  +
remove(String) - +Method in class com.parse.ParseObject +
Removes a key from this object's data if it exists. +
remove(T) - +Method in class com.parse.ParseRelation +
Removes an object from this relation. +
remove(String) - +Method in class com.parse.ParseUser +
  +
removeAll(String, Collection<?>) - +Method in class com.parse.ParseObject +
Atomically removes all instances of the objects contained in a Collection from the + array associated with a given key. +
removeOnQueryLoadListener(ParseQueryAdapter.OnQueryLoadListener<T>) - +Method in class com.parse.ParseQueryAdapter +
  +
requestPasswordReset(String) - +Static method in class com.parse.ParseUser +
Requests a password reset email to be sent to the specified email address associated with the + user account. +
RequestPasswordResetCallback - Class in com.parse
A RequestPasswordResetCallback is used to run code requesting a password reset for a user.
RequestPasswordResetCallback() - +Constructor for class com.parse.RequestPasswordResetCallback +
  +
requestPasswordResetInBackground(String, RequestPasswordResetCallback) - +Static method in class com.parse.ParseUser +
Requests a password reset email to be sent in a background thread to the specified email + address associated with the user account. +
+
+

+S

+
+
save() - +Method in class com.parse.ParseFile +
Saves the file to the Parse cloud synchronously. +
save() - +Method in class com.parse.ParseObject +
Saves this object to the server. +
saveAll(List<ParseObject>) - +Static method in class com.parse.ParseObject +
Saves each object in the provided list. +
saveAllInBackground(List<ParseObject>, SaveCallback) - +Static method in class com.parse.ParseObject +
Saves each object in the provided list to the server in a background thread. +
saveAllInBackground(List<ParseObject>) - +Static method in class com.parse.ParseObject +
Saves each object to the server in a background thread. +
SaveCallback - Class in com.parse
A SaveCallback is used to run code after saving a ParseObject in a background thread.
SaveCallback() - +Constructor for class com.parse.SaveCallback +
  +
saveEventually(SaveCallback) - +Method in class com.parse.ParseInstallation +
  +
saveEventually() - +Method in class com.parse.ParseObject +
Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible. +
saveEventually(SaveCallback) - +Method in class com.parse.ParseObject +
Saves this object to the server at some unspecified time in the future, even if Parse is + currently inaccessible. +
saveInBackground(SaveCallback, ProgressCallback) - +Method in class com.parse.ParseFile +
Saves the file to the Parse cloud in a background thread. +
saveInBackground(SaveCallback) - +Method in class com.parse.ParseFile +
Saves the file to the Parse cloud in a background thread. +
saveInBackground() - +Method in class com.parse.ParseFile +
Saves the file to the Parse cloud in a background thread. +
saveInBackground(SaveCallback) - +Method in class com.parse.ParseObject +
Saves this object to the server in a background thread. +
saveInBackground() - +Method in class com.parse.ParseObject +
Saves this object to the server in a background thread. +
saveLatestSessionData(ParseUser, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
Saves the latest session data to the user. +
saveLatestSessionData(ParseUser) - +Static method in class com.parse.ParseFacebookUtils +
  +
SCRIPT_ERROR - +Static variable in exception com.parse.ParseException +
Error code indicating that a Cloud Code script failed. +
selectKeys(Collection<String>) - +Method in class com.parse.ParseQuery +
Restrict the fields of returned ParseObjects to only include the provided keys. +
send() - +Method in class com.parse.ParsePush +
Sends this push notification while blocking this thread until the push notification has + successfully reached the Parse servers. +
SendCallback - Class in com.parse
A SendCallback is used to run code after sending a ParsePush in a background thread.
SendCallback() - +Constructor for class com.parse.SendCallback +
  +
sendDataInBackground(JSONObject, ParseQuery<ParseInstallation>) - +Static method in class com.parse.ParsePush +
A helper method to concisely send a push to a query. +
sendDataInBackground(JSONObject, ParseQuery<ParseInstallation>, SendCallback) - +Static method in class com.parse.ParsePush +
A helper method to concisely send a push to a query. +
sendInBackground(SendCallback) - +Method in class com.parse.ParsePush +
Sends this push notification in a background thread. +
sendInBackground() - +Method in class com.parse.ParsePush +
Sends this push notification in a background thread. +
sendMessageInBackground(String, ParseQuery<ParseInstallation>) - +Static method in class com.parse.ParsePush +
A helper method to concisely send a push message to a query. +
sendMessageInBackground(String, ParseQuery<ParseInstallation>, SendCallback) - +Static method in class com.parse.ParsePush +
A helper method to concisely send a push message to a query. +
SESSION_MISSING - +Static variable in exception com.parse.ParseException +
Error code indicating that a user object without a valid session could not be altered. +
setACL(ParseACL) - +Method in class com.parse.ParseObject +
Set the ParseACL governing this object. +
setAutoload(boolean) - +Method in class com.parse.ParseQueryAdapter +
Enable or disable the automatic loading of results upon attachment to an AdapterView. +
setCachePolicy(ParseQuery.CachePolicy) - +Method in class com.parse.ParseQuery +
Change the caching policy of this query. +
setChannel(String) - +Method in class com.parse.ParsePush +
Sets the channel on which this push notification will be sent. +
setChannels(Collection<String>) - +Method in class com.parse.ParsePush +
Sets the collection of channels on which this push notification will be sent. +
setData(JSONObject) - +Method in class com.parse.ParsePush +
Sets the entire data of the push message. +
setDefaultACL(ParseACL, boolean) - +Static method in class com.parse.ParseACL +
Sets a default ACL that will be applied to all ParseObjects when they are created. +
setDefaultPushCallback(Context, Class<? extends Activity>) - +Static method in class com.parse.PushService +
Provides a default Activity class to handle pushes. +
setDefaultPushCallback(Context, Class<? extends Activity>, int) - +Static method in class com.parse.PushService +
Provides a default Activity class to handle pushes. +
setEmail(String) - +Method in class com.parse.ParseUser +
Sets the email address. +
setExpirationTime(long) - +Method in class com.parse.ParsePush +
Sets a UNIX epoch timestamp at which this notification should expire, in seconds (UTC). +
setExpirationTimeInterval(long) - +Method in class com.parse.ParsePush +
Sets the time interval after which this notification should expire, in seconds. +
setImageBitmap(Bitmap) - +Method in class com.parse.ParseImageView +
  +
setImageKey(String) - +Method in class com.parse.ParseQueryAdapter +
  +
setLatitude(double) - +Method in class com.parse.ParseGeoPoint +
Set latitude. +
setLimit(int) - +Method in class com.parse.ParseQuery +
Controls the maximum number of results that are returned. +
setLogLevel(int) - +Static method in class com.parse.Parse +
Sets the level of logging to display, where each level includes all those below it. +
setLongitude(double) - +Method in class com.parse.ParseGeoPoint +
Set longitude. +
setMaxCacheAge(long) - +Method in class com.parse.ParseQuery +
Sets the maximum age of cached data that will be considered in this query. +
setMessage(String) - +Method in class com.parse.ParsePush +
Sets the message that will be shown in the notification. +
setName(String) - +Method in class com.parse.ParseRole +
Sets the name for a role. +
setObjectId(String) - +Method in class com.parse.ParseObject +
Setter for the object id. +
setObjectsPerPage(int) - +Method in class com.parse.ParseQueryAdapter +
  +
setPageOnQuery(int, ParseQuery<T>) - +Method in class com.parse.ParseQueryAdapter +
Override this method to manually paginate the provided ParseQuery. +
setPaginationEnabled(boolean) - +Method in class com.parse.ParseQueryAdapter +
Enable or disable pagination of results. +
setParseFile(ParseFile) - +Method in class com.parse.ParseImageView +
Sets the remote file on Parse's server that stores the image. +
setPassword(String) - +Method in class com.parse.ParseUser +
Sets the password. +
setPlaceholder(Drawable) - +Method in class com.parse.ParseImageView +
Sets the placeholder to be used while waiting for an image to be loaded. +
setPlaceholder(Drawable) - +Method in class com.parse.ParseQueryAdapter +
Sets a placeholder image to be used when fetching data for each item in the AdapterView + . +
setPublicReadAccess(boolean) - +Method in class com.parse.ParseACL +
Set whether the public is allowed to read this object. +
setPublicWriteAccess(boolean) - +Method in class com.parse.ParseACL +
Set whether the public is allowed to write this object. +
setPushToAndroid(boolean) - +Method in class com.parse.ParsePush +
Deprecated.  +
setPushToIOS(boolean) - +Method in class com.parse.ParsePush +
Deprecated.  +
setQuery(ParseQuery<ParseInstallation>) - +Method in class com.parse.ParsePush +
Sets the query for this push for which this push notification will be sent. +
setReadAccess(String, boolean) - +Method in class com.parse.ParseACL +
Set whether the given user id is allowed to read this object. +
setReadAccess(ParseUser, boolean) - +Method in class com.parse.ParseACL +
Set whether the given user is allowed to read this object. +
setRoleReadAccess(String, boolean) - +Method in class com.parse.ParseACL +
Set whether users belonging to the role with the given roleName are allowed to read this + object. +
setRoleReadAccess(ParseRole, boolean) - +Method in class com.parse.ParseACL +
Set whether users belonging to the given role are allowed to read this object. +
setRoleWriteAccess(String, boolean) - +Method in class com.parse.ParseACL +
Set whether users belonging to the role with the given roleName are allowed to write this + object. +
setRoleWriteAccess(ParseRole, boolean) - +Method in class com.parse.ParseACL +
Set whether users belonging to the given role are allowed to write this object. +
setSkip(int) - +Method in class com.parse.ParseQuery +
Controls the number of results to skip before returning any results. +
setTextKey(String) - +Method in class com.parse.ParseQueryAdapter +
  +
setTrace(boolean) - +Method in class com.parse.ParseQuery +
Turn on performance tracing of finds. +
setUsername(String) - +Method in class com.parse.ParseUser +
Sets the username. +
setWriteAccess(String, boolean) - +Method in class com.parse.ParseACL +
Set whether the given user id is allowed to write this object. +
setWriteAccess(ParseUser, boolean) - +Method in class com.parse.ParseACL +
Set whether the given user is allowed to write this object. +
shouldExtendAccessToken(ParseUser) - +Static method in class com.parse.ParseFacebookUtils +
Deprecated.  +
signUp() - +Method in class com.parse.ParseUser +
Signs up a new user. +
SignUpCallback - Class in com.parse
A SignUpCallback is used to run code after signing up a ParseUser in a background thread.
SignUpCallback() - +Constructor for class com.parse.SignUpCallback +
  +
signUpInBackground(SignUpCallback) - +Method in class com.parse.ParseUser +
Signs up a new user. +
startServiceIfRequired(Context) - +Static method in class com.parse.PushService +
  +
subscribe(Context, String, Class<? extends Activity>) - +Static method in class com.parse.PushService +
Helper function to subscribe to push notifications with the default application icon. +
subscribe(Context, String, Class<? extends Activity>, int) - +Static method in class com.parse.PushService +
Call this function when the user should be subscribed to a new push channel. +
+
+

+T

+
+
TIMEOUT - +Static variable in exception com.parse.ParseException +
Error code indicating that the request timed out on the server. +
trackAppOpened(Intent) - +Static method in class com.parse.ParseAnalytics +
Tracks this application being launched (and if this happened as the result of the user opening + a push notification, this method sends along information to correlate this open with that + push). +
trackEvent(String) - +Static method in class com.parse.ParseAnalytics +
Tracks the occurrence of a custom event. +
trackEvent(String, Map<String, String>) - +Static method in class com.parse.ParseAnalytics +
Tracks the occurrence of a custom event with additional dimensions. +
+
+

+U

+
+
unlink(ParseUser) - +Static method in class com.parse.ParseFacebookUtils +
Unlinks a user from a Facebook account. +
unlink(ParseUser) - +Static method in class com.parse.ParseTwitterUtils +
Unlinks a user from a Twitter account. +
unlinkInBackground(ParseUser) - +Static method in class com.parse.ParseFacebookUtils +
  +
unlinkInBackground(ParseUser, SaveCallback) - +Static method in class com.parse.ParseFacebookUtils +
Unlinks a user from a Facebook account in the background. +
unlinkInBackground(ParseUser) - +Static method in class com.parse.ParseTwitterUtils +
  +
unlinkInBackground(ParseUser, SaveCallback) - +Static method in class com.parse.ParseTwitterUtils +
Unlinks a user from a Twitter account in the background. +
unregisterDataSetObserver(DataSetObserver) - +Method in class com.parse.ParseQueryAdapter +
  +
unsubscribe(Context, String) - +Static method in class com.parse.PushService +
Cancels a previous call to subscribe. +
UNSUPPORTED_SERVICE - +Static variable in exception com.parse.ParseException +
Error code indicating that a service being linked (e.g. +
USERNAME_MISSING - +Static variable in exception com.parse.ParseException +
Error code indicating that the username is missing or empty. +
USERNAME_TAKEN - +Static variable in exception com.parse.ParseException +
Error code indicating that the username has already been taken. +
+
+

+V

+
+
validateSave() - +Method in class com.parse.ParseRole +
  +
VALIDATION_ERROR - +Static variable in exception com.parse.ParseException +
Error code indicating that cloud code validation failed. +
valueOf(String) - +Static method in enum com.parse.ParseQuery.CachePolicy +
Returns the enum constant of this type with the specified name. +
values() - +Static method in enum com.parse.ParseQuery.CachePolicy +
Returns an array containing the constants of this enum type, in +the order they are declared. +
+
+

+W

+
+
whereContainedIn(String, Collection<? extends Object>) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value to be contained in the + provided list of values. +
whereContains(String, String) - +Method in class com.parse.ParseQuery +
Add a constraint for finding string values that contain a provided string. +
whereContainsAll(String, Collection<?>) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value match another ParseQuery. +
whereDoesNotExist(String) - +Method in class com.parse.ParseQuery +
Add a constraint for finding objects that do not contain a given key. +
whereDoesNotMatchKeyInQuery(String, String, ParseQuery<?>) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value does not match any value + for a key in the results of another ParseQuery. +
whereDoesNotMatchQuery(String, ParseQuery<?>) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value does not match another + ParseQuery. +
whereEndsWith(String, String) - +Method in class com.parse.ParseQuery +
Add a constraint for finding string values that end with a provided string. +
whereEqualTo(String, Object) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value to be equal to the + provided value. +
whereExists(String) - +Method in class com.parse.ParseQuery +
Add a constraint for finding objects that contain the given key. +
whereGreaterThan(String, Object) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value to be greater than the + provided value. +
whereGreaterThanOrEqualTo(String, Object) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value to be greater than or + equal to the provided value. +
whereLessThan(String, Object) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value to be less than the + provided value. +
whereLessThanOrEqualTo(String, Object) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value to be less than or equal + to the provided value. +
whereMatches(String, String) - +Method in class com.parse.ParseQuery +
Add a regular expression constraint for finding string values that match the provided regular + expression. +
whereMatches(String, String, String) - +Method in class com.parse.ParseQuery +
Add a regular expression constraint for finding string values that match the provided regular + expression. +
whereMatchesKeyInQuery(String, String, ParseQuery<?>) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value matches a value for a key + in the results of another ParseQuery +
whereMatchesQuery(String, ParseQuery<?>) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value match another ParseQuery. +
whereNear(String, ParseGeoPoint) - +Method in class com.parse.ParseQuery +
Add a proximity based constraint for finding objects with key point values near the point + given. +
whereNotContainedIn(String, Collection<? extends Object>) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value not be contained in the + provided list of values. +
whereNotEqualTo(String, Object) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's value to be not equal to the + provided value. +
whereStartsWith(String, String) - +Method in class com.parse.ParseQuery +
Add a constraint for finding string values that start with a provided string. +
whereWithinGeoBox(String, ParseGeoPoint, ParseGeoPoint) - +Method in class com.parse.ParseQuery +
Add a constraint to the query that requires a particular key's coordinates be contained within + a given rectangular geographic bounding box. +
whereWithinKilometers(String, ParseGeoPoint, double) - +Method in class com.parse.ParseQuery +
Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given. +
whereWithinMiles(String, ParseGeoPoint, double) - +Method in class com.parse.ParseQuery +
Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given. +
whereWithinRadians(String, ParseGeoPoint, double) - +Method in class com.parse.ParseQuery +
Add a proximity based constraint for finding objects with key point values near the point given + and within the maximum distance given. +
+
+A B C D E F G H I K L M N O P R S T U V W + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/index.html b/TodoListManager/libs/Parse-1.4.2-javadoc/index.html new file mode 100644 index 0000000..16741af --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/index.html @@ -0,0 +1,69 @@ + + + + + +Generated Documentation (Untitled) + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="com/parse/package-summary.html">Non-frame version.</A> + + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/overview-tree.html b/TodoListManager/libs/Parse-1.4.2-javadoc/overview-tree.html new file mode 100644 index 0000000..ce52c78 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/overview-tree.html @@ -0,0 +1,191 @@ + + + + + +Class Hierarchy + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
com.parse
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Annotation Type Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/package-list b/TodoListManager/libs/Parse-1.4.2-javadoc/package-list new file mode 100644 index 0000000..efe1501 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/package-list @@ -0,0 +1 @@ +com.parse diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/resources/inherit.gif b/TodoListManager/libs/Parse-1.4.2-javadoc/resources/inherit.gif new file mode 100644 index 0000000..c814867 Binary files /dev/null and b/TodoListManager/libs/Parse-1.4.2-javadoc/resources/inherit.gif differ diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/serialized-form.html b/TodoListManager/libs/Parse-1.4.2-javadoc/serialized-form.html new file mode 100644 index 0000000..a851274 --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/serialized-form.html @@ -0,0 +1,178 @@ + + + + + +Serialized Form + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package com.parse
+ +

+ + + + + +
+Class com.parse.ParseException extends Exception implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+code

+
+int code
+
+
+
+
+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/TodoListManager/libs/Parse-1.4.2-javadoc/style.css b/TodoListManager/libs/Parse-1.4.2-javadoc/style.css new file mode 100644 index 0000000..101d1ec --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2-javadoc/style.css @@ -0,0 +1,136 @@ +/* Javadoc style sheet for Parse, by Christophe TAUZIET */ + +html, body, frame { + background-color: #FFFFFF; + color:#000000; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + margin: 0px; + padding: 10px; + +} + +h1, h2, h3 { + color: #555555; +} + +h1 { + font-size: 145%; +} + +a:link { + line-height: 14px; + font-weight: bold; + text-decoration: none; + color: #444444; +} +a:visited { + color: #777777; + text-decoration: none; + font-weight: bold; +} +a:hover { + border-bottom: 2px solid #666666; +} +hr{ + display: none; +} + +table:nth-child(4) { + margin: -20px 0 0 -20px; +} + +/* Table colors */ +.TableHeadingColor { + padding: 5px 0px; + background-color: #1789BA; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #1789BA), color-stop(100%, #0A67A0)); + background-image: -webkit-linear-gradient(#1789BA, #0A67A0); + background-image: -moz-linear-gradient(#1789BA, #0A67A0); + background-image: -o-linear-gradient(#1789BA, #0A67A0); + background-image: -ms-linear-gradient(#1789BA, #0A67A0); + background-image: linear-gradient(#1789BA, #0A67A0); + -moz-box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0px 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0px 0; + -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0px 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0px 0; + -o-box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0px 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0px 0; + box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0px 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0px 0; + color: white; + text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0; + font-size: 20px; + text-align: center; + font-weight: 200; +} + +.TableHeadingColor b { + font-weight: 200; +} + +.TableHeadingColor th { + padding-left: 15px; +} + +.TableHeadingColor a:link, .TableHeadingColor a:visited { + color: #bbbbbb; +} +.TableHeadingColor a:hover { + border: none; + background-color:#666666; +} +.TableSubHeadingColor { + background: #EEEEEE; + color:#000000; +} +.TableRowColor { + background: #FFFFFF; + color:#000000; +} +.FrameTitleFont { + font-size: 100%; + color: #000000; +} +.FrameHeadingFont { + font-size: 90%; + color:#000000; +} +.FrameItemFont { + font-size: 90%; + color:#000000; +} + +.NavBarCell1 { + padding: 10px 10px 10px 20px; + background-color: #1789BA; + background-image: -webkit-linear-gradient(#1789BA, #0A67A0); + background-image: -moz-linear-gradient(#1789BA, #0A67A0); + background-image: -o-linear-gradient(#1789BA, #0A67A0); + background-image: -ms-linear-gradient(#1789BA, #0A67A0); + background-image: linear-gradient(#1789BA, #0A67A0); + -moz-box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0px 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0px 0; + -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0px 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0px 0; + -o-box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0px 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0px 0; + box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0px 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0px 0; + border: 1px solid #363636; + color: white; + text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0; + font-size: 20px; +} + +.NavBarCell1 a:hover { + border: none; +} +.NavBarCell1Rev { + background-color: #0A67A0; + background-image: -webkit-linear-gradient(#0A67A0, #1789BA); + background-image: -moz-linear-gradient(#0A67A0, #1789BA); + background-image: -o-linear-gradient(#0A67A0, #1789BA); + background-image: -ms-linear-gradient(#0A67A0, #1789BA); + background-image: linear-gradient(#0A67A0, #1789BA); + border: 1px solid #363636; + padding: 10px 10px 10px 10px; +} +.NavBarFont1, .NavBarFont1Rev { + color:#FFFFFF; +} +.NavBarCell2, .NavBarCell3 { + background-color:#FFFFFF; + color:#000000; +} \ No newline at end of file diff --git a/TodoListManager/libs/Parse-1.4.2.jar b/TodoListManager/libs/Parse-1.4.2.jar new file mode 100644 index 0000000..c52ce6e Binary files /dev/null and b/TodoListManager/libs/Parse-1.4.2.jar differ diff --git a/TodoListManager/libs/Parse-1.4.2.jar.properties b/TodoListManager/libs/Parse-1.4.2.jar.properties new file mode 100644 index 0000000..b7f319b --- /dev/null +++ b/TodoListManager/libs/Parse-1.4.2.jar.properties @@ -0,0 +1 @@ +doc=Parse-1.4.2-javadoc diff --git a/TodoListManager/libs/third_party_licenses.txt b/TodoListManager/libs/third_party_licenses.txt new file mode 100644 index 0000000..234c642 --- /dev/null +++ b/TodoListManager/libs/third_party_licenses.txt @@ -0,0 +1,622 @@ +THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THE PARSE PRODUCT. + +----- + +The following software may be included in this product: Apache Jakarta Commons Codec. This software contains the following license and notice below: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +----- + +The following software may be included in this product: oauth-signpost. This software contains the following license and notice below: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +----- + +The following software may be included in this product: Apache Commons IO. This software contains the following license and notice below: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/TodoListManager/src/il/ac/huji/todolist/ActionTaskDialog.java b/TodoListManager/src/il/ac/huji/todolist/ActionTaskDialog.java index d5c1c8d..8d1ecef 100644 --- a/TodoListManager/src/il/ac/huji/todolist/ActionTaskDialog.java +++ b/TodoListManager/src/il/ac/huji/todolist/ActionTaskDialog.java @@ -25,10 +25,10 @@ public class ActionTaskDialog extends DialogFragment { private static final int CALL_POS = 1; private int _pos; // position of the task in the list - private String _task; // the long-pressed task + private TodoTask _task; // the long-pressed task @SuppressLint("ValidFragment") - public ActionTaskDialog(int pos, String task) { + public ActionTaskDialog(int pos, TodoTask task) { super(); _pos = pos; _task = task; @@ -39,6 +39,10 @@ public ActionTaskDialog(int pos, String task) { public int getPos() { return _pos; } + + public TodoTask getTask() { + return _task; + } /* The activity that creates an instance of this dialog fragment must * implement this interface in order to receive event callbacks. @@ -73,8 +77,8 @@ public Dialog onCreateDialog(Bundle savedInstanceState) { actions.add(getResources().getString(R.string.dialog_delete_list_item)); images.add(R.drawable.ic_action_discard); - if(_task.startsWith(getResources().getString(R.string.dialog_call_list_item))) { - actions.add(_task); + if(_task.getTitle().startsWith(getResources().getString(R.string.dialog_call_list_item))) { + actions.add(_task.getTitle()); images.add(R.drawable.ic_action_call); } @@ -83,7 +87,7 @@ public Dialog onCreateDialog(Bundle savedInstanceState) { // Use the Builder class for convenient dialog construction AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); - builder.setTitle(_task) + builder.setTitle(_task.getTitle()) .setAdapter(adapter, new DialogInterface.OnClickListener() { @Override @@ -93,7 +97,7 @@ public void onClick(DialogInterface dialog, int which) { } else if (which == CALL_POS) { Intent callIntent = new Intent(Intent.ACTION_DIAL); - callIntent.setData(Uri.parse("tel:" + _task.split(" ")[1])); + callIntent.setData(Uri.parse("tel:" + _task.getTitle().split(" ")[1])); startActivity(callIntent); } } diff --git a/TodoListManager/src/il/ac/huji/todolist/TodoListManagerActivity.java b/TodoListManager/src/il/ac/huji/todolist/TodoListManagerActivity.java index a09f17c..64f5939 100644 --- a/TodoListManager/src/il/ac/huji/todolist/TodoListManagerActivity.java +++ b/TodoListManager/src/il/ac/huji/todolist/TodoListManagerActivity.java @@ -4,6 +4,8 @@ import java.util.Date; +import com.parse.Parse; + import android.os.Build; import android.os.Bundle; import android.os.Handler; @@ -38,7 +40,10 @@ protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_to_do_list); - _helper = new TodoTaskSQLiteHelper(this); + // Initialize databases + _helper = TodoTaskSQLiteHelper.getInstanse(this); + Parse.initialize(this, "z6oaJ0v3LcRPapj4w3ZDJS7ImSl9beyDlATdGjtZ", + "seCevpBGpkvBEmuUZyCHHaJAAqHGVitVwkw2dEEI"); _listToDoTask = (ListView) findViewById(R.id.list_todo_tasks); @@ -59,7 +64,8 @@ public void run() { @SuppressLint("NewApi") public boolean onItemLongClick(AdapterView parent, View child, int pos, long id) { Cursor current = (Cursor)_adapter.getItem(pos); - _actionTaskDialog = new ActionTaskDialog(current.getInt(0), current.getString(1)); + _actionTaskDialog = new ActionTaskDialog(current.getInt(0), + new TodoTask(current.getString(1))); _actionTaskDialog.show(getFragmentManager(), "actionTask"); return true; } diff --git a/TodoListManager/src/il/ac/huji/todolist/TodoTask.java b/TodoListManager/src/il/ac/huji/todolist/TodoTask.java index 363cffc..14a6f2a 100644 --- a/TodoListManager/src/il/ac/huji/todolist/TodoTask.java +++ b/TodoListManager/src/il/ac/huji/todolist/TodoTask.java @@ -19,6 +19,10 @@ public TodoTask(String title, long due) { this._title = title; this._due = due; } + + public TodoTask(String title) { + this._title = title; + } public int getID() { return _id; diff --git a/TodoListManager/src/il/ac/huji/todolist/TodoTaskSQLiteHelper.java b/TodoListManager/src/il/ac/huji/todolist/TodoTaskSQLiteHelper.java index b1aaec7..f92717c 100644 --- a/TodoListManager/src/il/ac/huji/todolist/TodoTaskSQLiteHelper.java +++ b/TodoListManager/src/il/ac/huji/todolist/TodoTaskSQLiteHelper.java @@ -1,14 +1,26 @@ package il.ac.huji.todolist; +import java.util.List; + import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; +import android.provider.Settings.Secure; import android.util.Log; +import com.parse.FindCallback; +import com.parse.ParseException; +import com.parse.ParseObject; +import com.parse.ParseQuery; + +import com.parse.SaveCallback; + public class TodoTaskSQLiteHelper extends SQLiteOpenHelper { + private static TodoTaskSQLiteHelper _instanse; + private static final String TABLE_TASKS = "todo_tasks"; private static final String COLUMN_ID = "_id"; private static final String COLUMN_TITLE = "title"; @@ -17,6 +29,11 @@ public class TodoTaskSQLiteHelper extends SQLiteOpenHelper { private static final String DATABASE_NAME = "todo_db"; private static final int DATABASE_VERSION = 1; + /** Unique ID for the device */ + private String _androidID; + + private Context _context; + // Database creation sql statement private static final String DATABASE_CREATE = "CREATE TABLE " + TABLE_TASKS @@ -26,15 +43,26 @@ public class TodoTaskSQLiteHelper extends SQLiteOpenHelper { + COLUMN_DUE + " TEXT" + ");"; - public TodoTaskSQLiteHelper(Context context) { + private TodoTaskSQLiteHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); + this._context = context; + this._androidID = Secure.getString(_context.getContentResolver(), + Secure.ANDROID_ID); + } + + public static TodoTaskSQLiteHelper getInstanse(Context context) { + if (_instanse == null) { + _instanse = new TodoTaskSQLiteHelper(context); + } + + return _instanse; } @Override public void onCreate(SQLiteDatabase database) { - database.execSQL(DATABASE_CREATE); Log.i(TodoTaskSQLiteHelper.class.getName(), "Creating database"); + database.execSQL(DATABASE_CREATE); } @Override @@ -53,16 +81,37 @@ public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { * @param task The task to add. */ public void addTask(TodoTask task) { + // inserting row to local database SQLiteDatabase db = this.getWritableDatabase(); - ContentValues values = new ContentValues(); + final ContentValues values = new ContentValues(); values.put(COLUMN_TITLE, task.getTitle()); // task title values.put(COLUMN_DUE, task.getDue()); // task due - - // inserting row - db.insert(TABLE_TASKS, null, values); + + long id = db.insert(TABLE_TASKS, null, values); db.close(); // closing database connection + // insert row to Parse database + final ParseObject parseTask = new ParseObject(_androidID); + parseTask.put("ID", id); + parseTask.put("Title", task.getTitle()); + parseTask.put("Due", task.getDue()); + + parseTask.saveEventually(new SaveCallback() { + + @Override + public void done(ParseException e) { + if (e == null) { + // Success! + String objectId = parseTask.getObjectId(); + Log.i(TodoTaskSQLiteHelper.class.getName(), + "Parse ID: " + objectId); + } else { + // Failure! + } + } + }); + Log.i(TodoTaskSQLiteHelper.class.getName(), "Inserting new task: " + task.getTitle() + " due: " + task.getDue()); } @@ -77,7 +126,7 @@ public TodoTask getTask(int id) { Cursor cursor = db.query( TABLE_TASKS, - new String[] {COLUMN_ID, COLUMN_TITLE, COLUMN_DUE }, + new String[] {COLUMN_ID, COLUMN_TITLE, COLUMN_DUE}, COLUMN_ID + "=?", new String[] {String.valueOf(id)}, null, null, null, null); @@ -107,13 +156,25 @@ public Cursor getAllTasks() { * Delete a task with an id. * @param id The id of the task as it appears in the database. */ - public void deleteTask(int id){ + public void deleteTask(int id) { SQLiteDatabase db = this.getWritableDatabase(); db.delete(TABLE_TASKS, COLUMN_ID + " = ?", new String[] { String.valueOf(id) }); db.close(); + ParseQuery query = ParseQuery.getQuery(_androidID); + query.whereEqualTo("ID", id); + query.findInBackground(new FindCallback() { + + @Override + public void done(List objects, ParseException e) { + for (ParseObject parseTask : objects) { + parseTask.deleteEventually(); + } + } + }); + Log.i(TodoTaskSQLiteHelper.class.getName(), "Deleted task with id: " + id); }