Class AbstractRetriever

    • Field Detail

      • query

        protected String query
        Generated or fully customized query.
    • Method Detail

      • setQuery

        public void setQuery​(String query)
        Replace the query with your own fully customized query.
        Parameters:
        query - GraphQL query
      • populate

        protected abstract void populate()
        Executes the query and parses the response.
      • executeQuery

        protected abstract com.adobe.cq.commerce.graphql.client.GraphqlResponse<com.adobe.cq.commerce.magento.graphql.Query,​com.adobe.cq.commerce.magento.graphql.gson.Error> executeQuery()
        Execute the GraphQL query with the GraphQL client.
        Returns:
        GraphqlResponse object