Package | Description |
---|---|
com.adobe.aem.dermis.api.bridge | |
com.adobe.aem.dermis.model | |
com.adobe.aem.dermis.model.value | |
com.adobe.aem.dermis.util |
Modifier and Type | Method and Description |
---|---|
IValueMap |
OperationOptions.getArgumentsValueMap()
Get arguments (in IValueMap format) representing the input of the operation
|
IValueMap |
Query.getArgumentsValueMap()
Get arguments representing the input of the operation as IValueMap
|
Modifier and Type | Method and Description |
---|---|
void |
OperationOptions.setArgumentsValueMap(IValueMap arguments)
Set input of the operation
Input arguments can be given either as a JSONObject or as IValueMap - these two formats are mutually exclusive.
|
void |
Query.setArgumentsValueMap(IValueMap arguments)
Set operation arguments, accepts an IValueMap for arguments
Input arguments can be given either as a JSONObject or as IValueMap - these two formats are mutually exclusive.
|
Constructor and Description |
---|
OperationOptions(String operationId,
IValueMap argumentsValueMap)
This constructor will be used in case of direct execution of operation
It takes an IValueMap for operation arguments
|
Modifier and Type | Method and Description |
---|---|
IValueMap |
ExecutionContext.getArgumentsValueMap()
Get IValueMap representing the input of the operation
|
Modifier and Type | Class and Description |
---|---|
class |
ValueMap
Define the generic value map which will represent the operation input and output in map format.
|
Modifier and Type | Method and Description |
---|---|
static IValueMap |
ValueMap.of(Map<String,IValue> valueMap) |
Modifier and Type | Method and Description |
---|---|
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
boolean autoCoerce)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
boolean autoCoerce,
boolean generateNullForPropsNotInData)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
boolean autoCoerce,
boolean generateNullForPropsNotInData,
boolean removeComputedAttributes)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce,
boolean generateNullForPropsNotInData)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce,
boolean generateNullForPropsNotInData,
boolean removeComputedAttributes)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.jsonObjectToValue(org.apache.sling.commons.json.JSONObject data)
Construct the value object based on the provided
JSONObject . |
Modifier and Type | Method and Description |
---|---|
static IValue |
ValueUtil.getValue(IValueMap valueMap,
String name)
Get the value object associated with a key.
|
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.