Class LayerAppearanceRestController<E extends LayerAppearance,​D extends LayerAppearanceDao<E>,​S extends LayerAppearanceService<E,​D>>

    • Constructor Detail

      • LayerAppearanceRestController

        public LayerAppearanceRestController()
        Default constructor, which calls the type-constructor
      • LayerAppearanceRestController

        protected LayerAppearanceRestController​(Class<E> entityClass)
        Constructor that sets the concrete entity class for the controller. Subclasses MUST call this constructor.
    • Method Detail

      • setService

        @Autowired
        @Qualifier("layerAppearanceService")
        public void setService​(S service)
        We have to use Qualifier to define the correct service here. Otherwise, spring can not decide which service has to be autowired here as there are multiple candidates.
        Specified by:
        setService in class AbstractWebController<E extends LayerAppearance,​D extends LayerAppearanceDao<E>,​S extends LayerAppearanceService<E,​D>>
        Parameters:
        service - the service to set