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.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.buildmlearn.toolkit.learnspelling.data.SpellDb Class Reference

Contains database util functions for spell template's simulator. More...

Collaboration diagram for org.buildmlearn.toolkit.learnspelling.data.SpellDb:
Collaboration graph
[legend]

Public Member Functions

 SpellDb (Context context)
 
void open () throws SQLException
 
void close ()
 
void markAnswered (int id, String answer)
 
void resetCount ()
 
int[] getStatistics ()
 
Cursor getSpellingCursorById (int id)
 
long getCountSpellings ()
 
void deleteAll ()
 
int bulkInsertSpellings (@NonNull ContentValues[] values)
 

Private Member Functions

void markUnAnswered (int id)
 

Private Attributes

final SpellDBHelper dbHelper
 
SQLiteDatabase db
 

Static Private Attributes

static final String EQUAL = " == "
 

Detailed Description

Contains database util functions for spell template's simulator.

Created by Anupam (opticod) on 1/6/16.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.learnspelling.data.SpellDb.SpellDb ( Context  context)

Member Function Documentation

int org.buildmlearn.toolkit.learnspelling.data.SpellDb.bulkInsertSpellings ( @NonNull ContentValues[]  values)
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.close ( )
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.deleteAll ( )
long org.buildmlearn.toolkit.learnspelling.data.SpellDb.getCountSpellings ( )
Cursor org.buildmlearn.toolkit.learnspelling.data.SpellDb.getSpellingCursorById ( int  id)
int [] org.buildmlearn.toolkit.learnspelling.data.SpellDb.getStatistics ( )
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.markAnswered ( int  id,
String  answer 
)
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.markUnAnswered ( int  id)
private
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.open ( ) throws SQLException
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.resetCount ( )

Member Data Documentation

SQLiteDatabase org.buildmlearn.toolkit.learnspelling.data.SpellDb.db
private
final SpellDBHelper org.buildmlearn.toolkit.learnspelling.data.SpellDb.dbHelper
private
final String org.buildmlearn.toolkit.learnspelling.data.SpellDb.EQUAL = " == "
staticprivate

The documentation for this class was generated from the following file: