Class BaseProcessDefinitionResource
- java.lang.Object
-
- org.flowable.rest.service.api.repository.BaseProcessDefinitionResource
-
- Direct Known Subclasses:
ProcessDefinitionDecisionCollectionResource,ProcessDefinitionFormDefinitionCollectionResource,ProcessDefinitionIdentityLinkCollectionResource,ProcessDefinitionIdentityLinkResource,ProcessDefinitionImageResource,ProcessDefinitionModelResource,ProcessDefinitionResource
public class BaseProcessDefinitionResource extends Object
- Author:
- Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected RepositoryServicerepositoryServiceprotected BpmnRestApiInterceptorrestApiInterceptorprotected RestResponseFactoryrestResponseFactory
-
Constructor Summary
Constructors Constructor Description BaseProcessDefinitionResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProcessDefinitiongetProcessDefinitionFromRequest(String processDefinitionId)Returns theProcessDefinitionthat is requested and calls the access interceptor.protected ProcessDefinitiongetProcessDefinitionFromRequestWithoutAccessCheck(String processDefinitionId)Returns theProcessDefinitionthat is requested without calling the access interceptor Throws the right exceptions when bad request was made or definition was not found.
-
-
-
Field Detail
-
restResponseFactory
@Autowired protected RestResponseFactory restResponseFactory
-
repositoryService
@Autowired protected RepositoryService repositoryService
-
restApiInterceptor
@Autowired(required=false) protected BpmnRestApiInterceptor restApiInterceptor
-
-
Method Detail
-
getProcessDefinitionFromRequest
protected ProcessDefinition getProcessDefinitionFromRequest(String processDefinitionId)
Returns theProcessDefinitionthat is requested and calls the access interceptor. Throws the right exceptions when bad request was made or definition was not found.
-
getProcessDefinitionFromRequestWithoutAccessCheck
protected ProcessDefinition getProcessDefinitionFromRequestWithoutAccessCheck(String processDefinitionId)
Returns theProcessDefinitionthat is requested without calling the access interceptor Throws the right exceptions when bad request was made or definition was not found.
-
-