Project

General

Profile

Revision b45c1f2d

IDb45c1f2dcc0740b7c54c3c041eaffd17052413cd
Parent 3986faa0
Child d7949dc1

Added by Andreas Müller over 1 year ago

ref #7932 first implementation of PreferenceResolver and some adaption to PreferenceService API.

  • Correct handling of subtree subjects still open.
  • Also creation of user defined subjects still open.

View differences:

cdmlib-services/src/test/resources/eu/etaxonomy/cdm/api/service/PreferenceServiceImplTest.xml
1 1
<?xml version='1.0' encoding='UTF-8'?>
2 2
<dataset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../dataset.xsd">
3 3
	<CDMPREFERENCE KEY_SUBJECT="/" KEY_PREDICATE="model.name.NC" VALUE="ICNAFP" ALLOWOVERRIDE="0"/>
4
    <CDMPREFERENCE KEY_SUBJECT="/taxeditor/" KEY_PREDICATE="Test" VALUE="testResult" ALLOWOVERRIDE="1"/>
5
    <CDMPREFERENCE KEY_SUBJECT="/taxeditor/distributionEditor/" KEY_PREDICATE="Test" VALUE="testForDistribution" ALLOWOVERRIDE="0"/>
6

  
4 7
</dataset>

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)