Class InterceptorRuleService<E extends InterceptorRule,​D extends InterceptorRuleDao<E>>

    • Constructor Detail

      • InterceptorRuleService

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

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

      • findAllRulesForServiceAndEvent

        @Transactional(readOnly=true)
        public java.util.List<E> findAllRulesForServiceAndEvent​(java.lang.String service,
                                                                java.lang.String event)
        Parameters:
        service -
        event -
        Returns:
      • setDao

        @Autowired
        @Qualifier("interceptorRuleDao")
        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 InterceptorRule,​D extends InterceptorRuleDao<E>>
        Parameters:
        dao - the dao to set