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 Attributes | Static Private Attributes | List of all members
org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb Class Reference

Contains database util functions for flash card template's simulator. More...

Collaboration diagram for org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb:
Collaboration graph
[legend]

Public Member Functions

 FlashDb (Context context)
 
void open () throws SQLException
 
void close ()
 
Cursor getFlashCursorById (int id)
 
long getCountFlashCards ()
 
int bulkInsertFlashCards (@NonNull ContentValues[] values)
 
void deleteAll ()
 

Private Attributes

final FlashDBHelper dbHelper
 
SQLiteDatabase db
 

Static Private Attributes

static final String EQUAL = " == "
 

Detailed Description

Contains database util functions for flash card template's simulator.

Created by Anupam (opticod) on 10/8/16.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.FlashDb ( Context  context)

Member Function Documentation

int org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.bulkInsertFlashCards ( @NonNull ContentValues[]  values)
void org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.close ( )
void org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.deleteAll ( )
long org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.getCountFlashCards ( )
Cursor org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.getFlashCursorById ( int  id)
void org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.open ( ) throws SQLException

Member Data Documentation

SQLiteDatabase org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.db
private
final FlashDBHelper org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.dbHelper
private
final String org.buildmlearn.toolkit.flashcardtemplate.data.FlashDb.EQUAL = " == "
staticprivate

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