Class PermissionCollectionService<E extends PermissionCollection,​D extends PermissionCollectionDao<E>>

    • Constructor Detail

      • PermissionCollectionService

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

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

      • setDao

        @Autowired
        @Qualifier("permissionCollectionDao")
        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.
        Specified by:
        setDao in class AbstractDaoService<E extends PermissionCollection,​D extends PermissionCollectionDao<E>>
        Parameters:
        dao - the dao to set