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

public abstract class AbstractQueryResource extends AbstractResource
Base class for query resource.
  • Constructor Details

    • AbstractQueryResource

      public AbstractQueryResource()
  • Method Details

    • namedQueryUpdateInternal

      protected Response namedQueryUpdateInternal(String version, String persistenceUnit, String queryName, HttpHeaders headers, UriInfo uriInfo)
      Named query update internal.
      Parameters:
      version - the version
      persistenceUnit - the persistence unit
      queryName - the name
      headers - the http headers
      uriInfo - the uri info
      Returns:
      the response
    • namedQueryInternal

      protected Response namedQueryInternal(String version, String persistenceUnit, String queryName, HttpHeaders headers, UriInfo uriInfo)
      Executes given named query.
      Parameters:
      version - the version
      persistenceUnit - the persistence unit
      queryName - named query to execute
      headers - the http headers
      uriInfo - the uri info
      Returns:
      the response
    • buildQueryOptionsResponse

      protected Response buildQueryOptionsResponse(String version, String persistenceUnit, String queryName, HttpHeaders httpHeaders, UriInfo uriInfo)