Skip navigation links
A B C E F G H I 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
 
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.
AttributeMetaData - Class in com.commercetools.sync.products
Custom container for product variant attribute information: its name, whether a value is required or not 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 - Class in com.commercetools.sync.commons
 
BaseSyncOptions(SphereClient, BiConsumer<String, Throwable>, Consumer<String>, int, boolean, boolean, boolean, boolean, boolean) - Constructor for class com.commercetools.sync.commons.BaseSyncOptions
 
BaseSyncOptionsBuilder<T extends BaseSyncOptionsBuilder<T,S>,S extends BaseSyncOptions> - 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
 
BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
 
BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.products.ProductSyncOptionsBuilder
 
batchDrafts(List<T>, int) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Given a list of resource (e.g.
batchSize - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
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
 
buildActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategorySyncUtils
Compares the Name, Slug, Description, Parent, OrderHint, MetaTitle, MetaDescription, MetaKeywords and Custom fields/ type 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 the name, description, slug, search keywords, metaTitle, metaDescription, metaKeywords, categories, variants (comparing all variants see ProductUpdateActionUtils.buildVariantsUpdateActions(Product, ProductDraft, ProductSyncOptions, Map)), and publish state of a Product and a ProductDraft, given that each of these fields pass the specified SyncFilter.
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.
buildCategoryActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductSyncUtils
Compares the categories of a Product and a ProductDraft.
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.
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.
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.
buildCoreActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategorySyncUtils
Compares the Name, Slug, externalID, Description, Parent, OrderHint, MetaTitle, MetaDescription, MetaKeywords and Custom fields/ type fields of a Category and a CategoryDraft.
buildCoreActions(Product, ProductDraft, ProductSyncOptions, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductSyncUtils
Compares the name, description, slug, search keywords, metaTitle, metaDescription, metaKeywords, categories, variants (comparing all variants see ProductUpdateActionUtils.buildVariantsUpdateActions(Product, ProductDraft, ProductSyncOptions, Map)) and publish state of a Product and a ProductDraft, given that each of these fields pass the specified SyncFilter.
buildCustomUpdateActions(T, S, 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.
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.
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, 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) - 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.
buildRemoveCustomTypeAction() - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
 
buildRemoveCustomTypeAction() - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
 
buildRemoveCustomTypeAction() - Method in class 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 (which currently could either be a Category or a Channel).
buildRemoveCustomTypeAction() - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
 
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.
buildRemoveVariantUpdateActions(Map<String, ProductVariant>, List<ProductVariantDraft>) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Note: if you do both add/remove product variants - first always remove the variants, and then - add.
buildSetCategoryOrderHintUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
Compares the CategoryOrderHints of a ProductDraft and a Product.
buildSetCustomFieldAction(String, JsonNode) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
 
buildSetCustomFieldAction(String, JsonNode) - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
 
buildSetCustomFieldAction(String, JsonNode) - Method in class 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 (which currently could either be a Category or a Channel).
buildSetCustomFieldAction(String, JsonNode) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
 
buildSetCustomTypeAction(String, Map<String, JsonNode>) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
 
buildSetCustomTypeAction(String, Map<String, JsonNode>) - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
 
buildSetCustomTypeAction(String, Map<String, JsonNode>) - Method in class com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
Creates a CTP "setCustomType" update action on the given resource T (which currently could either be a Category or a Channel).
buildSetCustomTypeAction(String, Map<String, JsonNode>) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
 
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.
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.
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
 
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() - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
 
cacheKeysToIds() - Method in interface com.commercetools.sync.services.ProductService
If not already done once before, it fetches all the product keys from the CTP project defined in a potentially injected SphereClient and stores a mapping for every product to id in Map 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.
CategoryCustomActionBuilder - Class in com.commercetools.sync.categories.helpers
 
CategoryCustomActionBuilder() - Constructor for class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
 
CategoryReferenceResolver - Class in com.commercetools.sync.categories.helpers
 
CategoryReferenceResolver(CategorySyncOptions, TypeService, CategoryService) - Constructor for class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
 
CategoryService - Interface in com.commercetools.sync.services
 
CategoryServiceImpl - Class in com.commercetools.sync.services.impl
Implementation of CategoryService interface.
CategoryServiceImpl(BaseSyncOptions) - 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
 
CategorySyncUtils() - Constructor for class com.commercetools.sync.categories.utils.CategorySyncUtils
 
CategoryUpdateActionUtils - Class in com.commercetools.sync.categories.utils
 
CategoryUpdateActionUtils() - Constructor for class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
 
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
 
ClientConfigurationUtils() - Constructor for class com.commercetools.sync.commons.utils.ClientConfigurationUtils
 
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.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.utils - package com.commercetools.sync.products.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
 
CommonTypeUpdateActionUtils() - Constructor for class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
 
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.
ctpClient - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
CtpQueryUtils - Class in com.commercetools.sync.commons.utils
 
CustomReferenceResolver<T extends io.sphere.sdk.types.CustomDraft,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
 
CustomUpdateActionUtils - Class in com.commercetools.sync.commons.utils
 
CustomUpdateActionUtils() - Constructor for class com.commercetools.sync.commons.utils.CustomUpdateActionUtils
 

E

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.inventories.helpers.InventoryEntryIdentifier
 
errorCallBack - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
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

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
 
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.
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.
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.
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.
FilterUtils - Class in com.commercetools.sync.commons.utils
 

G

GenericCustomActionBuilder<T extends io.sphere.sdk.types.Custom & io.sphere.sdk.models.Resource<T>> - Class 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.
GenericCustomActionBuilder() - Constructor for class com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
 
GenericCustomActionBuilderFactory<T extends io.sphere.sdk.types.Custom & io.sphere.sdk.models.Resource<T>,S extends GenericCustomActionBuilder<T>> - Class in com.commercetools.sync.commons.helpers
Factory class that has the main objective of creating an instance of the of a concrete implementation of the GenericCustomActionBuilder, which is responsible for building custom update actions, according to the type of the resource instance provided to the GenericCustomActionBuilderFactory.of(Custom) function.
GenericCustomActionBuilderFactory() - Constructor for class com.commercetools.sync.commons.helpers.GenericCustomActionBuilderFactory
 
getBatchSize() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Gets the batch size used in the sync process.
getCategoryKeysWithMissingParents() - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
 
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.
getCustomTypeId(CustomFieldsDraft, String) - Method in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
Given a custom fields object this method fetches the custom type reference id.
getDraftBuilderFromStagedProduct(Product) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Given a Product this method creates a ProductDraftBuilder based on the staged projection values of the supplied product.
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.
getInventoryEntryChannelId() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
 
getInventoryEntrySku() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
 
getKeyFromExpansion(Reference<Category>) - Static method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
Helper method that returns the value of the key field from the passed category Reference object, if expanded.
getKeyFromExpansionOrReference(boolean, String, Reference) - Static method in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
Given a key value (keyFromExpansion) which is potentially fetched from the expansion of a reference.
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.
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.
getName() - Method in class com.commercetools.sync.products.AttributeMetaData
Gets the name of the attribute.
getParentCategoryKey(CategoryDraft, boolean) - Static method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
Given a categoryDraft, this method first checks if there is a parent category reference set.
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:
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.
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
 
getUpdateActionsCallBack() - Method in class com.commercetools.sync.categories.CategorySyncOptions
Returns the updateActionsCallBack Function<List<UpdateAction< Category>>, List<UpdateAction<Category>>> function set to this CategorySyncOptions.
getUpdateActionsCallBack() - Method in class com.commercetools.sync.products.ProductSyncOptions
Returns the updateActionsCallBack Function<List<UpdateAction< Product>>, List<UpdateAction<Product>>> function set to this ProductSyncOptions.
getUpdated() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
Gets the total number of resources that were updated.
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.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.
invalidateCache() - Method in interface com.commercetools.sync.services.ChannelService
Invalidates the state of the cache so that on the next fetch a fresh copy is fetched and cached.
invalidateCache() - Method in class com.commercetools.sync.services.impl.ChannelServiceImpl
 
invalidateCache() - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
 
invalidateCache() - Method in interface com.commercetools.sync.services.TypeService
Invalidates the state of the cache so that on the next fetch a fresh copy is fetched and cached.
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.
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.
isReferenceExpanded(Reference) - Static method in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
Helper method to check if passed Reference instance is expanded.
isRequired() - Method in class com.commercetools.sync.products.AttributeMetaData
Is a value required for the attribute or not.
isSameForAll() - Method in class com.commercetools.sync.products.AttributeMetaData
Does the attribute have a "SameForAll" constraint or not.

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(U) - Static method in class com.commercetools.sync.commons.helpers.GenericCustomActionBuilderFactory
Given a resource of the type U which represents a CTP resource (currently either Category or Channel) creates an instance of the concrete implementation of the GenericCustomActionBuilder, which is responsible for building custom update actions, according to the type of the resource instance provided.
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, whether a value is required or not 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
 
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

PriceReferenceResolver - Class in com.commercetools.sync.products.helpers
 
PriceReferenceResolver(ProductSyncOptions, TypeService, ChannelService) - Constructor for class com.commercetools.sync.products.helpers.PriceReferenceResolver
 
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
 
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
 
ProductReferenceResolver - Class in com.commercetools.sync.products.helpers
 
ProductReferenceResolver(ProductSyncOptions, ProductTypeService, CategoryService, TypeService, ChannelService) - Constructor for class com.commercetools.sync.products.helpers.ProductReferenceResolver
Takes a ProductSyncOptions instance, a ProductTypeService and CategoryService to instantiate a ProductReferenceResolver instance that could be used to resolve the product type and category 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: removeOtherVariants, whiteList, blackList, auto publish, revert staged changes, update staged.
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
 
ProductSyncUtils() - Constructor for class com.commercetools.sync.products.utils.ProductSyncUtils
 
ProductTypeService - Interface in com.commercetools.sync.services
 
ProductTypeServiceImpl - Class in com.commercetools.sync.services.impl
 
ProductTypeServiceImpl(ProductSyncOptions) - Constructor for class com.commercetools.sync.services.impl.ProductTypeServiceImpl
 
ProductUpdateActionUtils - Class in com.commercetools.sync.products.utils
 
ProductUpdateActionUtils() - Constructor for class com.commercetools.sync.products.utils.ProductUpdateActionUtils
 
ProductVariantAttributeUpdateActionUtils - Class in com.commercetools.sync.products.utils
 
ProductVariantAttributeUpdateActionUtils() - Constructor for class com.commercetools.sync.products.utils.ProductVariantAttributeUpdateActionUtils
 
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.

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 an offset based pagination with 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 an offset based pagination with 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 an offset based pagination.
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 an offset based pagination.

R

ReferenceResolutionException - Exception in com.commercetools.sync.commons.exceptions
 
ReferenceResolutionException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.ReferenceResolutionException
 
ReferenceResolutionException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.ReferenceResolutionException
 
removeOtherCollectionEntries - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
removeOtherLocales - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
removeOtherProperties - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
removeOtherSetEntries - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
removeOtherVariants(boolean) - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
Sets the removeOtherVariants boolean flag which sync additional variants without deleting existing ones.
replaceCategoriesReferenceIdsWithKeys(List<Category>) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Takes a list of Categories that are supposed to have their custom type and parent category 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 category drafts with their references containing keys instead of the ids.
replaceCategoryOrderHintCategoryIdsWithKeys(CategoryOrderHints, Set<ResourceIdentifier<Category>>) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Given a CategoryOrderHints instance and a set of Category ResourceIdentifier, this method replaces all the categoryOrderHint ids with the Category keys.
replaceInventoriesReferenceIdsWithKeys(List<InventoryEntry>) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Takes a list of inventoryEntries that are supposed to have their custom type 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.
replaceProductDraftCategoryReferenceIdsWithKeys(ProductDraft) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Takes a product draft that is supposed to have its 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 product drafts with the references containing keys instead of the ids.
replaceProductDraftsCategoryReferenceIdsWithKeys(List<ProductDraft>) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Takes a list of product drafts that are supposed to have their 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.
replaceProductsReferenceIdsWithKeys(List<Product>) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
Takes a list of Products that are supposed to have their product type 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.
reportMessage - Variable in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
 
resolveCustomTypeReference(CategoryDraft) - Method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
 
resolveCustomTypeReference(T) - Method in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
Given a draft of T (e.g.
resolveCustomTypeReference(InventoryEntryDraft) - Method in class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
 
resolveCustomTypeReference(PriceDraft) - Method in class com.commercetools.sync.products.helpers.PriceReferenceResolver
 
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(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 and category references to return a CompletionStage which contains a new instance of the draft with the resolved references.
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

setAllowUuidKeys(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.
setBatchSize(int) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Set option that indicates batch size for sync process.
setCategoryKeysWithMissingParents(Map<String, ArrayList<String>>) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
 
setErrorCallBack(BiConsumer<String, Throwable>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the errorCallBack function of the sync module.
setRemoveOtherCollectionEntries(boolean) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the removeOtherSetEntries boolean flag which adds collection (e.g.
setRemoveOtherLocales(boolean) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the removeOtherLocales boolean flag which adds additional localizations without deleting existing ones.
setRemoveOtherProperties(boolean) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the removeOtherProperties boolean flag which adds additional object properties (e.g.
setRemoveOtherSetEntries(boolean) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the removeOtherSetEntries boolean flag which adds additional Set entries without deleting existing ones.
setSyncFilter(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.
setUpdateActionsFilter(Function<List<UpdateAction<Category>>, List<UpdateAction<Category>>>) - Method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
Sets the updateActions filter function which can be applied on generated list of update actions to produce a resultant list after the filter function has been applied.
setUpdateActionsFilterCallBack(Function<List<UpdateAction<Product>>, List<UpdateAction<Product>>>) - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
Sets the update actions filter callback which can be applied on generated list of update actions to produce a resultant list after the filter function has been applied.
setWarningCallBack(Consumer<String>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
Sets the warningCallBack function of the sync module.
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
 
shouldRemoveOtherCollectionEntries() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns a boolean flag which enables the sync module to add collection (e.g.
shouldRemoveOtherLocales() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns a boolean flag which enables the sync module to add additional localizations without deleting existing ones, if set to false.
shouldRemoveOtherProperties() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns a boolean flag which enables the sync module to add additional object properties (e.g.
shouldRemoveOtherSetEntries() - Method in class com.commercetools.sync.commons.BaseSyncOptions
Returns a boolean flag which enables the sync module to add additional Set entries without deleting existing ones, if set to false.
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.
statistics - Variable in class com.commercetools.sync.commons.BaseSync
 
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
 
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
 
SyncUtils - Class in com.commercetools.sync.commons.utils
 
SyncUtils() - Constructor for class com.commercetools.sync.commons.utils.SyncUtils
 

T

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

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.

V

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.

W

warningCallBack - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
 
A B C E F G H I O P Q R S T U V W 
Skip navigation links