Class VirtualPreferenceServiceExtension

    • Constructor Detail

      • VirtualPreferenceServiceExtension

        public VirtualPreferenceServiceExtension()
    • Method Detail

      • setPreferenceService

        public void setPreferenceService​(PreferenceService preferenceService)
      • setPreferences

        public void setPreferences​(String userName,
                                   Map<String,​Serializable> preferences)
                            throws Throwable
        If the favorites preferences are changed then for virtual references the actual nodeRef is added/removed from favorites preferences instead of virtual nodeRef. For non virtual entries or for preferences that are not related to favorites the original implementation from PreferenceServiceImpl is used.
        Specified by:
        setPreferences in interface PreferenceServiceExtension
        Throws:
        Throwable