Modifier and Type | Method and Description |
---|---|
static ParamValue |
DBUtils.processSQLArray(Array sqlArray,
ParamValue paramValue)
Processes a particular SQL Array object and interprets its value as a ParamValue object.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ParamValue> |
DataServiceFault.getCurrentParams() |
Modifier and Type | Method and Description |
---|---|
static boolean |
DBUtils.isSQLArray(ParamValue paramValue) |
static boolean |
DBUtils.isUDT(ParamValue paramValue) |
static ParamValue |
DBUtils.processSQLArray(Array sqlArray,
ParamValue paramValue)
Processes a particular SQL Array object and interprets its value as a ParamValue object.
|
Modifier and Type | Method and Description |
---|---|
void |
DataServiceFault.setCurrentParams(Map<String,ParamValue> currentParams) |
Modifier and Type | Method and Description |
---|---|
static ParamValue |
TLParamStore.getParam(String name) |
Modifier and Type | Method and Description |
---|---|
static Map<String,ParamValue> |
TLParamStore.getParameterMap() |
Modifier and Type | Method and Description |
---|---|
static void |
TLParamStore.addParam(String name,
ParamValue value) |
Modifier and Type | Method and Description |
---|---|
void |
Query.execute(XMLStreamWriter xmlWriter,
Map<String,ParamValue> params,
int queryLevel) |
Modifier and Type | Method and Description |
---|---|
Map<String,ParamValue> |
SingleDataServiceRequest.getParams() |
Constructor and Description |
---|
BatchDataServiceRequest(DataService dataService,
String requestName,
List<Map<String,ParamValue>> batchParams) |
SingleDataServiceRequest(DataService dataService,
String requestName,
Map<String,ParamValue> params) |
Modifier and Type | Method and Description |
---|---|
static ParamValue |
ParamValue.convertFromScalarToArray(ParamValue value)
Converts a ParamValue object containing a scalar to another ParamValue object containing
an array.
|
ParamValue |
QueryParam.getDefaultValue() |
ParamValue |
ExternalParamCollection.getTempParam(String name) |
ParamValue |
ExternalParam.getValue() |
ParamValue |
InternalParam.getValue() |
ParamValue |
DataEntry.getValue(String name) |
Modifier and Type | Method and Description |
---|---|
List<ParamValue> |
ParamValue.getArrayValue() |
Map<String,ParamValue> |
DataEntry.getData() |
Map<String,ParamValue> |
DSOMDataSource.getParams() |
Map<String,ParamValue> |
ExternalParamCollection.getTempEntries() |
Modifier and Type | Method and Description |
---|---|
void |
ParamValue.addArrayValue(ParamValue value) |
void |
XMLWriterHelper.addAttribute(XMLStreamWriter xmlWriter,
String name,
ParamValue value,
QName xsdType,
int resultType) |
void |
ExternalParamCollection.addTempParam(String name,
ParamValue value) |
void |
ParamValue.addToArrayValue(ParamValue arrayElement)
Adds the given string to current array types ParamValue.
|
void |
DataEntry.addValue(String name,
ParamValue value) |
static ParamValue |
ParamValue.convertFromScalarToArray(ParamValue value)
Converts a ParamValue object containing a scalar to another ParamValue object containing
an array.
|
void |
XMLWriterHelper.writeResultElement(XMLStreamWriter xmlWriter,
String name,
ParamValue value,
QName xsdType,
int categoryType,
int resultType,
ExternalParamCollection params) |
Modifier and Type | Method and Description |
---|---|
void |
DataService.invoke(XMLStreamWriter xmlWriter,
String requestName,
Map<String,ParamValue> params)
Instructs the data service to run the request with the given name
with the given parameters.
|
void |
ParamValue.setArrayValue(List<ParamValue> arrayValue) |
Constructor and Description |
---|
ExternalParam(String name,
ParamValue value,
String type) |
InternalParam(String name,
ParamValue value,
String sqlType,
String type,
String structType,
int ordinal) |
QueryParam(String name,
String sqlType,
String type,
String paramType,
int ordinal,
ParamValue defaultValue,
String structType,
List<Validator> validators,
boolean forceDefault,
boolean optional) |
Constructor and Description |
---|
DSOMDataSource(DataService dataService,
String opName,
Map<String,ParamValue> params) |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.om.OMElement |
DSTools.accessResource(DataService dataService,
String resourcePath,
Map<String,ParamValue> params,
String accessMethod)
This method accesses a resource defined in the data service.
|
static void |
DSTools.invokeOperation(DataService dataService,
String operationName,
List<Map<String,ParamValue>> batchParams)
This method invokes the batch version of the operation defined in the given data service.
|
static org.apache.axiom.om.OMElement |
DSTools.invokeOperation(DataService dataService,
String operationName,
Map<String,ParamValue> params)
This method invokes a single operation defined in the given data service.
|
Modifier and Type | Method and Description |
---|---|
ParamValue |
ValidationException.getFieldValue() |
ParamValue |
ValidationContext.getFieldValue(String name) |
Modifier and Type | Method and Description |
---|---|
void |
Validator.validate(ValidationContext context,
String name,
ParamValue value) |
Constructor and Description |
---|
ValidationException(String message,
String fieldName,
ParamValue fieldValue) |
Constructor and Description |
---|
ValidationContext(Map<String,ParamValue> fields) |
Modifier and Type | Method and Description |
---|---|
void |
GenericValidator.validate(ValidationContext context,
String name,
ParamValue value) |
void |
ArrayTypeValidator.validate(ValidationContext context,
String name,
ParamValue value) |
void |
ScalarTypeValidator.validate(ValidationContext context,
String name,
ParamValue value) |
Copyright © 2019 WSO2. All rights reserved.