public abstract class AbstractSingleResultQueryResource extends AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
Constructor and Description |
---|
AbstractSingleResultQueryResource() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
namedQuerySingleResultInternal(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 single result.
|
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
protected javax.ws.rs.core.Response namedQuerySingleResultInternal(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 query nameheaders
- the http headersuriInfo
- the uriInfo