public class WriteService
extends java.lang.Object
| Constructor and Description |
|---|
WriteService() |
| Modifier and Type | Method and Description |
|---|---|
IntegrationObjectModel |
clearIntegrationObject(IntegrationObjectModel integrationObjectModel)
Clears the old definition of the IntehrationObjectModel.
|
IntegrationObjectModel |
createDefinitions(IntegrationObjectModel ioModel,
java.util.Map<ComposedTypeModel,java.util.List<ListItemDTO>> objectMap)
Iterates through the map containing the IntegrationObjectItemDefinitionModel (as the key) and
the IntegrationObjectItemAttributeDefinitionModels (the list of DTOs)
|
IntegrationObjectModel |
createIntegrationObject(java.lang.String name,
IntegrationType type)
Creates a base Integration Object.
|
void |
deleteIntegrationObject(IntegrationObjectModel integrationObject)
Delete an integration object from the type system
|
void |
persistDefinitons(IntegrationObjectModel ioModel)
Saves the IntegrationObjectModel to the model service
|
void |
setModelService(ModelService modelService) |
void |
setReadService(ReadService readService) |
public void setModelService(ModelService modelService)
public void setReadService(ReadService readService)
public IntegrationObjectModel createIntegrationObject(java.lang.String name, IntegrationType type)
name - the integration object's nametype - the type of integration object (Inbound, Outbound)public IntegrationObjectModel clearIntegrationObject(IntegrationObjectModel integrationObjectModel)
integrationObjectModel - Model to be clearedpublic IntegrationObjectModel createDefinitions(IntegrationObjectModel ioModel, java.util.Map<ComposedTypeModel,java.util.List<ListItemDTO>> objectMap)
ioModel - the integration object that will contain the integration object items and integration object item attributesobjectMap - a map with integration object item codes as keys and lists of integration object item attribute DTOs as valuespublic void persistDefinitons(IntegrationObjectModel ioModel)
ioModel - Model to be savedpublic void deleteIntegrationObject(IntegrationObjectModel integrationObject)
integrationObject - the integration object to be deletedCopyright © 2018 SAP SE. All Rights Reserved.