org.tkit.onecx.quarkus.it.security.RoleRestController Maven / Gradle / Ivy
package org.tkit.onecx.quarkus.it.security;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.ws.rs.core.Response;
import gen.org.tkit.onecx.quarkus.security.example.RoleInternalApi;
import gen.org.tkit.onecx.quarkus.security.example.model.CreateRoleRequestDTO;
import gen.org.tkit.onecx.quarkus.security.example.model.UpdateRoleRequestDTO;
@ApplicationScoped
public class RoleRestController implements RoleInternalApi {
@Override
public Response createRole(CreateRoleRequestDTO createRoleRequestDTO) {
return Response.ok().build();
}
@Override
// @PermissionsAllowed({ "delete" })
public Response deleteRole(String id) {
return Response.ok().build();
}
@Override
public Response getRoleById(String id) {
return Response.ok().build();
}
@Override
public Response updateRole(String id, UpdateRoleRequestDTO updateRoleRequestDTO) {
return Response.ok().build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy