Package org.camunda.bpm.engine.rest
Interface UserRestService
-
- All Known Implementing Classes:
UserRestServiceImpl
@Produces("application/json") public interface UserRestService
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceOptionsDto
availableOperations(javax.ws.rs.core.UriInfo context)
void
createUser(UserDto userDto)
UserResource
getUser(String id)
CountResultDto
getUserCount(javax.ws.rs.core.UriInfo uriInfo)
List<UserProfileDto>
queryUsers(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
-
-
-
Field Detail
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUser
@Path("/{id}") UserResource getUser(@PathParam("id") String id)
-
queryUsers
@GET @Produces("application/json") List<UserProfileDto> queryUsers(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)
-
getUserCount
@GET @Path("/count") @Produces("application/json") CountResultDto getUserCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
createUser
@POST @Path("/create") @Consumes("application/json") void createUser(UserDto userDto)
-
availableOperations
@OPTIONS @Produces("application/json") ResourceOptionsDto availableOperations(@Context javax.ws.rs.core.UriInfo context)
-
-