Class AbstractQueryResource

    • Constructor Detail

      • AbstractQueryResource

        public AbstractQueryResource()
    • Method Detail

      • namedQueryUpdateInternal

        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.
        Parameters:
        version - the version
        persistenceUnit - the persistence unit
        queryName - the name
        headers - the http headers
        uriInfo - the uri info
        Returns:
        the response
      • namedQueryInternal

        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.
        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 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)