Query<PropertyEntity> q = ofy.query(PropertyEntity.class);
return q;
}
public static void saveAll(Properties properties) {
PropertyEntity page;
Objectify ofy = OS.begin();
Enumeration<Object> keyEnum = properties.keys();
while (keyEnum.hasMoreElements()) {
String key = (String) keyEnum.nextElement();
String value = (String) properties.get(key.toString());
if (value != null) {
page = new PropertyEntity(key, value);
ofy.put(page);
}
}
}