INews newsCopy = fFactory.createNews(news, bin);
DynamicDAO.save(newsCopy);
DynamicDAO.save(bin);
/* Preference */
Preference pref = new Preference("longs");
pref.putLongs(2, 3, 4);
DynamicDAO.save(pref);
pref = new Preference("strings");
pref.putStrings("foo", "bar");
DynamicDAO.save(pref);
pref = new Preference("booleans");
pref.putBooleans(false, true);
DynamicDAO.save(pref);
pref = new Preference("integers");
pref.putIntegers(5, 6, 7);
DynamicDAO.save(pref);
pref = new Preference("long");
pref.putLongs(5);
DynamicDAO.save(pref);
pref = new Preference("string");
pref.putStrings("foobar");
DynamicDAO.save(pref);
pref = new Preference("boolean");
pref.putBooleans(true);
DynamicDAO.save(pref);
pref = new Preference("integer");
pref.putIntegers(8);
DynamicDAO.save(pref);
/* ISearchFilter with ISearch */
ISearch search = fFactory.createSearch(null);
sc1 = fFactory.createSearchCondition(fFactory.createSearchField(INews.TITLE, INews.class.getName()), SearchSpecifier.IS, "foobar");