Class CaseInstancesResource
java.lang.Object
com.flowable.platform.rest.service.api.caze.CaseInstancesResource
@RestController
public class CaseInstancesResource
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected PlatformCaseInstanceService
caseInstanceService
protected java.lang.Integer
defaultListResponseSize
protected com.flowable.license.LicenseCheckService
licenseCheckService
protected PlatformEngineConfiguration
platformEngineConfiguration
protected WorkIndexService
workIndexService
-
Constructor Summary
Constructors Constructor Description CaseInstancesResource()
-
Method Summary
Modifier and Type Method Description org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<CaseInstanceSearchRepresentation>>
queryCaseInstances(java.lang.String filterId, CaseInstancesIndexQueryRequest request, java.security.Principal principal)
org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<CaseInstanceSearchRepresentation>>
queryCaseInstancesWithQuery(CaseInstancesIndexQueryRequest request)
org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<CaseInstanceSearchRepresentation>>
queryCustomAliasCaseInstancesWithQuery(java.lang.String alias, CaseInstancesIndexQueryRequest request)
org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<CaseInstanceSearchRepresentation>>
queryCustomCaseInstancesWithQuery(java.lang.String queryName, java.util.Map<java.lang.String,java.lang.Object> params)
org.springframework.http.ResponseEntity<CaseInstanceRepresentation>
startNewCaseInstance(CreateCaseInstanceRepresentation startRequest, boolean includeTranslations, boolean createTestDefinition)
-
Field Details
-
platformEngineConfiguration
-
caseInstanceService
-
workIndexService
-
licenseCheckService
@Autowired protected com.flowable.license.LicenseCheckService licenseCheckService -
defaultListResponseSize
@Value("${flowable.platform.rest.default-list-response-size:100}") protected java.lang.Integer defaultListResponseSize
-
-
Constructor Details
-
CaseInstancesResource
public CaseInstancesResource()
-
-
Method Details
-
startNewCaseInstance
@PostMapping("/case-instances") public org.springframework.http.ResponseEntity<CaseInstanceRepresentation> startNewCaseInstance(@RequestBody CreateCaseInstanceRepresentation startRequest, @RequestParam(required=false,defaultValue="false") boolean includeTranslations, @RequestParam(required=false,defaultValue="false") boolean createTestDefinition) -
queryCaseInstances
@GetMapping("/search/case-instances") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<CaseInstanceSearchRepresentation>> queryCaseInstances(@RequestParam(name="filterId",defaultValue="all") java.lang.String filterId, @ModelAttribute CaseInstancesIndexQueryRequest request, java.security.Principal principal) -
queryCaseInstancesWithQuery
@GetMapping("/search/query-case-instances") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<CaseInstanceSearchRepresentation>> queryCaseInstancesWithQuery(@ModelAttribute CaseInstancesIndexQueryRequest request) -
queryCustomAliasCaseInstancesWithQuery
@GetMapping("/search/query-case-instances/alias/{alias}") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<CaseInstanceSearchRepresentation>> queryCustomAliasCaseInstancesWithQuery(@PathVariable java.lang.String alias, @ModelAttribute CaseInstancesIndexQueryRequest request) -
queryCustomCaseInstancesWithQuery
@GetMapping("/search/query-case-instances/query/{queryName}") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<CaseInstanceSearchRepresentation>> queryCustomCaseInstancesWithQuery(@PathVariable java.lang.String queryName, @RequestParam java.util.Map<java.lang.String,java.lang.Object> params)
-