Class EntityResource


@Produces({"application/json","application/xml"}) @Consumes({"application/json","application/xml"}) @Path("/{version : v\\d\\.\\d|latest}/{context}/entity/") public class EntityResource extends AbstractEntityResource
Entity resource.
Author:
gonural
  • Constructor Details

    • EntityResource

      public EntityResource()
  • Method Details

    • findAttribute

      @GET @Path("{type}/{id}/{attribute}") public jakarta.ws.rs.core.Response findAttribute(@PathParam("version") String version, @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)
    • find

      @GET @Path("{type}/{id}") public jakarta.ws.rs.core.Response find(@PathParam("version") String version, @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)
    • create

      @PUT @Path("{type}") public jakarta.ws.rs.core.Response create(@PathParam("version") String version, @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
      Throws:
      Exception
    • update

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

      @POST @Path("{type}/{id}/{attribute}") public jakarta.ws.rs.core.Response setOrAddAttribute(@PathParam("version") String version, @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)
    • removeAttribute

      @DELETE @Path("{type}/{id}/{attribute}") public jakarta.ws.rs.core.Response removeAttribute(@PathParam("version") String version, @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)
    • delete

      @DELETE @Path("{type}/{id}") public jakarta.ws.rs.core.Response delete(@PathParam("version") String version, @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)
    • getEntityOptions

      @OPTIONS @Path("{entityName}") public jakarta.ws.rs.core.Response getEntityOptions(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @PathParam("entityName") String entityName, @Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @Context jakarta.ws.rs.core.UriInfo uriInfo)