Interface ScopePermissionsResource
public interface ScopePermissionsResource
- Author:
- Pedro Igor
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsecreate(ScopePermissionRepresentation representation) default List<ScopePermissionRepresentation>findAll(String id, String name, String resource, String fields, Integer firstResult, Integer maxResult) default ScopePermissionRepresentationfindByName(String name) findByName(String name, String fields)
-
Method Details
-
create
@POST @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response create(ScopePermissionRepresentation representation) -
findById
-
findByName
@Path("/search") @GET @Produces("application/json") ScopePermissionRepresentation findByName(@QueryParam("name") String name, @QueryParam("fields") String fields) -
findByName
-
findAll
@GET @Produces("application/json") List<ScopePermissionRepresentation> findAll(@QueryParam("policyId") String id, @QueryParam("name") String name, @QueryParam("resource") String resource, @QueryParam("fields") String fields, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResult) -
findAll
-