Class AbstractSingleResultQueryResource

java.lang.Object
org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
org.eclipse.persistence.jpa.rs.resources.common.AbstractSingleResultQueryResource
Direct Known Subclasses:
SingleResultQueryResource

public abstract class AbstractSingleResultQueryResource extends AbstractResource
Base class for all single result query resources.
  • Constructor Details

    • AbstractSingleResultQueryResource

      public AbstractSingleResultQueryResource()
  • Method Details

    • namedQuerySingleResultInternal

      protected Response namedQuerySingleResultInternal(String version, String persistenceUnit, String queryName, HttpHeaders headers, UriInfo uriInfo)
      Named query single result.
      Parameters:
      version - the version
      persistenceUnit - the persistence unit
      queryName - the query name
      headers - the http headers
      uriInfo - the uriInfo
      Returns:
      the response