public class CallQuery extends OutputElement
Modifier and Type | Class and Description |
---|---|
static class |
CallQuery.WithParam
This class represents a "with-param" element in a call-query.
|
Constructor and Description |
---|
CallQuery(DataService dataService,
String queryId,
Map<String,CallQuery.WithParam> withParams,
Set<String> requiredRoles) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeElement(XMLStreamWriter xmlWriter,
ExternalParamCollection params,
int queryLevel,
boolean escapeNonPrintableChar) |
DataService |
getDataService() |
Query |
getQuery() |
String |
getQueryId() |
String |
getResultWrapper() |
Map<String,CallQuery.WithParam> |
getWithParams() |
void |
init() |
boolean |
isHasResult() |
execute, getArrayName, getName, getParam, getParamType, getRequiredRoles, isOptional, isOptionalOverride, setOptionalOverride
addAttribute, endElement, getNamespace, setNamespace, startRowElement, startWrapperElement, writeResultElement
public CallQuery(DataService dataService, String queryId, Map<String,CallQuery.WithParam> withParams, Set<String> requiredRoles)
public void init() throws DataServiceFault
DataServiceFault
public Map<String,CallQuery.WithParam> getWithParams()
public DataService getDataService()
public String getQueryId()
public Query getQuery()
protected void executeElement(XMLStreamWriter xmlWriter, ExternalParamCollection params, int queryLevel, boolean escapeNonPrintableChar) throws DataServiceFault
executeElement
in class OutputElement
DataServiceFault
public boolean isHasResult()
public String getResultWrapper()
Copyright © 2019 WSO2. All rights reserved.