Toolkit-mobile-templates  2.0.0
This repository contains the template applications of the toolkit.
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.buildmlearn.infotemplate.data.InfoDb Class Reference

Contains database util functions for info template's app. More...

Collaboration diagram for org.buildmlearn.infotemplate.data.InfoDb:
Collaboration graph
[legend]

Public Member Functions

 InfoDb (Context context)
 
void open () throws SQLException
 
boolean isOpen ()
 
void close ()
 
Cursor getInfosCursor ()
 
Cursor getInfoCursorById (int id)
 
long getCount ()
 
int bulkInsert (@NonNull ContentValues[] values)
 

Private Attributes

final InfoDBHelper dbHelper
 
SQLiteDatabase db
 

Static Private Attributes

static final String EQUAL = " == "
 

Detailed Description

Contains database util functions for info template's app.

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

Constructor & Destructor Documentation

org.buildmlearn.infotemplate.data.InfoDb.InfoDb ( Context  context)

Member Function Documentation

int org.buildmlearn.infotemplate.data.InfoDb.bulkInsert ( @NonNull ContentValues[]  values)
void org.buildmlearn.infotemplate.data.InfoDb.close ( )
long org.buildmlearn.infotemplate.data.InfoDb.getCount ( )
Cursor org.buildmlearn.infotemplate.data.InfoDb.getInfoCursorById ( int  id)
Cursor org.buildmlearn.infotemplate.data.InfoDb.getInfosCursor ( )
boolean org.buildmlearn.infotemplate.data.InfoDb.isOpen ( )
void org.buildmlearn.infotemplate.data.InfoDb.open ( ) throws SQLException

Member Data Documentation

SQLiteDatabase org.buildmlearn.infotemplate.data.InfoDb.db
private
final InfoDBHelper org.buildmlearn.infotemplate.data.InfoDb.dbHelper
private
final String org.buildmlearn.infotemplate.data.InfoDb.EQUAL = " == "
staticprivate

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