* If no filter if provided all preferences are returned. *
* If a filter is provided it's used to filter the results. For example the filter
* "alfresco.myComp" will only return filters that are in the "namespace" alfresco.myComp.
*
* @param userName the user name
* @param preferenceFilter the preference filter
* @return Map
* Values provided overlay those already present.
*
* Preference value names can be "namespaced" by using package notation. For example
* "alfresc.myComp.myValue".
*
* @param userName the user name
* @param preferences the preference values
*/
@Auditable(parameters = {"userName", "preferences"})
void setPreferences(String userName, Map
* If no filter if present then all preferences are cleared.
*
* @param userName the user name
* @param preferenceFilter the preference filter
*/
@Auditable(parameters = {"userName", "preferenceFilter"})
void clearPreferences(String userName, String preferenceFilter);
}