Query response service for business objects
First Claim
1. A computer-implemented method comprising:
- receiving a request to perform a query on a plurality of instances of at least one business object having a query response transformation node, the query comprising selection criteria for a plurality of attributes across a plurality of nodes for each of the instances of the at least one business object, the selection criteria including at least one query input parameter configured to indicate data to be queried and at least one query output parameter configured to indicate a selection of data to be retrieved from the queried data;
using the at least one query input parameter, initiating the query on the instances of the at least one business object, wherein the initiating is based on an input selection mapping of a query view for a client service consumer system to a query parameter structure having at least one of the following;
the at least one query input parameter and the at least one query output parameter; and
using the at least one query output parameter, returning results comprising values from the attributes across the nodes corresponding to the selection of data of the at least one business object, wherein the returning is based on a result mapping from attributes of the query response transformation node to the query view for the client service consumer system;
wherein the query is assigned to a node of the at least one business object and the node to which the query is assigned includes a combination of attributes associated with the plurality of attributes across the plurality of nodes of the at least one business object;
wherein the attributes of the node to which the query is assigned are a union of query result attributes of queries assigned to the node to which the query is assigned.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, for a query response service for business objects. In general, data characterizing a request to perform a query on multiple instances of a business object may be received, where the query includes selection criteria for multiple attributes across multiple nodes for each of the instances of the business object. The query may be initiated on the instances of the business object. Results including values from the attributes across the nodes of the business objects may be returned. The query may be assigned to a node of the business object, which may be a query response transformation node. The node may include a combination of attributes associated with the attributes across the nodes of the business object. Results may be sorted on a server, sent as pages to a client, or both.
32 Citations
13 Claims
-
1. A computer-implemented method comprising:
-
receiving a request to perform a query on a plurality of instances of at least one business object having a query response transformation node, the query comprising selection criteria for a plurality of attributes across a plurality of nodes for each of the instances of the at least one business object, the selection criteria including at least one query input parameter configured to indicate data to be queried and at least one query output parameter configured to indicate a selection of data to be retrieved from the queried data; using the at least one query input parameter, initiating the query on the instances of the at least one business object, wherein the initiating is based on an input selection mapping of a query view for a client service consumer system to a query parameter structure having at least one of the following;
the at least one query input parameter and the at least one query output parameter; andusing the at least one query output parameter, returning results comprising values from the attributes across the nodes corresponding to the selection of data of the at least one business object, wherein the returning is based on a result mapping from attributes of the query response transformation node to the query view for the client service consumer system; wherein the query is assigned to a node of the at least one business object and the node to which the query is assigned includes a combination of attributes associated with the plurality of attributes across the plurality of nodes of the at least one business object; wherein the attributes of the node to which the query is assigned are a union of query result attributes of queries assigned to the node to which the query is assigned. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product, tangibly embodied on a computer-readable medium, the product comprising instructions to cause a data processing apparatus to perform operations comprising:
-
receiving a request to perform a query on a plurality of instances of at least one business object having a query response transformation node, the query comprising selection criteria for a plurality of attributes across a plurality of nodes for each of the instances of the at least one business object, the selection criteria including at least one query input parameter configured to indicate data to be queried and at least one query output parameter configured to indicate a selection of data to be retrieved from the queried data; using the at least one query input parameter, initiating the query on the instances of the at least one business object, wherein the initiating is based on an input selection mapping of a query view for a client service consumer system to a query parameter structure having at least one of the following;
the at least one query input parameter and the at least one query output parameter; andusing the at least one query output parameter, returning results comprising values from the attributes across the nodes corresponding to the selection of data of the at least one business object, wherein the returning is based on a result mapping from attributes of the query response transformation node to the query view for the client service consumer system; wherein the query is assigned to a node of the at least one business object and the node to which the query is assigned includes a combination of attributes associated with the plurality of attributes across the plurality of nodes of the at least one business object; wherein the attributes of the node to which the query is assigned are a union of query result attributes of queries assigned to the node to which the query is assigned. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer-implemented method comprising:
-
at a query service assigned to a query response transformation node of at least one business object, receiving a request to perform a query on a plurality of instances of the at least one business object, the query to return results comprising a plurality of attributes across a plurality of nodes for each of the instances of the at least one business object, the results being a subset of attributes of the at least one business object specified by the query, the request from a client consumer of the query service; at the query service, using at least one query input parameter, initiating the query on the instances of the at least one business object by calling a search infrastructure to perform the query, the calling of the search infrastructure comprising a query parameter structure of query criteria, wherein the query criteria includes the at least one query input parameter configured to indicate data to be queried and at least one query output parameter configured to indicate a selection of data to be retrieved from the queried data, wherein the initiating is based on an input selection mapping of a query view for the client consumer to the query parameter structure; and at the query service, using the at least one query output parameter, returning results comprising values from the attributes across the nodes corresponding to the selection of data of the at least one business object to a query view at the client consumer, the returning results to the query view based on a result mapping of attributes of the query response transformation node to fields of the query view; wherein the query is assigned to a node of the at least one business object and the node to which the query is assigned includes a combination of attributes associated with the plurality of attributes across the plurality of nodes of the at least one business object; wherein the attributes of the node to which the query is assigned are a union of query result attributes of queries assigned to the node to which the query is assigned.
-
Specification