public interface DataObjectInstanceVariableContainerBuilder
DataObjectDataSource
implementation.Modifier and Type | Method and Description |
---|---|
DataObjectInstanceVariableContainer |
create()
Creates and persists the new data object instance.
|
DataObjectInstanceVariableContainerBuilder |
createFromPayload(DataObjectHandlingContext context)
If an instance builder is used to create a new data object given by the payload sent from a form typically, this method is invoked to create the
data object according the given payload data.
|
DataObjectInstanceVariableContainerBuilder |
definitionId(String id)
Set the id of the data object definition the new instance should be based on.
|
DataObjectInstanceVariableContainerBuilder |
definitionKey(String key)
Set the key of the data object definition the new instance should be based on.
|
Map<String,Object> |
getData() |
String |
getDefinitionId() |
String |
getDefinitionKey() |
String |
getTenantId() |
DataObjectInstanceVariableContainerBuilder |
tenantId(String tenantId)
Set the tenant id for the new data object.
|
DataObjectInstanceVariableContainerBuilder |
value(String valueName,
Object value)
Generic setter for a data object field value specified by its name and value to be set.
|
DataObjectInstanceVariableContainerBuilder definitionId(String id)
DataObjectInstanceVariableContainerBuilder definitionKey(String key)
DataObjectInstanceVariableContainerBuilder tenantId(String tenantId)
DataObjectInstanceVariableContainerBuilder createFromPayload(DataObjectHandlingContext context)
context
- the data object context containing the data and full payload and further information for parsing the content into the data objectDataObjectInstanceVariableContainerBuilder value(String valueName, Object value)
valueName
- the name of the data object field to set a valuevalue
- the value to be setDataObjectInstanceVariableContainer create()
String getDefinitionId()
String getDefinitionKey()
String getTenantId()
Copyright © 2019. All rights reserved.