Interface RoleInternalApi

All Known Implementing Classes:
RoleRestController

@Path("/internal/roles") @Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date="2024-02-29T20:04:00.644645918Z[Etc/UTC]") public interface RoleInternalApi
  • Method Details

    • createRole

      @PermissionsAllowed("read") @POST @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response createRole(@Valid @NotNull @Valid @NotNull CreateRoleRequestDTO createRoleRequestDTO)
    • deleteRole

      @PermissionsAllowed("write") @DELETE @Path("/{id}") jakarta.ws.rs.core.Response deleteRole(@PathParam("id") String id)
    • getRoleById

      @PermissionsAllowed({"read","microprofile-jwt"}) @GET @Path("/{id}") @Produces("application/json") jakarta.ws.rs.core.Response getRoleById(@PathParam("id") String id)
    • updateRole

      @PermissionsAllowed("write") @PUT @Path("/{id}") @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response updateRole(@PathParam("id") String id, @Valid @NotNull @Valid @NotNull UpdateRoleRequestDTO updateRoleRequestDTO)