Class RoleService

java.lang.Object
org.europa.together.service.acl.RoleService

@Service @Path("/acl/1/role") public class RoleService extends Object
RESTful Service for Roles.
Since:
1.0
Version:
1.0
Author:
elmar.dott@gmail.com
  • Constructor Details

    • RoleService

      public RoleService()
  • Method Details

    • fetchRole

      @GET @Path("/{role}") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchRole(@PathParam("role") String roleName)
    • fetchProtectedRoles

      @GET @Path("/list/protected") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchProtectedRoles()
    • fetchAllRoles

      @GET @Path("/list") @Produces("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response fetchAllRoles()
    • updateRole

      @PUT @Consumes("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response updateRole(org.europa.together.domain.acl.RolesDO role)
    • createRole

      @POST @Consumes("application/json") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response createRole(org.europa.together.domain.acl.RolesDO role)
    • deleteRole

      @DELETE @Path("/{role}") @API(status=STABLE, since="1") public jakarta.ws.rs.core.Response deleteRole(@PathParam("role") String roleName)