Class EntityResource


  • @Deprecated
    @Produces({"application/json","application/xml"})
    @Consumes({"application/json","application/xml"})
    @Path("/{context}/entity/")
    public class EntityResource
    extends AbstractEntityResource
    Deprecated.
    Use EntityResource instead.
    • Constructor Detail

      • EntityResource

        public EntityResource()
        Deprecated.
    • Method Detail

      • findAttribute

        @GET
        @Path("{type}/{id}/{attribute}")
        public jakarta.ws.rs.core.Response findAttribute​(@PathParam("context")
                                                         String persistenceUnit,
                                                         @PathParam("type")
                                                         String type,
                                                         @PathParam("id")
                                                         String id,
                                                         @PathParam("attribute")
                                                         String attribute,
                                                         @Context
                                                         jakarta.ws.rs.core.HttpHeaders hh,
                                                         @Context
                                                         jakarta.ws.rs.core.UriInfo ui)
        Deprecated.
      • find

        @GET
        @Path("{type}/{id}")
        public jakarta.ws.rs.core.Response find​(@PathParam("context")
                                                String persistenceUnit,
                                                @PathParam("type")
                                                String type,
                                                @PathParam("id")
                                                String id,
                                                @Context
                                                jakarta.ws.rs.core.HttpHeaders hh,
                                                @Context
                                                jakarta.ws.rs.core.UriInfo ui)
        Deprecated.
      • create

        @PUT
        @Path("{type}")
        public jakarta.ws.rs.core.Response create​(@PathParam("context")
                                                  String persistenceUnit,
                                                  @PathParam("type")
                                                  String type,
                                                  @Context
                                                  jakarta.ws.rs.core.HttpHeaders hh,
                                                  @Context
                                                  jakarta.ws.rs.core.UriInfo uriInfo,
                                                  InputStream in)
                                           throws Exception
        Deprecated.
        Throws:
        Exception
      • update

        @POST
        @Path("{type}")
        public jakarta.ws.rs.core.Response update​(@PathParam("context")
                                                  String persistenceUnit,
                                                  @PathParam("type")
                                                  String type,
                                                  @Context
                                                  jakarta.ws.rs.core.HttpHeaders hh,
                                                  @Context
                                                  jakarta.ws.rs.core.UriInfo uriInfo,
                                                  InputStream in)
        Deprecated.
      • setOrAddAttribute

        @POST
        @Path("{type}/{id}/{attribute}")
        public jakarta.ws.rs.core.Response setOrAddAttribute​(@PathParam("context")
                                                             String persistenceUnit,
                                                             @PathParam("type")
                                                             String type,
                                                             @PathParam("id")
                                                             String id,
                                                             @PathParam("attribute")
                                                             String attribute,
                                                             @Context
                                                             jakarta.ws.rs.core.HttpHeaders hh,
                                                             @Context
                                                             jakarta.ws.rs.core.UriInfo ui,
                                                             InputStream in)
        Deprecated.
      • removeAttribute

        @DELETE
        @Path("{type}/{id}/{attribute}")
        public jakarta.ws.rs.core.Response removeAttribute​(@PathParam("context")
                                                           String persistenceUnit,
                                                           @PathParam("type")
                                                           String type,
                                                           @PathParam("id")
                                                           String id,
                                                           @PathParam("attribute")
                                                           String attribute,
                                                           @Context
                                                           jakarta.ws.rs.core.HttpHeaders hh,
                                                           @Context
                                                           jakarta.ws.rs.core.UriInfo ui)
        Deprecated.
      • delete

        @DELETE
        @Path("{type}/{id}")
        public jakarta.ws.rs.core.Response delete​(@PathParam("context")
                                                  String persistenceUnit,
                                                  @PathParam("type")
                                                  String type,
                                                  @PathParam("id")
                                                  String id,
                                                  @Context
                                                  jakarta.ws.rs.core.HttpHeaders hh,
                                                  @Context
                                                  jakarta.ws.rs.core.UriInfo ui)
        Deprecated.