public class FilterRestServiceImpl extends AbstractAuthorizedRestResource implements FilterRestService
resource, resourceId
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
FilterRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
FilterDto |
createFilter(FilterDto filterDto) |
List<Filter> |
executeFilterQuery(FilterQuery query,
Integer firstResult,
Integer maxResults) |
protected List<Filter> |
executePaginatedQuery(FilterQuery query,
Integer firstResult,
Integer maxResults) |
FilterResource |
getFilter(String filterId) |
List<FilterDto> |
getFilters(javax.ws.rs.core.UriInfo uriInfo,
Boolean itemCount,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getFiltersCount(javax.ws.rs.core.UriInfo uriInfo) |
protected FilterQuery |
getQueryFromQueryParameters(javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
isAuthorized, isAuthorized, isAuthorized
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public FilterRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public FilterResource getFilter(String filterId)
getFilter
in interface FilterRestService
public List<FilterDto> getFilters(javax.ws.rs.core.UriInfo uriInfo, Boolean itemCount, Integer firstResult, Integer maxResults)
getFilters
in interface FilterRestService
public List<Filter> executeFilterQuery(FilterQuery query, Integer firstResult, Integer maxResults)
protected List<Filter> executePaginatedQuery(FilterQuery query, Integer firstResult, Integer maxResults)
public CountResultDto getFiltersCount(javax.ws.rs.core.UriInfo uriInfo)
getFiltersCount
in interface FilterRestService
public FilterDto createFilter(FilterDto filterDto)
createFilter
in interface FilterRestService
protected FilterQuery getQueryFromQueryParameters(javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface FilterRestService
Copyright © 2017. All rights reserved.