Class MapControlService<E extends MapControl,​D extends MapControlDao<E>>

    • Constructor Detail

      • MapControlService

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

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

      • setDao

        @Autowired
        @Qualifier("mapControlDao")
        public void setDao​(D dao)
        We have to use Qualifier to define the correct dao here. Otherwise, spring can not decide which dao has to be autowired here as there are multiple candidates.
        Overrides:
        setDao in class PermissionAwareCrudService<E extends MapControl,​D extends MapControlDao<E>>
        Parameters:
        dao - the dao to set