The PerformRQLQuery
Web service executes a given RQL string on the repository specified by the pRepositoryPath
argument, and returns items of the type specified by the pItemDescriptorName
argument. The given RQL string cannot contain parameters, as RQL expects parameters in the form of an array of Objects. The Web service calls through to the performRQLQuery
method of the atg.repository.RepositoryServices
class, which handles all logic, error checking, and result transformation.
Web Service Implementation
Web Service URL |
|
Web Service Class Name |
|
Nucleus Component |
|
Method Name |
|
Input Parameters |
|
Output |
|
Exceptions |
|
PerformRQLQuery Exceptions
Exceptions generated by the PerformRQLQuery
Web service may occur for the following reasons:
RepositoryException
The
pRepositoryPath
specified by the argument is null, or empty.The
pRepositoryPath
specified by the argument does not resolve to a component.The
pRepositoryPath
specified by the argument does not resolve to a Repository.The
pItemDescriptorName
specified by the argument does not identify anItemDescriptor
of the given repository.The
pRQLString
specified by the argument is null, or empty.The RQL code throws an exception during parsing or execution.
GetException
The call to GetService.getItemAsXML
throws a GetException
for any found items.
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 |
|
|
|
|
| When called, executes the given query against the specified repository |
|
|
|
|
|
|
|
|
| A collection of generic repository Web services, where the user must provide information about which repository is being acted upon |
|
|
|
|
|
|
|
|