final ListItem groupItem = new ListGroupItem(group);
this.items.add(groupItem);
for (final String i : items) {
this.items.add(new ListItem(i, i));
}
final Update update = new Update(getID());
update.put(PROPERTY.ITEM_ADD);
final String s = items.toString();
update.put(PROPERTY.ITEM_TEXT, s.substring(1, s.length() - 1).replaceAll(",", ";").replaceAll(" ", ""));
update.put(PROPERTY.ITEM_GROUP, group);
Txn.get().getTxnContext().save(update);
}