Package org.camunda.bpm.engine.rest.impl
Class FilterRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
-
- org.camunda.bpm.engine.rest.impl.FilterRestServiceImpl
-
- All Implemented Interfaces:
FilterRestService
public class FilterRestServiceImpl extends AbstractAuthorizedRestResource implements FilterRestService
- Author:
- Sebastian Menski
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
resource, resourceId
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from interface org.camunda.bpm.engine.rest.FilterRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description FilterRestServiceImpl(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceOptionsDto
availableOperations(javax.ws.rs.core.UriInfo context)
FilterDto
createFilter(FilterDto filterDto)
FilterResource
getFilter(java.lang.String filterId)
java.util.List<FilterDto>
getFilters(javax.ws.rs.core.UriInfo uriInfo, java.lang.Boolean itemCount, java.lang.Integer firstResult, java.lang.Integer maxResults)
CountResultDto
getFiltersCount(javax.ws.rs.core.UriInfo uriInfo)
protected FilterQuery
getQueryFromQueryParameters(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
isAuthorized, isAuthorized, isAuthorized
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getFilter
public FilterResource getFilter(java.lang.String filterId)
- Specified by:
getFilter
in interfaceFilterRestService
-
getFilters
public java.util.List<FilterDto> getFilters(javax.ws.rs.core.UriInfo uriInfo, java.lang.Boolean itemCount, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
getFilters
in interfaceFilterRestService
-
getFiltersCount
public CountResultDto getFiltersCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getFiltersCount
in interfaceFilterRestService
-
createFilter
public FilterDto createFilter(FilterDto filterDto)
- Specified by:
createFilter
in interfaceFilterRestService
-
getQueryFromQueryParameters
protected FilterQuery getQueryFromQueryParameters(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperations
in interfaceFilterRestService
-
-