@Produces(value="application/json")
public interface DecisionDefinitionRestService
Modifier and Type | Method and Description |
---|---|
DecisionDefinitionResource |
getDecisionDefinitionById(String decisionDefinitionId) |
DecisionDefinitionResource |
getDecisionDefinitionByKey(String decisionDefinitionKey) |
DecisionDefinitionResource |
getDecisionDefinitionByKeyAndTenantId(String decisionDefinitionKey,
String tenantId) |
List<DecisionDefinitionDto> |
getDecisionDefinitions(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getDecisionDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo) |
static final String PATH
@Path(value="/{id}") DecisionDefinitionResource getDecisionDefinitionById(@PathParam(value="id") String decisionDefinitionId)
@Path(value="/key/{key}") DecisionDefinitionResource getDecisionDefinitionByKey(@PathParam(value="key") String decisionDefinitionKey)
@Path(value="/key/{key}/tenant-id/{tenantId}") DecisionDefinitionResource getDecisionDefinitionByKeyAndTenantId(@PathParam(value="key") String decisionDefinitionKey, @PathParam(value="tenantId") String tenantId)
@GET @Produces(value="application/json") List<DecisionDefinitionDto> getDecisionDefinitions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Path(value="/count") @Produces(value="application/json") CountResultDto getDecisionDefinitionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2020. All rights reserved.