All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tkit.onecx.quarkus.it.security.RoleRestController Maven / Gradle / Ivy

There is a newer version: 0.34.0
Show newest version
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