The PerformRQLCountQuery Web service executes a given RQL string on the repository specified by the pRepositoryPath argument, and returns the number of items that satisfy that query. The given RQL string cannot contain parameters, as RQL expects parameters in the form of an array of Objects and a Web service request cannot pass an array of Objects. The Web service calls through to the performRQLCountQuery method of the atg.repository.RepositoryServices class, which handles all logic and error checking.
Web Service Implementation
Web Service URL |
|
Web Service Class Name |
|
Nucleus Component |
|
Method Name |
|
Input Parameters |
|
Output |
|
Exception |
|
PerformRQLCountQuery Exceptions
Exceptions generated by the PerformRQLCountQuery Web service may occur for the following reasons:
RepositoryException
The
pRepositoryPathspecified by the argument is null, or empty.The
pRepositoryPathspecified by the argument does not resolve to a component.The
pRepositoryPathspecified by the argument does not resolve to a Repository.The
pItemDescriptorNamespecified by the argument does not identify anItemDescriptorof the given repository.The
pRQLStringspecified by the argument is null, or empty.The RQL code throws an exception during parsing or execution.
Web Service Generation
The following parameters are used to generate this Web service, using the WebServiceGeneratorImpl class:
Parameter | Value |
|---|---|
|
|
|
|
|
|
|
|
| A collection of Web services used to make repository calls |
|
|
|
|
| Performs a repository count query using the given repository path, item descriptor name and RQL string |
|
|
|
|
|
|
| A collection of generic repository Web services, where the user must provide information about which repository is being acted upon |
| null (will be dynamic) |
| null (will be dynamic) |
|
|
|
|

