Class ScopeService

    • Method Detail

      • create

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response create​(ScopeRepresentation scope)
      • update

        @Path("{id}")
        @PUT
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response update​(@PathParam("id")
                                                String id,
                                                ScopeRepresentation scope)
      • delete

        @Path("{id}")
        @DELETE
        public javax.ws.rs.core.Response delete​(@PathParam("id")
                                                String id)
      • findById

        @Path("{id}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response findById​(@PathParam("id")
                                                  String id)
      • getResources

        @Path("{id}/resources")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getResources​(@PathParam("id")
                                                      String id)
      • getPermissions

        @Path("{id}/permissions")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getPermissions​(@PathParam("id")
                                                        String id)
      • find

        @Path("/search")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response find​(@QueryParam("name")
                                              String name)
      • findAll

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response findAll​(@QueryParam("scopeId")
                                                 String id,
                                                 @QueryParam("name")
                                                 String name,
                                                 @QueryParam("first")
                                                 Integer firstResult,
                                                 @QueryParam("max")
                                                 Integer maxResult)