Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W 

A

ActionGroup - Enum in com.commercetools.sync.products
 
allowUuid - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
allowUuidKeys(boolean) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
The sync expects the user to pass the keys to references in the id field of References.
apply(T, U, S) - Method in interface com.commercetools.sync.commons.utils.TriFunction
Applies this function to the given arguments.
applyBeforeCreateCallBack(V) - Method in class com.commercetools.sync.commons.BaseSyncOptions
Given a new resource draft of type V this method applies the beforeCreateCallback function which is set to this instance of the BaseSyncOptions and returns the result.
applyBeforeUpdateCallBack(List<UpdateAction<U>>, V, U) - Method in class com.commercetools.sync.commons.BaseSyncOptions
Given a List of UpdateAction, a new resource draft of type V and the old existing resource of the type U, this method applies the beforeUpdateCallback function which is set to this instance of the BaseSyncOptions and returns the result.
applyErrorCallback(String, Throwable) - Method in class com.commercetools.sync.commons.BaseSyncOptions
Given an errorMessage and an exception, this method calls the errorCallback function which is set to this instance of the BaseSyncOptions.
applyErrorCallback(String) - Method in class com.commercetools.sync.commons.BaseSyncOptions
 
applyWarningCallback(String) - Method in class com.commercetools.sync.commons.BaseSyncOptions
Given a warningMessage string, this method calls the warningCallback function which is set to this instance of the BaseSyncOptions.
AssetActionFactory<T> - Class in com.commercetools.sync.commons.helpers
Helper class for building update actions for assets that are contained in the resource of type T.
AssetActionFactory() - Constructor for class com.commercetools.sync.commons.helpers.AssetActionFactory
 
AssetCustomActionBuilder - Class in com.commercetools.sync.categories.helpers
 
AssetCustomActionBuilder() - Constructor for class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
 
AssetCustomActionBuilder - Class in com.commercetools.sync.products.helpers
 
AssetCustomActionBuilder() - Constructor for class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
 
AssetReferenceReplacementUtils - Class in com.commercetools.sync.commons.utils
 
AssetReferenceResolver - Class in com.commercetools.sync.commons.helpers
 
AssetReferenceResolver(BaseSyncOptions, TypeService) - Constructor for class com.commercetools.sync.commons.helpers.AssetReferenceResolver
Takes a BaseSyncOptions instance and a TypeService to instantiate a AssetReferenceResolver instance that could be used to resolve the asset drafts in the CTP project specified in the injected BaseSyncOptions instance.
AssetsUpdateActionUtils - Class in com.commercetools.sync.commons.utils
 
ATTRIBUTE_NOT_IN_ATTRIBUTE_METADATA - Static variable in class com.commercetools.sync.products.utils.ProductVariantAttributeUpdateActionUtils
 
AttributeDefinitionCustomBuilder - Class in com.commercetools.sync.producttypes.helpers
 
AttributeDefinitionUpdateActionUtils - Class in com.commercetools.sync.producttypes.utils
 
AttributeMetaData - Class in com.commercetools.sync.products
Custom container for product variant attribute information: its name and whether it has the constraint "SameForAll" or not.

B

BaseReferenceResolver<T,S extends BaseSyncOptions> - Class in com.commercetools.sync.commons.helpers
This class is responsible for providing an abstract implementation of reference resolution on different CTP resources.
BaseReferenceResolver(S) - Constructor for class com.commercetools.sync.commons.helpers.BaseReferenceResolver
 
BaseSync<T,U extends BaseSyncStatistics,V extends BaseSyncOptions> - Class in com.commercetools.sync.commons
 
BaseSync(U, V) - Constructor for class com.commercetools.sync.commons.BaseSync
 
BaseSyncOptions<U,V> - Class in com.commercetools.sync.commons
 
BaseSyncOptions(SphereClient, BiConsumer<String, Throwable>, Consumer<String>, int, boolean, TriFunction<List<UpdateAction<U>>, V, U, List<UpdateAction<U>>>, Function<V, V>) - Constructor for class com.commercetools.sync.commons.BaseSyncOptions
 
BaseSyncOptionsBuilder<T extends BaseSyncOptionsBuilder<T,S,U,V>,S extends BaseSyncOptions,U,V> - Class in com.commercetools.sync.commons
 
BaseSyncOptionsBuilder() - Constructor for class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
BaseSyncStatistics - Class in com.commercetools.sync.commons.helpers
 
BaseSyncStatistics() - Constructor for class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Creates a new BaseSyncStatistics with initial values 0 of created, updated, failed and processed counters, an empty reportMessage and latestBatchHumanReadableProcessingTime.
BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
 
BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.products.ProductSyncOptionsBuilder
 
BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
 
batchElements(List<T>, int) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Given a list of elements and a batchSize, this method distributes the elements into batches with the batchSize.
BatchProcessor - Class in com.commercetools.sync.products.helpers
 
BatchProcessor(List<ProductDraft>, ProductSync) - Constructor for class com.commercetools.sync.products.helpers.BatchProcessor
 
