params.put(fieldsPrefix + "fields", fieldParams);
params.put("titleField", AnnotationUtil.getTitleField(clazz));
Annotation annotation = clazz.getAnnotation(Page.class);
if (annotation instanceof Page) {
Page page = (Page) annotation;
params.put("syncMode", page.synchronizeMode());
params.put("pageType", page.pageType());
} else {
// unexpected case... but handle it nevertheless
params.put("syncMode", SyncMode.UPDATE);
_log.error("Unable to retrieve syncMode for ["+clazz.getName()+"]");