Interface CaseDefinitionRestService

  • All Known Implementing Classes:
    CaseDefinitionRestServiceImpl

    @Produces("application/json")
    public interface CaseDefinitionRestService
    Author:
    Roman Smirnov
    • Method Detail

      • getCaseDefinitionById

        @Path("/{id}")
        CaseDefinitionResource getCaseDefinitionById​(@PathParam("id")
                                                     java.lang.String caseDefinitionId)
      • getCaseDefinitionByKey

        @Path("/key/{key}")
        CaseDefinitionResource getCaseDefinitionByKey​(@PathParam("key")
                                                      java.lang.String caseDefinitionKey)
      • getCaseDefinitionByKeyAndTenantId

        @Path("/key/{key}/tenant-id/{tenantId}")
        CaseDefinitionResource getCaseDefinitionByKeyAndTenantId​(@PathParam("key")
                                                                 java.lang.String caseDefinitionKey,
                                                                 @PathParam("tenantId")
                                                                 java.lang.String tenantId)
      • getCaseDefinitions

        @GET
        @Produces("application/json")
        java.util.List<CaseDefinitionDto> getCaseDefinitions​(@Context
                                                             javax.ws.rs.core.UriInfo uriInfo,
                                                             @QueryParam("firstResult")
                                                             java.lang.Integer firstResult,
                                                             @QueryParam("maxResults")
                                                             java.lang.Integer maxResults)
        Exposes the CaseDefinitionQuery interface as a REST service.
        Parameters:
        uriInfo -
        firstResult -
        maxResults -
        Returns:
      • getCaseDefinitionsCount

        @GET
        @Path("/count")
        @Produces("application/json")
        CountResultDto getCaseDefinitionsCount​(@Context
                                               javax.ws.rs.core.UriInfo uriInfo)