batchSize - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
batchSize(int) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Set option that indicates batch size for sync process.
beforeCreateCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
beforeCreateCallback(Function<V, V>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the beforeCreateCallback Function which can be applied on a new resource draft of type V (e.g.
beforeUpdateCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
beforeUpdateCallback(TriFunction<List<UpdateAction<U>>, V, U, List<UpdateAction<U>>>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the beforeUpdateCallback TriFunction which can be applied on the supplied list of update actions generated from comparing an old resource of type U (e.g.
BLANK_ID_VALUE_ON_RESOURCE_IDENTIFIER - Static variable in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
 
build() - Method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
Creates new instance of CategorySyncOptions enriched with all attributes provided to this builder.
build() - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Creates new instance of S which extends BaseSyncOptions enriched with all attributes provided to this builder.
build() - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
Returns new instance of InventorySyncOptions, enriched with all attributes provided to this builder.
build() - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
 
build() - Method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
Creates new instance of ProductTypeSyncOptions enriched with all attributes provided to this builder.
buildActions(Asset, AssetDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
Compares all the fields of an Asset and an AssetDraft and returns a list of UpdateAction<Category> as a result.
buildActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategorySyncUtils
Compares all the fields of a Category and a CategoryDraft.
buildActions(InventoryEntry, InventoryEntryDraft, InventorySyncOptions) - Static method in class com.commercetools.sync.inventories.utils.InventorySyncUtils
Compares the quantityOnStock, the restockableInDays, the expectedDelivery, the supply channel and Custom fields/ type fields of an InventoryEntry and an InventoryEntryDraft.
buildActions(Product, ProductDraft, ProductSyncOptions, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductSyncUtils
Compares all the fields (including the variants see ProductUpdateActionUtils.buildVariantsUpdateActions(Product, ProductDraft, ProductSyncOptions, Map)) of a Product and a ProductDraft, given that each of these fields pass the specified SyncFilter.
buildActions(Integer, Asset, AssetDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
Compares all the fields of an Asset and an AssetDraft and returns a list of UpdateAction<Product> as a result.
buildActions(Integer, Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
Compares all the fields of a Price and a PriceDraft and returns a list of UpdateAction<Product> as a result.
buildActions(AttributeDefinition, AttributeDefinitionDraft) - Static method in class com.commercetools.sync.producttypes.utils.AttributeDefinitionUpdateActionUtils
Compares all the fields of an AttributeDefinition and an AttributeDefinitionDraft and returns a list of UpdateAction<ProductType> as a result.
buildActions(String, LocalizedEnumValue, LocalizedEnumValue) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumUpdateActionsUtils
Compares all the fields of an old LocalizedEnumValue and a new LocalizedEnumValue and returns a list of UpdateAction<ProductType> as a result.
buildActions(String, EnumValue, EnumValue) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumUpdateActionsUtils
Compares all the fields of an old EnumValue and a new EnumValue and returns a list of UpdateAction<ProductType> as a result.
buildActions(ProductType, ProductTypeDraft, ProductTypeSyncOptions) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeSyncUtils
buildAddAssetAction(AssetDraft, Integer) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
 
buildAddAssetAction(AssetDraft, Integer) - Method in class com.commercetools.sync.commons.helpers.AssetActionFactory
Takes an asset draft and an asset position to build an AddAsset action of the type T.
buildAddAssetAction(AssetDraft, Integer) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
 
buildAddEnumValuesUpdateActions(String, List<T>, List<T>, BiFunction<String, T, UpdateAction<ProductType>>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateEnumActionsUtils
Checks if there are any new enum values which are not existing in the oldEnumValues.
buildAddToCategoryUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the Set of Category References of a ProductDraft and a Product.
buildAssetActions(Asset, AssetDraft) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
 
buildAssetActions(Asset, AssetDraft) - Method in class com.commercetools.sync.commons.helpers.AssetActionFactory
Takes a matching old asset and a new asset and computes the update actions needed to sync them.
buildAssetActions(Asset, AssetDraft) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
 
buildAssetsUpdateActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the assets of a Category and a CategoryDraft and returns a list of UpdateAction<Category> as a result.
buildAssetsUpdateActions(List<Asset>, List<AssetDraft>, AssetActionFactory<T>) - Static method in class com.commercetools.sync.commons.utils.AssetsUpdateActionUtils
Compares a list of Assets with a list of AssetDrafts.
buildAttributeDefinitionsUpdateActions(List<AttributeDefinition>, List<AttributeDefinitionDraft>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateAttributeDefinitionActionUtils
Compares a list of AttributeDefinitions with a list of AttributeDefinitionDrafts.
buildAttributesUpdateActions(ProductType, ProductTypeDraft, ProductTypeSyncOptions) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
Compares the attributes of a ProductType and a ProductTypeDraft and returns a list of UpdateAction<ProductType> as a result.
buildCategoryActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductSyncUtils
Compares the categories of a Product and a ProductDraft.
buildCategoryQuery() - Static method in class com.commercetools.sync.categories.utils.CategoryReferenceReplacementUtils
Builds a CategoryQuery for fetching categories from a source CTP project with all the needed references expanded for the sync: Custom Type Assets Custom Types Parent Category
buildChangeAssetNameUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
Compares the LocalizedString names of an Asset and an AssetDraft and returns an UpdateAction<Category> as a result in an Optional.
buildChangeAssetNameUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
Compares the LocalizedString names of an Asset and an AssetDraft and returns an UpdateAction<Product> as a result in an Optional.
buildChangeAssetOrderAction(List<String>) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
 
buildChangeAssetOrderAction(List<String>) - Method in class com.commercetools.sync.commons.helpers.AssetActionFactory
Takes a list of asset ids to build a ChangeAssetOrder action of the type T.
buildChangeAssetOrderAction(List<String>) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
 
buildChangeAttributeConstraintUpdateAction(AttributeDefinition, AttributeDefinitionDraft) - Static method in class com.commercetools.sync.producttypes.utils.AttributeDefinitionUpdateActionUtils
Compares the attribute constraints of an AttributeDefinition and an AttributeDefinitionDraft and returns an UpdateAction<ProductType> as a result in an Optional.
buildChangeDescriptionAction(ProductType, ProductTypeDraft) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
Compares the description values of a ProductType and a ProductTypeDraft and returns an Optional of update action, which would contain the "changeDescription" UpdateAction.
buildChangeEnumValuesOrderUpdateAction(String, List<T>, List<T>, BiFunction<String, List<T>, UpdateAction<ProductType>>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateEnumActionsUtils
Compares the order of a list of old enum values and a list of new enum values.
buildChangeInputHintUpdateAction(AttributeDefinition, AttributeDefinitionDraft) - Static method in class com.commercetools.sync.producttypes.utils.AttributeDefinitionUpdateActionUtils
Compares the input hints of an AttributeDefinition and an AttributeDefinitionDraft and returns an UpdateAction<ProductType> as a result in an Optional.
buildChangeIsSearchableUpdateAction(AttributeDefinition, AttributeDefinitionDraft) - Static method in class com.commercetools.sync.producttypes.utils.AttributeDefinitionUpdateActionUtils
Compares the 'isSearchable' fields of an AttributeDefinition and an AttributeDefinitionDraft and returns an UpdateAction<ProductType> as a result in an Optional.
buildChangeLabelAction(String, LocalizedEnumValue, LocalizedEnumValue) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumUpdateActionsUtils
Compares the label values of an old LocalizedEnumValue and a new LocalizedEnumValue and returns an Optional of update action, which would contain the "changeLabel" UpdateAction.
buildChangeLabelAction(String, EnumValue, EnumValue) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumUpdateActionsUtils
Compares the label values of an old EnumValue and a new EnumValue and returns an Optional of update action, which would contain the "changeLabel" UpdateAction.
buildChangeLabelUpdateAction(AttributeDefinition, AttributeDefinitionDraft) - Static method in class com.commercetools.sync.producttypes.utils.AttributeDefinitionUpdateActionUtils
Compares the LocalizedString labels of an AttributeDefinition and an AttributeDefinitionDraft and returns an UpdateAction<ProductType> as a result in an Optional.
buildChangeMasterVariantUpdateAction(Product, ProductDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Create update action, if newProduct has #masterVariant#key different than oldProduct staged #masterVariant#key.
buildChangeNameAction(ProductType, ProductTypeDraft) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
Compares the name values of a ProductType and a ProductTypeDraft and returns an Optional of update action, which would contain the "changeName" UpdateAction.
buildChangeNameUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the LocalizedString names of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildChangeNameUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the LocalizedString names of a ProductDraft and a Product.
buildChangeOrderHintUpdateAction(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the orderHint values of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildChangeParentUpdateAction(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the parents Reference<Category> of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildChangePriceUpdateAction(Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
Builds a ChangePrice action based on the comparison of the following fields of the supplied Price and PriceDraft: Price.getValue() and PriceDraft.getValue() Price.getTiers() and PriceDraft.getTiers()
buildChangeQuantityAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
Compares the quantityOnStock values of an InventoryEntry and an InventoryEntryDraft and returns an Optional of update action, which would contain the "changeQuantity" UpdateAction.
buildChangeSlugUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the LocalizedString slugs of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildChangeSlugUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the LocalizedString slugs of a ProductDraft and a Product.
buildCustomUpdateActions(Asset, AssetDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
Compares the custom fields and custom types of an Asset and an AssetDraft and returns a list of UpdateAction<Category> as a result.
buildCustomUpdateActions(T, S, GenericCustomActionBuilder<U>, Integer, Function<T, String>, Function<T, String>, Function<T, String>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.CustomUpdateActionUtils
Compares the CustomFields of an old resource T (for example Category, Product, etc..), to the CustomFieldsDraft, of a new resource draft S (for example CategoryDraft, ProductVariantDraft, etc..), and returns a List<UpdateAction> as a result.
buildCustomUpdateActions(Integer, Asset, AssetDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
Compares the custom fields and custom types of an Asset and an AssetDraft and returns a list of UpdateAction<Product> as a result.
buildCustomUpdateActions(Integer, Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
Compares the custom fields and custom types of a Price and a PriceDraft and returns a list of UpdateAction<Product> as a result.
buildEnumValuesUpdateActions(String, List<EnumValue>, List<EnumValue>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdatePlainEnumActionUtils
Compares a list of old EnumValues with a list of new EnumValues for a given attribute definition.
buildLocalizedEnumValuesUpdateActions(String, List<LocalizedEnumValue>, List<LocalizedEnumValue>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateLocalizedEnumActionUtils
Compares a list of old LocalizedEnumValues with a list of new LocalizedEnumValues for a given attribute definition.
buildMatchingEnumValuesUpdateActions(String, List<T>, List<T>, TriFunction<String, T, T, List<UpdateAction<ProductType>>>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateEnumActionsUtils
Checks if there are any enum values which are existing in the newEnumValues.
buildMoveImageToPositionUpdateActions(int, List<Image>, List<Image>) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
Compares an old List of Images and a new one and returns a List of MoveImageToPosition with the given variantId.
buildPrimaryResourceCustomUpdateActions(T, S, GenericCustomActionBuilder<T>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.CustomUpdateActionUtils
This method is a syntactic sugar for the method CustomUpdateActionUtils.buildCustomUpdateActions(Custom, CustomDraft, GenericCustomActionBuilder, Integer, Function, Function, Function, BaseSyncOptions), but this one is only for primary resources (i.e resources which have their own endpoints for example channels, categories, inventory entries.
buildProductQuery() - Static method in class com.commercetools.sync.products.utils.ProductReferenceReplacementUtils
Builds a ProductQuery for fetching products from a source CTP project with all the needed references expanded for the sync: Product Type Tax Category Product State Staged Assets' Custom Types Staged Product Categories Staged Prices' Channels Staged Prices' Custom Types Reference Attributes Reference Set Attributes
buildProductVariantAssetsUpdateActions(ProductVariant, ProductVariantDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
Compares the List of AssetDrafts of a ProductVariantDraft and a ProductVariant and returns a List of UpdateAction<Product>.
buildProductVariantAttributesUpdateActions(String, ProductVariant, ProductVariantDraft, Map<String, AttributeMetaData>, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
Compares the attributes of a ProductVariantDraft and a ProductVariant to build either SetAttribute or SetAttributeInAllVariants update actions.
buildProductVariantAttributeUpdateAction(int, Attribute, AttributeDraft, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductVariantAttributeUpdateActionUtils
Compares the attributes of a AttributeDraft and a Attribute to build either a SetAttribute or a SetAttributeInAllVariants.
buildProductVariantImagesUpdateActions(ProductVariant, ProductVariantDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
Compares the List of Images of a ProductVariantDraft and a ProductVariant and returns a List of UpdateAction<Product>.
buildProductVariantPricesUpdateActions(ProductVariant, ProductVariantDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
Compares the List of Prices of a ProductVariantDraft and a ProductVariant and returns a List of UpdateAction<Product>.
buildProductVariantSkuUpdateAction(ProductVariant, ProductVariantDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
Compares the SKUs of a ProductVariantDraft and a ProductVariant.
buildPublishUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the 'published' field of a ProductDraft and a Product and accordingly returns a Publish or Unpublish update action as a result in an Optional.
buildRemoveAssetAction(String) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
 
buildRemoveAssetAction(String) - Method in class com.commercetools.sync.commons.helpers.AssetActionFactory
Takes an asset key to build a RemoveAsset action of the type T.
buildRemoveAssetAction(String) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
 
buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
 
buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
 
buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
 
buildRemoveCustomTypeAction(Integer, String) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
Creates a CTP "setCustomType" update action on the given resource T that removes the custom type set on the given resource T.
buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
 
buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
 
buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
 
buildRemoveEnumValuesUpdateActions(String, List<T>, List<T>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateEnumActionsUtils
Checks if there are any old enum values which are not existing in the newEnumValues.
buildRemoveFromCategoryUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the Set of Category References of a ProductDraft and a Product.
buildRemoveUpdateActions(List<U>, List<V>, Function<U, S>, Function<V, S>, Function<U, UpdateAction<T>>) - Static method in class com.commercetools.sync.internals.utils.UnorderedCollectionSyncUtils
Compares a list of newDrafts with a list of oldResources and for every missing matching draft in the oldResources: a remove update action is created using the removeUpdateActionMapper.
buildSetAssetDescriptionUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
Compares the LocalizedString descriptions of an Asset and an AssetDraft and returns an UpdateAction<Category> as a result in an Optional.
buildSetAssetDescriptionUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
Compares the LocalizedString descriptions of an Asset and an AssetDraft and returns an UpdateAction<Product> as a result in an Optional.
buildSetAssetSourcesUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
Compares the sources of an Asset and an AssetDraft and returns an UpdateAction<Category> as a result in an Optional.
buildSetAssetSourcesUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
Compares the sources of an Asset and an AssetDraft and returns an UpdateAction<Product> as a result in an Optional.
buildSetAssetTagsUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
Compares the tags of an Asset and an AssetDraft and returns an UpdateAction<Category> as a result in an Optional.
buildSetAssetTagsUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
Compares the tags of an Asset and an AssetDraft and returns an UpdateAction<Product> as a result in an Optional.
buildSetCategoryOrderHintUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the CategoryOrderHints of a ProductDraft and a Product.
buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
 
buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
 
buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
 
buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
Creates a CTP "setCustomField" update action on the given resource T that updates a custom field with customFieldName and a customFieldValue on the given resource T.
buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
 
buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
 
buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
 
buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
 
buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
 
buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
 
buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
Creates a CTP "setCustomType" update action on the given resource T.
buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
 
buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
 
buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
 
buildSetDescriptionUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the LocalizedString descriptions of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildSetDescriptionUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the LocalizedString descriptions of a ProductDraft and a Product.
buildSetExpectedDeliveryAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
Compares the expectedDelivery values of an InventoryEntry and an InventoryEntryDraft and returns an Optional of update action, which would contain the "setExpectedDelivery" UpdateAction.
buildSetExternalIdUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the externalId values of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildSetInputTipUpdateAction(AttributeDefinition, AttributeDefinitionDraft) - Static method in class com.commercetools.sync.producttypes.utils.AttributeDefinitionUpdateActionUtils
Compares the LocalizedString input tips of an AttributeDefinition and an AttributeDefinitionDraft and returns an UpdateAction<ProductType> as a result in an Optional.
buildSetMetaDescriptionUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the LocalizedString meta description of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildSetMetaDescriptionUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the LocalizedString meta descriptions of a ProductDraft and a Product.
buildSetMetaKeywordsUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the LocalizedString meta keywords of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildSetMetaKeywordsUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the LocalizedString meta keywordss of a ProductDraft and a Product.
buildSetMetaTitleUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
Compares the LocalizedString meta title of a Category and a CategoryDraft and returns an UpdateAction<Category> as a result in an Optional.
buildSetMetaTitleUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the LocalizedString meta titles of a ProductDraft and a Product.
buildSetRestockableInDaysAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
Compares the restockableInDays values of an InventoryEntry and an InventoryEntryDraft and returns an Optional of update action, which would contain the "setRestockableInDays" UpdateAction.
buildSetSearchKeywordsUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the SearchKeywords of a ProductDraft and a Product.
buildSetSupplyChannelAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
Compares the supplyChannel references of an InventoryEntry and an InventoryEntryDraft and returns an Optional of update action, which would contain the "setSupplyChannel" UpdateAction.
buildSetTaxCategoryUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the TaxCategory references of an old Product and new ProductDraft.
buildStateQuery(StateType) - Static method in class com.commercetools.sync.services.impl.StateServiceImpl
Builds a StateQuery based on the given StateType.
buildTransitionStateUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the State references of an old Product and new ProductDraft.
buildUpdateAction(S, S, Supplier<U>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
Compares two Object and returns a supplied UpdateAction as a result in an Optional.
BuildUpdateActionException - Exception in com.commercetools.sync.commons.exceptions
 
BuildUpdateActionException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
 
BuildUpdateActionException(Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
 
BuildUpdateActionException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
 
buildUpdateActions(S, S, Supplier<List<U>>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
Compares two Object and returns a supplied list of UpdateAction as a result.
buildVariantsUpdateActions(Product, ProductDraft, ProductSyncOptions, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the variants (including the master variants) of a ProductDraft and a Product.

C

cacheChannel(Channel) - Method in interface com.commercetools.sync.services.ChannelService
Adds a new mapping of key to id of the supplied channel to a cache map.
cacheChannel(Channel) - Method in class com.commercetools.sync.services.impl.ChannelServiceImpl
 
cacheKeysToIds() - Method in interface com.commercetools.sync.services.CategoryService
If not already done once before, it fetches all the category keys from the CTP project defined in a potentially injected SphereClient and stores a mapping for every category to id in Map and returns this cached map.
cacheKeysToIds() - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
 
cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.ProductService
Filters out the keys which are already cached and fetches only the not-cached product keys from the CTP project defined in a potentially injected SphereClient and stores a mapping for every product to id in the cached map of keys -> ids and returns this cached map.
calculateProcessingTime() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Calculates the processing time taken by the subtracting the time, when the BaseSyncStatistics.startTimer() method of this instance was called, from the current time in Milliseconds.
CategoryAssetActionFactory - Class in com.commercetools.sync.categories.helpers
 
CategoryAssetActionFactory(CategorySyncOptions) - Constructor for class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
 
CategoryAssetUpdateActionUtils - Class in com.commercetools.sync.categories.utils
 
CategoryCustomActionBuilder - Class in com.commercetools.sync.categories.helpers
 
CategoryCustomActionBuilder() - Constructor for class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
 
CategoryReferencePair - Class in com.commercetools.sync.commons.helpers
Container for a List of Category References and a CategoryOrderHints.
CategoryReferenceReplacementUtils - Class in com.commercetools.sync.categories.utils
 
CategoryReferenceResolver - Class in com.commercetools.sync.categories.helpers
 
CategoryReferenceResolver(CategorySyncOptions, TypeService, CategoryService) - Constructor for class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
Takes a CategorySyncOptions instance, a CategoryService and TypeService to instantiate a CategoryReferenceResolver instance that could be used to resolve the category drafts in the CTP project specified in the injected CategorySyncOptions instance.
CategoryService - Interface in com.commercetools.sync.services
 
CategoryServiceImpl - Class in com.commercetools.sync.services.impl
Implementation of CategoryService interface.
CategoryServiceImpl(CategorySyncOptions) - Constructor for class com.commercetools.sync.services.impl.CategoryServiceImpl
 
CategorySync - Class in com.commercetools.sync.categories
 
CategorySync(CategorySyncOptions) - Constructor for class com.commercetools.sync.categories.CategorySync
Takes a CategorySyncOptions instance to instantiate a new CategorySync instance that could be used to sync category drafts with the given categories in the CTP project specified in the injected CategorySyncOptions instance.
CategorySyncOptions - Class in com.commercetools.sync.categories
 
CategorySyncOptionsBuilder - Class in com.commercetools.sync.categories
 
CategorySyncStatistics - Class in com.commercetools.sync.categories.helpers
 
CategorySyncStatistics() - Constructor for class com.commercetools.sync.categories.helpers.CategorySyncStatistics
 
CategorySyncUtils - Class in com.commercetools.sync.categories.utils
 
CategoryUpdateActionUtils - Class in com.commercetools.sync.categories.utils
 
ChannelCustomActionBuilder - Class in com.commercetools.sync.channels.helpers
 
ChannelCustomActionBuilder() - Constructor for class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
 
ChannelService - Interface in com.commercetools.sync.services
 
ChannelServiceImpl - Class in com.commercetools.sync.services.impl
 
ChannelServiceImpl(BaseSyncOptions, Set<ChannelRole>) - Constructor for class com.commercetools.sync.services.impl.ChannelServiceImpl
 
ChannelServiceImpl(BaseSyncOptions) - Constructor for class com.commercetools.sync.services.impl.ChannelServiceImpl
 
ClientConfigurationUtils - Class in com.commercetools.sync.commons.utils
 
collectionOfFuturesToFutureOfCollection(Collection<? extends CompletionStage<T>>, Collector<T, ?, S>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
Transforms a collection of CompletionStage into a CompletionStage of a collection, that will be completed once all the elements of the given futures are completed.
collectionToMap(Collection<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
Convert a collection to a map using keyMapper and valueMapper mappers.
collectionToMap(Collection<T>, Function<? super T, ? extends K>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
Same as CollectionUtils.collectionToMap(Collection, Function, Function), but uses entries themselves as map values.
collectionToSet(Collection<T>, Function<? super T, ? extends K>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
Convert a collection to a set of values using keyMapper mapping.
CollectionUtils - Class in com.commercetools.sync.commons.utils
 
com.commercetools.sync.categories - package com.commercetools.sync.categories
 
com.commercetools.sync.categories.helpers - package com.commercetools.sync.categories.helpers
 
com.commercetools.sync.categories.utils - package com.commercetools.sync.categories.utils
 
com.commercetools.sync.channels.helpers - package com.commercetools.sync.channels.helpers
 
com.commercetools.sync.commons - package com.commercetools.sync.commons
 
com.commercetools.sync.commons.exceptions - package com.commercetools.sync.commons.exceptions
 
com.commercetools.sync.commons.helpers - package com.commercetools.sync.commons.helpers
 
com.commercetools.sync.commons.utils - package com.commercetools.sync.commons.utils
 
com.commercetools.sync.internals.helpers - package com.commercetools.sync.internals.helpers
 
com.commercetools.sync.internals.utils - package com.commercetools.sync.internals.utils
 
com.commercetools.sync.inventories - package com.commercetools.sync.inventories
 
com.commercetools.sync.inventories.helpers - package com.commercetools.sync.inventories.helpers
 
com.commercetools.sync.inventories.utils - package com.commercetools.sync.inventories.utils
 
com.commercetools.sync.products - package com.commercetools.sync.products
 
com.commercetools.sync.products.helpers - package com.commercetools.sync.products.helpers
 
com.commercetools.sync.products.templates.beforeupdatecallback - package com.commercetools.sync.products.templates.beforeupdatecallback
 
com.commercetools.sync.products.utils - package com.commercetools.sync.products.utils
 
com.commercetools.sync.producttypes - package com.commercetools.sync.producttypes
 
com.commercetools.sync.producttypes.helpers - package com.commercetools.sync.producttypes.helpers
 
com.commercetools.sync.producttypes.utils - package com.commercetools.sync.producttypes.utils
 
com.commercetools.sync.services - package com.commercetools.sync.services
 
com.commercetools.sync.services.impl - package com.commercetools.sync.services.impl
 
CommonTypeUpdateActionUtils - Class in com.commercetools.sync.commons.utils
 
CompletableFutureUtils - Class in com.commercetools.sync.commons.utils
 
createAndCacheChannel(String) - Method in interface com.commercetools.sync.services.ChannelService
Creates a new channel with the supplied key and puts a new mapping of it's key to id in a cache map.
createAndCacheChannel(String) - Method in class com.commercetools.sync.services.impl.ChannelServiceImpl
 
createCategories(Set<CategoryDraft>) - Method in interface com.commercetools.sync.services.CategoryService
Given a Set of categoryDrafts, this method creates Categories corresponding to them in the CTP project defined in a potentially injected SphereClient.
createCategories(Set<CategoryDraft>) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
 
createCategory(CategoryDraft) - Method in interface com.commercetools.sync.services.CategoryService
Given a CategoryDraft, this method creates a Category based on it in the CTP project defined in a potentially injected SphereClient.
createCategory(CategoryDraft) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
 
createChannel(String) - Method in interface com.commercetools.sync.services.ChannelService
Creates a new channel with the supplied key.
createChannel(String) - Method in class com.commercetools.sync.services.impl.ChannelServiceImpl
 
createClient(SphereClientConfig, long, TimeUnit) - Static method in class com.commercetools.sync.commons.utils.ClientConfigurationUtils
Creates a BlockingSphereClient with a custom timeout with a custom TimeUnit.
createClient(SphereClientConfig) - Static method in class com.commercetools.sync.commons.utils.ClientConfigurationUtils
Creates a BlockingSphereClient with a default timeout value of 30 seconds.
createInventoryEntry(InventoryEntryDraft) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
 
createInventoryEntry(InventoryEntryDraft) - Method in interface com.commercetools.sync.services.InventoryService
Creates new inventory entry from inventoryEntryDraft.
createProduct(ProductDraft) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
createProduct(ProductDraft) - Method in interface com.commercetools.sync.services.ProductService
Given a ProductDraft, this method creates a Product based on it in the CTP project defined in a potentially injected SphereClient.
createProducts(Set<ProductDraft>) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
createProducts(Set<ProductDraft>) - Method in interface com.commercetools.sync.services.ProductService
Given a Set of productsDrafts, this method creates Products corresponding to them in the CTP project defined in a potentially injected SphereClient.
createProductType(ProductTypeDraft) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
 
createProductType(ProductTypeDraft) - Method in interface com.commercetools.sync.services.ProductTypeService
Creates new product type from productTypeDraft.
ctpClient - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
CtpQueryUtils - Class in com.commercetools.sync.commons.utils
 
CUSTOMER_GROUP_KEY_NOT_SET - Static variable in class com.commercetools.sync.services.impl.CustomerGroupServiceImpl
 
CustomerGroupService - Interface in com.commercetools.sync.services
 
CustomerGroupServiceImpl - Class in com.commercetools.sync.services.impl
 
CustomerGroupServiceImpl(BaseSyncOptions) - Constructor for class com.commercetools.sync.services.impl.CustomerGroupServiceImpl
 
CustomReferenceResolver<D extends io.sphere.sdk.types.CustomDraft,B extends io.sphere.sdk.models.Builder<? extends D>,S extends BaseSyncOptions> - Class in com.commercetools.sync.commons.helpers
This class is responsible for providing an abstract implementation of reference resolution on Custom CTP resources for example (Categories, inventories and resource with a custom field).
CustomReferenceResolver(S, TypeService) - Constructor for class com.commercetools.sync.commons.helpers.CustomReferenceResolver
 
CustomTypeReferenceReplacementUtils - Class in com.commercetools.sync.commons.utils
 
CustomUpdateActionUtils - Class in com.commercetools.sync.commons.utils
 

D

DuplicateKeyException - Exception in com.commercetools.sync.commons.exceptions
 
DuplicateKeyException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateKeyException
 
DuplicateKeyException(Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateKeyException
 
DuplicateKeyException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateKeyException
 
DuplicateNameException - Exception in com.commercetools.sync.commons.exceptions
 
DuplicateNameException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateNameException
 
DuplicateNameException(Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateNameException
 
DuplicateNameException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateNameException
 

E

emptyIfNull(Collection<T>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
Safe wrapper around nullable collection instances: returns collection argument itself, if the collection is non-null, otherwise returns (immutable) empty collection.
emptyIfNull(List<T>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
Safe wrapper around nullable list instances: returns list argument itself, if the list is non-null, otherwise returns (immutable) empty list.
emptyIfNull(Set<T>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
Safe wrapper around nullable set instances: returns set argument itself, if the set is non-null, otherwise returns (immutable) empty set.
emptyIfNull(Map<K, V>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
Safe wrapper around nullable map instances: returns map argument itself, if the map is non-null, otherwise returns (immutable) empty map.
ensureChannels(boolean) - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
Set option that indicates whether sync process should create supply channel of given key when it doesn't exists in a target project yet.
ensurePriceChannels(boolean) - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
Set option that indicates whether sync process should create price channel of given key when it doesn't exists in a target project yet.
equals(Object) - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
 
equals(Object) - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
 
errorCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
errorCallback(BiConsumer<String, Throwable>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the errorCallback function of the sync module.
executeSupplierIfConcurrentModificationException(Throwable, Supplier<S>, Supplier<S>) - Static method in class com.commercetools.sync.commons.BaseSync
This method checks if the supplied sphereException is an instance of ConcurrentModificationException.
executeSupplierIfPassesFilter(SyncFilter, ActionGroup, Supplier<T>, Supplier<T>) - Static method in class com.commercetools.sync.commons.utils.FilterUtils
Given a SyncFilter, a ActionGroup and 2 Supplier.

F

FAILED_TO_BUILD_ATTRIBUTE_UPDATE_ACTION - Static variable in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
 
fetchCachedCategoryId(String) - Method in interface com.commercetools.sync.services.CategoryService
Given a key, this method first checks if cached map of category keys -> ids is not empty.
fetchCachedCategoryId(String) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
 
fetchCachedChannelId(String) - Method in interface com.commercetools.sync.services.ChannelService
Given a key, this method first checks if a cached map of channel keys -> ids is not empty.
fetchCachedChannelId(String) - Method in class com.commercetools.sync.services.impl.ChannelServiceImpl
 
fetchCachedCustomerGroupId(String) - Method in interface com.commercetools.sync.services.CustomerGroupService
Given a key, this method first checks if a cached map of customer group keys -> ids is not empty.
fetchCachedCustomerGroupId(String) - Method in class com.commercetools.sync.services.impl.CustomerGroupServiceImpl
 
fetchCachedProductAttributeMetaDataMap(String) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
 
fetchCachedProductAttributeMetaDataMap(String) - Method in interface com.commercetools.sync.services.ProductTypeService
TODO FIX JAVADOC AND TEST METHOD Given a productType, this method first checks if a cached map of ProductType ids -> map of AttributeMetaData is not empty.
fetchCachedProductTypeId(String) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
 
fetchCachedProductTypeId(String) - Method in interface com.commercetools.sync.services.ProductTypeService
Given a key, this method first checks if a cached map of ProductType keys -> ids is not empty.
fetchCachedStateId(String) - Method in class com.commercetools.sync.services.impl.StateServiceImpl
 
fetchCachedStateId(String) - Method in interface com.commercetools.sync.services.StateService
Given a key, this method first checks if a cached map of state keys -> ids is not empty.
fetchCachedTaxCategoryId(String) - Method in class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
 
fetchCachedTaxCategoryId(String) - Method in interface com.commercetools.sync.services.TaxCategoryService
Given a key, this method first checks if a cached map of TaxCategory keys -> ids is not empty.
fetchCachedTypeId(String) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
 
fetchCachedTypeId(String) - Method in interface com.commercetools.sync.services.TypeService
Given a key, this method first checks if a cached map of Type keys -> ids is not empty.
fetchCategory(String) - Method in interface com.commercetools.sync.services.CategoryService
Given a category key, this method fetches a category that matches this given key in the CTP project defined in a potentially injected SphereClient.
fetchCategory(String) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
 
fetchInventoryEntriesBySkus(Set<String>) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
 
fetchInventoryEntriesBySkus(Set<String>) - Method in interface com.commercetools.sync.services.InventoryService
Queries existing InventoryEntry's against set of skus.
fetchMatchingCategoriesByKeys(Set<String>) - Method in interface com.commercetools.sync.services.CategoryService
Given a Set of category keys, this method fetches a set of all the categories matching this given set of keys in the CTP project defined in a potentially injected SphereClient.
fetchMatchingCategoriesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
 
fetchMatchingProductsByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
fetchMatchingProductsByKeys(Set<String>) - Method in interface com.commercetools.sync.services.ProductService
Given a Set of product keys, this method fetches a set of all the products matching this given set of keys in the CTP project defined in a potentially injected SphereClient.
fetchMatchingProductsTypesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
 
fetchMatchingProductsTypesByKeys(Set<String>) - Method in interface com.commercetools.sync.services.ProductTypeService
Queries existing ProductType's against set of keys.
fetchProduct(String) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
fetchProduct(String) - Method in interface com.commercetools.sync.services.ProductService
Given a product key, this method fetches a product that matches this given key in the CTP project defined in a potentially injected SphereClient.
filterActionGroup(ActionGroup) - Method in class com.commercetools.sync.products.SyncFilter
Checks if the supplied ActionGroup passes this filter.
filterCollection(Collection<T>, Predicate<T>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
Create a new collection which contains only elements which satisfy includeCondition predicate.
filterNullAndMap(Stream<T>, Function<T, S>) - Static method in class com.commercetools.sync.commons.utils.StreamUtils
Applies the supplied mapper function on every non null element in the supplied Stream of elements.
FilterUtils - Class in com.commercetools.sync.commons.utils
 

G

GenericCustomActionBuilder<T extends io.sphere.sdk.models.Resource<T>> - Interface in com.commercetools.sync.commons.helpers
A generic custom update action builder that creates update actions that are of the same type as the Generic type T provided by the subclass of this abstract class.
getBatchSize() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Gets the batch size used in the sync process.
getBeforeCreateCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns the beforeCreateCallback Function<V, Optional<V>> function set to this BaseSyncOptions.
getBeforeUpdateCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns the beforeUpdateCallback TriFunction<List<UpdateAction< U>>, V, U, List<UpdateAction<U>>> function set to this BaseSyncOptions.
getCategoryKeysWithMissingParents() - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
 
getCategoryOrderHints() - Method in class com.commercetools.sync.commons.helpers.CategoryReferencePair
 
getCategoryResourceIdentifiers() - Method in class com.commercetools.sync.commons.helpers.CategoryReferencePair
 
getChannelId() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
 
getCountryCode() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
 
getCreated() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the total number of resources that were created.
getCtpClient() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns the SphereClient responsible for interaction with the target CTP project.
getCurrencyCode() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
 
getCustomerGroupId() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
 
getDraftBuilderFromStagedProduct(Product) - Static method in class com.commercetools.sync.products.utils.ProductReferenceReplacementUtils
Given a Product this method creates a ProductDraftBuilder based on the staged projection values of the supplied product.
getEnumValuesKeyMapWithKeyValidation(String, List<T>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateEnumActionsUtils
Given a list of new EnumValues, gets a map where the keys are the enum value key, and the values are the enum instances.
getErrorCallBack() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns the errorCallback BiConsumer<String, Throwable> function set to this BaseSyncOptions.
getFailed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the total number of resources that failed to sync.
getIdFromCacheOrFetch(String) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
getIdFromCacheOrFetch(String) - Method in interface com.commercetools.sync.services.ProductService
Given a key, if it is blank (null/empty), a completed future with an empty optional is returned.
getInventoryEntryChannelId() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
 
getInventoryEntrySku() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
 
getKeyFromResourceIdentifier(ResourceIdentifier, boolean) - Static method in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
This method fetches the id value on the passed ResourceIdentifier, if valid.
getKeysToCache() - Method in class com.commercetools.sync.products.helpers.BatchProcessor
 
getLatestBatchHumanReadableProcessingTime() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the human readable processing time in the following format @{code "0d, 0h, 0m, 2s, 545ms"}.
getLatestBatchProcessingTimeInDays() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the number of days it took to process.
getLatestBatchProcessingTimeInHours() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the number of hours it took to process.
getLatestBatchProcessingTimeInMillis() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the number of milliseconds it took to process.
getLatestBatchProcessingTimeInMinutes() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the number of minutes it took to process.
getLatestBatchProcessingTimeInSeconds() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the number of seconds it took to process.
getMissingParentKey(String) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
Given a childCategoryKey this method, checks in the categoryKeysWithMissingParents if it exists as a child to a missing parent, and returns the key of first found (since a category can have only one parent) missing parent in an optional.
getName() - Method in class com.commercetools.sync.products.AttributeMetaData
Gets the name of the attribute.
getNumberOfCategoriesWithMissingParents() - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
Returns the total number of categories with missing parents.
getParentCategoryKey(CategoryDraft, boolean) - Static method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
 
getParentCategoryKey(CategoryDraftBuilder, boolean) - Static method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
 
getProcessed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the total number of resources that were processed/synced.
getReportMessage() - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
Builds a summary of the category sync statistics instance that looks like the following example:
getReportMessage() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets a summary message of the statistics report.
getReportMessage() - Method in class com.commercetools.sync.inventories.helpers.InventorySyncStatistics
Builds a summary of the inventory sync statistics instance that looks like the following example:
getReportMessage() - Method in class com.commercetools.sync.products.helpers.ProductSyncStatistics
Builds a summary of the product sync statistics instance that looks like the following example:
getReportMessage() - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeSyncStatistics
Builds a summary of the product type sync statistics instance that looks like the following example:
getStatistics() - Method in class com.commercetools.sync.commons.BaseSync
Returns an instance of type U which is a subclass of BaseSyncStatistics containing all the stats of the sync process; which includes a report message, the total number of update, created, failed, processed resources and the processing time of the sync in different time units and in a human readable format.
getSyncFilter() - Method in class com.commercetools.sync.products.ProductSyncOptions
Returns the SyncFilter set to this ProductSyncOptions.
getSyncOptions() - Method in class com.commercetools.sync.commons.BaseSync
 
getThis() - Method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
Returns an instance of this class to be used in the super class generic methods.
getThis() - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Returns this instance of T, which extends BaseSyncOptionsBuilder.
getThis() - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
Returns this instance of InventorySyncOptionsBuilder.
getThis() - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
 
getThis() - Method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
Returns an instance of this class to be used in the super class generic methods.
getUpdated() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the total number of resources that were updated.
getValidDrafts() - Method in class com.commercetools.sync.products.helpers.BatchProcessor
 
getValidFrom() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
 
getValidUntil() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
 
getWarningCallBack() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns the warningCallback Consumer<String> function set to this BaseSyncOptions.

H

hashCode() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
 
hashCode() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
 

I

incrementCreated() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Increments the total number of resource that were created.
incrementCreated(int) - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Increments the total number of resources that were created by the supplied times.
incrementFailed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Increments the total number of resources that failed to sync.
incrementFailed(int) - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Increments the total number of resources that failed to sync by the supplied times.
incrementProcessed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Increments the total number of resources that were processed/synced.
incrementProcessed(int) - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Increments the total number of resources that were processed/synced by the supplied times.
incrementUpdated() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Increments the total number of resource that were updated.
incrementUpdated(int) - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Increments the total number of resources that were updated by the supplied times.
InventoryCustomActionBuilder - Class in com.commercetools.sync.inventories.helpers
 
InventoryCustomActionBuilder() - Constructor for class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
 
InventoryEntryIdentifier - Class in com.commercetools.sync.inventories.helpers
This class provides as a container of the unique identifier of an InventoryEntry for the sync which is a combination of both the SKU of the inventory entry and the supply channel if of this inventory entry.
InventoryReferenceReplacementUtils - Class in com.commercetools.sync.inventories.utils
 
InventoryReferenceResolver - Class in com.commercetools.sync.inventories.helpers
 
InventoryReferenceResolver(InventorySyncOptions, TypeService, ChannelService) - Constructor for class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
 
InventoryService - Interface in com.commercetools.sync.services
 
InventoryServiceImpl - Class in com.commercetools.sync.services.impl
 
InventoryServiceImpl(SphereClient) - Constructor for class com.commercetools.sync.services.impl.InventoryServiceImpl
 
InventorySync - Class in com.commercetools.sync.inventories
Default implementation of inventories sync process.
InventorySync(InventorySyncOptions) - Constructor for class com.commercetools.sync.inventories.InventorySync
Takes a InventorySyncOptions instance to instantiate a new InventorySync instance that could be used to sync inventory drafts with the given inventory entries in the CTP project specified in the injected InventorySyncOptions instance.
InventorySyncOptions - Class in com.commercetools.sync.inventories
 
InventorySyncOptionsBuilder - Class in com.commercetools.sync.inventories
Builder for creation of InventorySyncOptions.
InventorySyncStatistics - Class in com.commercetools.sync.inventories.helpers
 
InventorySyncStatistics() - Constructor for class com.commercetools.sync.inventories.helpers.InventorySyncStatistics
 
InventorySyncUtils - Class in com.commercetools.sync.inventories.utils
This class provides factory methods for assembling update actions of inventory entries.
InventoryUpdateActionUtils - Class in com.commercetools.sync.inventories.utils
This class provides static utility methods for building update actions related to inventories.
isSameForAll() - Method in class com.commercetools.sync.products.AttributeMetaData
Does the attribute have a "SameForAll" constraint or not.

K

keepOtherVariants(List<UpdateAction<Product>>, ProductDraft, Product) - Static method in class com.commercetools.sync.products.templates.beforeupdatecallback.KeepOtherVariantsSync
Takes product update actions, a new ProductDraft, an old existing Product.
KeepOtherVariantsSync - Class in com.commercetools.sync.products.templates.beforeupdatecallback
 
KeepOtherVariantsSync() - Constructor for class com.commercetools.sync.products.templates.beforeupdatecallback.KeepOtherVariantsSync
 

L

LIB_VERSION - Static variable in class com.commercetools.sync.commons.utils.SyncSolutionInfo
This value is injected by the script at gradle-scripts/set-library-version.gradle.
LocalizedEnumUpdateActionsUtils - Class in com.commercetools.sync.producttypes.utils
 

M

mapValuesToFutureOfCompletedValues(Collection<T>, Function<T, CompletionStage<S>>, Collector<S, ?, U>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
Creates a Future containing a collection of value results after the mapper function is applied to each value in the supplied collection and completed it.
mapValuesToFutureOfCompletedValues(Collection<T>, Function<T, CompletionStage<S>>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
Creates a Future containing a stream of value results after the mapper function is applied to each value in the supplied collection and completed it.
mapValuesToFutureOfCompletedValues(Stream<T>, Function<T, CompletionStage<S>>, Collector<S, ?, U>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
Creates a Future containing a collection of value results after the mapper function is applied to each value in the supplied stream and completed it.
mapValuesToFutures(Stream<T>, Function<T, CompletionStage<S>>, Collector<CompletableFuture<S>, ?, U>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
Maps a stream of values to a future collection using the supplied mapper function.

N

NULL_PRODUCT_VARIANT_ATTRIBUTE - Static variable in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
 

O

of(SphereClient) - Static method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
Creates a new instance of CategorySyncOptionsBuilder given a SphereClient responsible for interaction with the target CTP project, with the dafult batch size (BATCH_SIZE_DEFAULT = 50).
of(Set<ResourceIdentifier<Category>>, CategoryOrderHints) - Static method in class com.commercetools.sync.commons.helpers.CategoryReferencePair
 
of(PriceDraft) - Static method in class com.commercetools.sync.internals.helpers.PriceCompositeId
Given a PriceDraft, creates a PriceCompositeId using the following fields from the supplied PriceDraft: PriceCompositeId.currencyCode: CurrencyCode of PriceDraft.getValue() PriceCompositeId.countryCode: PriceDraft.getCountry() PriceCompositeId.channelId: id of PriceDraft.getChannel() PriceCompositeId.customerGroupId: id of PriceDraft.getCustomerGroup() PriceCompositeId.validFrom: PriceDraft.getValidFrom() PriceCompositeId.validUntil: PriceDraft.getValidUntil()
of(Price) - Static method in class com.commercetools.sync.internals.helpers.PriceCompositeId
Given a Price, creates a PriceCompositeId using the following fields from the supplied Price: PriceCompositeId.currencyCode: CurrencyCode of Price.getValue() PriceCompositeId.countryCode: Price.getCountry() PriceCompositeId.channelId: id of Price.getChannel() PriceCompositeId.customerGroupId: id of Price.getCustomerGroup() PriceCompositeId.validFrom: Price.getValidFrom() PriceCompositeId.validUntil: Price.getValidUntil()
of(InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
Builds an InventoryEntryIdentifier instance given an InventoryEntryDraft using it's sku and supply channel id.
of(InventoryEntry) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
Builds an InventoryEntryIdentifier instance given an InventoryEntry using it's sku and supply channel id.
of(String, String) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
Builds an InventoryEntryIdentifier instance given an sku and supply channel id.
of(SphereClient) - Static method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
Creates a new instance of InventorySyncOptionsBuilder given a SphereClient responsible for interaction with the target CTP project, with the dafult batch size (BATCH_SIZE_DEFAULT = 150).
of(AttributeDefinition) - Static method in class com.commercetools.sync.products.AttributeMetaData
Uses the supplied AttributeDefinition instance to infer the name and whether it has the constraint "SameForAll" or not, to instantiate a new AttributeMetaData containing the aforementioned information.
of(SphereClient) - Static method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
 
of() - Static method in class com.commercetools.sync.products.SyncFilter
 
of(AttributeDefinitionDraft) - Static method in class com.commercetools.sync.producttypes.helpers.AttributeDefinitionCustomBuilder
Given an AttributeDefinitionDraft returns a AttributeDefinition as a result.
of(SphereClient) - Static method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
Creates a new instance of ProductTypeSyncOptionsBuilder given a SphereClient responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT = 50).
ofBlackList(ActionGroup...) - Static method in class com.commercetools.sync.products.SyncFilter
 
ofWhiteList(ActionGroup...) - Static method in class com.commercetools.sync.products.SyncFilter
 
options - Variable in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
 

P

PlainEnumUpdateActionsUtils - Class in com.commercetools.sync.producttypes.utils
 
PriceCompositeId - Class in com.commercetools.sync.internals.helpers
This class is only meant for the internal use of the commercetools-sync-java library.
PriceCustomActionBuilder - Class in com.commercetools.sync.products.helpers
 
PriceCustomActionBuilder() - Constructor for class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
 
PriceReferenceResolver - Class in com.commercetools.sync.products.helpers
 
PriceReferenceResolver(ProductSyncOptions, TypeService, ChannelService, CustomerGroupService) - Constructor for class com.commercetools.sync.products.helpers.PriceReferenceResolver
Takes a ProductSyncOptions instance, TypeService, a ChannelService and a CustomerGroupService to instantiate a PriceReferenceResolver instance that could be used to resolve the prices of variant drafts in the CTP project specified in the injected ProductSyncOptions instance.
process(List<CategoryDraft>) - Method in class com.commercetools.sync.categories.CategorySync
Given a list of CategoryDraft that represent a batch of category drafts, this method for the first batch only caches a list of all the categories in the CTP project in a cached map that representing each category's key to the id.
process(List<T>) - Method in class com.commercetools.sync.commons.BaseSync
Given a list of resource (e.g.
process(List<InventoryEntryDraft>) - Method in class com.commercetools.sync.inventories.InventorySync
Iterates through the whole inventories list and accumulates its valid drafts to batches.
process(List<ProductDraft>) - Method in class com.commercetools.sync.products.ProductSync
 
process(List<ProductTypeDraft>) - Method in class com.commercetools.sync.producttypes.ProductTypeSync
Iterates through the whole productTypeDrafts list and accumulates its valid drafts to batches.
processBatch(List<CategoryDraft>) - Method in class com.commercetools.sync.categories.CategorySync
Given a list of CategoryDraft that represent a batch of category drafts, this method for the first batch only caches a list of all the categories in the CTP project in a cached map that representing each category's key to the id.
processBatch(List<T>) - Method in class com.commercetools.sync.commons.BaseSync
 
processBatch(List<InventoryEntryDraft>) - Method in class com.commercetools.sync.inventories.InventorySync
Fetches existing InventoryEntry objects from CTP project that correspond to passed batchOfDrafts.
processBatch(List<ProductDraft>) - Method in class com.commercetools.sync.products.ProductSync
 
processBatch(List<ProductTypeDraft>) - Method in class com.commercetools.sync.producttypes.ProductTypeSync
Fetches existing ProductType objects from CTP project that correspond to passed batch.
ProductAssetActionFactory - Class in com.commercetools.sync.products.helpers
 
ProductAssetActionFactory(Integer, ProductSyncOptions) - Constructor for class com.commercetools.sync.products.helpers.ProductAssetActionFactory
 
ProductReferenceReplacementUtils - Class in com.commercetools.sync.products.utils
 
ProductReferenceResolver - Class in com.commercetools.sync.products.helpers
 
ProductReferenceResolver(ProductSyncOptions, ProductTypeService, CategoryService, TypeService, ChannelService, CustomerGroupService, TaxCategoryService, StateService, ProductService) - Constructor for class com.commercetools.sync.products.helpers.ProductReferenceResolver
Takes a ProductSyncOptions instance, a ProductTypeService, a CategoryService, a TypeService, a ChannelService, a CustomerGroupService, a TaxCategoryService, a StateService and a ProductService to instantiate a ProductReferenceResolver instance that could be used to resolve the product type, categories, variants, tax category and product state references of product drafts in the CTP project specified in the injected ProductSyncOptions instance.
ProductService - Interface in com.commercetools.sync.services
 
ProductServiceImpl - Class in com.commercetools.sync.services.impl
 
ProductServiceImpl(ProductSyncOptions) - Constructor for class com.commercetools.sync.services.impl.ProductServiceImpl
 
ProductSync - Class in com.commercetools.sync.products
 
ProductSync(ProductSyncOptions) - Constructor for class com.commercetools.sync.products.ProductSync
Takes a ProductSyncOptions instance to instantiate a new ProductSync instance that could be used to sync product drafts with the given products in the CTP project specified in the injected ProductSyncOptions instance.
ProductSyncOptions - Class in com.commercetools.sync.products
TODO: auto publish, revert staged changes, update current.
ProductSyncOptionsBuilder - Class in com.commercetools.sync.products
 
ProductSyncStatistics - Class in com.commercetools.sync.products.helpers
 
ProductSyncStatistics() - Constructor for class com.commercetools.sync.products.helpers.ProductSyncStatistics
 
ProductSyncUtils - Class in com.commercetools.sync.products.utils
 
ProductTypeService - Interface in com.commercetools.sync.services
 
ProductTypeServiceImpl - Class in com.commercetools.sync.services.impl
 
ProductTypeServiceImpl(BaseSyncOptions) - Constructor for class com.commercetools.sync.services.impl.ProductTypeServiceImpl
 
ProductTypeSync - Class in com.commercetools.sync.producttypes
This class syncs product type drafts with the corresponding product types in the CTP project.
ProductTypeSync(ProductTypeSyncOptions) - Constructor for class com.commercetools.sync.producttypes.ProductTypeSync
 
ProductTypeSync(ProductTypeSyncOptions, ProductTypeService) - Constructor for class com.commercetools.sync.producttypes.ProductTypeSync
 
ProductTypeSyncOptions - Class in com.commercetools.sync.producttypes
 
ProductTypeSyncOptionsBuilder - Class in com.commercetools.sync.producttypes
 
ProductTypeSyncStatistics - Class in com.commercetools.sync.producttypes.helpers
 
ProductTypeSyncStatistics() - Constructor for class com.commercetools.sync.producttypes.helpers.ProductTypeSyncStatistics
 
ProductTypeSyncUtils - Class in com.commercetools.sync.producttypes.utils
 
ProductTypeUpdateActionUtils - Class in com.commercetools.sync.producttypes.utils
 
ProductTypeUpdateAttributeDefinitionActionUtils - Class in com.commercetools.sync.producttypes.utils
 
ProductTypeUpdateEnumActionsUtils - Class in com.commercetools.sync.producttypes.utils
 
ProductTypeUpdateLocalizedEnumActionUtils - Class in com.commercetools.sync.producttypes.utils
 
ProductTypeUpdatePlainEnumActionUtils - Class in com.commercetools.sync.producttypes.utils
 
ProductUpdateActionUtils - Class in com.commercetools.sync.products.utils
 
ProductVariantAssetUpdateActionUtils - Class in com.commercetools.sync.products.utils
 
ProductVariantAttributeUpdateActionUtils - Class in com.commercetools.sync.products.utils
 
ProductVariantPriceUpdateActionUtils - Class in com.commercetools.sync.products.utils
 
ProductVariantUpdateActionUtils - Class in com.commercetools.sync.products.utils
 
publishProduct(Product) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
publishProduct(Product) - Method in interface com.commercetools.sync.services.ProductService
Given a Product, this method issues an update request to publish this Product in the CTP project defined in a potentially injected SphereClient.
putMissingParentCategoryChildKey(String, String) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
This method checks if there is an entry with the key of the missingParentCategoryKey in the categoryKeysWithMissingParents, if there isn't it creates a new entry with this parent key and as a value a new set containing the childKey.

Q

queryAll(SphereClient, QueryDsl<T, C>, Function<List<T>, S>) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
Queries all elements matching a query by using a limit based pagination with a combination of id sorting and a page size 500.
queryAll(SphereClient, QueryDsl<T, C>, Consumer<List<T>>) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
Queries all elements matching a query by using a limit based pagination with a combination of id sorting and a page size 500.
queryAll(SphereClient, QueryDsl<T, C>, Function<List<T>, S>, int) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
Queries all elements matching a query by using a limit based pagination with a combination of id sorting and the supplied pageSize.
queryAll(SphereClient, QueryDsl<T, C>, Consumer<List<T>>, int) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
Queries all elements matching a query by using a limit based pagination with a combination of id sorting and the supplied pageSize.

R

REFERENCE_ID_FIELD - Static variable in class com.commercetools.sync.products.helpers.VariantReferenceResolver
 
REFERENCE_TYPE_ID_FIELD - Static variable in class com.commercetools.sync.products.helpers.VariantReferenceResolver
 
ReferenceResolutionException - Exception in com.commercetools.sync.commons.exceptions
 
ReferenceResolutionException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.ReferenceResolutionException
 
ReferenceResolutionException(Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.ReferenceResolutionException
 
ReferenceResolutionException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.ReferenceResolutionException
 
removeChildCategoryKeyFromMissingParentsMap(String) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
Given a child categoryKey this method removes its occurrences from the map categoryKeysWithMissingParents.
replaceAssetsReferencesIdsWithKeys(List<Asset>) - Static method in class com.commercetools.sync.commons.utils.AssetReferenceReplacementUtils
Takes an asset list that is supposed to have all its assets' custom references expanded in order to be able to fetch the keys and replace the reference ids with the corresponding keys for the custom references.
replaceCategoriesReferenceIdsWithKeys(List<Category>) - Static method in class com.commercetools.sync.categories.utils.CategoryReferenceReplacementUtils
Takes a list of Categories that are supposed to have their custom type, parent category and asset custom type references expanded in order to be able to fetch the keys and replace the reference ids with the corresponding keys and then return a new list of category drafts with their references containing keys instead of the ids.
replaceCustomTypeIdWithKeys(T) - Static method in class com.commercetools.sync.commons.utils.CustomTypeReferenceReplacementUtils
Given a resource of type T that extends Custom (i.e.
replaceInventoriesReferenceIdsWithKeys(List<InventoryEntry>) - Static method in class com.commercetools.sync.inventories.utils.InventoryReferenceReplacementUtils
Takes a list of inventoryEntries that are supposed to have their custom type and supply channel reference expanded in order to be able to fetch the keys and replace the reference ids with the corresponding keys and then return a new list of inventory entry drafts with their references containing keys instead of the ids.
replaceProductsReferenceIdsWithKeys(List<Product>) - Static method in class com.commercetools.sync.products.utils.ProductReferenceReplacementUtils
Takes a list of Products that are supposed to have their product type, tax category, state, variants and category references expanded in order to be able to fetch the keys and replace the reference ids with the corresponding keys and then return a new list of product drafts with their references containing keys instead of the ids.
replaceReferenceIdWithKey(Reference<T>, Supplier<Reference<T>>) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Given a reference to a resource of type T, this method checks if the reference is expanded.
replaceVariantsReferenceIdsWithKeys(List<ProductVariant>) - Static method in class com.commercetools.sync.products.utils.VariantReferenceReplacementUtils
Takes a list of Variants that are supposed to have their prices', assets' and attributes' references expanded in order to be able to fetch the keys and replace the reference ids with the corresponding keys and then return a new list of product variant drafts with their references containing keys instead of the ids.
reportMessage - Variable in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
 
resolveCategoryReferences(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
Given a ProductDraftBuilder this method attempts to resolve the categories and categoryOrderHints to return a CompletionStage which contains a new instance of the builder with the resolved references.
resolveCustomTypeReference(CategoryDraftBuilder) - Method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
 
resolveCustomTypeReference(AssetDraftBuilder) - Method in class com.commercetools.sync.commons.helpers.AssetReferenceResolver
 
resolveCustomTypeReference(B) - Method in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
Given a draft of D (e.g.
resolveCustomTypeReference(B, Function<B, CustomFieldsDraft>, BiFunction<B, CustomFieldsDraft, B>, String) - Method in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
Given a draft of D (e.g.
resolveCustomTypeReference(InventoryEntryDraftBuilder) - Method in class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
 
resolveCustomTypeReference(PriceDraftBuilder) - Method in class com.commercetools.sync.products.helpers.PriceReferenceResolver
 
resolveProductTypeReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
Given a ProductDraftBuilder this method attempts to resolve the product type to return a CompletionStage which contains a new instance of the builder with the resolved product type reference.
resolveReferences(CategoryDraft) - Method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
Given a CategoryDraft this method attempts to resolve the custom type and parent category references to return a CompletionStage which contains a new instance of the draft with the resolved references.
resolveReferences(AssetDraft) - Method in class com.commercetools.sync.commons.helpers.AssetReferenceResolver
 
resolveReferences(T) - Method in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
Given a draft this method attempts to resolve the all the references on the draft to return a CompletionStage which contains a new instance of the draft with the resolved references.
resolveReferences(InventoryEntryDraft) - Method in class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
Given a InventoryEntryDraft this method attempts to resolve the custom type and supply channel references to return a CompletionStage which contains a new instance of the draft with the resolved references.
resolveReferences(PriceDraft) - Method in class com.commercetools.sync.products.helpers.PriceReferenceResolver
Given a PriceDraft this method attempts to resolve the custom type and channel references to return a CompletionStage which contains a new instance of the draft with the resolved references.
resolveReferences(ProductDraft) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
Given a ProductDraft this method attempts to resolve the product type, categories, variants, tax category and product state references to return a CompletionStage which contains a new instance of the draft with the resolved references.
resolveReferences(ProductVariantDraft) - Method in class com.commercetools.sync.products.helpers.VariantReferenceResolver
Given a ProductVariantDraft this method attempts to resolve the prices and attributes to return a CompletionStage which contains a new instance of the draft with the resolved references.
resolveStateReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
Given a ProductDraftBuilder this method attempts to resolve the state to return a CompletionStage which contains a new instance of the builder with the resolved state reference.
resolveTaxCategoryReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
Given a ProductDraftBuilder this method attempts to resolve the tax category to return a CompletionStage which contains a new instance of the builder with the resolved tax category reference.
ResourceIdentifierUtils - Class in com.commercetools.sync.commons.utils
 
revertProduct(Product) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
revertProduct(Product) - Method in interface com.commercetools.sync.services.ProductService
Given a Product, this method issues an update request to revert the staged changes of this Product in the CTP project defined in a potentially injected SphereClient.

S

setCategoryKeysWithMissingParents(ConcurrentHashMap<String, Set<String>>) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
 
shouldAllowUuidKeys() - Method in class com.commercetools.sync.commons.BaseSyncOptions
The sync expects the user to pass the keys to references in the id field of References.
shouldEnsureChannels() - Method in class com.commercetools.sync.inventories.InventorySyncOptions
 
shouldEnsurePriceChannels() - Method in class com.commercetools.sync.products.ProductSyncOptions
 
sortPriceActions(List<UpdateAction<Product>>) - Static method in class com.commercetools.sync.internals.utils.UpdateActionsSortUtils
Given a list of update actions, this method returns a copy of the supplied list but sorted with the following precedence: RemovePrice ChangePrice or SetProductPriceCustomType or SetProductPriceCustomField AddPrice
startTimer() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Stores the current time of instantiation in the latestBatchStartTime instance variable that will be used later when BaseSyncStatistics.calculateProcessingTime() is called to calculate the total time of processing.
StateService - Interface in com.commercetools.sync.services
 
StateServiceImpl - Class in com.commercetools.sync.services.impl
 
StateServiceImpl(ProductSyncOptions, StateType) - Constructor for class com.commercetools.sync.services.impl.StateServiceImpl
 
statistics - Variable in class com.commercetools.sync.commons.BaseSync
 
StreamUtils - Class in com.commercetools.sync.commons.utils
 
sync(List<T>) - Method in class com.commercetools.sync.commons.BaseSync
Given a list of resource (e.g.
syncBatches(List<List<CategoryDraft>>, CompletionStage<CategorySyncStatistics>) - Method in class com.commercetools.sync.categories.CategorySync
 
syncBatches(List<List<T>>, CompletionStage<U>) - Method in class com.commercetools.sync.commons.BaseSync
Given a list of resource (e.g.
syncBatches(List<List<InventoryEntryDraft>>, CompletionStage<InventorySyncStatistics>) - Method in class com.commercetools.sync.inventories.InventorySync
 
syncBatches(List<List<ProductDraft>>, CompletionStage<ProductSyncStatistics>) - Method in class com.commercetools.sync.products.ProductSync
 
syncBatches(List<List<ProductTypeDraft>>, CompletionStage<ProductTypeSyncStatistics>) - Method in class com.commercetools.sync.producttypes.ProductTypeSync
 
syncFilter(SyncFilter) - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
Set option that defines SyncFilter for the sync, which defines either a blacklist or a whitelist for filtering certain update action groups.
SyncFilter - Class in com.commercetools.sync.products
Defines either a blacklist or a whitelist for filtering certain update action groups (ActionGroup).
syncOptions - Variable in class com.commercetools.sync.commons.BaseSync
 
syncOptions - Variable in class com.commercetools.sync.commons.helpers.AssetActionFactory
 
SyncSolutionInfo - Class in com.commercetools.sync.commons.utils
 
SyncSolutionInfo() - Constructor for class com.commercetools.sync.commons.utils.SyncSolutionInfo
Extends SolutionInfo class of the JVM SDK to append to the User-Agent header with information of the commercetools-sync-java library
SyncUtils - Class in com.commercetools.sync.commons.utils
 

T

TaxCategoryService - Interface in com.commercetools.sync.services
 
TaxCategoryServiceImpl - Class in com.commercetools.sync.services.impl
 
TaxCategoryServiceImpl(ProductSyncOptions) - Constructor for class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
 
toCompletableFutures(Stream<CompletionStage<T>>, Collector<CompletableFuture<T>, ?, S>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
Converts a stream of CompletionStage of values of type <T> into a Collection of the type of the supplied collector of CompletableFuture of values of type <T>.
toResourceIdentifierIfNotNull(T) - Static method in class com.commercetools.sync.commons.utils.ResourceIdentifierUtils
Given a Referenceable resource of the type T, if it is not null, this method applies the Referenceable.toResourceIdentifier() method to return it as a ResourceIdentifier of the type T.
TriFunction<T,U,S,R> - Interface in com.commercetools.sync.commons.utils
Represents a function that accepts three arguments and produces a result.
TypeService - Interface in com.commercetools.sync.services
 
TypeServiceImpl - Class in com.commercetools.sync.services.impl
Implementation of TypeService interface.
TypeServiceImpl(BaseSyncOptions) - Constructor for class com.commercetools.sync.services.impl.TypeServiceImpl
 

U

UnorderedCollectionSyncUtils - Class in com.commercetools.sync.internals.utils
This class is only meant for the internal use of the commercetools-sync-java library.
UpdateActionsSortUtils - Class in com.commercetools.sync.internals.utils
This class is only meant for the internal use of the commercetools-sync-java library.
updateCategory(Category, List<UpdateAction<Category>>) - Method in interface com.commercetools.sync.services.CategoryService
Given a Category and a List<UpdateAction<Category>>, this method issues an update request with these update actions on this Category in the CTP project defined in a potentially injected SphereClient.
updateCategory(Category, List<UpdateAction<Category>>) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
 
updateInventoryEntry(InventoryEntry, List<UpdateAction<InventoryEntry>>) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
 
updateInventoryEntry(InventoryEntry, List<UpdateAction<InventoryEntry>>) - Method in interface com.commercetools.sync.services.InventoryService
Updates existing inventory entry with updateActions.
updateProduct(Product, List<UpdateAction<Product>>) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
updateProduct(Product, List<UpdateAction<Product>>) - Method in interface com.commercetools.sync.services.ProductService
Given a Product and a List<UpdateAction<Product>>, this method issues an update request with these update actions on this Product in the CTP project defined in a potentially injected SphereClient.
updateProductType(ProductType, List<UpdateAction<ProductType>>) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
 
updateProductType(ProductType, List<UpdateAction<ProductType>>) - Method in interface com.commercetools.sync.services.ProductTypeService
Updates existing product type with updateActions.

V

validateBatch() - Method in class com.commercetools.sync.products.helpers.BatchProcessor
This method validates the batch of drafts, and only for valid drafts it adds the valid draft to validDrafts set, and adds the keys of all referenced products to keysToCache.
valueOf(String) - Static method in enum com.commercetools.sync.products.ActionGroup
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.commercetools.sync.products.ActionGroup
Returns an array containing the constants of this enum type, in the order they are declared.
VariantReferenceReplacementUtils - Class in com.commercetools.sync.products.utils
 
VariantReferenceResolver - Class in com.commercetools.sync.products.helpers
 
VariantReferenceResolver(ProductSyncOptions, TypeService, ChannelService, CustomerGroupService, ProductService) - Constructor for class com.commercetools.sync.products.helpers.VariantReferenceResolver
Takes a ProductSyncOptions instance, TypeService, a ChannelService, a CustomerGroupService and a ProductService to instantiate a VariantReferenceResolver instance that could be used to resolve the variants of product drafts in the CTP project specified in the injected ProductSyncOptions instance.

W

warningCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
warningCallback(Consumer<String>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the warningCallback function of the sync module.
A B C D E F G H I K L M N O P Q R S T U V W 
Skip navigation links