BuildmLearn-Toolkit-Android
2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
|
Contains database util functions for comprehension template's simulator. More...
Public Member Functions | |
ComprehensionDb (Context context) | |
void | open () throws SQLException |
void | close () |
Cursor | getMetaCursor () |
void | markAnswered (int id, int answer) |
void | deleteAll () |
void | markUnAnswered (int id) |
void | resetCount () |
int[] | getStatistics () |
Cursor | getQuestionCursorById (int id) |
long | getCountQuestions () |
int | bulkInsertQuestions (@NonNull ContentValues[] values) |
int | bulkInsertMetaDetails (@NonNull ContentValues[] values) |
Private Attributes | |
final ComprehensionDBHelper | dbHelper |
SQLiteDatabase | db |
Static Private Attributes | |
static final String | EQUAL = " == " |
Contains database util functions for comprehension template's simulator.
Created by Anupam (opticod) on 5/6/16.
org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.ComprehensionDb | ( | Context | context | ) |
int org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.bulkInsertMetaDetails | ( | @NonNull ContentValues[] | values | ) |
int org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.bulkInsertQuestions | ( | @NonNull ContentValues[] | values | ) |
void org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.close | ( | ) |
void org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.deleteAll | ( | ) |
long org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.getCountQuestions | ( | ) |
Cursor org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.getMetaCursor | ( | ) |
Cursor org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.getQuestionCursorById | ( | int | id | ) |
int [] org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.getStatistics | ( | ) |
void org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.markAnswered | ( | int | id, |
int | answer | ||
) |
void org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.markUnAnswered | ( | int | id | ) |
void org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.open | ( | ) | throws SQLException |
void org.buildmlearn.toolkit.comprehensiontemplate.data.ComprehensionDb.resetCount | ( | ) |
|
private |
|
private |
|
staticprivate |