Package de.terrestris.shoguncore.web
Class WpsProcessExecuteController<E extends WpsProcessExecute,D extends WpsProcessExecuteDao<E>,S extends WpsProcessExecuteService<E,D>>
- java.lang.Object
-
- de.terrestris.shoguncore.web.AbstractWebController<E,D,S>
-
- de.terrestris.shoguncore.web.WpsParameterController<E,D,S>
-
- de.terrestris.shoguncore.web.WpsReferenceController<E,D,S>
-
- de.terrestris.shoguncore.web.WpsProcessExecuteController<E,D,S>
-
@Controller @RequestMapping("/wpsprocessexecutes") public class WpsProcessExecuteController<E extends WpsProcessExecute,D extends WpsProcessExecuteDao<E>,S extends WpsProcessExecuteService<E,D>> extends WpsReferenceController<E,D,S>- Author:
- Nils Bühner
-
-
Field Summary
-
Fields inherited from class de.terrestris.shoguncore.web.AbstractWebController
logger, service
-
-
Constructor Summary
Constructors Modifier Constructor Description WpsProcessExecuteController()Default constructor, which calls the type-constructorprotectedWpsProcessExecuteController(Class<E> entityClass)Constructor that sets the concrete entity class for the controller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<?>preCheckDelete(Integer wpsProcessId)Checks in whichWpsPlugins the givenWpsProcessExecuteis contained (and from which it would be "disconnected" in case of deletion).voidsetService(S service)We have to useQualifierto define the correct service here.-
Methods inherited from class de.terrestris.shoguncore.web.AbstractWebController
getEntityClass, getService
-
-
-
-
Method Detail
-
setService
@Autowired @Qualifier("wpsProcessExecuteService") public void setService(S service)We have to useQualifierto define the correct service here. Otherwise, spring can not decide which service has to be autowired here as there are multiple candidates.- Overrides:
setServicein classWpsReferenceController<E extends WpsProcessExecute,D extends WpsProcessExecuteDao<E>,S extends WpsProcessExecuteService<E,D>>- Parameters:
service- the service to set
-
preCheckDelete
@RequestMapping(value="preCheckDelete.action", method=POST) public org.springframework.http.ResponseEntity<?> preCheckDelete(@RequestParam("wpsProcessId") Integer wpsProcessId)Checks in whichWpsPlugins the givenWpsProcessExecuteis contained (and from which it would be "disconnected" in case of deletion).- Parameters:
wpsProcessId- ID of theWpsProcessExecute- Returns:
-
-