EntityResource
instead.@Deprecated @Produces(value={"application/json","application/xml"}) @Consumes(value={"application/json","application/xml"}) @Path(value="/{context}/entity/") public class EntityResource extends AbstractEntityResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
Constructor and Description |
---|
EntityResource()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
jakarta.ws.rs.core.Response |
create(String persistenceUnit,
String type,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo uriInfo,
InputStream in)
Deprecated.
|
jakarta.ws.rs.core.Response |
delete(String persistenceUnit,
String type,
String id,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui)
Deprecated.
|
jakarta.ws.rs.core.Response |
find(String persistenceUnit,
String type,
String id,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui)
Deprecated.
|
jakarta.ws.rs.core.Response |
findAttribute(String persistenceUnit,
String type,
String id,
String attribute,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui)
Deprecated.
|
jakarta.ws.rs.core.Response |
removeAttribute(String persistenceUnit,
String type,
String id,
String attribute,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui)
Deprecated.
|
jakarta.ws.rs.core.Response |
setOrAddAttribute(String persistenceUnit,
String type,
String id,
String attribute,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui,
InputStream in)
Deprecated.
|
jakarta.ws.rs.core.Response |
update(String persistenceUnit,
String type,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo uriInfo,
InputStream in)
Deprecated.
|
buildEntityOptionsResponse, createInternal, deleteInternal, findAttributeInternal, findInternal, removeAttributeInternal, setOrAddAttributeInternal, updateInternal
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
@GET @Path(value="{type}/{id}/{attribute}") public jakarta.ws.rs.core.Response findAttribute(@PathParam(value="context") String persistenceUnit, @PathParam(value="type") String type, @PathParam(value="id") String id, @PathParam(value="attribute") String attribute, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui)
@GET @Path(value="{type}/{id}") public jakarta.ws.rs.core.Response find(@PathParam(value="context") String persistenceUnit, @PathParam(value="type") String type, @PathParam(value="id") String id, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui)
@PUT @Path(value="{type}") public jakarta.ws.rs.core.Response create(@PathParam(value="context") String persistenceUnit, @PathParam(value="type") String type, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo, InputStream in) throws Exception
Exception
@POST @Path(value="{type}") public jakarta.ws.rs.core.Response update(@PathParam(value="context") String persistenceUnit, @PathParam(value="type") String type, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo uriInfo, InputStream in)
@POST @Path(value="{type}/{id}/{attribute}") public jakarta.ws.rs.core.Response setOrAddAttribute(@PathParam(value="context") String persistenceUnit, @PathParam(value="type") String type, @PathParam(value="id") String id, @PathParam(value="attribute") String attribute, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui, InputStream in)
@DELETE @Path(value="{type}/{id}/{attribute}") public jakarta.ws.rs.core.Response removeAttribute(@PathParam(value="context") String persistenceUnit, @PathParam(value="type") String type, @PathParam(value="id") String id, @PathParam(value="attribute") String attribute, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui)
@DELETE @Path(value="{type}/{id}") public jakarta.ws.rs.core.Response delete(@PathParam(value="context") String persistenceUnit, @PathParam(value="type") String type, @PathParam(value="id") String id, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui)
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.