private void loadAutoloadConfig(DataJsonImporter dje) throws JSONException {
   JSONArray table = dje.getTables(DB.ConfigurationAutoload.TABLE_NAME);
   for (int i = 0; i < table.length(); i++) {
     ConfigurationAutoloadModel cam = new ConfigurationAutoloadModel();
     cam.readFromJson(new JSONBundle(table.getJSONObject(i)));
     // FIXME insert or update
     contentResolver.insert(DB.ConfigurationAutoload.CONTENT_URI, cam.getValues());
   }
 }
 private void loadTriggers(DataJsonImporter dje) throws JSONException {
   JSONArray table = dje.getTables(DB.Trigger.TABLE_NAME);
   for (int i = 0; i < table.length(); i++) {
     TriggerModel tr = new TriggerModel();
     JSONObject jsonObject = table.getJSONObject(i);
     tr.readFromJson(new JSONBundle(jsonObject));
     if (jsonObject.has(JSON_TAG_RES_ID)) {
       String name = getTranslatedName(jsonObject.getString(JSON_TAG_RES_ID));
       tr.setName(name);
     }
     contentResolver.insert(DB.Trigger.CONTENT_URI, tr.getValues());
   }
 }