Revision 69e82edd
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/SearchManager.java | ||
---|---|---|
85 | 85 |
return CdmStore.getService(ITaxonService.class).findTaxaAndNamesForEditor(configurator); |
86 | 86 |
} |
87 | 87 |
|
88 |
public List<Reference> findReferences(IIdentifiableEntityServiceConfigurator configurator){ |
|
89 |
List<Reference> records = CdmStore.getService(IReferenceService.class).findByTitle(configurator).getRecords(); |
|
88 |
|
|
89 |
@SuppressWarnings("unchecked") |
|
90 |
public List<Reference> findReferences(IIdentifiableEntityServiceConfigurator configurator){ |
|
91 |
List<Reference> records = CdmStore.getService(IReferenceService.class).findByTitle(configurator).getRecords(); |
|
90 | 92 |
return records; |
91 | 93 |
} |
92 | 94 |
|
... | ... | |
112 | 114 |
*/ |
113 | 115 |
public List<SpecimenOrObservationBase> findOccurrences(IIdentifiableEntityServiceConfigurator configurator, boolean showCountWarning){ |
114 | 116 |
// by default we do not show field units. This may be configured via preferences |
115 |
return findOccurrences(configurator, PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS), showCountWarning);
|
|
117 |
return findOccurrences(configurator, PreferencesUtil.getBooleanValue(IPreferenceKeys.BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS), showCountWarning);
|
|
116 | 118 |
} |
117 | 119 |
|
118 | 120 |
|
Also available in: Unified diff
local preferences database specific