public static JSONArray getJSONArray() throws JSONException, InstantiationException, IllegalAccessException, NamingException, SQLException, CoinDatabaseLoadException { JSONArray items = new JSONArray(); for (OrganisationServiceState item : getAllStatic()) items.put(item.toJSONObject()); return items; }
public static JSONObject getJSONObject(long lId) throws CoinDatabaseLoadException, SQLException, NamingException, JSONException, InstantiationException, IllegalAccessException { OrganisationServiceState item = getOrganisationServiceState(lId); JSONObject data = item.toJSONObject(); return data; }
public static JSONArray getJSONArray(long lIdLanguage) throws Exception { JSONArray items = new JSONArray(); for (OrganisationServiceState item : getAllStatic()) { item.setAbstractBeanLocalization(lIdLanguage); items.put(item.toJSONObject()); } return items; }