TracNav
Platform Components
- CommonDataModel
- CDM Platform Roadmap
- CDM Library
- Taxonomic Editor
- CDM Dataportal
- CDM Server
- CDM Print Publisher
- Community Single Sign-on (CSSO)
- ExpertsDatabase
- BDTracker
Developer Resources
- General
- CDM Library Dev
- Taxonomic Editor Dev
- CDM Dataportal Dev
- CDM Server Dev
- Print Publisher Dev
- MapRestServiceApi
- Server Administration
Other
Workflow models
Deprecated
How to create a new TermVocabulary
- Create a CSV file with at least the line for the vocabulary and store it along with the other terms (trunk/cdmlib/cdmlib-model/src/main/resources/terms)
- Create a class for the vocabulary (Example: Language.java)
- Add it to hibernate configuration hibernate.cfg.xml
- Add it to VocabularyEnum.java
But! For the testsuite to work, the test data has to be updated as well. Open TermsDataSet-with_auditing_info.xml. Searching for the string "TERMVOCABULARY" will get you to the right location in the file. Add a new line for your vocabulary. E.g.:
<TERMVOCABULARY DTYPE="$$[Ordered]TermVocabulary$$" ID="$$increment the highest TermVocabulary id$$" CREATED="$$date of creation$$" UUID="$$unique UUID of your term vocabulary$$" URI="" TERMSOURCEURI="$$URI of your class. E.g. eu.etaxonomy.cdm.model.common.Language$$"/>
Repeat for "TERMVOCABULARY_AUD" accordingly.
