feature request #8062
Make default preferences deletable serverside
Currently when storing a CdmPreference it can not be checked if it holds the default value and therefore can be deleted. This is because CdmPreference holds the predicate as string only and therefore does not hold the default value. Only for those predicates defined server side it is possible to retrieve default value.
There are various possibilities to pass the default value.
- Use IPreferencePredicate in CdmPreference.prefKey instead of String
- Override set(CdmPreference) in PreferenceService to allow to pass an extra attribute "default value"
- Leave it to the client to delete default values (this requires a delete method)
ref #8062 first implementation to delete default preferences (only for cdmlib predicates)