From: Patric Plitzner Date: Wed, 20 Nov 2013 08:13:03 +0000 (+0000) Subject: - derivates now show the correct type (record basis) in the bulk editor X-Git-Tag: 3.6.0~869 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/f29baa52a5b0fcd0c06d3bdc598f630791f57613 - derivates now show the correct type (record basis) in the bulk editor --- diff --git a/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/OccurrenceEditorInput.java b/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/OccurrenceEditorInput.java index 6c7fc05d2..3f9858869 100644 --- a/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/OccurrenceEditorInput.java +++ b/eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/OccurrenceEditorInput.java @@ -1,9 +1,9 @@ // $Id$ /** * Copyright (C) 2007 EDIT -* European Distributed Institute of Taxonomy +* European Distributed Institute of Taxonomy * http://www.e-taxonomy.eu -* +* * The contents of this file are subject to the Mozilla Public License Version 1.1 * See LICENSE.TXT at the top of this package for the full license terms. */ @@ -16,6 +16,7 @@ import java.util.UUID; import eu.etaxonomy.cdm.api.service.IOccurrenceService; import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; +import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper; import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase; import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorSortProvider; @@ -31,9 +32,9 @@ import eu.etaxonomy.taxeditor.store.CdmStore; * @version 1.0 */ public class OccurrenceEditorInput extends AbstractBulkEditorInput { - + /** - * + * */ private static final long serialVersionUID = 1014860873939989973L; @@ -41,7 +42,7 @@ public class OccurrenceEditorInput extends AbstractBulkEditorInputGetter for the field instance.

* @@ -53,7 +54,7 @@ public class OccurrenceEditorInput extends AbstractBulkEditorInput propertyPaths = Arrays.asList(new String[]{}); + List propertyPaths = Arrays.asList(new String[]{}); return CdmStore.getService(IOccurrenceService.class).load(entityUuid, propertyPaths); } @@ -82,7 +83,8 @@ public class OccurrenceEditorInput extends AbstractBulkEditorInputgetId

* @@ -111,7 +125,8 @@ public class OccurrenceEditorInput extends AbstractBulkEditorInput> getSortProviders() { List> sortProviders = super.getSortProviders(); - + sortProviders.add(0, new IdentifiableEntitySortProvider()); - + return sortProviders; } }