feature request #8432
Updated by Andreas Müller over 4 years ago
Definitions:
default feature tree = term tree of type feature which holds all features in the database in a flat (and alphabetically sorted) way
simple feature tree = term tree of type feature which holds only the most often used features like distribution, habitat, description, common names, images and maybe some more
Open questions:
* do we need a persisted default feature tree
* can we remove FeatureTreeService.createTransientDefaultFeatureTree
* TBC
TODOs:
* remove createDefaultFeatureTree from TermTreeDao.load(uuid) !! Check if this is not used anymore, see code below
* TBC
~~~sql
@Override
public TermTree load(UUID uuid) {
if (uuid.equals(DefaultFeatureTreeUuid) || count() == 0){
return createDefaultFeatureTree();
}
return super.load(uuid);
}
~~~