Interface RoleUIService

All Known Implementing Classes:
RoleUIServiceImpl

@Path("/") public interface RoleUIService
  • Method Details

    • getRoles

      @GET @Path("/roles") @Produces("text/html") String getRoles(@Context javax.ws.rs.core.UriInfo query)
    • get

      @GET @Path("/role/{role_id}") @Produces("text/html") String get(@PathParam("role_id") String roleId)
    • create

      @POST @Path("/roles/create") @Produces("text/html") javax.ws.rs.core.Response create(@FormParam("id") String id, @FormParam("token") String token, @FormParam("caption") String caption)
    • delete

      @POST @Path("/role/{role_id}/delete") @Produces("text/html") javax.ws.rs.core.Response delete(@PathParam("role_id") String roleId, @FormParam("token") String token)
    • changeCaption

      @POST @Path("/role/{role_id}/change-caption") @Produces("text/html") javax.ws.rs.core.Response changeCaption(@PathParam("role_id") String roleId, @FormParam("token") String token, @FormParam("caption") String newPassword)
    • changeMembers

      @POST @Path("/role/{role_id}/change-members") @Produces("text/html") javax.ws.rs.core.Response changeMembers(@PathParam("role_id") String roleId, @FormParam("token") String token, @FormParam("members") List<Integer> members)