3536373839404142434445
while ((output = reader.readLine()) != null) { contentString.append(output); } JsonNode node = Json.parse(contentString.toString()); Item item = new Item(); if (node.size() > 0) { item = Item.parseItemFromJSON(node); }
313233343536373839
OObjectIteratorClass<Account> accounts = db.browseClass(Account.class); render(result, items, accounts); } public static void detail(ORecordId id) { Item item = Item.findById(id); notFoundIfNull(item); render(item); }
3839404142434445464748
render(item); } @Transactional public static void save(String name, String description) { Item item = new Item(); item.name = name; item.description = description; item.save(); index(); }