org.camunda.bpm.engine.rest.impl
Class AuthorizationRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
org.camunda.bpm.engine.rest.impl.AuthorizationRestServiceImpl
- All Implemented Interfaces:
- AuthorizationRestService
public class AuthorizationRestServiceImpl
- extends AbstractAuthorizedRestResource
- implements AuthorizationRestService
- Author:
- Daniel Meyer
|
Method Summary |
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context)
|
AuthorizationDto |
createAuthorization(javax.ws.rs.core.UriInfo context,
AuthorizationCreateDto dto)
|
protected List<Authorization> |
executePaginatedQuery(AuthorizationQuery query,
Integer firstResult,
Integer maxResults)
|
AuthorizationResource |
getAuthorization(String id)
|
protected CountResultDto |
getAuthorizationCount(AuthorizationQueryDto queryDto)
|
CountResultDto |
getAuthorizationCount(javax.ws.rs.core.UriInfo uriInfo)
|
protected IdentityService |
getIdentityService()
|
AuthorizationCheckResultDto |
isUserAuthorized(String permissionName,
String resourceName,
Integer resourceType,
String resourceId)
|
List<AuthorizationDto> |
queryAuthorizations(AuthorizationQueryDto queryDto,
Integer firstResult,
Integer maxResults)
|
List<AuthorizationDto> |
queryAuthorizations(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationRestServiceImpl
public AuthorizationRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
isUserAuthorized
public AuthorizationCheckResultDto isUserAuthorized(String permissionName,
String resourceName,
Integer resourceType,
String resourceId)
- Specified by:
isUserAuthorized in interface AuthorizationRestService
getAuthorization
public AuthorizationResource getAuthorization(String id)
- Specified by:
getAuthorization in interface AuthorizationRestService
queryAuthorizations
public List<AuthorizationDto> queryAuthorizations(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
- Specified by:
queryAuthorizations in interface AuthorizationRestService
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperations in interface AuthorizationRestService
queryAuthorizations
public List<AuthorizationDto> queryAuthorizations(AuthorizationQueryDto queryDto,
Integer firstResult,
Integer maxResults)
getAuthorizationCount
public CountResultDto getAuthorizationCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getAuthorizationCount in interface AuthorizationRestService
getAuthorizationCount
protected CountResultDto getAuthorizationCount(AuthorizationQueryDto queryDto)
createAuthorization
public AuthorizationDto createAuthorization(javax.ws.rs.core.UriInfo context,
AuthorizationCreateDto dto)
- Specified by:
createAuthorization in interface AuthorizationRestService
executePaginatedQuery
protected List<Authorization> executePaginatedQuery(AuthorizationQuery query,
Integer firstResult,
Integer maxResults)
getIdentityService
protected IdentityService getIdentityService()
Copyright © 2016 camunda services GmbH. All rights reserved.