Class DefaultReturnIntegrationObjectItemService
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.services.impl.DefaultReturnIntegrationObjectItemService
- All Implemented Interfaces:
ReturnIntegrationObjectItemService
public class DefaultReturnIntegrationObjectItemService
extends Object
implements ReturnIntegrationObjectItemService
Default implementation of
ReturnIntegrationObjectItemService.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultReturnIntegrationObjectItemService(@NotNull ListItemDTOTypeService listItemDTOTypeService) Default constructor forDefaultReturnIntegrationObjectItemService. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetReturnIntegrationObjectItems(IntegrationObjectModel integrationObject, IntegrationObjectDefinition integrationObjectDefinition) This method aims to set ReturnIntegrationObjectItem for eachListItemAttributeDTOandListItemClassificationAttributeDTO.
-
Constructor Details
-
DefaultReturnIntegrationObjectItemService
public DefaultReturnIntegrationObjectItemService(@NotNull @NotNull ListItemDTOTypeService listItemDTOTypeService) Default constructor forDefaultReturnIntegrationObjectItemService.- Parameters:
listItemDTOTypeService- the service to obtain the type of aAbstractListItemDTO.
-
-
Method Details
-
setReturnIntegrationObjectItems
public void setReturnIntegrationObjectItems(IntegrationObjectModel integrationObject, IntegrationObjectDefinition integrationObjectDefinition) Description copied from interface:ReturnIntegrationObjectItemServiceThis method aims to set ReturnIntegrationObjectItem for eachListItemAttributeDTOandListItemClassificationAttributeDTO. From an IntegrationObject it will iterate over itsIntegrationObjectItemModelandIntegrationObjectItemAttributeModel. When iterating IOIA the method will make sure it is represented by a selected DTO and find theComposedTypeModelof it then find the correct IOI by matching the DTO's typeAlias and type with keys inIntegrationObjectDefinition.- Specified by:
setReturnIntegrationObjectItemsin interfaceReturnIntegrationObjectItemService- Parameters:
integrationObject- The rootIntegrationObjectModelintegrationObjectDefinition- the definition of the root IO
-