Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| pr_methods:executenamedquery [2023/04/04 05:51] – removed - external edit (Unknown date) 127.0.0.1 | pr_methods:executenamedquery [2023/05/08 06:53] (current) – sean | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{tag> | ||
| + | ==== executeNamedQuery (IProcess, String, Integer, Integer)==== | ||
| + | <code java> | ||
| + | throws AccessDeniedException, | ||
| + | |||
| + | This method runs the query with the specified name and returns the instances of the business objects matching the conditions of the query. The query with this name must be configured in the business space version. The method may return only a subset of found instances as defined by the startRange and span parameters. | ||
| + | |||
| + | ===Parameters=== | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |||
| + | ===Returns=== | ||
| + | The instances of the business objects that match the query conditions. These instances are wrapped in the QueryResult object, which also has the total number of instances in the system matching the query conditions. Note that this number can be greater than the number of business object instances returned by the method as the method may return only a subset of instances matching the conditions (if startRange and span are specified). | ||