Class WpsProcessExecuteService<E extends WpsProcessExecute,​D extends WpsProcessExecuteDao<E>>

    • Constructor Detail

      • WpsProcessExecuteService

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

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

      • setDao

        @Autowired
        @Qualifier("wpsProcessExecuteDao")
        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 WpsReferenceService<E extends WpsProcessExecute,​D extends WpsProcessExecuteDao<E>>
        Parameters:
        dao - the dao to set
      • preCheckDelete

        @PreAuthorize("hasRole(@configHolder.getSuperAdminRoleName()) or hasPermission(#wpsId, \'de.terrestris.shoguncore.model.wps.WpsProcessExecute\', \'DELETE\')")
        @Transactional(readOnly=true)
        public java.util.List<java.lang.String> preCheckDelete​(java.lang.Integer wpsId)
        Parameters:
        wpsId -
        Returns:
        List of WpsPlugins that are connected to the given WpsProcessExecute