@Controller @RequestMapping(value="/wpsprocessexecutes") public class WpsProcessExecuteController<E extends WpsProcessExecute,D extends WpsProcessExecuteDao<E>,S extends WpsProcessExecuteService<E,D>> extends WpsReferenceController<E,D,S>
logger, service| Modifier | Constructor and Description |
|---|---|
|
WpsProcessExecuteController()
Default constructor, which calls the type-constructor
|
protected |
WpsProcessExecuteController(Class<E> entityClass)
Constructor that sets the concrete entity class for the controller.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<?> |
preCheckDelete(Integer wpsProcessId)
Checks in which
WpsPlugins the given WpsProcessExecute is
contained (and from which it would be "disconnected" in case of
deletion). |
void |
setService(S service)
We have to use
Qualifier to define the correct service here. |
getEntityClass, getServicepublic WpsProcessExecuteController()
@Autowired @Qualifier(value="wpsProcessExecuteService") public void setService(S service)
Qualifier to define the correct service here.
Otherwise, spring can not decide which service has to be autowired here
as there are multiple candidates.setService in class WpsReferenceController<E extends WpsProcessExecute,D extends WpsProcessExecuteDao<E>,S extends WpsProcessExecuteService<E,D>>service - the service to set@RequestMapping(value="preCheckDelete.action",
method=POST)
public org.springframework.http.ResponseEntity<?> preCheckDelete(@RequestParam(value="wpsProcessId")
Integer wpsProcessId)
WpsPlugins the given WpsProcessExecute is
contained (and from which it would be "disconnected" in case of
deletion).wpsProcessId - ID of the WpsProcessExecuteCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.