public abstract class AbstractQueryResource extends AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
Constructor and Description |
---|
AbstractQueryResource() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
buildQueryOptionsResponse(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String queryName,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo uriInfo) |
protected javax.ws.rs.core.Response |
namedQueryInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String queryName,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo)
Executes given named query.
|
protected javax.ws.rs.core.Response |
namedQueryUpdateInternal(java.lang.String version,
java.lang.String persistenceUnit,
java.lang.String queryName,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo)
Named query update internal.
|
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
protected javax.ws.rs.core.Response namedQueryUpdateInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String queryName, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
version
- the versionpersistenceUnit
- the persistence unitqueryName
- the nameheaders
- the http headersuriInfo
- the uri infoprotected javax.ws.rs.core.Response namedQueryInternal(java.lang.String version, java.lang.String persistenceUnit, java.lang.String queryName, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
version
- the versionpersistenceUnit
- the persistence unitqueryName
- named query to executeheaders
- the http headersuriInfo
- the uri infoprotected javax.ws.rs.core.Response buildQueryOptionsResponse(java.lang.String version, java.lang.String persistenceUnit, java.lang.String queryName, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo uriInfo)