Project

General

Profile

feature request #8432

Improve "default" feature tree handling

Added by Patrick Plitzner 11 months ago. Updated 11 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 11 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 11 months ago

ref #8432 adapt javadoc

History

#1 Updated by Andreas Müller 11 months ago

  • Description updated (diff)

#2 Updated by Andreas Müller 11 months ago

  • Target version changed from Unassigned CDM tickets to Release 5.10

#3 Updated by Andreas Müller 11 months ago

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

#4 Updated by Andreas Kohlbecker 11 months ago

  • Description updated (diff)

#5 Updated by Andreas Kohlbecker 11 months ago

  • Description updated (diff)

#6 Updated by Andreas Kohlbecker 11 months ago

#7 Updated by Andreas Müller 10 months ago

  • Target version changed from Release 5.10 to Release 5.11

#8 Updated by Andreas Müller 8 months ago

  • Target version changed from Release 5.11 to Release 5.12

#9 Updated by Andreas Müller 6 months ago

  • Target version changed from Release 5.12 to Release 5.13

#10 Updated by Andreas Müller 4 months ago

  • Target version changed from Release 5.13 to Release 5.14

#11 Updated by Andreas Müller 3 months ago

  • Target version changed from Release 5.14 to Release 5.15

#12 Updated by Andreas Müller 11 days ago

  • Target version changed from Release 5.15 to Release 5.17

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)