@Produces(value={"application/json","application/xml"}) @Consumes(value={"application/json","application/xml"}) @Path(value="/{version : v\\d\\.\\d|latest}/{context}/entity/") public class EntityResource extends AbstractEntityResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
Constructor and Description |
---|
EntityResource() |
Modifier and Type | Method and Description |
---|---|
jakarta.ws.rs.core.Response |
create(String version,
String persistenceUnit,
String type,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo uriInfo,
InputStream in) |
jakarta.ws.rs.core.Response |
delete(String version,
String persistenceUnit,
String type,
String id,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui) |
jakarta.ws.rs.core.Response |
find(String version,
String persistenceUnit,
String type,
String id,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui) |
jakarta.ws.rs.core.Response |
findAttribute(String version,
String persistenceUnit,
String type,
String id,
String attribute,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui) |
jakarta.ws.rs.core.Response |
getEntityOptions(String version,
String persistenceUnit,
String entityName,
jakarta.ws.rs.core.HttpHeaders httpHeaders,
jakarta.ws.rs.core.UriInfo uriInfo) |
jakarta.ws.rs.core.Response |
removeAttribute(String version,
String persistenceUnit,
String type,
String id,
String attribute,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui) |
jakarta.ws.rs.core.Response |
setOrAddAttribute(String version,
String persistenceUnit,
String type,
String id,
String attribute,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo ui,
InputStream in) |
jakarta.ws.rs.core.Response |
update(String version,
String persistenceUnit,
String type,
jakarta.ws.rs.core.HttpHeaders hh,
jakarta.ws.rs.core.UriInfo uriInfo,
InputStream in) |
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="version") String version, @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="version") String version, @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="version") String version, @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="version") String version, @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="version") String version, @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="version") String version, @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="version") String version, @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)
@OPTIONS @Path(value="{entityName}") public jakarta.ws.rs.core.Response getEntityOptions(@PathParam(value="version") String version, @PathParam(value="context") String persistenceUnit, @PathParam(value="entityName") String entityName, @Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @Context jakarta.ws.rs.core.UriInfo uriInfo)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.