Interface FavoriteService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void add​(com.flower.docs.domain.component.ComponentReference ref)
      Add ComponentReference to User Preference or create User Preference including this ComponentReference as Favorite for current user
      void remove​(com.flower.docs.domain.component.ComponentReference ref)
      Remove ComponentReference from User Preference for current user
    • Method Detail

      • add

        void add​(com.flower.docs.domain.component.ComponentReference ref)
          throws com.flower.docs.domain.exception.TechnicalException,
                 com.flower.docs.domain.exception.FunctionalException
        Add ComponentReference to User Preference or create User Preference including this ComponentReference as Favorite for current user
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException
      • remove

        void remove​(com.flower.docs.domain.component.ComponentReference ref)
             throws com.flower.docs.domain.exception.TechnicalException,
                    com.flower.docs.domain.exception.FunctionalException
        Remove ComponentReference from User Preference for current user
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException