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.videocollectiontemplate.data.VideoDb Class Reference

Contains database util functions for video collection template's simulator. More...

Collaboration diagram for org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb:
Collaboration graph
[legend]

Public Member Functions

 VideoDb (Context context)
 
void open () throws SQLException
 
void close ()
 
Cursor getVideosCursor ()
 
Cursor getVideoCursorById (int id)
 
long getCount ()
 
void deleteAll ()
 
int bulkInsert (@NonNull ContentValues[] values)
 

Private Attributes

final VideoDBHelper dbHelper
 
SQLiteDatabase db
 

Static Private Attributes

static final String EQUAL = " == "
 

Detailed Description

Contains database util functions for video collection template's simulator.

Created by Anupam (opticod) on 19/5/16.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.VideoDb ( Context  context)

Member Function Documentation

int org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.bulkInsert ( @NonNull ContentValues[]  values)
void org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.close ( )
void org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.deleteAll ( )
long org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.getCount ( )
Cursor org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.getVideoCursorById ( int  id)
Cursor org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.getVideosCursor ( )
void org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.open ( ) throws SQLException

Member Data Documentation

SQLiteDatabase org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.db
private
final VideoDBHelper org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.dbHelper
private
final String org.buildmlearn.toolkit.videocollectiontemplate.data.VideoDb.EQUAL = " == "
staticprivate

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