Interface RoleInternalApi
- All Known Implementing Classes:
RoleRestController
@Path("/internal/roles")
@Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen",
date="2025-04-23T11:54:14.548368752Z[Etc/UTC]",
comments="Generator version: 7.9.0")
public interface RoleInternalApi
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecreateRole(@Valid @NotNull CreateRoleRequestDTO createRoleRequestDTO) jakarta.ws.rs.core.ResponsedeleteRole(String id) jakarta.ws.rs.core.ResponsegetRoleById(String id) jakarta.ws.rs.core.ResponseupdateRole(String id, @Valid @NotNull UpdateRoleRequestDTO updateRoleRequestDTO)
-
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)
-