Class QueryResource
- java.lang.Object
-
- org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
-
- org.eclipse.persistence.jpa.rs.resources.common.AbstractQueryResource
-
- org.eclipse.persistence.jpa.rs.resources.unversioned.QueryResource
-
@Produces({"application/json","application/xml"}) @Consumes({"application/json","application/xml"}) @Path("/{context}/query/") public class QueryResource extends AbstractQueryResource
Deprecated.UseQueryResource
instead.PersistenceResource
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
-
-
Constructor Summary
Constructors Constructor Description QueryResource()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.Response
namedQuery(java.lang.String persistenceUnit, java.lang.String name, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo ui)
Deprecated.javax.ws.rs.core.Response
namedQueryUpdate(java.lang.String persistenceUnit, java.lang.String name, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.UriInfo ui)
Deprecated.-
Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractQueryResource
buildQueryOptionsResponse, namedQueryInternal, namedQueryUpdateInternal
-
Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
-
-
-
-
Method Detail
-
namedQueryUpdate
@POST @Path("{name}") public javax.ws.rs.core.Response namedQueryUpdate(@PathParam("context") java.lang.String persistenceUnit, @PathParam("name") java.lang.String name, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui)
Deprecated.
-
namedQuery
@GET @Path("{name}") public javax.ws.rs.core.Response namedQuery(@PathParam("context") java.lang.String persistenceUnit, @PathParam("name") java.lang.String name, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui)
Deprecated.
-
-