Project

General

Profile

feature request #8432

Improve "default" feature tree handling

Added by Patrick Plitzner 3 months ago. Updated 9 days ago.

Status:
In Progress
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
07/31/2019
Due date:
% Done:

0%

Severity:
normal

Description

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

@Override
    public TermTree load(UUID uuid) {
        if (uuid.equals(DefaultFeatureTreeUuid) || count() == 0){
            return createDefaultFeatureTree();
        }
        return super.load(uuid);
    }

Related issues

Related to Edit - feature request #6794: Improve term structure In Progress 07/09/2017

Associated revisions

Revision 08f5d256 (diff)
Added by Andreas Müller 3 months ago

ref #8432 adapt TermTreeDaoImpl.load such that default feature tree is only created and returned if the default feature tree uuid is passed to it

Revision b5de83c2 (diff)
Added by Andreas Müller 3 months ago

ref #8432 adapt javadoc

History

#1 Updated by Andreas Müller 3 months ago

  • Description updated (diff)

#2 Updated by Andreas Müller 3 months ago

  • Target version changed from Unassigned CDM tickets to Release 5.10

#3 Updated by Andreas Müller 3 months ago

  • Status changed from New to In Progress
  • Priority changed from New to Highest

#4 Updated by Andreas Kohlbecker 3 months ago

  • Description updated (diff)

#5 Updated by Andreas Kohlbecker 3 months ago

  • Description updated (diff)

#6 Updated by Andreas Kohlbecker 3 months ago

#7 Updated by Andreas Müller about 2 months ago

  • Target version changed from Release 5.10 to Release 5.11

#8 Updated by Andreas Müller 9 days ago

  • Target version changed from Release 5.11 to Release 5.12

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)