use of eu.etaxonomy.cdm.remote.editor.UUIDListPropertyEditor in project cdmlib by cybertaxonomy.
the class KmlController method initBinder.
@InitBinder
@Override
public void initBinder(WebDataBinder binder) {
super.initBinder(binder);
binder.registerCustomEditor(UuidList.class, new UUIDListPropertyEditor());
binder.registerCustomEditor(DefinedTermBaseList.class, new TermBaseListPropertyEditor<MarkerType>(termService));
}
use of eu.etaxonomy.cdm.remote.editor.UUIDListPropertyEditor in project cdmlib by cybertaxonomy.
the class ChecklistDemoController method initBinder.
/**
* Helper method, which allows to convert strings directly into uuids.
*
* @param binder Special DataBinder for data binding from web request parameters to JavaBean objects.
*/
@InitBinder
public void initBinder(WebDataBinder binder) {
binder.registerCustomEditor(UuidList.class, new UUIDListPropertyEditor());
binder.registerCustomEditor(NamedArea.class, new TermBaseListPropertyEditor<>(termService));
binder.registerCustomEditor(UUID.class, new UUIDEditor());
}
use of eu.etaxonomy.cdm.remote.editor.UUIDListPropertyEditor in project cdmlib by cybertaxonomy.
the class CsvExportController method initBinder.
/**
* Helper method, which allows to convert strings directly into uuids.
*
* @param binder Special DataBinder for data binding from web request parameters to JavaBean objects.
*/
@InitBinder
public void initBinder(WebDataBinder binder) {
binder.registerCustomEditor(UuidList.class, new UUIDListPropertyEditor());
// binder.registerCustomEditor(NamedArea.class, new NamedAreaPropertyEditor());
binder.registerCustomEditor(UUID.class, new UUIDEditor());
}
use of eu.etaxonomy.cdm.remote.editor.UUIDListPropertyEditor in project cdmlib by cybertaxonomy.
the class DescriptionListController method initBinder.
@InitBinder
@Override
public void initBinder(WebDataBinder binder) {
super.initBinder(binder);
binder.registerCustomEditor(DefinedTermBaseList.class, new TermBaseListPropertyEditor<>(termService));
binder.registerCustomEditor(NamedAreaLevel.class, new TermBasePropertyEditor<>(termService));
binder.registerCustomEditor(Rank.class, new TermBasePropertyEditor<>(termService));
binder.registerCustomEditor(UuidList.class, new UUIDListPropertyEditor());
}
use of eu.etaxonomy.cdm.remote.editor.UUIDListPropertyEditor in project cdmlib by cybertaxonomy.
the class DescriptionController method initBinder.
@InitBinder
@Override
public void initBinder(WebDataBinder binder) {
super.initBinder(binder);
binder.registerCustomEditor(UuidList.class, new UUIDListPropertyEditor());
binder.registerCustomEditor(NamedAreaLevel.class, new NamedAreaLevelPropertyEditor());
binder.registerCustomEditor(DefinedTermBaseList.class, new TermBaseListPropertyEditor<MarkerType>(termService));
}
Aggregations