public JSONObject getSummonerSpelByID(Long id) { Document summonerSpel = couch.getDataFromDatabase(CouchDB.SUMMONER_SPEL_ID + id.toString()); summonerSpel.remove("_id"); summonerSpel.remove("_rev"); return summonerSpel.getJSONObject(); }
public JSONObject getRuneByID(Long id) { Document rune = couch.getDataFromDatabase(CouchDB.RUNE_ID + id.toString()); rune.remove("_id"); rune.remove("_rev"); return rune.getJSONObject(); }
public JSONObject getItemByID(Long id) { Document item = couch.getDataFromDatabase(CouchDB.ITEM_ID + id.toString()); item.remove("_id"); item.remove("_rev"); return item.getJSONObject(); }
public JSONObject getMasteryByID(Long id) { Document mastery = couch.getDataFromDatabase(CouchDB.MASTERY_ID + id.toString()); mastery.remove("_id"); mastery.remove("_rev"); return mastery.getJSONObject(); }
public JSONObject getChampionByID(Long id) { Document champion = couch.getDataFromDatabase(CouchDB.CHAMPION_ID + id.toString()); champion.remove("_id"); champion.remove("_rev"); return champion.getJSONObject(); }