Class DefaultIntegrationObjectItemTypeMatchService
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.services.impl.DefaultIntegrationObjectItemTypeMatchService
- All Implemented Interfaces:
IntegrationObjectItemTypeMatchService
public class DefaultIntegrationObjectItemTypeMatchService
extends Object
implements IntegrationObjectItemTypeMatchService
Default implementation of item type match service
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultIntegrationObjectItemTypeMatchService(@NotNull ItemTypeMatchSelector itemTypeMatchSelector) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidassignItemTypeMatchForIntegrationObject(IntegrationObjectModel integrationObjectModel, Map<ComposedTypeModel, ItemTypeMatchEnum> itemTypeMatchMap) Set the item type match anIntegrationObjectModelgroupItemTypeMatchForIntegrationObject(IntegrationObjectModel integrationObjectModel) Retrieves the map ofItemTypeMatchEnumitem type match restrictions grouped by type for a givenIntegrationObjectModel
-
Constructor Details
-
DefaultIntegrationObjectItemTypeMatchService
public DefaultIntegrationObjectItemTypeMatchService(@NotNull @NotNull ItemTypeMatchSelector itemTypeMatchSelector) Default constructor- Parameters:
itemTypeMatchSelector- used to get the item type match of anIntegrationObjectItemModel
-
-
Method Details
-
assignItemTypeMatchForIntegrationObject
public void assignItemTypeMatchForIntegrationObject(IntegrationObjectModel integrationObjectModel, Map<ComposedTypeModel, ItemTypeMatchEnum> itemTypeMatchMap) Description copied from interface:IntegrationObjectItemTypeMatchServiceSet the item type match anIntegrationObjectModel- Specified by:
assignItemTypeMatchForIntegrationObjectin interfaceIntegrationObjectItemTypeMatchService- Parameters:
integrationObjectModel-IntegrationObjectItemModelwho's items will have their match restrictions set foritemTypeMatchMap- map containing relations ofComposedTypeModelto theirItemTypeMatchEnum
-
groupItemTypeMatchForIntegrationObject
public Map<ComposedTypeModel,ItemTypeMatchEnum> groupItemTypeMatchForIntegrationObject(IntegrationObjectModel integrationObjectModel) Description copied from interface:IntegrationObjectItemTypeMatchServiceRetrieves the map ofItemTypeMatchEnumitem type match restrictions grouped by type for a givenIntegrationObjectModel- Specified by:
groupItemTypeMatchForIntegrationObjectin interfaceIntegrationObjectItemTypeMatchService- Parameters:
integrationObjectModel-IntegrationObjectModelto gather item type matches for- Returns:
- map containing the
ItemTypeMatchEnumfor eachComposedTypeModel
-