|
| AdviceMessageDB (SensePlatform sensePlatform) |
|
void | onCreate (SQLiteDatabase db) |
|
void | populateDB (SQLiteDatabase db) |
|
void | updateDatabase () |
|
boolean | needDatebaseUpdate () |
|
boolean | isPopulated () |
|
AdviceMessage | getAdviceMessage (Task.TYPE task_type, Message.STYLE message_style, Message.TYPE message_type, Coach.TYPE coach_type) |
|
AdviceMessage | getAdviceMessage (Message message) |
|
AdviceMessage | getAdvice (int advice_id) |
|
| CoachingDB (SensePlatform sensePlatform, JSONObject dataStructure) |
|
SQLiteDatabase | getWritableDatabase () |
|
SQLiteDatabase | getReadableDatabase () |
|
void | onConfigure (SQLiteDatabase db) |
|
void | onOpen (SQLiteDatabase db) |
|
void | onCreate (SQLiteDatabase db) |
|
void | onUpgrade (SQLiteDatabase db, int oldVersion, int newVersion) |
|
boolean | add (JSONObject object) |
|
boolean | add (JSONObject object, SQLiteDatabase db) |
|
JSONArray | get (JSONObject criterion) |
|
JSONArray | get (JSONObject start_criterion, JSONObject end_criterion) |
|
void | clearTable () |
|
|
static String | KEY_TASK_TYPE = "taskType" |
|
static String | KEY_COACH_TYPE = "coachType" |
|
static String | KEY_MSG_STYLE = "msgStyle" |
|
static String | KEY_MSG_TYPE = "msgType" |
|
static String | KEY_TITLE = "title" |
|
static String | KEY_NOTIFICATION_TEXT = "notificationText" |
|
static String | KEY_TEXT = "text" |
|
static String | KEY_LINK = "link" |
|
static String | KEY_RETRIEVE_COUNT = "retrieveCount" |
|
static final String | KEY_ID = "_id" |
|
static final String | KEY_LOGIN_USERNAME = "login_username" |
|
static final String | KEY_MUTATED_AT = "mutated_at" |
|
|
static String | TAG = "AdviceMessageDB" |
|
static AdviceAPI | mAdviceAPI |
|
static String | TAG = "CoachingDB" |
|
static final String | TYPE_INTEGER = " INTEGER" |
|
static final String | TYPE_TEXT = " TEXT" |
|
static final String | TYPE_DATETIME = " DATETIME" |
|
static final String | TYPE_REAL = " REAL" |
|
|
String | getLoginUsername () |
|
String | createTableString () |
|
ContentValues | toContentValues (JSONObject object) |
|
String | createEquals (JSONObject criterion) |
|
String | createBetween (JSONObject first_criterion, JSONObject second_criterion) |
|
JSONObject | getSingleCreterion (JSONObject first_criterion, JSONObject second_criterion) |
|
JSONObject | toJSONObject (Cursor c) |
|
boolean | update (JSONObject object) |
|
boolean | delete (JSONObject object) |
|
String | tableName |
|
JSONObject | dataStructure |
|
SensePlatform | sensePlatform |
|
boolean | userAutoIncrementKey = true |
|
boolean | isUserSpecificTable = true |
|
boolean | tableCreated = false |
|
AdviceMessage nl.sense_os.cortex.coaching.db.AdviceMessageDB.getAdvice |
( |
int |
advice_id | ) |
|
AdviceMessage nl.sense_os.cortex.coaching.db.AdviceMessageDB.getAdviceMessage |
( |
Task.TYPE |
task_type, |
|
|
Message.STYLE |
message_style, |
|
|
Message.TYPE |
message_type, |
|
|
Coach.TYPE |
coach_type |
|
) |
| |
void nl.sense_os.cortex.coaching.db.AdviceMessageDB.populateDB |
( |
SQLiteDatabase |
db | ) |
|
Add advice messages to the database
The documentation for this class was generated from the following file:
- android-sdk/src/nl/sense_os/cortex/coaching/db/AdviceMessageDB.java