Class ProductBatchValidator.ReferencedKeys
- java.lang.Object
-
- com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
-
- Enclosing class:
- ProductBatchValidator
public static class ProductBatchValidator.ReferencedKeys extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReferencedKeys()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getCategoryKeys()
java.util.Set<java.lang.String>
getChannelKeys()
java.util.Set<java.lang.String>
getCustomerGroupKeys()
java.util.Set<CustomObjectCompositeIdentifier>
getCustomObjectCompositeIdentifiers()
Applies mapping ofSet
<String
> identifiers (collected from reference id fields of product `key-value-document` references) toSet
<CustomObjectCompositeIdentifier
> to be used for caching purposes.java.util.Set<java.lang.String>
getProductKeys()
java.util.Set<java.lang.String>
getProductTypeKeys()
java.util.Set<java.lang.String>
getStateKeys()
java.util.Set<java.lang.String>
getTaxCategoryKeys()
java.util.Set<java.lang.String>
getTypeKeys()
-
-
-
Method Detail
-
getProductKeys
public java.util.Set<java.lang.String> getProductKeys()
-
getProductTypeKeys
public java.util.Set<java.lang.String> getProductTypeKeys()
-
getCategoryKeys
public java.util.Set<java.lang.String> getCategoryKeys()
-
getTaxCategoryKeys
public java.util.Set<java.lang.String> getTaxCategoryKeys()
-
getStateKeys
public java.util.Set<java.lang.String> getStateKeys()
-
getTypeKeys
public java.util.Set<java.lang.String> getTypeKeys()
-
getChannelKeys
public java.util.Set<java.lang.String> getChannelKeys()
-
getCustomerGroupKeys
public java.util.Set<java.lang.String> getCustomerGroupKeys()
-
getCustomObjectCompositeIdentifiers
public java.util.Set<CustomObjectCompositeIdentifier> getCustomObjectCompositeIdentifiers()
Applies mapping ofSet
<String
> identifiers (collected from reference id fields of product `key-value-document` references) toSet
<CustomObjectCompositeIdentifier
> to be used for caching purposes.Note: Invalid identifiers and uuid formatted identifiers will be filtered out. Validation handling will be part of the
VariantReferenceResolver
.- Returns:
- a result set with valid identifiers mapped to
CustomObjectCompositeIdentifier
.
-
-