public class AuthorizationRestServiceImpl extends AbstractAuthorizedRestResource implements AuthorizationRestService
resource, resourceId
relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
AuthorizationRestServiceImpl() |
AuthorizationRestServiceImpl(String engineName) |
Modifier and Type | Method and Description |
---|---|
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) |
isAuthorized, isAuthorized, isAuthorized
getProcessEngine, setRelativeRootResourceUri
public AuthorizationRestServiceImpl()
public AuthorizationRestServiceImpl(String engineName)
public AuthorizationCheckResultDto isUserAuthorized(String permissionName, String resourceName, Integer resourceType, String resourceId)
isUserAuthorized
in interface AuthorizationRestService
public AuthorizationResource getAuthorization(String id)
getAuthorization
in interface AuthorizationRestService
public List<AuthorizationDto> queryAuthorizations(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
queryAuthorizations
in interface AuthorizationRestService
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface AuthorizationRestService
public List<AuthorizationDto> queryAuthorizations(AuthorizationQueryDto queryDto, Integer firstResult, Integer maxResults)
public CountResultDto getAuthorizationCount(javax.ws.rs.core.UriInfo uriInfo)
getAuthorizationCount
in interface AuthorizationRestService
protected CountResultDto getAuthorizationCount(AuthorizationQueryDto queryDto)
public AuthorizationDto createAuthorization(javax.ws.rs.core.UriInfo context, AuthorizationCreateDto dto)
createAuthorization
in interface AuthorizationRestService
protected List<Authorization> executePaginatedQuery(AuthorizationQuery query, Integer firstResult, Integer maxResults)
protected IdentityService getIdentityService()
Copyright © 2015. All rights reserved.