A B C D E F G H I K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(T, U, S, V) - Method in interface com.commercetools.sync.commons.utils.QuadConsumer
-
Performs operation on the given arguments.
- accept(T, U, V) - Method in interface com.commercetools.sync.commons.utils.TriConsumer
-
Performs operation on the given arguments.
- ActionGroup - Enum in com.commercetools.sync.products
- add(String, String) - Method in class com.commercetools.sync.commons.utils.CaffeineReferenceIdToKeyCacheImpl
- add(String, String) - Method in interface com.commercetools.sync.commons.utils.ReferenceIdToKeyCache
- addAll(Map<String, String>) - Method in class com.commercetools.sync.commons.utils.CaffeineReferenceIdToKeyCacheImpl
- addAll(Map<String, String>) - Method in interface com.commercetools.sync.commons.utils.ReferenceIdToKeyCache
- addMissingDependency(String, String) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
-
This method checks if there is an entry with the key of the
missingParentCategoryKeyin thecategoryKeysWithMissingParents, if there isn't it creates a new entry with this parent key and as a value a new set containing thechildKey. - addMissingDependency(String, String) - Method in class com.commercetools.sync.products.helpers.ProductSyncStatistics
-
This method checks if there is an entry with the key of the
missingParentCategoryKeyin theproductKeysWithMissingParents, if there isn't it creates a new entry with this parent key and as a value a new set containing thechildKey. - addMissingDependency(String, String) - Method in class com.commercetools.sync.states.helpers.StateSyncStatistics
-
This method checks if there is an entry with the key of the
missingParentStateKeyin thestateKeysWithMissingParents, if there isn't it creates a new entry with this parent key and as a value a new set containing thechildKey. - apply(T, U, S) - Method in interface com.commercetools.sync.commons.utils.TriFunction
-
Applies this function to the given arguments.
- applyBeforeCreateCallback(ResourceDraftT) - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Given a new resource draft of type
Vthis method applies thebeforeCreateCallbackfunction which is set tothisinstance of theBaseSyncOptionsand returns the result. - applyBeforeUpdateCallback(List<ResourceUpdateActionT>, ResourceDraftT, ResourceT) - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Given a
ListofResourceUpdateAction, a new resource draft of typeVand the old existing resource of the typeU, this method applies thebeforeUpdateCallbackfunction which is set tothisinstance of theBaseSyncOptionsand returns the result. - applyErrorCallback(SyncException) - Method in class com.commercetools.sync.commons.BaseSyncOptions
- applyErrorCallback(SyncException, ResourceT, ResourceDraftT, List<ResourceUpdateActionT>) - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Given an
errorMessageand anexception, this method calls theerrorCallbackfunction which is set tothisinstance of theBaseSyncOptions. - applyErrorCallback(String) - Method in class com.commercetools.sync.commons.BaseSyncOptions
- applyWarningCallback(SyncException, ResourceT, ResourceDraftT) - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Given an
exception,oldResourceandnewResourceDraftthis method calls thewarningCallbackfunction which is set tothisinstance of theBaseSyncOptions. - areResourceIdentifiersEqual(ReferenceT, ResourceIdentifierT) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares the ids of two objects that are of type
ReferenceandResourceIdentifier(or a type that extends it). - ASSET_KEY_NOT_SET - Static variable in class com.commercetools.sync.commons.utils.AssetsUpdateActionUtils
- AssetActionFactory<T extends com.commercetools.api.models.ResourceUpdateAction<T>,D> - 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 - Class in com.commercetools.sync.products.helpers
- AssetCustomActionBuilder() - Constructor for class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
- AssetCustomActionBuilder() - Constructor for class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
- AssetCustomTypeAdapter - Class in com.commercetools.sync.commons.models
-
Adapt Asset with
Custominterface to be used onCustomUpdateActionUtils - AssetDraftCustomTypeAdapter - Class in com.commercetools.sync.commons.models
-
Adapt AssetDraft with
CustomDraftinterface to be used onCustomUpdateActionUtils - AssetReferenceResolutionUtils - Class in com.commercetools.sync.commons.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- AssetReferenceResolver - Class in com.commercetools.sync.commons.helpers
- AssetReferenceResolver(BaseSyncOptions, TypeService) - Constructor for class com.commercetools.sync.commons.helpers.AssetReferenceResolver
-
Takes a
BaseSyncOptionsinstance and aTypeServiceto instantiate aAssetReferenceResolverinstance that could be used to resolve the asset drafts in the CTP project specified in the injectedBaseSyncOptionsinstance. - ASSETS - com.commercetools.sync.products.ActionGroup
- AssetsUpdateActionUtils - Class in com.commercetools.sync.commons.utils
- AssetUtils - Class in com.commercetools.sync.products.utils
- AssetUtils() - Constructor for class com.commercetools.sync.products.utils.AssetUtils
- ATTRIBUTE_NOT_IN_ATTRIBUTE_METADATA - Static variable in class com.commercetools.sync.products.utils.ProductVariantAttributeUpdateActionUtils
- AttributeDefinitionReferenceResolver - Class in com.commercetools.sync.producttypes.helpers
- AttributeDefinitionReferenceResolver(ProductTypeSyncOptions, ProductTypeService) - Constructor for class com.commercetools.sync.producttypes.helpers.AttributeDefinitionReferenceResolver
- 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.
- ATTRIBUTES - com.commercetools.sync.products.ActionGroup
- AttributeUtils - Class in com.commercetools.sync.products.utils
- AttributeUtils() - Constructor for class com.commercetools.sync.products.utils.AttributeUtils
B
- BaseBatchValidator<ResourceDraftT,SyncOptionsT extends BaseSyncOptions,SyncStatisticsT extends BaseSyncStatistics> - Class in com.commercetools.sync.commons.helpers
- BaseBatchValidator(SyncOptionsT, SyncStatisticsT) - Constructor for class com.commercetools.sync.commons.helpers.BaseBatchValidator
- BaseReferenceResolver<ResourceDraftT extends io.vrap.rmf.base.client.Draft<ResourceDraftT>,SyncOptionsT 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(SyncOptionsT) - Constructor for class com.commercetools.sync.commons.helpers.BaseReferenceResolver
- BaseSync<ResourceT extends com.commercetools.api.models.common.BaseResource,ResourceDraftT,ResourceUpdateActionT extends com.commercetools.api.models.ResourceUpdateAction<ResourceUpdateActionT>,SyncStatisticsT extends BaseSyncStatistics<SyncStatisticsT>,SyncOptionsT extends BaseSyncOptions<ResourceT,ResourceDraftT,ResourceUpdateActionT>> - Class in com.commercetools.sync.commons
- BaseSync(SyncStatisticsT, SyncOptionsT) - Constructor for class com.commercetools.sync.commons.BaseSync
- BaseSyncOptions<ResourceT,ResourceDraftT,ResourceUpdateActionT extends com.commercetools.api.models.ResourceUpdateAction<ResourceUpdateActionT>> - Class in com.commercetools.sync.commons
- BaseSyncOptions(ProjectApiRoot, QuadConsumer<SyncException, Optional<ResourceDraftT>, Optional<ResourceT>, List<ResourceUpdateActionT>>, TriConsumer<SyncException, Optional<ResourceDraftT>, Optional<ResourceT>>, int, TriFunction<List<ResourceUpdateActionT>, ResourceDraftT, ResourceT, List<ResourceUpdateActionT>>, Function<ResourceDraftT, ResourceDraftT>, long) - Constructor for class com.commercetools.sync.commons.BaseSyncOptions
- BaseSyncOptionsBuilder<SyncOptionsBuilderT extends BaseSyncOptionsBuilder<SyncOptionsBuilderT,SyncOptionsT,ResourceT,ResourceDraftT,ResourceUpdateActionT>,SyncOptionsT extends BaseSyncOptions<ResourceT,ResourceDraftT,ResourceUpdateActionT>,ResourceT,ResourceDraftT,ResourceUpdateActionT extends com.commercetools.api.models.ResourceUpdateAction<ResourceUpdateActionT>> - Class in com.commercetools.sync.commons
- BaseSyncOptionsBuilder() - Constructor for class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- BaseSyncStatistics<SyncStatisticsT extends BaseSyncStatistics> - Class in com.commercetools.sync.commons.helpers
- BaseSyncStatistics() - Constructor for class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Creates a new
BaseSyncStatisticswith initial values0of created, updated, failed and processed counters, an empty reportMessage and latestBatchHumanReadableProcessingTime. - BaseTransformServiceImpl - Class in com.commercetools.sync.services.impl
- BaseTransformServiceImpl(ProjectApiRoot, ReferenceIdToKeyCache) - Constructor for class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.cartdiscounts.CartDiscountSyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.customers.CustomerSyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.customobjects.CustomObjectSyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.products.ProductSyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.shoppinglists.ShoppingListSyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.states.StateSyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.taxcategories.TaxCategorySyncOptionsBuilder
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.types.TypeSyncOptionsBuilder
- 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 thebatchSize. - 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<ResourceDraftT, ResourceDraftT>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the beforeCreateCallback
Functionwhich can be applied on a new resource draft of typeV(e.g. - beforeUpdateCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- beforeUpdateCallback(TriFunction<List<ResourceUpdateActionT>, ResourceDraftT, ResourceT, List<ResourceUpdateActionT>>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the beforeUpdateCallback
TriFunctionwhich can be applied on the supplied list of update actions generated from comparing an old resource of typeU(e.g. - BLANK_ID_VALUE_ON_REFERENCE - Static variable in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
- BLANK_KEY_VALUE_ON_RESOURCE_IDENTIFIER - Static variable in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
- build() - Method in class com.commercetools.sync.cartdiscounts.CartDiscountSyncOptionsBuilder
-
Creates new instance of
CartDiscountSyncOptionsenriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
-
Creates a new instance of
CategorySyncOptionsenriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Creates new instance of
Swhich extendsBaseSyncOptionsenriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.customers.CustomerSyncOptionsBuilder
-
Creates a new instance of
CustomerSyncOptionsenriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.customobjects.CustomObjectSyncOptionsBuilder
-
Creates new instance of
CustomObjectSyncOptionsenriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
-
Returns new instance of
InventorySyncOptions, enriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
- build() - Method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
-
Creates new instance of
ProductTypeSyncOptionsenriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.shoppinglists.ShoppingListSyncOptionsBuilder
-
Creates new instance of
ShoppingListSyncOptionsenriched with all fields provided tothisbuilder - build() - Method in class com.commercetools.sync.states.StateSyncOptionsBuilder
-
Creates new instance of
StateSyncOptionsenriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.taxcategories.TaxCategorySyncOptionsBuilder
-
Creates new instance of
TaxCategorySyncOptionsenriched with all attributes provided tothisbuilder. - build() - Method in class com.commercetools.sync.types.TypeSyncOptionsBuilder
-
Creates new instance of
TypeSyncOptionsenriched with all fields provided tothisbuilder. - buildActions(CartDiscount, CartDiscountDraft, CartDiscountSyncOptions) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountSyncUtils
-
Compares all the fields of a
CartDiscountand aCartDiscountDraft. - buildActions(CategoryDraft, Asset, AssetDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares all the fields of an
Assetand anAssetDraftand returns a list ofCategoryUpdateActionas a result. - buildActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategorySyncUtils
-
Compares all the fields of a
Categoryand aCategoryDraft. - buildActions(Customer, CustomerDraft, CustomerSyncOptions) - Static method in class com.commercetools.sync.customers.utils.CustomerSyncUtils
-
Compares all the fields of a
Customerand aCustomerDraft. - 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
InventoryEntryand anInventoryEntryDraft. - buildActions(ProductType, ProductTypeDraft, ProductTypeSyncOptions) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeSyncUtils
-
Compares all the fields (including the attributes see
ProductTypeUpdateActionUtils.buildAttributesUpdateActions(com.commercetools.api.models.product_type.ProductType, com.commercetools.api.models.product_type.ProductTypeDraft, com.commercetools.sync.producttypes.ProductTypeSyncOptions)) of aProductTypeand aProductTypeDraft. - buildActions(ProductDraft, Long, Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
-
Compares all the fields of a
Priceand aPriceDraftand returns a list of - buildActions(ProductProjection, 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(ProductProjection, ProductDraft, com.commercetools.sync.products.ProductSyncOptions, Map)) of aProductProjectionand aProductDraft, given that each of these fields pass the specifiedSyncFilter. - buildActions(ShoppingList, ShoppingListDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListSyncUtils
-
Compares all the fields of a
ShoppingListand aShoppingListDraft. - buildActions(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateSyncUtils
-
Compares all the fields (including the roles see
StateUpdateActionUtils.buildRolesUpdateActions(com.commercetools.api.models.state.State, com.commercetools.api.models.state.StateDraft)) of aStateand aStateDraft. - buildActions(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategorySyncUtils
-
Compares all the fields of a
TaxCategoryand aTaxCategoryDraft. - buildActions(Type, TypeDraft, TypeSyncOptions) - Static method in class com.commercetools.sync.types.utils.TypeSyncUtils
-
Compares all the fields (including the field definitions see
buildFieldDefinitionsUpdateActions(Type, TypeDraft, TypeSyncOptions)) of aTypeand aTypeDraft. - buildActions(D, Long, Asset, AssetDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares all the fields of an
Assetand anAssetDraftand returns a list of - buildActions(String, List<WithKeyT>, List<WithKeyT>, BiFunction<String, List<String>, ResourceUpdateActionT>, TriFunction<String, WithKeyT, WithKeyT, List<ResourceUpdateActionT>>, BiFunction<String, WithKeyT, ResourceUpdateActionT>, BiFunction<String, List<WithKeyT>, ResourceUpdateActionT>, BiFunction<String, List<String>, ResourceUpdateActionT>) - Static method in class com.commercetools.sync.commons.utils.EnumValuesUpdateActionUtils
-
Compares a list of old
oldEnumValueswith a list of newnewEnumValuesfor a given definition. - buildAddAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Listof aCustomerDraft.getAddresses()and aCustomer.getAddresses(). - 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
- buildAddBillingAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Listof aCustomer.getBillingAddressIds()()} and aCustomerDraft.getBillingAddresses(). - buildAddShippingAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Listof aCustomer.getShippingAddressIds()and aCustomerDraft.getShippingAddresses(). - buildAddStoreUpdateActions(List<StoreKeyReference>, List<StoreResourceIdentifier>) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
ListofStoreKeyReferences andStoreResourceIdentifiers of aCustomerDraftand aCustomer. - buildAddToCategoryUpdateActions(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
ListofCategoryReferences of aProductDraftand aProductProjection. - buildAllAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the addresses of a
Customerand aCustomerDraft. - buildAssetActions(CategoryDraft, Asset, AssetDraft) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
- buildAssetActions(ProductDraft, Asset, AssetDraft) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
- buildAssetActions(D, 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.
- buildAssetsUpdateActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the assets of a
Categoryand aCategoryDraftand returns a list ofCategoryUpdateActionas a result. - buildAssetsUpdateActions(D, List<Asset>, List<AssetDraft>, AssetActionFactory<T, D>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.AssetsUpdateActionUtils
-
Compares a list of
Assets with a list ofAssetDrafts. - buildAttributesUpdateActions(ProductType, ProductTypeDraft, ProductTypeSyncOptions) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the attributes of a
ProductTypeand aProductTypeDraftand returns a list ofProductTypeUpdateActionas a result. - buildCategoryActions(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductSyncUtils
-
Compares the categories of a
ProductProjectionand aProductDraft. - buildChangeAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Listof aCustomerDraft.getAddresses()and aCustomer.getAddresses(). - buildChangeAssetNameUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the
LocalizedStringnames of anAssetand anAssetDraftand returns anCategoryUpdateActionas a result in anOptional. - buildChangeAssetNameUpdateAction(Long, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the
LocalizedStringnames of anAssetand anAssetDraftand returns anProductUpdateAction<Product> as a result in anOptional. - 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
- buildChangeCartPredicateUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the cartPredicates of a
CartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildChangeDescriptionAction(ProductType, ProductTypeDraft) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the
descriptionvalues of aProductTypeand aProductTypeDraftand returns anOptionalof update action, which would contain theProductTypeChangeDescriptionAction. - buildChangeEmailUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
emailvalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"changeEmail"CustomerChangeEmailAction. - buildChangeInitialAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
initialvalues of aStateand aStateDraftand returns anOptionalof update action, which would contain the"changeInitial"StateUpdateAction. - buildChangeIsActiveUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
BooleanisActive values of aCartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildChangeLineItemQuantityUpdateAction(ShoppingListLineItem, ShoppingListLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.LineItemUpdateActionUtils
-
Compares the
quantityvalues of aShoppingListLineItemand aShoppingListLineItemDraftand returns anOptionalof update action, which would contain the"changeLineItemQuantity"ShoppingListUpdateAction. - buildChangeMasterVariantUpdateAction(ProductProjection, ProductDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Create update action, if
newProducthas#masterVariant#keydifferent thanoldProductstaged#masterVariant#key. - buildChangeNameAction(ProductType, ProductTypeDraft) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the
namevalues of aProductTypeand aProductTypeDraftand returns anOptionalof update action, which would contain the"changeName"ProductTypeChangeNameAction. - buildChangeNameAction(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategoryUpdateActionUtils
-
Compares the
namevalues of aTaxCategoryand aTaxCategoryDraftand returns anOptionalof update action, which would contain the"changeName"TaxCategoryUpdateAction. - buildChangeNameUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
LocalizedStringnames of aCartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildChangeNameUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedStringnames of aCategoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildChangeNameUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedStringnames of aProductDraftand aProductProjection. - buildChangeNameUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the
LocalizedStringnames of aShoppingListand aShoppingListDraftand returns anShoppingListUpdateActionas a result in anOptional. - buildChangeNameUpdateAction(Type, TypeDraft) - Static method in class com.commercetools.sync.types.utils.TypeUpdateActionUtils
-
Compares the
LocalizedStringname values of aTypeand aTypeDraftand returns anOptionalof update action, which would contain theTypeChangeNameActionif values are different. - buildChangeOrderHintUpdateAction(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the orderHint values of a
Categoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildChangeParentUpdateAction(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the parents
CategoryReferenceof aCategoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildChangePriceUpdateAction(Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
-
Builds a
ProductChangePriceActionaction based on the comparison of the following fields of the suppliedPriceandPriceDraft:Price.getValue()andPriceDraft.getValue()Price.getTiers()andPriceDraft.getTiers() - buildChangeQuantityAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the
quantityOnStockvalues of anInventoryEntryand anInventoryEntryDraftand returns anOptionalof update action, which would contain the"changeQuantity"InventoryEntryUpdateAction. - buildChangeRequiresDiscountCodeUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
BooleanrequiresDiscountCode values of aCartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildChangeSlugUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedStringslugs of aCategoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildChangeSlugUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedStringslugs of aProductDraftand aProductProjection. - buildChangeSortOrderUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the sortOrder values of a
CartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildChangeStackingModeUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
StackingModestacking modes of aCartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildChangeTargetUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the cart discount target values of a
CartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildChangeTextLineItemNameUpdateAction(TextLineItem, TextLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares the
LocalizedStringnames ofTextLineItemand aTextLineItemDraftand returns anOptionalof update action, which would contain the"changeTextLineItemName"ShoppingListUpdateAction. - buildChangeTextLineItemQuantityUpdateAction(TextLineItem, TextLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares the
quantityvalues of aTextLineItemand aTextLineItemDraftand returns anOptionalof update action, which would contain the"changeTextLineItemQuantity"ShoppingListUpdateAction. - buildChangeTypeAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
typevalues of aStateand aStateDraftand returns anOptionalof update action, which would contain the"changeType"StateUpdateAction. - buildChangeValueUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the cart discount values of a
CartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildCustomUpdateActions(CategoryDraft, Asset, AssetDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the custom fields and custom types of an
Assetand anAssetDraftand returns a list ofCategoryUpdateActionas a result. - buildCustomUpdateActions(ProductDraft, Long, Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
-
Compares the custom fields and custom types of a
Priceand aPriceDraftand - buildCustomUpdateActions(D, Long, Asset, AssetDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the custom fields and custom types of an
Assetand anAssetDraftand - buildCustomUpdateActions(ResourceDraftT, CustomT, CustomDraftT, GenericCustomActionBuilder<ResourceUpdateActionT>, Long, Function<CustomT, String>, Function<CustomT, String>, Function<CustomT, String>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.CustomUpdateActionUtils
-
Compares the
CustomFieldsof an old resourceT(for exampleCategory,Product, etc..), to theCustomFieldsDraft, of a new resource draftS(for exampleCategoryDraft,ProductVariantDraft, etc..), and returns aList<ResourceUpdateAction> as a result. - buildEnumValuesUpdateActions(String, List<AttributePlainEnumValue>, List<AttributePlainEnumValue>) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumValueUpdateActionUtils
-
Compares a list of old
AttributePlainEnumValues with a list of newAttributePlainEnumValues for a given attribute definition and builds required update actions (e.g addEnumValue, removeEnumValue, changeEnumValueOrder) and 1-1 update actions on enum values (e.g. - buildEnumValueUpdateActions(String, AttributePlainEnumValue, AttributePlainEnumValue) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumValueUpdateActionUtils
-
Compares all the fields of an old
AttributePlainEnumValueand a newAttributePlainEnumValueand returns a list ofProductTypeUpdateActionas a result. - buildFieldDefinitionsUpdateActions(Type, TypeDraft, TypeSyncOptions) - Static method in class com.commercetools.sync.types.utils.TypeUpdateActionUtils
-
Compares the field definitions of a
Typeand aTypeDraftand returns a list ofTypeUpdateActionas a result if the values are different. - buildLineItemCustomUpdateActions(ShoppingList, ShoppingListDraft, ShoppingListLineItem, ShoppingListLineItemDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.LineItemUpdateActionUtils
-
Compares the custom fields and custom types of a
ShoppingListLineItemand aShoppingListLineItemDraftand returns a list ofShoppingListUpdateActionas a result. - buildLineItemsUpdateActions(ShoppingList, ShoppingListDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.LineItemUpdateActionUtils
-
Compares a list of
ShoppingListLineItems with a list ofShoppingListLineItemDrafts. - buildLineItemUpdateActions(ShoppingList, ShoppingListDraft, ShoppingListLineItem, ShoppingListLineItemDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.LineItemUpdateActionUtils
-
Compares all the fields of a
ShoppingListLineItemand aShoppingListLineItemDraftand returns a list ofShoppingListUpdateActionas a result. - buildLocalizedEnumValuesUpdateActions(String, List<AttributeLocalizedEnumValue>, List<AttributeLocalizedEnumValue>) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumValueUpdateActionUtils
-
Compares a list of old
AttributeLocalizedEnumValues with a list of newAttributeLocalizedEnumValues for a given attribute definition and builds required update actions (e.g addLocalizedEnumValue, removeLocalizedEnumValue, changeLocalizedEnumValueOrder) and 1-1 update actions on localized enum values (e.g. - buildLocalizedEnumValueUpdateActions(String, AttributeLocalizedEnumValue, AttributeLocalizedEnumValue) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumValueUpdateActionUtils
-
Compares all the fields of an old
AttributeLocalizedEnumValueand a newAttributeLocalizedEnumValueand returns a list ofProductTypeUpdateActionas a result. - buildMapOfRequestTypeToReferencedIds(Set<JsonNode>) - Method in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- buildMoveImageToPositionUpdateActions(long, List<Image>, List<Image>) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares an old
ListofImages and a new one and returns aListofProductMoveImageToPositionActionwith the givenvariantId. - buildPrimaryResourceCustomUpdateActions(CustomT, CustomDraftT, GenericCustomActionBuilder<ResourceUpdateActionT>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.CustomUpdateActionUtils
-
This method is a syntactic sugar for the method
CustomUpdateActionUtils.buildCustomUpdateActions(com.commercetools.sync.commons.models.Custom, com.commercetools.sync.commons.models.CustomDraft, com.commercetools.sync.commons.helpers.GenericCustomActionBuilder, Long, Function, Function, Function, com.commercetools.sync.commons.BaseSyncOptions)but this one is only for primary resources (i.e resources which have their own endpoints for example channels, categories, inventory entries. - buildProductVariantAssetsUpdateActions(ProductProjection, ProductDraft, ProductVariant, ProductVariantDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the
ListofAssetDrafts of aProductVariantDraftand aProductVariantand returns aListofProductUpdateAction<Product>. - buildProductVariantAttributesUpdateActions(ProductProjection, ProductDraft, ProductVariant, ProductVariantDraft, Map<String, AttributeMetaData>, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the attributes of a
ProductVariantDraftand aProductVariantto build eitherProductSetAttributeActionorProductSetAttributeInAllVariantsActionupdate actions. - buildProductVariantAttributeUpdateAction(long, Attribute, Attribute, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductVariantAttributeUpdateActionUtils
-
Compares the attributes of a
Attributeand aAttributeto build either aProductSetAttributeActionor aProductSetAttributeInAllVariantsAction. - buildProductVariantImagesUpdateActions(ProductVariant, ProductVariantDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the
ListofImages of aProductVariantDraftand aProductVariantand returns aListofProductUpdateAction<Product>. - buildProductVariantPricesUpdateActions(ProductProjection, ProductDraft, ProductVariant, ProductVariantDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the
ListofPrices of aProductVariantDraftand aProductVariantand returns aListofProductUpdateAction<Product>. - buildProductVariantSkuUpdateAction(ProductVariant, ProductVariantDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the SKUs of a
ProductVariantDraftand aProductVariant. - buildPublishOrUnpublishUpdateAction(ProductProjection, ProductDraft, boolean) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the 'published' field of a
ProductDraftand aProductProjectionwith the new update actions and hasStagedChanges of the old product. - buildQueries(ProjectApiRoot, Set<InventoryEntryIdentifier>) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryQueryBuilder
-
Builds
ListofByProjectKeyInventoryGetrequests to be used to query existingInventoryEntry's against set of sku and supply channels. - buildRemoveAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Listof aCustomerDraft.getAddresses()and aCustomer.getAddresses(). - 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
- buildRemoveBillingAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Listof aCustomer.getBillingAddressIds()()} and aCustomerDraft.getBillingAddresses(). - buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
-
Creates a CTP "setCustomType" update action on the given resource
Tthat removes the custom type set on the given resourceT. - buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.customers.utils.CustomerCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.shoppinglists.utils.LineItemCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.shoppinglists.utils.ShoppingListCustomActionBuilder
- buildRemoveCustomTypeAction(Long, String) - Method in class com.commercetools.sync.shoppinglists.utils.TextLineItemCustomActionBuilder
- buildRemoveFromCategoryUpdateActions(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
ListofCategoryResourceIdentifierCategoryReferences of aProductDraftand aProductProjection. - buildRemoveShippingAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Listof aCustomer.getShippingAddressIds()and aCustomerDraft.getShippingAddresses(). - buildRemoveStoreUpdateActions(List<StoreKeyReference>, List<StoreResourceIdentifier>) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
ListofStoreKeyReferences andStoreResourceIdentifiers of aCustomerDraftand aCustomer. - buildRemoveUpdateActions(List<U>, List<V>, Function<U, S>, Function<V, S>, Function<U, T>) - Static method in class com.commercetools.sync.products.utils.UnorderedCollectionSyncUtils
-
Compares a list of
newDraftswith a list ofoldResourcesand for every missing matching draft in theoldResources: a remove update action is created using theremoveUpdateActionMapper. - buildRolesUpdateActions(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the roles of a
Stateand aStateDraftand returns a list ofStateUpdateActionas a result. - buildSetAnonymousIdUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the anonymousIds of
ShoppingListand aShoppingListDraftand returns anShoppingListUpdateActionas a result in anOptional. - buildSetAssetDescriptionUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the
LocalizedStringdescriptions of anAssetand anAssetDraftand returns anCategoryUpdateActionas a result in anOptional. - buildSetAssetDescriptionUpdateAction(Long, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the
LocalizedStringdescriptions of anAssetand anAssetDraftand returns anProductUpdateAction<Product> as a result in anOptional. - buildSetAssetSourcesUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the sources of an
Assetand anAssetDraftand returns anCategoryUpdateActionas a result in anOptional. - buildSetAssetSourcesUpdateAction(Long, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the sources of an
Assetand anAssetDraftand returns anProductUpdateAction<Product> as a result in anOptional. - buildSetAssetTagsUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the tags of an
Assetand anAssetDraftand returns anCategoryUpdateActionas a result in anOptional. - buildSetAssetTagsUpdateAction(Long, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the tags of an
Assetand anAssetDraftand returns anProductUpdateAction<Product> as a result in anOptional. - buildSetCategoryOrderHintUpdateActions(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
CategoryOrderHintsof aProductDraftand aProductProjection. - buildSetCompanyNameUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
companyNamevalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setCompanyName"CustomerSetCompanyNameAction. - buildSetCustomerGroupUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
CustomerGroupreferences of an oldCustomerand newCustomerDraft. - buildSetCustomerNumberUpdateAction(Customer, CustomerDraft, CustomerSyncOptions) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
customerNumbervalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setCustomerNumber"CustomerSetCustomerNumberAction. - buildSetCustomerUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the customer references of a
ShoppingListand aShoppingListDraftand returns anShoppingListUpdateActionas a result in anOptional. - buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
-
Creates a CTP "setCustomField" update action on the given resource
Tthat updates a custom field withcustomFieldNameand acustomFieldValueon the given resourceT. - buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.customers.utils.CustomerCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.shoppinglists.utils.LineItemCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.shoppinglists.utils.ShoppingListCustomActionBuilder
- buildSetCustomFieldAction(Long, String, String, Object) - Method in class com.commercetools.sync.shoppinglists.utils.TextLineItemCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
-
Creates a CTP "setCustomType" update action on the given resource
T. - buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.customers.utils.CustomerCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.shoppinglists.utils.LineItemCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.shoppinglists.utils.ShoppingListCustomActionBuilder
- buildSetCustomTypeAction(Long, String, String, Map<String, Object>) - Method in class com.commercetools.sync.shoppinglists.utils.TextLineItemCustomActionBuilder
- buildSetDateOfBirthUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
dateOfBirthvalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setDateOfBirth"CustomerSetDateOfBirthAction. - buildSetDefaultBillingAddressUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Customer.getDefaultBillingAddressId()andCustomerDraft.getDefaultBillingAddress(). - buildSetDefaultShippingAddressUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Customer.getDefaultShippingAddressId()andCustomerDraft.getDefaultShippingAddress(). - buildSetDeleteDaysAfterLastModificationUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the deleteDaysAfterLastModification of
ShoppingListand aShoppingListDraftand returns anShoppingListUpdateActionas a result in anOptional. - buildSetDescriptionAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
descriptionvalues of aStateand aStateDraftand returns anOptionalof update action, which would contain the"setDescription"StateUpdateAction. - buildSetDescriptionAction(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategoryUpdateActionUtils
-
Compares the
descriptionvalues of aTaxCategoryand aTaxCategoryDraftand returns anOptionalof update action, which would contain the"setDescription"TaxCategoryUpdateAction. - buildSetDescriptionUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
LocalizedStringdescriptions of aCartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildSetDescriptionUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedStringdescriptions of aCategoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildSetDescriptionUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedStringdescriptions of aProductDraftand aProductProjection. - buildSetDescriptionUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the
LocalizedStringdescriptions ofShoppingListand aShoppingListDraftand returns anShoppingListUpdateActionas a result in anOptional. - buildSetDescriptionUpdateAction(Type, TypeDraft) - Static method in class com.commercetools.sync.types.utils.TypeUpdateActionUtils
-
Compares the
LocalizedStringdescriptions of aTypeand aTypeDraftand returns anTypeSetDescriptionActionas a result in anOptionalof update action if values are different. - buildSetExpectedDeliveryAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the
expectedDeliveryvalues of anInventoryEntryand anInventoryEntryDraftand returns anOptionalof update action, which would contain the"setExpectedDelivery"InventoryEntryUpdateAction. - buildSetExternalIdUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the externalId values of a
Categoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildSetExternalIdUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
externalIdvalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setExternalId"CustomerSetExternalIdAction. - buildSetFirstNameUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
firstNamevalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setFirstName"CustomerSetFirstNameAction. - buildSetLastNameUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
lastNamevalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setLastName"CustomerSetLastNameAction. - buildSetLocaleUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
localevalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setLocale"CustomerSetLocaleAction. - buildSetMetaDescriptionUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedStringmeta description of aCategoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildSetMetaDescriptionUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedStringmeta descriptions of aProductDraftand aProduct. - buildSetMetaKeywordsUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedStringmeta keywords of aCategoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildSetMetaKeywordsUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedStringmeta keywordss of aProductDraftand aProduct. - buildSetMetaTitleUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedStringmeta title of aCategoryand aCategoryDraftand returns anCategoryUpdateActionas a result in anOptional. - buildSetMetaTitleUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedStringmeta titles of aProductDraftand aProduct. - buildSetMiddleNameUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
middleNamevalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setMiddleName"CustomerSetMiddleNameAction. - buildSetNameAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
namevalues of aStateand aStateDraftand returns anOptionalof update action, which would contain the"setName"StateUpdateAction. - buildSetRestockableInDaysAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the
restockableInDaysvalues of anInventoryEntryand anInventoryEntryDraftand returns anOptionalof update action, which would contain the"setRestockableInDays"InventoryEntryUpdateAction. - buildSetSalutationUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
salutationvalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"SetSalutation"CustomerSetSalutationAction. - buildSetSearchKeywordsUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
SearchKeywordsof aProductDraftand aProductProjection. - buildSetSlugUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the
LocalizedStringslugs of aShoppingListand aShoppingListDraftand returns anShoppingListUpdateActionas a result in anOptional. - buildSetSupplyChannelAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the
supplyChannels of anInventoryEntryand anInventoryEntryDraftand returns anOptionalof update action, which would contain the"setSupplyChannel"InventoryEntryUpdateAction. - buildSetTaxCategoryUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
TaxCategoryreferences of an oldProductand newProductDraft. - buildSetTextLineItemDescriptionUpdateAction(TextLineItem, TextLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares the
LocalizedStringdescriptions ofTextLineItemand aTextLineItemDraftand returns anOptionalof update action, which would contain the"setTextLineItemDescription"ShoppingListUpdateAction. - buildSetTitleUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
titlevalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setTitle"CustomerSetTitleAction. - buildSetTransitionsAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
transitionsvalues of aStateand aStateDraftand returns anOptionalof update action, which would contain the"setTransitions"StateUpdateAction. - buildSetValidDatesUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
ZonedDateTimevalidFrom andZonedDateTimevalidUntil values of aCartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildSetValidFromUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
ZonedDateTimevalidFrom values of aCartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildSetValidUntilUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
ZonedDateTimevalidUntil values of aCartDiscountand aCartDiscountDraftand returns anCartDiscountUpdateActionas a result in anOptional. - buildSetVatIdUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
vatIdvalues of aCustomerand aCustomerDraftand returns anOptionalof update action, which would contain the"setVatId"CustomerSetVatIdAction. - buildStoreUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the stores of a
Customerand aCustomerDraft. - buildTaxRateUpdateActions(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategoryUpdateActionUtils
-
Compares the tax rates of a
TaxCategoryand aTaxCategoryDraftand returns a list ofTaxCategoryUpdateActionas a result. - buildTextLineItemCustomUpdateActions(ShoppingList, ShoppingListDraft, TextLineItem, TextLineItemDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares the custom fields and custom types of a
TextLineItemand aTextLineItemDraftand returns a list ofShoppingListUpdateAction<ShoppingList> as a result. - buildTextLineItemsUpdateActions(ShoppingList, ShoppingListDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares a list of
TextLineItems with a list ofTextLineItemDrafts. - buildTextLineItemUpdateActions(ShoppingList, ShoppingListDraft, TextLineItem, TextLineItemDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares all the fields of a
TextLineItemand aTextLineItemDraftand returns a list ofShoppingListUpdateActionas a result. - buildTransitionStateUpdateAction(ProductProjection, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
Statereferences of an oldProductProjectionand newProductDraft. - buildUpdateAction(AnyT, AnyT, Supplier<ResourceUpdateActionT>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares two
Objectand returns a suppliedResourceUpdateActionas a result in anOptional. - BuildUpdateActionException - Exception in com.commercetools.sync.commons.exceptions
- BuildUpdateActionException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
- BuildUpdateActionException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
- BuildUpdateActionException(Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
- buildUpdateActionForReferences(ReferenceT, ResourceIdentifierT, Supplier<ResourceUpdateActionT>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares two objects that are of type
ReferenceandResourceIdentifier(or a type that extends it) and returns a suppliedResourceUpdateActionas a result in anOptional. - buildUpdateActions(AnyT, AnyT, Supplier<List<ResourceUpdateActionT>>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares two
Objectand returns a supplied list ofResourceUpdateActionas a result. - buildVariantsUpdateActions(ProductProjection, ProductDraft, ProductSyncOptions, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the variants (including the master variants) of a
ProductDraftand aProduct.
C
- cacheKeysToIds(Set<CustomObjectCompositeIdentifier>) - Method in interface com.commercetools.sync.services.CustomObjectService
-
Filters out the custom object identifiers which are already cached and fetches only the not-cached custom object identifiers from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every custom object to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<CustomObjectCompositeIdentifier>) - Method in class com.commercetools.sync.services.impl.CustomObjectServiceImpl
- cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.CategoryService
-
Filters out the keys which are already cached and fetches only the not-cached category keys from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every category to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.ChannelService
-
Filters out the keys which are already cached and fetches only the not-cached channel keys from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every channel to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.CustomerGroupService
-
Filters out the keys which are already cached and fetches only the not-cached customer group keys from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every customer group to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.CustomerService
-
Given a set of keys this method caches in-memory a mapping of key -> id only for those keys which are not already cached.
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.ChannelServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.CustomerGroupServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.CustomerServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.ShoppingListServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.StateServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
- cacheKeysToIds(Set<String>) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
- 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 an injected
ProjectApiRootand stores a mapping for every product to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Filters out the keys which are already cached and fetches only the not-cached product type keys from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every productType to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.ShoppingListService
-
Filters out the keys which are already cached and fetches only the not-cached shopping list keys from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every shopping list to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.StateService
-
Filters out the keys which are already cached and fetches only the not-cached state keys from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every state to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.TaxCategoryService
-
Filters out the keys which are already cached and fetches only the not-cached tax category keys from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every tax category to id in the cached map of keys -> ids and returns this cached map. - cacheKeysToIds(Set<String>) - Method in interface com.commercetools.sync.services.TypeService
-
Filters out the keys which are already cached and fetches only the not-cached type keys from the CTP project defined in an injected
ProjectApiRootand stores a mapping for every type to id in the cached map of keys -> ids and returns this cached map. - cacheResourceReferenceKeys(List<ApiHttpResponse<GraphQLResponse>>) - Method in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- cacheResourceReferenceKeys(List<ApiHttpResponse<GraphQLResponse>>, GraphQlQueryResource) - Method in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- cacheSize - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- cacheSize(long) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the cache size that indicates the key to id cache size of the sync process.
- CaffeineReferenceIdToKeyCacheImpl - Class in com.commercetools.sync.commons.utils
-
A Caffeine cache to store reference id to key pairs.
- CaffeineReferenceIdToKeyCacheImpl() - Constructor for class com.commercetools.sync.commons.utils.CaffeineReferenceIdToKeyCacheImpl
- 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. - CART_DISCOUNTS - com.commercetools.sync.commons.models.GraphQlQueryResource
- CartDiscountBatchValidator - Class in com.commercetools.sync.cartdiscounts.helpers
- CartDiscountBatchValidator(CartDiscountSyncOptions, CartDiscountSyncStatistics) - Constructor for class com.commercetools.sync.cartdiscounts.helpers.CartDiscountBatchValidator
- CartDiscountCustomActionBuilder - Class in com.commercetools.sync.cartdiscounts.helpers
- CartDiscountCustomActionBuilder() - Constructor for class com.commercetools.sync.cartdiscounts.helpers.CartDiscountCustomActionBuilder
- CartDiscountCustomTypeAdapter - Class in com.commercetools.sync.cartdiscounts.models
-
Adapt CartDiscount with
Custominterface to be used onCustomUpdateActionUtils - CartDiscountDraftCustomTypeAdapter - Class in com.commercetools.sync.cartdiscounts.models
-
Adapt CartDiscountDraft with
CustomDraftinterface to be used onCustomUpdateActionUtils - CartDiscountReferenceResolutionUtils - Class in com.commercetools.sync.cartdiscounts.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- CartDiscountReferenceResolver - Class in com.commercetools.sync.cartdiscounts.helpers
- CartDiscountReferenceResolver(CartDiscountSyncOptions, TypeService) - Constructor for class com.commercetools.sync.cartdiscounts.helpers.CartDiscountReferenceResolver
-
Takes a
CartDiscountSyncOptionsinstance, aTypeServiceto instantiate aCartDiscountReferenceResolverinstance that could be used to resolve the cartDiscount drafts in the CTP project specified in the injectedCartDiscountSyncOptionsinstance. - CartDiscountService - Interface in com.commercetools.sync.services
- CartDiscountServiceImpl - Class in com.commercetools.sync.services.impl
- CartDiscountServiceImpl(CartDiscountSyncOptions) - Constructor for class com.commercetools.sync.services.impl.CartDiscountServiceImpl
- CartDiscountSync - Class in com.commercetools.sync.cartdiscounts
-
This class syncs cart discount drafts with the corresponding cart discounts in the CTP project.
- CartDiscountSync(CartDiscountSyncOptions) - Constructor for class com.commercetools.sync.cartdiscounts.CartDiscountSync
-
Takes a
CartDiscountSyncOptionsto instantiate a newCartDiscountSyncinstance that could be used to sync cart discount drafts in the CTP project specified in the injectedCartDiscountSyncOptionsinstance. - CartDiscountSyncOptions - Class in com.commercetools.sync.cartdiscounts
- CartDiscountSyncOptionsBuilder - Class in com.commercetools.sync.cartdiscounts
- CartDiscountSyncStatistics - Class in com.commercetools.sync.cartdiscounts.helpers
- CartDiscountSyncStatistics() - Constructor for class com.commercetools.sync.cartdiscounts.helpers.CartDiscountSyncStatistics
- CartDiscountSyncUtils - Class in com.commercetools.sync.cartdiscounts.utils
- CartDiscountTransformUtils - Class in com.commercetools.sync.cartdiscounts.utils
- CartDiscountTransformUtils() - Constructor for class com.commercetools.sync.cartdiscounts.utils.CartDiscountTransformUtils
- CartDiscountUpdateActionUtils - Class in com.commercetools.sync.cartdiscounts.utils
- CATEGORIES - com.commercetools.sync.commons.models.GraphQlQueryResource
- CATEGORIES - com.commercetools.sync.products.ActionGroup
- CATEGORIES_DO_NOT_EXIST - Static variable in class com.commercetools.sync.products.helpers.ProductReferenceResolver
- CATEGORY_DRAFT_KEY_NOT_SET - Static variable in class com.commercetools.sync.categories.helpers.CategoryBatchValidator
- 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
- CategoryBatchValidator - Class in com.commercetools.sync.categories.helpers
- CategoryBatchValidator(CategorySyncOptions, CategorySyncStatistics) - Constructor for class com.commercetools.sync.categories.helpers.CategoryBatchValidator
- CategoryBatchValidator.ReferencedKeys - Class in com.commercetools.sync.categories.helpers
- CategoryCustomActionBuilder - Class in com.commercetools.sync.categories.helpers
- CategoryCustomActionBuilder() - Constructor for class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
- CategoryCustomTypeAdapter - Class in com.commercetools.sync.categories.models
-
Adapt Category with
Custominterface to be used onCustomUpdateActionUtils - CategoryDraftCustomTypeAdapter - Class in com.commercetools.sync.categories.models
-
Adapt Category with
CustomDraftinterface to be used onCustomUpdateActionUtils - CategoryReferenceResolutionUtils - Class in com.commercetools.sync.categories.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- CategoryReferenceResolver - Class in com.commercetools.sync.categories.helpers
- CategoryReferenceResolver(CategorySyncOptions, TypeService, CategoryService) - Constructor for class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
-
Takes a
CategorySyncOptionsinstance, aCategoryServiceandTypeServiceto instantiate aCategoryReferenceResolverinstance that could be used to resolve the category drafts in the CTP project specified in the injectedCategorySyncOptionsinstance. - CategoryResourceIdentifierPair - Class in com.commercetools.sync.commons.helpers
-
Container for a
ListofCategoryResourceIdentifierand aCategoryOrderHints. - 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
CategorySyncOptionsinstance to instantiate a newCategorySyncinstance that could be used to sync category drafts with the given categories in the CTP project specified in the injectedCategorySyncOptionsinstance. - 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
- CategoryTransformUtils - Class in com.commercetools.sync.categories.utils
- CategoryTransformUtils() - Constructor for class com.commercetools.sync.categories.utils.CategoryTransformUtils
- CategoryUpdateActionUtils - Class in com.commercetools.sync.categories.utils
- CHANNELS - com.commercetools.sync.commons.models.GraphQlQueryResource
- ChannelService - Interface in com.commercetools.sync.services
- ChannelServiceImpl - Class in com.commercetools.sync.services.impl
- ChannelServiceImpl(BaseSyncOptions, Set<ChannelRoleEnum>) - Constructor for class com.commercetools.sync.services.impl.ChannelServiceImpl
- chunk(Collection<T>, int) - Static method in class com.commercetools.sync.commons.utils.ChunkUtils
-
Given a collection of items and a
chunkSize, this method chunks the elements into chunks with thechunkSizerepresented by aListof elements. - CHUNK_SIZE - Static variable in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- ChunkUtils - Class in com.commercetools.sync.commons.utils
- ChunkUtils() - Constructor for class com.commercetools.sync.commons.utils.ChunkUtils
- cleanup(int) - Method in class com.commercetools.sync.commons.CleanupUnresolvedReferenceCustomObjects
-
Deletes the unresolved reference custom objects persisted by commercetools-sync-java library to handle reference resolution.
- cleanupAttributeValue(JsonNode, Attribute) - Static method in class com.commercetools.sync.products.utils.AttributeUtils
-
Given a
JsonNoderepresenting an attribute value of a givenAttributethis method removes all nodes containing invalid data, which is a null orSELF_REFERENCING_ID_PLACE_HOLDER. - CleanupUnresolvedReferenceCustomObjects - Class in com.commercetools.sync.commons
- CleanupUnresolvedReferenceCustomObjects.Statistics - Class in com.commercetools.sync.commons
- clearCache() - Method in class com.commercetools.sync.commons.utils.CaffeineReferenceIdToKeyCacheImpl
- clearCache() - Method in interface com.commercetools.sync.commons.utils.ReferenceIdToKeyCache
-
Discards all entries in the cache.
- ClientConfigurationUtils - Class in com.commercetools.sync.commons.utils
- ClientConfigurationUtils() - Constructor for class com.commercetools.sync.commons.utils.ClientConfigurationUtils
- collectionOfFuturesToFutureOfCollection(Collection<? extends CompletionStage<T>>, Collector<T, ?, S>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
-
Transforms a collection of
CompletionStageinto aCompletionStageof a collection, that will be completed once all the elements of the given futures are completed. - 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. - 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
collectionto a map usingkeyMapperandvalueMappermappers. - CollectionUtils - Class in com.commercetools.sync.commons.utils
- collectReferencedKeyFromCustomFieldsDraft(CustomFieldsDraft, Consumer<String>) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
- collectReferencedKeyFromResourceIdentifier(ResourceIdentifier, Consumer<String>) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
- collectReferencedKeysFromAssetDrafts(List<AssetDraft>, Consumer<String>) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
- com.commercetools.sync.cartdiscounts - package com.commercetools.sync.cartdiscounts
- com.commercetools.sync.cartdiscounts.helpers - package com.commercetools.sync.cartdiscounts.helpers
- com.commercetools.sync.cartdiscounts.models - package com.commercetools.sync.cartdiscounts.models
- com.commercetools.sync.cartdiscounts.utils - package com.commercetools.sync.cartdiscounts.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.models - package com.commercetools.sync.categories.models
- com.commercetools.sync.categories.utils - package com.commercetools.sync.categories.utils
- 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.models - package com.commercetools.sync.commons.models
- com.commercetools.sync.commons.utils - package com.commercetools.sync.commons.utils
- com.commercetools.sync.customers - package com.commercetools.sync.customers
- com.commercetools.sync.customers.helpers - package com.commercetools.sync.customers.helpers
- com.commercetools.sync.customers.models - package com.commercetools.sync.customers.models
- com.commercetools.sync.customers.utils - package com.commercetools.sync.customers.utils
- com.commercetools.sync.customobjects - package com.commercetools.sync.customobjects
- com.commercetools.sync.customobjects.helpers - package com.commercetools.sync.customobjects.helpers
- com.commercetools.sync.customobjects.models - package com.commercetools.sync.customobjects.models
- com.commercetools.sync.customobjects.utils - package com.commercetools.sync.customobjects.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.models - package com.commercetools.sync.inventories.models
- 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.models - package com.commercetools.sync.products.models
- 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
- com.commercetools.sync.shoppinglists - package com.commercetools.sync.shoppinglists
- com.commercetools.sync.shoppinglists.helpers - package com.commercetools.sync.shoppinglists.helpers
- com.commercetools.sync.shoppinglists.models - package com.commercetools.sync.shoppinglists.models
- com.commercetools.sync.shoppinglists.utils - package com.commercetools.sync.shoppinglists.utils
- com.commercetools.sync.states - package com.commercetools.sync.states
- com.commercetools.sync.states.helpers - package com.commercetools.sync.states.helpers
- com.commercetools.sync.states.utils - package com.commercetools.sync.states.utils
- com.commercetools.sync.taxcategories - package com.commercetools.sync.taxcategories
- com.commercetools.sync.taxcategories.helpers - package com.commercetools.sync.taxcategories.helpers
- com.commercetools.sync.taxcategories.utils - package com.commercetools.sync.taxcategories.utils
- com.commercetools.sync.types - package com.commercetools.sync.types
- com.commercetools.sync.types.helpers - package com.commercetools.sync.types.helpers
- com.commercetools.sync.types.utils - package com.commercetools.sync.types.utils
- CommonTypeUpdateActionUtils - Class in com.commercetools.sync.commons.utils
- CompletableFutureUtils - Class in com.commercetools.sync.commons.utils
- containsKey(String) - Method in class com.commercetools.sync.commons.utils.CaffeineReferenceIdToKeyCacheImpl
- containsKey(String) - Method in interface com.commercetools.sync.commons.utils.ReferenceIdToKeyCache
- convertCustomValueObjDataToJsonNode(Object) - Static method in class com.commercetools.sync.commons.utils.CustomValueConverter
-
Takes a value of type Object and converts to JSONNode.
- createAndCacheChannel(String) - Method in interface com.commercetools.sync.services.ChannelService
-
Creates a new channel with the supplied
keyand 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
- createAssetDraft(List<Asset>) - Static method in class com.commercetools.sync.products.utils.AssetUtils
- createAttributes(List<Attribute>) - Static method in class com.commercetools.sync.products.utils.ProductReferenceResolutionUtils
- createCartDiscount(CartDiscountDraft) - Method in interface com.commercetools.sync.services.CartDiscountService
-
Given a resource draft of type
CartDiscountDraft, this method attempts to create a resourceCartDiscountbased on it in the CTP project defined by the sync options. - createCartDiscount(CartDiscountDraft) - Method in class com.commercetools.sync.services.impl.CartDiscountServiceImpl
- createCategory(CategoryDraft) - Method in interface com.commercetools.sync.services.CategoryService
-
Given a resource draft of type
CategoryDraft, this method attempts to create a resourceCategorybased on it in the CTP project defined by the sync options. - 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(String, ClientCredentials, String, String) - Static method in class com.commercetools.sync.commons.utils.ClientConfigurationUtils
-
Creates a
ProjectApiRoot. - createCustomer(CustomerDraft) - Method in interface com.commercetools.sync.services.CustomerService
-
Given a resource draft of type
CustomerDraft, this method attempts to create a resourceCustomerbased on the draft, in the CTP project defined by the sync options. - createCustomer(CustomerDraft) - Method in class com.commercetools.sync.services.impl.CustomerServiceImpl
- createCustomFieldsDraft(CustomFields) - Static method in class com.commercetools.sync.products.utils.CustomFieldsUtils
- createCustomFieldsDraft(CustomFields, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.products.utils.CustomFieldsUtils
- createGraphQLRequests(List<List<String>>, GraphQlQueryResource) - Method in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- 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. - createPriceDraft(List<Price>) - Static method in class com.commercetools.sync.products.utils.PriceUtils
- createPriceDraft(List<Price>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.products.utils.PriceUtils
- createPriceTierDraft(List<PriceTier>) - Static method in class com.commercetools.sync.products.utils.PriceUtils
- createProduct(ProductDraft) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
- createProduct(ProductDraft) - Method in interface com.commercetools.sync.services.ProductService
-
Given a resource draft of type
ProductDraft, this method attempts to create a resourceProductProjectionbased on it in the CTP project defined by the sync options. - createProductType(ProductTypeDraft) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
- createProductType(ProductTypeDraft) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Given a resource draft of type
ProductTypeDraft, this method attempts to create a resourceProductTypebased on it in the CTP project defined by the sync options. - createProductVariantDraft(ProductVariant) - Static method in class com.commercetools.sync.products.utils.ProductReferenceResolutionUtils
- createShoppingList(ShoppingListDraft) - Method in class com.commercetools.sync.services.impl.ShoppingListServiceImpl
- createShoppingList(ShoppingListDraft) - Method in interface com.commercetools.sync.services.ShoppingListService
-
Given a resource draft of type
ShoppingListDraft, this method attempts to create a resourceShoppingListbased on it in the CTP project defined by the sync options. - createState(StateDraft) - Method in class com.commercetools.sync.services.impl.StateServiceImpl
- createState(StateDraft) - Method in interface com.commercetools.sync.services.StateService
-
Given a resource draft of type
StateDraft, this method attempts to create a resourceStatebased on it in the CTP project defined by the sync options. - createTaxCategory(TaxCategoryDraft) - Method in class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
- createTaxCategory(TaxCategoryDraft) - Method in interface com.commercetools.sync.services.TaxCategoryService
-
Given a resource draft of
TaxCategoryDraft, this method attempts to create a resourceTaxCategorybased on it in the CTP project defined by the sync options. - createType(TypeDraft) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
- createType(TypeDraft) - Method in interface com.commercetools.sync.services.TypeService
-
Given a resource draft of type
TypeDraft, this method attempts to create a resourceTypebased on it in the CTP project defined by the sync options. - ctpClient - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- Custom - Interface in com.commercetools.sync.commons.models
- CUSTOM_OBJECT_CATEGORY_CONTAINER_KEY - Static variable in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- CUSTOM_OBJECT_PRODUCT_CONTAINER_KEY - Static variable in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- CUSTOM_OBJECT_TRANSITION_CONTAINER_KEY - Static variable in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- CUSTOM_OBJECTS - com.commercetools.sync.commons.models.GraphQlQueryResource
- CustomDraft - Interface in com.commercetools.sync.commons.models
-
Interface for draft objects which include custom fields.
- CUSTOMER_DRAFT_EMAIL_NOT_SET - Static variable in class com.commercetools.sync.customers.helpers.CustomerBatchValidator
- CUSTOMER_DRAFT_IS_NULL - Static variable in class com.commercetools.sync.customers.helpers.CustomerBatchValidator
- CUSTOMER_DRAFT_KEY_NOT_SET - Static variable in class com.commercetools.sync.customers.helpers.CustomerBatchValidator
- CUSTOMER_GROUP_DOES_NOT_EXIST - Static variable in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
- CUSTOMER_GROUPS - com.commercetools.sync.commons.models.GraphQlQueryResource
- CUSTOMER_NUMBER_EXISTS_WARNING - Static variable in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
- CustomerBatchValidator - Class in com.commercetools.sync.customers.helpers
- CustomerBatchValidator(CustomerSyncOptions, CustomerSyncStatistics) - Constructor for class com.commercetools.sync.customers.helpers.CustomerBatchValidator
- CustomerBatchValidator.ReferencedKeys - Class in com.commercetools.sync.customers.helpers
- CustomerCustomActionBuilder - Class in com.commercetools.sync.customers.utils
- CustomerCustomTypeAdapter - Class in com.commercetools.sync.customers.models
-
Adapt Customer with
Custominterface to be used onCustomUpdateActionUtils - CustomerDraftCustomTypeAdapter - Class in com.commercetools.sync.customers.models
-
Adapt Customer with
CustomDraftinterface to be used onCustomUpdateActionUtils - 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
- CustomerReferenceResolutionUtils - Class in com.commercetools.sync.customers.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- CustomerReferenceResolver - Class in com.commercetools.sync.customers.helpers
- CustomerReferenceResolver(CustomerSyncOptions, TypeService, CustomerGroupService) - Constructor for class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
-
Takes a
CustomerSyncOptionsinstance, aTypeServiceand aCustomerGroupServiceto instantiate aCustomerReferenceResolverinstance that could be used to resolve the customer drafts in the CTP project specified in the injectedCustomerSyncOptionsinstance. - CUSTOMERS - com.commercetools.sync.commons.models.GraphQlQueryResource
- CustomerService - Interface in com.commercetools.sync.services
- CustomerServiceImpl - Class in com.commercetools.sync.services.impl
- CustomerServiceImpl(CustomerSyncOptions) - Constructor for class com.commercetools.sync.services.impl.CustomerServiceImpl
- CustomerSync - Class in com.commercetools.sync.customers
-
This class syncs customer drafts with the corresponding customers in the CTP project.
- CustomerSync(CustomerSyncOptions) - Constructor for class com.commercetools.sync.customers.CustomerSync
-
Takes a
CustomerSyncOptionsto instantiate a newCustomerSyncinstance that could be used to sync customer drafts in the CTP project specified in the injectedCustomerSyncinstance. - CustomerSync(CustomerSyncOptions, CustomerService, TypeService, CustomerGroupService) - Constructor for class com.commercetools.sync.customers.CustomerSync
-
Takes a
CustomerSyncOptionsand service instances to instantiate a newCustomerSyncinstance that could be used to sync customer drafts in the CTP project specified in the injectedCustomerSyncOptionsinstance. - CustomerSyncOptions - Class in com.commercetools.sync.customers
- CustomerSyncOptionsBuilder - Class in com.commercetools.sync.customers
- CustomerSyncStatistics - Class in com.commercetools.sync.customers.helpers
- CustomerSyncStatistics() - Constructor for class com.commercetools.sync.customers.helpers.CustomerSyncStatistics
- CustomerSyncUtils - Class in com.commercetools.sync.customers.utils
- CustomerTransformUtils - Class in com.commercetools.sync.customers.utils
- CustomerTransformUtils() - Constructor for class com.commercetools.sync.customers.utils.CustomerTransformUtils
- CustomerUpdateActionUtils - Class in com.commercetools.sync.customers.utils
- CustomFieldsUtils - Class in com.commercetools.sync.products.utils
- CustomFieldsUtils() - Constructor for class com.commercetools.sync.products.utils.CustomFieldsUtils
- CustomObjectBatchValidator - Class in com.commercetools.sync.customobjects.helpers
- CustomObjectBatchValidator(CustomObjectSyncOptions, CustomObjectSyncStatistics) - Constructor for class com.commercetools.sync.customobjects.helpers.CustomObjectBatchValidator
- CustomObjectCompositeIdentifier - Class in com.commercetools.sync.customobjects.helpers
-
This class is only meant for the internal use of the commercetools-sync-java library.
- CustomObjectService - Interface in com.commercetools.sync.services
- CustomObjectServiceImpl - Class in com.commercetools.sync.services.impl
-
Implementation of CustomObjectService interface.
- CustomObjectServiceImpl(CustomObjectSyncOptions) - Constructor for class com.commercetools.sync.services.impl.CustomObjectServiceImpl
- CustomObjectSync - Class in com.commercetools.sync.customobjects
-
This class syncs custom object drafts with the corresponding custom objects in the CTP project.
- CustomObjectSync(CustomObjectSyncOptions) - Constructor for class com.commercetools.sync.customobjects.CustomObjectSync
- CustomObjectSyncOptions - Class in com.commercetools.sync.customobjects
- CustomObjectSyncOptionsBuilder - Class in com.commercetools.sync.customobjects
- CustomObjectSyncStatistics - Class in com.commercetools.sync.customobjects.helpers
- CustomObjectSyncStatistics() - Constructor for class com.commercetools.sync.customobjects.helpers.CustomObjectSyncStatistics
- CustomObjectSyncUtils - Class in com.commercetools.sync.customobjects.utils
- CustomObjectSyncUtils() - Constructor for class com.commercetools.sync.customobjects.utils.CustomObjectSyncUtils
- CustomReferenceResolver<ResourceDraftT extends io.vrap.rmf.base.client.Draft<ResourceDraftT>,BuilderT extends io.vrap.rmf.base.client.Builder<ResourceDraftT>,SyncOptionsT 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(SyncOptionsT, TypeService) - Constructor for class com.commercetools.sync.commons.helpers.CustomReferenceResolver
- CustomTypeReferenceResolutionUtils - Class in com.commercetools.sync.commons.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- CustomUpdateActionUtils - Class in com.commercetools.sync.commons.utils
- CustomValueConverter - Class in com.commercetools.sync.commons.utils
- CustomValueConverter() - Constructor for class com.commercetools.sync.commons.utils.CustomValueConverter
D
- delete(String, String, Class<WaitingToBeResolvedT>) - Method in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- delete(String, String, Class<WaitingToBeResolvedT>) - Method in interface com.commercetools.sync.services.UnresolvedReferencesService
-
Given a draft key, this methods deletes the matching draft from persistence.
- DESCRIPTION - com.commercetools.sync.products.ActionGroup
- DuplicateKeyException - Exception in com.commercetools.sync.commons.exceptions
- DuplicateKeyException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateKeyException
- DuplicateKeyException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateKeyException
- DuplicateKeyException(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(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.DuplicateNameException
- DuplicateNameException(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
collectionargument itself, if thecollectionis 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
listargument itself, if thelistis non-null, otherwise returns (immutable) empty list. - ensureChannels(boolean) - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
-
Set option that indicates whether sync process should create a supply channel of given key when it doesn't exist in a target project yet.
- ensurePriceChannels(boolean) - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
-
Set option that indicates whether sync process should create a price channel of given key when it doesn't exist in a target project yet.
- EnumValuesUpdateActionUtils - Class in com.commercetools.sync.commons.utils
-
The utils in this class are only meant for the internal use of the commercetools-sync-java library.
- equals(Object) - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
- equals(Object) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- equals(Object) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
- equals(Object) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
- equals(Object) - Method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
- equals(Object) - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- equals(Object) - Method in class com.commercetools.sync.products.helpers.PriceCompositeId
- errorCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- errorCallback(QuadConsumer<SyncException, Optional<ResourceDraftT>, Optional<ResourceT>, List<ResourceUpdateActionT>>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the
errorCallbackfunction of the sync module. - errorCallback(Consumer<Throwable>) - Method in class com.commercetools.sync.commons.CleanupUnresolvedReferenceCustomObjects
-
Sets the
errorCallbackfunction of the cleanup. - executeChunks(ProjectApiRoot, List<GraphQLRequest>) - Static method in class com.commercetools.sync.commons.utils.ChunkUtils
-
Executes the given
ListofGraphQLRequests, and collects results in a list. - executeChunks(List<ResourceT>) - Static method in class com.commercetools.sync.commons.utils.ChunkUtils
-
Executes the given
ListofPagedQueryResourceRequests, and collects results in a list. - executeSupplierIfConcurrentModificationException(Throwable, Supplier<ResultT>, Supplier<ResultT>) - Static method in class com.commercetools.sync.commons.BaseSync
-
This method checks if the supplied
exceptionis an instance ofConcurrentModificationException. - executeSupplierIfPassesFilter(SyncFilter, ActionGroup, Supplier<T>, Supplier<T>) - Static method in class com.commercetools.sync.products.utils.FilterUtils
F
- FAILED_TO_BUILD_ATTRIBUTE_UPDATE_ACTION - Static variable in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
- FAILED_TO_RESOLVE_CUSTOM_TYPE - Static variable in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
- FAILED_TO_RESOLVE_CUSTOMER_GROUP_REFERENCE - Static variable in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
- FAILED_TO_RESOLVE_REFERENCE - Static variable in class com.commercetools.sync.products.helpers.ProductReferenceResolver
- FAILED_TO_RESOLVE_STORE_REFERENCE - Static variable in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
- fetch(Set<String>, String, Class<WaitingToBeResolvedT>) - Method in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- fetch(Set<String>, String, Class<WaitingToBeResolvedT>) - Method in interface com.commercetools.sync.services.UnresolvedReferencesService
-
Given draft keys, this method fetches the persisted drafts waiting to be resolved.
- fetchAndFillReferenceIdToKeyCache(Set<String>, GraphQlQueryResource) - Method in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- fetchCachedCategoryId(String) - Method in interface com.commercetools.sync.services.CategoryService
-
Given a
key, this method first checks if cached map of category keys -> ids contains the key. - 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 contains the key. - fetchCachedCustomerGroupId(String) - Method in class com.commercetools.sync.services.impl.CustomerGroupServiceImpl
- fetchCachedCustomerId(String) - Method in interface com.commercetools.sync.services.CustomerService
-
Given a
key, if it is blank (null/empty), a completed future with an empty optional is returned. - fetchCachedCustomerId(String) - Method in class com.commercetools.sync.services.impl.CustomerServiceImpl
- fetchCachedCustomObjectId(CustomObjectCompositeIdentifier) - Method in interface com.commercetools.sync.services.CustomObjectService
-
Given an
identifier, this method first checks ifidentifier#toString()is contained in a cached map ofCustomObjectCompositeIdentifier.toString()-> ids . - fetchCachedCustomObjectId(CustomObjectCompositeIdentifier) - Method in class com.commercetools.sync.services.impl.CustomObjectServiceImpl
- fetchCachedProductAttributeMetaDataMap(String) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
- fetchCachedProductAttributeMetaDataMap(String) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Given a
productType, this method first checks if a cached map of ProductType ids -> map ofAttributeMetaDatais 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 contains the key. - 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 contains the key. - fetchCartDiscount(String) - Method in interface com.commercetools.sync.services.CartDiscountService
-
Given a cart discount key, this method fetches a cart discount that matches this given key in the CTP project defined in a potentially injected
ProjectApiRoot. - fetchCartDiscount(String) - Method in class com.commercetools.sync.services.impl.CartDiscountServiceImpl
- 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
ProjectApiRoot. - fetchCategory(String) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
- fetchCustomerByKey(String) - Method in interface com.commercetools.sync.services.CustomerService
-
Given a customer key, this method fetches a customer that matches this given key in the CTP project defined in a potentially injected
ProjectApiRoot. - fetchCustomerByKey(String) - Method in class com.commercetools.sync.services.impl.CustomerServiceImpl
- fetchCustomObject(CustomObjectCompositeIdentifier) - Method in interface com.commercetools.sync.services.CustomObjectService
-
Given a CustomObjectCompositeIdentifier identify which includes key and container of CustomObject, this method fetches a CustomObject that matches this given identifier in the CTP project defined in an injected
ProjectApiRoot. - fetchCustomObject(CustomObjectCompositeIdentifier) - Method in class com.commercetools.sync.services.impl.CustomObjectServiceImpl
- fetchInventoryEntriesByIdentifiers(Set<InventoryEntryIdentifier>) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
- fetchInventoryEntriesByIdentifiers(Set<InventoryEntryIdentifier>) - Method in interface com.commercetools.sync.services.InventoryService
-
Queries existing
InventoryEntry's against set of sku and supply channels. - fetchMatchingCartDiscountsByKeys(Set<String>) - Method in interface com.commercetools.sync.services.CartDiscountService
-
Given a
Setof CartDiscount keys, this method fetches a set of all the CartDiscounts, matching this given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingCartDiscountsByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.CartDiscountServiceImpl
- fetchMatchingCategoriesByKeys(Set<String>) - Method in interface com.commercetools.sync.services.CategoryService
-
Given a
Setof category keys, this method fetches a set of all the categories, matching this given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingCategoriesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
- fetchMatchingCustomersByKeys(Set<String>) - Method in interface com.commercetools.sync.services.CustomerService
-
Given a
Setof customer keys, this method fetches a set of all the customers, matching the given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingCustomersByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.CustomerServiceImpl
- fetchMatchingCustomObjects(Set<CustomObjectCompositeIdentifier>) - Method in interface com.commercetools.sync.services.CustomObjectService
-
Given a
Setof CustomObjectCompositeIdentifier, this method fetches a set of all the CustomObjects, matching this given set of CustomObjectCompositeIdentifiers in the CTP project defined in an injectedProjectApiRoot. - fetchMatchingCustomObjects(Set<CustomObjectCompositeIdentifier>) - Method in class com.commercetools.sync.services.impl.CustomObjectServiceImpl
- 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
Setof product keys, this method fetches a set of all the products, matching this given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingProductTypesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
- fetchMatchingProductTypesByKeys(Set<String>) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Given a
Setof ProductType keys, this method fetches a set of all the ProductTypes, matching this given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingShoppingListsByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.ShoppingListServiceImpl
- fetchMatchingShoppingListsByKeys(Set<String>) - Method in interface com.commercetools.sync.services.ShoppingListService
-
Given a
Setof shopping list keys, this method fetches a set of all the shopping lists, matching given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingStatesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.StateServiceImpl
- fetchMatchingStatesByKeys(Set<String>) - Method in interface com.commercetools.sync.services.StateService
-
Given a
Setof state keys, this method fetches a set of all the states, matching given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingStatesByKeysWithTransitions(Set<String>) - Method in class com.commercetools.sync.services.impl.StateServiceImpl
- fetchMatchingStatesByKeysWithTransitions(Set<String>) - Method in interface com.commercetools.sync.services.StateService
-
Given a
Setof state keys, this method fetches a set of all the states with expanded transitions, matching given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingTaxCategoriesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
- fetchMatchingTaxCategoriesByKeys(Set<String>) - Method in interface com.commercetools.sync.services.TaxCategoryService
-
Given a
Setof tax category keys, this method fetches a set of all the taxCategories, matching given set of keys in the CTP project, defined in an injectedProjectApiRoot. - fetchMatchingTypesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
- fetchMatchingTypesByKeys(Set<String>) - Method in interface com.commercetools.sync.services.TypeService
- 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
ProjectApiRoot. - fetchProductType(String) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
- fetchProductType(String) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Given a productType key, this method fetches a productType that matches this given key in the CTP project defined in an injected
ProjectApiRoot. - fetchShoppingList(String) - Method in class com.commercetools.sync.services.impl.ShoppingListServiceImpl
- fetchShoppingList(String) - Method in interface com.commercetools.sync.services.ShoppingListService
-
Given a shopping list key, this method fetches a shopping list that matches given key in the CTP project defined in a potentially injected
ProjectApiRoot. - fetchState(String) - Method in class com.commercetools.sync.services.impl.StateServiceImpl
- fetchState(String) - Method in interface com.commercetools.sync.services.StateService
-
Given a state key, this method fetches a state that matches given key in the CTP project defined in a potentially injected
ProjectApiRoot. - fetchTaxCategory(String) - Method in class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
- fetchTaxCategory(String) - Method in interface com.commercetools.sync.services.TaxCategoryService
-
Given a tax category key, this method fetches a tax category that matches given key in the CTP project defined in a potentially injected
ProjectApiRoot. - fetchTypeByKey(String) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
- fetchTypeByKey(String) - Method in interface com.commercetools.sync.services.TypeService
-
Given a type key, this method fetches a type that matches this given key in the CTP project defined in an injected
ProjectApiRoot. - filterActionGroup(ActionGroup) - Method in class com.commercetools.sync.products.SyncFilter
-
Checks if the supplied
ActionGrouppassesthisfilter. - 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
includeConditionpredicate. - filterEmptyOptionals(Collection<Optional<T>>) - Static method in class com.commercetools.sync.commons.utils.OptionalUtils
-
Takes a
CollectionofOptionals containing some elements of typeT, this method filters out any emptyOptionaland returns a new list containing the values of the non-empty optionals. - filterEmptyOptionals(Optional<T>...) - Static method in class com.commercetools.sync.commons.utils.OptionalUtils
-
Takes zero or more
Optionals containing some elements of typeT, this method filters out any emptyOptionaland returns a new list containing the values of the non-empty optionals. - filterFrenchLocales(ProductDraft) - Static method in class com.commercetools.sync.products.templates.beforeupdatecallback.SyncSingleLocale
-
Takes a
ProductDraftand filters out any localization other thanLocale.FRENCHfromLocalizedStringfields of the suppliedProductDraft. - filterNullAndMap(Stream<T>, Function<T, S>) - Static method in class com.commercetools.sync.commons.utils.StreamUtils
-
Applies the supplied
mapperfunction on every non-null element in the suppliedStreamofelements. - FilterUtils - Class in com.commercetools.sync.products.utils
G
- GenericCustomActionBuilder<ResourceUpdateActionT extends com.commercetools.api.models.ResourceUpdateAction<ResourceUpdateActionT>> - Interface in com.commercetools.sync.commons.helpers
-
A generic custom update action builder that creates update actions for example for the type
Customer - get() - Method in class com.commercetools.sync.customobjects.models.NoopResourceUpdateAction
- get(String) - Method in class com.commercetools.sync.commons.utils.CaffeineReferenceIdToKeyCacheImpl
- get(String) - Method in interface com.commercetools.sync.commons.utils.ReferenceIdToKeyCache
- getAction() - Method in class com.commercetools.sync.customobjects.models.NoopResourceUpdateAction
- getAllVariants(ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Returns a list containing all the variants (including the master variant) of the supplied
ProductDraft. - getAttributeReferences(JsonNode) - Static method in class com.commercetools.sync.products.utils.AttributeUtils
-
Given a
JsonNodethis method extracts the nodes containing a "typeId" field which is representing a reference type. - 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
- getBeforeUpdateCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Returns the
beforeUpdateCallbackTriFunction<List<ResourceUpdateAction<U>>,V,U,List<ResourceUpdateAction<U>>> function set tothisBaseSyncOptions. - getCacheSize() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Gets the cache size used in the sync process.
- getCategoryDraft() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- getCategoryKeys() - Method in class com.commercetools.sync.categories.helpers.CategoryBatchValidator.ReferencedKeys
- getCategoryKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- getCategoryOrderHints() - Method in class com.commercetools.sync.commons.helpers.CategoryResourceIdentifierPair
- getCategoryResourceIdentifiers() - Method in class com.commercetools.sync.commons.helpers.CategoryResourceIdentifierPair
- getCauses() - Method in exception com.commercetools.sync.commons.exceptions.InvalidProductTypeException
- getCauses() - Method in exception com.commercetools.sync.commons.exceptions.ReferenceReplacementException
- getChannelId() - Method in class com.commercetools.sync.products.helpers.PriceCompositeId
- getChannelKeys() - Method in class com.commercetools.sync.inventories.helpers.InventoryBatchValidator.ReferencedKeys
- getChannelKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- getChildrenKeys(String) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
-
Returns the children keys of given
parentKey. - getContainer() - Method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
- getCountryCode() - Method in class com.commercetools.sync.products.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
ProjectApiRootresponsible for interaction with the target CTP project. - getCtpClient() - Method in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- getCurrencyCode() - Method in class com.commercetools.sync.products.helpers.PriceCompositeId
- getCustom() - Method in class com.commercetools.sync.cartdiscounts.models.CartDiscountCustomTypeAdapter
-
Get custom fields of the
CartDiscount - getCustom() - Method in class com.commercetools.sync.cartdiscounts.models.CartDiscountDraftCustomTypeAdapter
-
Get custom fields of the
CartDiscountDraft - getCustom() - Method in class com.commercetools.sync.categories.models.CategoryCustomTypeAdapter
-
Get custom fields of the
Category - getCustom() - Method in class com.commercetools.sync.categories.models.CategoryDraftCustomTypeAdapter
-
Get custom fields of the
CategoryDraft - getCustom() - Method in class com.commercetools.sync.commons.models.AssetCustomTypeAdapter
-
Get custom fields of the
Asset - getCustom() - Method in class com.commercetools.sync.commons.models.AssetDraftCustomTypeAdapter
-
Get custom fields of the
AssetDraft - getCustom() - Method in interface com.commercetools.sync.commons.models.Custom
- getCustom() - Method in interface com.commercetools.sync.commons.models.CustomDraft
- getCustom() - Method in class com.commercetools.sync.customers.models.CustomerCustomTypeAdapter
-
Get custom fields of the
Customer - getCustom() - Method in class com.commercetools.sync.customers.models.CustomerDraftCustomTypeAdapter
-
Get custom fields of the
CustomerDraft - getCustom() - Method in class com.commercetools.sync.inventories.models.InventoryEntryCustomTypeAdapter
-
Get custom fields of the
InventoryEntry - getCustom() - Method in class com.commercetools.sync.inventories.models.InventoryEntryDraftCustomTypeAdapter
-
Get custom fields of the
InventoryEntryDraft - getCustom() - Method in class com.commercetools.sync.products.models.PriceCustomTypeAdapter
-
Get custom fields of the
Price - getCustom() - Method in class com.commercetools.sync.products.models.PriceDraftCustomTypeAdapter
-
Get custom fields of the
PriceDraft - getCustom() - Method in class com.commercetools.sync.shoppinglists.models.ShoppingListCustomTypeAdapter
-
Get custom fields of the
ShoppingList - getCustom() - Method in class com.commercetools.sync.shoppinglists.models.ShoppingListLineItemCustomTypeAdapter
-
Get custom fields of the
ShoppingListLineItem - getCustom() - Method in class com.commercetools.sync.shoppinglists.models.ShoppingListLineItemDraftCustomTypeAdapter
-
Get custom fields of the
ShoppingListLineItemDraft - getCustom() - Method in class com.commercetools.sync.shoppinglists.models.TextLineItemCustomTypeAdapter
-
Get custom fields of the
TextLineItem - getCustom() - Method in class com.commercetools.sync.shoppinglists.models.TextLineItemDraftCustomTypeAdapter
-
Get custom fields of the
TextLineItemDraft - getCustomerGroupId() - Method in class com.commercetools.sync.products.helpers.PriceCompositeId
- getCustomerGroupKeys() - Method in class com.commercetools.sync.customers.helpers.CustomerBatchValidator.ReferencedKeys
- getCustomerGroupKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- getCustomerKeys() - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListBatchValidator.ReferencedKeys
- getCustomObjectCompositeIdentifiers() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
-
Applies mapping of
Set<String> identifiers (collected from reference id fields of product `key-value-document` references) toSet<CustomObjectCompositeIdentifier> to be used for caching purposes. - getDefaultReportMessageForResource(String) - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Builds a proper summary message of the statistics report of a given
resourceStringin following format: - getDraftBuilderFromStagedProduct(ProductProjection) - Static method in class com.commercetools.sync.products.utils.ProductReferenceResolutionUtils
-
Given a
Productthis method creates aProductDraftBuilderbased on the staged projection values of the supplied product. - getErrorCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Returns the
errorCallbackQuadConsumer<SyncException,Optional<V>,Optional<U>,List<ResourceUpdateAction<U>>> function set tothisBaseSyncOptions. - getFailed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Gets the total number of resources that failed to sync.
- getId() - Method in class com.commercetools.sync.cartdiscounts.models.CartDiscountCustomTypeAdapter
-
Get Id of the
CartDiscount - getId() - Method in class com.commercetools.sync.categories.models.CategoryCustomTypeAdapter
-
Get Id of the
Category - getId() - Method in class com.commercetools.sync.commons.models.AssetCustomTypeAdapter
-
Get Id of the
Asset - getId() - Method in interface com.commercetools.sync.commons.models.Custom
- getId() - Method in class com.commercetools.sync.customers.models.CustomerCustomTypeAdapter
-
Get Id of the
Customer - getId() - Method in class com.commercetools.sync.inventories.models.InventoryEntryCustomTypeAdapter
-
Get Id of the
InventoryEntry - getId() - Method in class com.commercetools.sync.products.models.PriceCustomTypeAdapter
-
Get Id of the
Price - getId() - Method in class com.commercetools.sync.shoppinglists.models.ShoppingListCustomTypeAdapter
-
Get Id of the
ShoppingList - getId() - Method in class com.commercetools.sync.shoppinglists.models.ShoppingListLineItemCustomTypeAdapter
-
Get Id of the
ShoppingListLineItem - getId() - Method in class com.commercetools.sync.shoppinglists.models.TextLineItemCustomTypeAdapter
-
Get Id of the
TextLineItem - 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. - getIdFromReference(Reference) - Static method in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
-
This method gets the key value on the passed
Referencefrom the id field, if valid. - getKey() - Method in class com.commercetools.sync.commons.models.AssetCustomTypeAdapter
-
Get Key of the
Asset - getKey() - Method in interface com.commercetools.sync.commons.models.WaitingToBeResolved
- getKey() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- getKey() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
- getKey() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
- getKey() - Method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
- getKey() - Method in class com.commercetools.sync.products.models.PriceCustomTypeAdapter
-
Get Key of the
Price - getKeyFromResourceIdentifier(ResourceIdentifier) - Static method in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
-
This method gets the key 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.
- getMissingReferencedCategoriesKeys() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- getMissingReferencedProductKeys() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
- getMissingTransitionStateKeys() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
- getName() - Method in enum com.commercetools.sync.commons.models.GraphQlQueryResource
- getName() - Method in class com.commercetools.sync.products.AttributeMetaData
-
Gets the name of the attribute.
- getNonCachedReferenceIds(Set<String>) - Method in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- getNonCachedReferences(List<JsonNode>) - Method in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- getNumberOfCategoriesWithMissingParents() - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
-
Returns the total number of categories with missing parents.
- getNumberOfProductsWithMissingParents() - Method in class com.commercetools.sync.products.helpers.ProductSyncStatistics
-
Returns the total number of products with missing parents.
- getNumberOfProductTypesWithMissingNestedProductTypes() - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeSyncStatistics
-
Returns the total number of product types with at least one NestedType or a Set of NestedType attribute definition(s) referencing a missing productType.
- getNumberOfStatesWithMissingParents() - Method in class com.commercetools.sync.states.helpers.StateSyncStatistics
-
Returns the total number of states with missing parents.
- getProcessed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Gets the total number of resources that were processed/synced.
- getProductDraft() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
- getProductKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- getProductTypeKey(AttributeType) - Static method in class com.commercetools.sync.producttypes.helpers.ProductTypeBatchValidator
-
This method is meant be only used internally by the library.
- getProductTypeKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- getProductTypeKeysWithMissingParents() - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeSyncStatistics
- getReferencedProductKeys(ProductVariantDraft) - Static method in class com.commercetools.sync.products.helpers.ProductBatchValidator
-
Get a set of referenced product keys on all attribute drafts on the supplied Product Variant Draft.
- getReportMessage() - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountSyncStatistics
-
Builds a summary of the cart discount sync statistics instance that looks like the following example:
- 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.CleanupUnresolvedReferenceCustomObjects.Statistics
- 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.customers.helpers.CustomerSyncStatistics
-
Builds a summary of the customer sync statistics instance that looks like the following example:
- getReportMessage() - Method in class com.commercetools.sync.customobjects.helpers.CustomObjectSyncStatistics
-
Builds a summary of the custom object sync statistics instance that looks like the following example:
- 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:
- getReportMessage() - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListSyncStatistics
-
Builds a summary of the shopping list sync statistics instance that looks like the following example:
- getReportMessage() - Method in class com.commercetools.sync.states.helpers.StateSyncStatistics
-
Builds a summary of the state sync statistics instance that looks like the following example:
- getReportMessage() - Method in class com.commercetools.sync.taxcategories.helpers.TaxCategorySyncStatistics
-
Builds a summary of the tax category sync statistics instance that looks like the following example:
- getReportMessage() - Method in class com.commercetools.sync.types.helpers.TypeSyncStatistics
-
Builds a summary of the type sync statistics instance that looks like the following example:
- getResourceIdentifierWithKey(Reference, ReferenceIdToKeyCache, BiFunction<String, String, ResourceIdentifierT>) - 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 id is cached. - getSku() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- getStateDraft() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
- getStateKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- getStatistics() - Method in class com.commercetools.sync.commons.BaseSync
-
Returns an instance of type U which is a subclass of
BaseSyncStatisticscontaining 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. - getSupplyChannelId() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- getSyncFilter() - Method in class com.commercetools.sync.products.ProductSyncOptions
- getSyncOptions() - Method in class com.commercetools.sync.commons.BaseSync
- getSyncStatisticsClassName() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Gets the name of the implementation class extending this abstract class.
- getTaxCategoryKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- getThis() - Method in class com.commercetools.sync.cartdiscounts.CartDiscountSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountSyncStatistics
- getThis() - Method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
- getThis() - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- getThis() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
- getThis() - Method in class com.commercetools.sync.customers.CustomerSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.customers.helpers.CustomerSyncStatistics
- getThis() - Method in class com.commercetools.sync.customobjects.CustomObjectSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.customobjects.helpers.CustomObjectSyncStatistics
- getThis() - Method in class com.commercetools.sync.inventories.helpers.InventorySyncStatistics
- getThis() - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
-
Returns
thisinstance ofInventorySyncOptionsBuilder. - getThis() - Method in class com.commercetools.sync.products.helpers.ProductSyncStatistics
- getThis() - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
- getThis() - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeSyncStatistics
- getThis() - Method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListSyncStatistics
- getThis() - Method in class com.commercetools.sync.shoppinglists.ShoppingListSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.states.helpers.StateSyncStatistics
- getThis() - Method in class com.commercetools.sync.states.StateSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.taxcategories.helpers.TaxCategorySyncStatistics
- getThis() - Method in class com.commercetools.sync.taxcategories.TaxCategorySyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.types.helpers.TypeSyncStatistics
- getThis() - Method in class com.commercetools.sync.types.TypeSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getTotalDeleted() - Method in class com.commercetools.sync.commons.CleanupUnresolvedReferenceCustomObjects.Statistics
- getTotalFailed() - Method in class com.commercetools.sync.commons.CleanupUnresolvedReferenceCustomObjects.Statistics
- getTypeId() - Method in class com.commercetools.sync.cartdiscounts.models.CartDiscountCustomTypeAdapter
-
Get typeId of the
CartDiscountsee: https://docs.commercetools.com/api/types#referencetype - getTypeId() - Method in class com.commercetools.sync.categories.models.CategoryCustomTypeAdapter
-
Get typeId of the
Categorysee: https://docs.commercetools.com/api/types#referencetype - getTypeId() - Method in class com.commercetools.sync.commons.models.AssetCustomTypeAdapter
-
Get typeId of the
Assetsee: https://docs.commercetools.com/api/types#referencetype - getTypeId() - Method in interface com.commercetools.sync.commons.models.Custom
- getTypeId() - Method in class com.commercetools.sync.customers.models.CustomerCustomTypeAdapter
-
Get typeId of the
Customersee: https://docs.commercetools.com/api/types#referencetype - getTypeId() - Method in class com.commercetools.sync.inventories.models.InventoryEntryCustomTypeAdapter
-
Get typeId of the
InventoryEntrysee: https://docs.commercetools.com/api/types#referencetype - getTypeId() - Method in class com.commercetools.sync.products.models.PriceCustomTypeAdapter
-
Get typeId of the
Pricesee: https://docs.commercetools.com/api/types#referencetype - getTypeId() - Method in class com.commercetools.sync.shoppinglists.models.ShoppingListCustomTypeAdapter
-
Get typeId of the
ShoppingListsee: https://docs.commercetools.com/api/types#referencetype - getTypeId() - Method in class com.commercetools.sync.shoppinglists.models.ShoppingListLineItemCustomTypeAdapter
-
Get typeId of the
ShoppingListLineItemsee: https://docs.commercetools.com/api/types#referencetype - getTypeId() - Method in class com.commercetools.sync.shoppinglists.models.TextLineItemCustomTypeAdapter
-
Get typeId of the
TextLineItemsee: https://docs.commercetools.com/api/types#referencetype - getTypeKeys() - Method in class com.commercetools.sync.categories.helpers.CategoryBatchValidator.ReferencedKeys
- getTypeKeys() - Method in class com.commercetools.sync.customers.helpers.CustomerBatchValidator.ReferencedKeys
- getTypeKeys() - Method in class com.commercetools.sync.inventories.helpers.InventoryBatchValidator.ReferencedKeys
- getTypeKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- getTypeKeys() - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListBatchValidator.ReferencedKeys
- getUpdated() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Gets the total number of resources that were updated.
- getValidFrom() - Method in class com.commercetools.sync.products.helpers.PriceCompositeId
- getValidUntil() - Method in class com.commercetools.sync.products.helpers.PriceCompositeId
- getWarningCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Returns the
warningCallbackTriConsumer<SyncException,Optional<V>,Optional<U>> function set tothisBaseSyncOptions. - GraphQlQueryResource - Enum in com.commercetools.sync.commons.models
H
- handleError(SyncException) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
- handleError(String) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
- handleError(String, Throwable, ResourceT, ResourceDraftT, List<ResourceUpdateActionT>, int) - Method in class com.commercetools.sync.commons.BaseSync
-
This method calls the optional error callback specified in the
syncOptionsand updates thestatisticsinstance by incrementing the total number of failed resources S to sync. - hashCode() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
- hashCode() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- hashCode() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
- hashCode() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
- hashCode() - Method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
- hashCode() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- hashCode() - Method in class com.commercetools.sync.products.helpers.PriceCompositeId
- hasIdenticalValue(CustomObject, CustomObjectDraft) - Static method in class com.commercetools.sync.customobjects.utils.CustomObjectSyncUtils
-
Compares the value of a
CustomObjectto the value of aCustomObjectDraft.
I
- IMAGES - com.commercetools.sync.products.ActionGroup
- 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.
- InvalidProductTypeException - Exception in com.commercetools.sync.commons.exceptions
- InvalidProductTypeException(String, Set<Throwable>) - Constructor for exception com.commercetools.sync.commons.exceptions.InvalidProductTypeException
- InvalidReferenceException - Exception in com.commercetools.sync.commons.exceptions
- InvalidReferenceException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.InvalidReferenceException
- InventoryBatchValidator - Class in com.commercetools.sync.inventories.helpers
- InventoryBatchValidator(InventorySyncOptions, InventorySyncStatistics) - Constructor for class com.commercetools.sync.inventories.helpers.InventoryBatchValidator
- InventoryBatchValidator.ReferencedKeys - Class in com.commercetools.sync.inventories.helpers
- InventoryCustomActionBuilder - Class in com.commercetools.sync.inventories.helpers
- InventoryCustomActionBuilder() - Constructor for class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
- InventoryEntryCustomTypeAdapter - Class in com.commercetools.sync.inventories.models
-
Adapt InventoryEntry with
Custominterface to be used onCustomUpdateActionUtils - InventoryEntryDraftCustomTypeAdapter - Class in com.commercetools.sync.inventories.models
-
Adapt InventoryEntryDraft with
CustomDraftinterface to be used onCustomUpdateActionUtils - InventoryEntryIdentifier - Class in com.commercetools.sync.inventories.helpers
-
This class provides as a container of the unique identifier of an
InventoryEntryfor the sync which is a combination of the SKU and the supply channel id of this inventory entry. - InventoryEntryQueryBuilder - Class in com.commercetools.sync.inventories.helpers
- InventoryReferenceResolutionUtils - Class in com.commercetools.sync.inventories.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- InventoryReferenceResolver - Class in com.commercetools.sync.inventories.helpers
- InventoryReferenceResolver(InventorySyncOptions, TypeService, ChannelService) - Constructor for class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
-
Takes a
InventorySyncOptionsinstance, aTypeServiceand aChannelServiceto instantiate aInventoryReferenceResolverinstance that could be used to resolve the type and supply channel references of inventory drafts. - InventoryService - Interface in com.commercetools.sync.services
- InventoryServiceImpl - Class in com.commercetools.sync.services.impl
- InventoryServiceImpl(InventorySyncOptions) - 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
InventorySyncOptionsinstance to instantiate a newInventorySyncinstance that could be used to sync inventory drafts with the given inventory entries in the CTP project specified in the injectedInventorySyncOptionsinstance. - 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.
- InventoryTransformUtils - Class in com.commercetools.sync.inventories.utils
- InventoryTransformUtils() - Constructor for class com.commercetools.sync.inventories.utils.InventoryTransformUtils
- InventoryUpdateActionUtils - Class in com.commercetools.sync.inventories.utils
-
This class provides static utility methods for building update actions related to inventories.
- isReferenceOfType(Reference, String) - Static method in class com.commercetools.sync.commons.utils.ResourceIdentifierUtils
-
Given a
ReferencereferenceValuewhich is the representation of CTP Reference object, this method checks if it has atypeIdwith the value equal toreferenceTypeId. - isReferenceOfType(JsonNode, String) - Static method in class com.commercetools.sync.commons.utils.ResourceIdentifierUtils
-
Given a
JsonNodereferenceValuewhich is the JSON representation of CTP Reference object, this method checks if it has atypeIdwith the value equal toreferenceTypeId. - isSameForAll() - Method in class com.commercetools.sync.products.AttributeMetaData
-
Does the attribute have a "SameForAll" constraint or not.
- isUuid(String) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
-
Given an id as
String, this method checks whether if it is in UUID format or not. - isValidTextNode(JsonNode) - Static method in class com.commercetools.sync.commons.utils.CustomValueConverter
-
Takes a value of type JsonNode and checks if it's a valid string value.
K
- keepOtherVariants(List<ProductUpdateAction>) - Static method in class com.commercetools.sync.products.templates.beforeupdatecallback.KeepOtherVariantsSync
-
Takes a list of
ProductUpdateAction's. - KeepOtherVariantsSync - Class in com.commercetools.sync.products.templates.beforeupdatecallback
- KeepOtherVariantsSync() - Constructor for class com.commercetools.sync.products.templates.beforeupdatecallback.KeepOtherVariantsSync
- KEY_IS_NOT_SET_PLACE_HOLDER - Static variable in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
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.
- LineItemCustomActionBuilder - Class in com.commercetools.sync.shoppinglists.utils
- LineItemCustomActionBuilder() - Constructor for class com.commercetools.sync.shoppinglists.utils.LineItemCustomActionBuilder
- LineItemReferenceResolver - Class in com.commercetools.sync.shoppinglists.helpers
- LineItemReferenceResolver(ShoppingListSyncOptions, TypeService) - Constructor for class com.commercetools.sync.shoppinglists.helpers.LineItemReferenceResolver
-
Takes a
ShoppingListSyncOptionsinstance, aTypeServiceto instantiate aLineItemReferenceResolverinstance that could be used to resolve the custom type references of the line item drafts in the CTP project specified in the injectedShoppingListSyncOptionsinstance. - LineItemUpdateActionUtils - Class in com.commercetools.sync.shoppinglists.utils
- LocalizedEnumValueUpdateActionUtils - Class in com.commercetools.sync.producttypes.utils
M
- mapToAssetDrafts(List<Asset>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.commons.utils.AssetReferenceResolutionUtils
-
Takes an asset list that is supposed to have all its asset's custom references id's are cached in the map in order to be able to fetch the keys for the custom references.
- mapToCartDiscountDrafts(List<CartDiscount>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountReferenceResolutionUtils
-
Returns an
List<CartDiscountDraft> consisting of the results of applying the mapping fromCartDiscounttoCartDiscountDraftwith considering reference resolution. - mapToCategoryDrafts(List<Category>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.categories.utils.CategoryReferenceResolutionUtils
-
Returns an
List<CategoryDraft> consisting of the results of applying the mapping fromCategorytoCategoryDraftwith considering reference resolution. - mapToCustomerDrafts(List<Customer>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.customers.utils.CustomerReferenceResolutionUtils
-
Returns a
List<CustomerDraft> consisting of the results of applying the mapping fromCustomertoCustomerDraftwith considering reference resolution. - mapToCustomFieldsDraft(CustomFields, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.commons.utils.CustomTypeReferenceResolutionUtils
-
Given a custom
CustomFields, this method provides checking to certain resources which do not extendsCustom. - mapToCustomFieldsDraft(T, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.commons.utils.CustomTypeReferenceResolutionUtils
-
Given a resource of type
Tthat extendsCustom(i.e. - mapToInventoryEntryDrafts(List<InventoryEntry>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.inventories.utils.InventoryReferenceResolutionUtils
-
Returns an
List<InventoryEntryDraft> consisting of the results of applying the mapping fromInventoryEntrytoInventoryEntryDraftwith considering reference resolution. - mapToProductDrafts(List<ProductProjection>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.products.utils.ProductReferenceResolutionUtils
-
Returns an
List<ProductDraft> consisting of the results of applying the mapping from the staged version of aProductProjectiontoProductDraftwith considering reference resolution. - mapToProductTypeDrafts(List<ProductType>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeReferenceResolutionUtils
-
Returns an
List<ProductTypeDraft> consisting of the results of applying the mapping fromProductTypetoProductTypeDraftwith considering reference resolution. - mapToProductVariantDrafts(List<ProductVariant>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.products.utils.VariantReferenceResolutionUtils
-
Returns an
List<ProductVariantDraft> consisting of the results of applying the mapping fromProductVarianttoProductVariantDraftwith considering reference resolution. - mapToShoppingListDraft(ShoppingList, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListReferenceResolutionUtils
-
Returns a @link ShoppingListDraft} consisting of the result of applying the mapping from
ShoppingListtoShoppingListDraftwith considering reference resolution. - mapToShoppingListDrafts(List<ShoppingList>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListReferenceResolutionUtils
-
Returns a
List<ShoppingListDraft> consisting of the results of applying the mapping fromShoppingListtoShoppingListDraftwith considering reference resolution. - mapToStateDrafts(List<State>, ReferenceIdToKeyCache) - Static method in class com.commercetools.sync.states.utils.StateReferenceResolutionUtils
-
Returns an
List<StateDraft> consisting of the results of applying the mapping fromStatetoStateDraftwith considering reference resolution. - 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.
- METADESCRIPTION - com.commercetools.sync.products.ActionGroup
- METAKEYWORDS - com.commercetools.sync.products.ActionGroup
- METATITLE - com.commercetools.sync.products.ActionGroup
N
- NAME - com.commercetools.sync.products.ActionGroup
- NoopResourceUpdateAction - Class in com.commercetools.sync.customobjects.models
-
This class is a fake class that represents a CTP resource with no update actions.
- NoopResourceUpdateAction() - Constructor for class com.commercetools.sync.customobjects.models.NoopResourceUpdateAction
- NULL_PRODUCT_VARIANT_ATTRIBUTE - Static variable in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
O
- of() - Static method in class com.commercetools.sync.customers.utils.CustomerCustomActionBuilder
- of() - Static method in class com.commercetools.sync.products.SyncFilter
- of() - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListCustomActionBuilder
- of(ProjectApiRoot) - Static method in class com.commercetools.sync.cartdiscounts.CartDiscountSyncOptionsBuilder
-
Creates a new instance of
CartDiscountSyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50). - of(ProjectApiRoot) - Static method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
-
Creates a new instance of
CategorySyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50). - of(ProjectApiRoot) - Static method in class com.commercetools.sync.commons.CleanupUnresolvedReferenceCustomObjects
-
Creates new instance of
CleanupUnresolvedReferenceCustomObjectswhich has the functionality to run cleanup helpers. - of(ProjectApiRoot) - Static method in class com.commercetools.sync.customers.CustomerSyncOptionsBuilder
-
Creates a new instance of
CustomerSyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50). - of(ProjectApiRoot) - Static method in class com.commercetools.sync.customobjects.CustomObjectSyncOptionsBuilder
-
Creates a new instance of
CustomObjectSyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50). - of(ProjectApiRoot) - Static method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
-
Creates a new instance of
InventorySyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 150). - of(ProjectApiRoot) - Static method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
- of(ProjectApiRoot) - Static method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
- of(ProjectApiRoot) - Static method in class com.commercetools.sync.shoppinglists.ShoppingListSyncOptionsBuilder
-
Creates a new instance of
ShoppingListSyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50). - of(ProjectApiRoot) - Static method in class com.commercetools.sync.states.StateSyncOptionsBuilder
-
Creates a new instance of
StateSyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 500). - of(ProjectApiRoot) - Static method in class com.commercetools.sync.taxcategories.TaxCategorySyncOptionsBuilder
-
Creates a new instance of
TaxCategorySyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50). - of(ProjectApiRoot) - Static method in class com.commercetools.sync.types.TypeSyncOptionsBuilder
-
Creates a new instance of
TypeSyncOptionsBuildergiven aProjectApiRootresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50). - of(CartDiscount) - Static method in class com.commercetools.sync.cartdiscounts.models.CartDiscountCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
CartDiscount - of(CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.models.CartDiscountDraftCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
CartDiscountDraft - of(Category) - Static method in class com.commercetools.sync.categories.models.CategoryCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
Category - of(CategoryDraft) - Static method in class com.commercetools.sync.categories.models.CategoryDraftCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
CategoryDraft - of(Asset) - Static method in class com.commercetools.sync.commons.models.AssetCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
Asset - of(AssetDraft) - Static method in class com.commercetools.sync.commons.models.AssetDraftCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
AssetDraft - of(Price) - Static method in class com.commercetools.sync.products.helpers.PriceCompositeId
-
Given a
Price, creates aPriceCompositeIdusing the following fields from the suppliedPrice:PriceCompositeId.currencyCode: CurrencyCode ofPrice.getValue()PriceCompositeId.countryCode:Price.getCountry()PriceCompositeId.channelId: id ofPrice.getChannel()PriceCompositeId.customerGroupId: id ofPrice.getCustomerGroup()PriceCompositeId.validFrom:Price.getValidFrom()PriceCompositeId.validUntil:Price.getValidUntil() - of(Price) - Static method in class com.commercetools.sync.products.models.PriceCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
Price - of(PriceDraft) - Static method in class com.commercetools.sync.products.helpers.PriceCompositeId
-
Given a
PriceDraft, creates aPriceCompositeIdusing the following fields from the suppliedPriceDraft:PriceCompositeId.currencyCode: CurrencyCode ofPriceDraft.getValue()PriceCompositeId.countryCode:PriceDraft.getCountry()PriceCompositeId.channelId: id ofPriceDraft.getChannel()PriceCompositeId.customerGroupId: id ofPriceDraft.getCustomerGroup()PriceCompositeId.validFrom:PriceDraft.getValidFrom()PriceCompositeId.validUntil:PriceDraft.getValidUntil() - of(PriceDraft) - Static method in class com.commercetools.sync.products.models.PriceDraftCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
PriceDraft - of(CustomObject) - Static method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
-
Given a
CustomObjectDraft, creates aCustomObjectCompositeIdentifierusing the following fields from the suppliedCustomObject:CustomObjectCompositeIdentifier.key: key ofCustomObject.getKey()CustomObjectCompositeIdentifier.container: container ofCustomObject.getContainer() - of(CustomObjectDraft) - Static method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
-
Given a
CustomObjectDraft, creates aCustomObjectCompositeIdentifierusing the following fields from the suppliedCustomObjectDraft:CustomObjectCompositeIdentifier.key: key ofCustomObjectDraft.getKey()CustomObjectCompositeIdentifier.container: container ofCustomObjectDraft.getContainer() - of(Customer) - Static method in class com.commercetools.sync.customers.models.CustomerCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
Customer - of(CustomerDraft) - Static method in class com.commercetools.sync.customers.models.CustomerDraftCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
CustomerDraft - of(InventoryEntry) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
-
Builds an
InventoryEntryIdentifierinstance given anInventoryEntryusing it's sku and supply channel id. - of(InventoryEntry) - Static method in class com.commercetools.sync.inventories.models.InventoryEntryCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
InventoryEntry - of(InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
-
Builds an
InventoryEntryIdentifierinstance given anInventoryEntryDraftusing its sku and supply channel id. - of(InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.models.InventoryEntryDraftCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
InventoryEntryDraft - of(AttributeDefinition) - Static method in class com.commercetools.sync.products.AttributeMetaData
-
Uses the supplied
AttributeDefinitioninstance to infer the name and whether it has the constraint "SameForAll" or not, to instantiate a newAttributeMetaDatacontaining the aforementioned information. - of(ShoppingList) - Static method in class com.commercetools.sync.shoppinglists.models.ShoppingListCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
ShoppingList - of(ShoppingListLineItem) - Static method in class com.commercetools.sync.shoppinglists.models.ShoppingListLineItemCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
ShoppingListLineItem - of(ShoppingListLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.models.ShoppingListLineItemDraftCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
ShoppingListLineItemDraft - of(TextLineItem) - Static method in class com.commercetools.sync.shoppinglists.models.TextLineItemCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
TextLineItem - of(TextLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.models.TextLineItemDraftCustomTypeAdapter
-
Build an adapter to be used for preparing custom type actions of with the given
TextLineItemDraft - of(String) - Static method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
-
Given a
Stringwith a format "container|key", creates aCustomObjectCompositeIdentifierusing the following fields from the supplied identifier as string. - of(String, String) - Static method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
-
Given a
StringandString, creates aCustomObjectCompositeIdentifierusing the following fields from the supplied attributes. - of(List<CategoryResourceIdentifier>, CategoryOrderHints) - Static method in class com.commercetools.sync.commons.helpers.CategoryResourceIdentifierPair
- ofBlackList(ActionGroup...) - Static method in class com.commercetools.sync.products.SyncFilter
- ofWhiteList(ActionGroup...) - Static method in class com.commercetools.sync.products.SyncFilter
- OptionalUtils - Class in com.commercetools.sync.commons.utils
- options - Variable in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
P
- pageSize(int) - Method in class com.commercetools.sync.commons.CleanupUnresolvedReferenceCustomObjects
-
Configures the pageSize (limit), the maximum number of results to return from the grapqhl query, which can be set using the limit query parameter.
- PlainEnumValueUpdateActionUtils - Class in com.commercetools.sync.producttypes.utils
- populateKeyToIdCachesForReferencedKeys(CategoryBatchValidator.ReferencedKeys) - Method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
-
Calls the
cacheKeysToIdsservice methods to fetch all the referenced keys (category and type) from the commercetools to populate caches for the reference resolution. - populateKeyToIdCachesForReferencedKeys(CustomerBatchValidator.ReferencedKeys) - Method in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
-
Calls the
cacheKeysToIdsservice methods to fetch all the referenced keys (i.e custom type, customer group) from the commercetools to populate caches for the reference resolution. - populateKeyToIdCachesForReferencedKeys(InventoryBatchValidator.ReferencedKeys) - Method in class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
-
Calls the
cacheKeysToIdsservice methods to fetch all the referenced keys (supply channel and type) from the commercetools to populate caches for the reference resolution. - populateKeyToIdCachesForReferencedKeys(ProductBatchValidator.ReferencedKeys) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Calls the
cacheKeysToIdsservice methods to fetch all the referenced keys (i.e product type, product attribute) from the commercetools to populate caches for the reference resolution. - populateKeyToIdCachesForReferencedKeys(ShoppingListBatchValidator.ReferencedKeys) - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListReferenceResolver
-
Calls the
cacheKeysToIdsservice methods to fetch all the referenced keys (i.e custom type, customer) from the CTP to populate caches for the reference resolution. - PriceCompositeId - Class in com.commercetools.sync.products.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
- PriceCustomTypeAdapter - Class in com.commercetools.sync.products.models
-
Adapt Customer with
Custominterface to be used onCustomUpdateActionUtils - PriceDraftCustomTypeAdapter - Class in com.commercetools.sync.products.models
-
Adapt Customer with
CustomDraftinterface to be used onCustomUpdateActionUtils - PriceReferenceResolver - Class in com.commercetools.sync.products.helpers
- PriceReferenceResolver(ProductSyncOptions, TypeService, ChannelService, CustomerGroupService) - Constructor for class com.commercetools.sync.products.helpers.PriceReferenceResolver
-
Takes a
ProductSyncOptionsinstance,TypeService, aChannelServiceand aCustomerGroupServiceto instantiate aPriceReferenceResolverinstance that could be used to resolve the prices of variant drafts in the CTP project specified in the injectedProductSyncOptionsinstance. - PRICES - com.commercetools.sync.products.ActionGroup
- PriceUtils - Class in com.commercetools.sync.products.utils
- PriceUtils() - Constructor for class com.commercetools.sync.products.utils.PriceUtils
- process(List<CartDiscountDraft>) - Method in class com.commercetools.sync.cartdiscounts.CartDiscountSync
-
Iterates through the whole
cartDiscountDraftslist and accumulates its valid drafts to batches. - process(List<CategoryDraft>) - Method in class com.commercetools.sync.categories.CategorySync
- process(List<CustomObjectDraft>) - Method in class com.commercetools.sync.customobjects.CustomObjectSync
-
Iterates through the whole
customObjectDraftslist and accumulates its valid drafts to batches. - process(List<CustomerDraft>) - Method in class com.commercetools.sync.customers.CustomerSync
-
Iterates through the whole
customerDraftslist and accumulates its valid drafts to batches. - process(List<InventoryEntryDraft>) - Method in class com.commercetools.sync.inventories.InventorySync
-
Iterates through the whole
inventorieslist and accumulates its valid drafts to batches. - process(List<ProductTypeDraft>) - Method in class com.commercetools.sync.producttypes.ProductTypeSync
-
Iterates through the whole
productTypeDraftslist and accumulates its valid drafts to batches. - process(List<ProductDraft>) - Method in class com.commercetools.sync.products.ProductSync
- process(List<ShoppingListDraft>) - Method in class com.commercetools.sync.shoppinglists.ShoppingListSync
-
Iterates through the whole
ShoppingListDraft's list and accumulates its valid drafts to batches. - process(List<StateDraft>) - Method in class com.commercetools.sync.states.StateSync
- process(List<TaxCategoryDraft>) - Method in class com.commercetools.sync.taxcategories.TaxCategorySync
- process(List<TypeDraft>) - Method in class com.commercetools.sync.types.TypeSync
-
Iterates through the whole
typeDraftslist and accumulates its valid drafts to batches. - process(List<ResourceDraftT>) - Method in class com.commercetools.sync.commons.BaseSync
-
Given a list of resource (e.g.
- processBatch(List<CartDiscountDraft>) - Method in class com.commercetools.sync.cartdiscounts.CartDiscountSync
- processBatch(List<CategoryDraft>) - Method in class com.commercetools.sync.categories.CategorySync
- processBatch(List<CustomObjectDraft>) - Method in class com.commercetools.sync.customobjects.CustomObjectSync
-
This method first creates a new
Setof validCustomObjectDraftelements. - processBatch(List<CustomerDraft>) - Method in class com.commercetools.sync.customers.CustomerSync
- processBatch(List<InventoryEntryDraft>) - Method in class com.commercetools.sync.inventories.InventorySync
-
Fetches existing
InventoryEntryobjects from CTP project that correspond to passedbatchOfDrafts. - processBatch(List<ProductTypeDraft>) - Method in class com.commercetools.sync.producttypes.ProductTypeSync
-
This method first creates a new
Setof validProductTypeDraftelements. - processBatch(List<ProductDraft>) - Method in class com.commercetools.sync.products.ProductSync
- processBatch(List<ShoppingListDraft>) - Method in class com.commercetools.sync.shoppinglists.ShoppingListSync
- processBatch(List<StateDraft>) - Method in class com.commercetools.sync.states.StateSync
- processBatch(List<TaxCategoryDraft>) - Method in class com.commercetools.sync.taxcategories.TaxCategorySync
-
This method first creates a new
Setof validTaxCategoryDraftelements. - processBatch(List<TypeDraft>) - Method in class com.commercetools.sync.types.TypeSync
-
This method first creates a new
Setof validTypeDraftelements. - processBatch(List<ResourceDraftT>) - Method in class com.commercetools.sync.commons.BaseSync
- PRODUCT_TYPE_DOES_NOT_EXIST - Static variable in class com.commercetools.sync.products.helpers.ProductReferenceResolver
- PRODUCT_TYPES - com.commercetools.sync.commons.models.GraphQlQueryResource
- ProductAssetActionFactory - Class in com.commercetools.sync.products.helpers
- ProductAssetActionFactory(Long, ProductSyncOptions) - Constructor for class com.commercetools.sync.products.helpers.ProductAssetActionFactory
- ProductBatchValidator - Class in com.commercetools.sync.products.helpers
- ProductBatchValidator(ProductSyncOptions, ProductSyncStatistics) - Constructor for class com.commercetools.sync.products.helpers.ProductBatchValidator
- ProductBatchValidator.ReferencedKeys - Class in com.commercetools.sync.products.helpers
- ProductReferenceResolutionUtils - Class in com.commercetools.sync.products.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- ProductReferenceResolver - Class in com.commercetools.sync.products.helpers
- ProductReferenceResolver(ProductSyncOptions, ProductTypeService, CategoryService, TypeService, ChannelService, CustomerGroupService, TaxCategoryService, StateService, ProductService, CustomObjectService, CustomerService) - Constructor for class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Takes a
ProductSyncOptionsinstance, aProductTypeService, aCategoryService, aTypeService, aChannelService, aCustomerGroupService, aTaxCategoryService, aStateServiceand aProductServiceto instantiate aProductReferenceResolverinstance 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 injectedProductSyncOptionsinstance. - PRODUCTS - com.commercetools.sync.commons.models.GraphQlQueryResource
- 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
ProductSyncOptionsinstance to instantiate a newProductSyncinstance that could be used to sync ProductProjection drafts with the given products in the CTP project specified in the injectedProductSyncOptionsinstance. - ProductSyncOptions - Class in com.commercetools.sync.products
- 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
- ProductTransformUtils - Class in com.commercetools.sync.products.utils
- ProductTransformUtils() - Constructor for class com.commercetools.sync.products.utils.ProductTransformUtils
- ProductTypeBatchValidator - Class in com.commercetools.sync.producttypes.helpers
- ProductTypeBatchValidator(ProductTypeSyncOptions, ProductTypeSyncStatistics) - Constructor for class com.commercetools.sync.producttypes.helpers.ProductTypeBatchValidator
- ProductTypeReferenceResolutionUtils - Class in com.commercetools.sync.producttypes.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- ProductTypeReferenceResolver - Class in com.commercetools.sync.producttypes.helpers
- ProductTypeReferenceResolver(ProductTypeSyncOptions, ProductTypeService) - Constructor for class com.commercetools.sync.producttypes.helpers.ProductTypeReferenceResolver
-
Takes a
ProductTypeSyncOptionsinstance and aProductTypeServiceto instantiate aAttributeDefinitionReferenceResolverinstance that could be used to resolve the AttributeDefinition references on the productType draft supplied to theProductTypeReferenceResolver.resolveReferences(ProductTypeDraft)method. - 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
- 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
- ProductTypeTransformUtils - Class in com.commercetools.sync.producttypes.utils
- ProductTypeTransformUtils() - Constructor for class com.commercetools.sync.producttypes.utils.ProductTypeTransformUtils
- ProductTypeUpdateActionUtils - 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
- putMissingNestedProductType(String, String, AttributeDefinitionDraft) - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeSyncStatistics
-
Adds a new entry for a
referencingAttributeDefinitionDraftthat is pointed to by areferencingProductTypeKeywhich is pointed to by amissingNestedProductTypeKey.
Q
- QuadConsumer<T,U,S,V> - Interface in com.commercetools.sync.commons.utils
-
Represents an operation that accepts four arguments and returns no result.
R
- REFERENCE_ID_FIELD - Static variable in class com.commercetools.sync.commons.utils.ResourceIdentifierUtils
- REFERENCE_TYPE_ID_FIELD - Static variable in class com.commercetools.sync.commons.utils.ResourceIdentifierUtils
- ReferencedKeys() - Constructor for class com.commercetools.sync.categories.helpers.CategoryBatchValidator.ReferencedKeys
- ReferencedKeys() - Constructor for class com.commercetools.sync.customers.helpers.CustomerBatchValidator.ReferencedKeys
- ReferencedKeys() - Constructor for class com.commercetools.sync.inventories.helpers.InventoryBatchValidator.ReferencedKeys
- ReferencedKeys() - Constructor for class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
- ReferencedKeys() - Constructor for class com.commercetools.sync.shoppinglists.helpers.ShoppingListBatchValidator.ReferencedKeys
- referenceIdToKeyCache - Variable in class com.commercetools.sync.services.impl.BaseTransformServiceImpl
- ReferenceIdToKeyCache - Interface in com.commercetools.sync.commons.utils
-
A Interface used to manage cache to store reference id to key pairs.
- ReferenceReplacementException - Exception in com.commercetools.sync.commons.exceptions
- ReferenceReplacementException(String, Set<Throwable>) - Constructor for exception com.commercetools.sync.commons.exceptions.ReferenceReplacementException
- 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
- ReferenceResolutionException(Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.ReferenceResolutionException
- ReferenceTransformException - Exception in com.commercetools.sync.commons.exceptions
- ReferenceTransformException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.ReferenceTransformException
- remove(String) - Method in class com.commercetools.sync.commons.utils.CaffeineReferenceIdToKeyCacheImpl
- remove(String) - Method in interface com.commercetools.sync.commons.utils.ReferenceIdToKeyCache
- removeAndGetReferencingKeys(String) - Method in class com.commercetools.sync.products.helpers.ProductSyncStatistics
- removeAndGetReferencingKeys(String) - Method in class com.commercetools.sync.states.helpers.StateSyncStatistics
- removeChildCategoryKeyFromMissingParentsMap(String, String) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
-
Given a child
childKeythis method removes its occurrences from the mapcategoryKeysWithMissingParents. - removeReferencingProductTypeKey(String) - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeSyncStatistics
-
Removes all occurrences of the referencing product type key from
ProductTypeSyncStatistics.missingNestedProductTypes. - replaceAttributeValueWithJsonAndReturnValue(Attribute) - Static method in class com.commercetools.sync.products.utils.AttributeUtils
-
Given an attribute this method converts it's value into
JsonNodeand set's the converted value in the attribute. - resolveCategoryReferences(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftBuilderthis method attempts to resolve the categories and categoryOrderHints to return aCompletionStagewhich contains a new instance of the builder with the resolved references. - resolveCustomerGroupReference(CustomerDraftBuilder) - Method in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
-
Given a
CustomerDraftBuilderthis method attempts to resolve the customer group to return aCompletionStagewhich contains a new instance of the builder with the resolved customer group reference. - resolveCustomerReference(ShoppingListDraftBuilder) - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListReferenceResolver
- resolveCustomTypeReference(BuilderT) - Method in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
-
Given a draft of
D(e.g. - resolveCustomTypeReference(BuilderT, Function<BuilderT, CustomFieldsDraft>, BiFunction<BuilderT, CustomFieldsDraft, BuilderT>, String) - Method in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
-
Given a draft of
D(e.g. - resolveCustomTypeReference(CartDiscountDraftBuilder) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountReferenceResolver
- resolveCustomTypeReference(CategoryDraftBuilder) - Method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
- resolveCustomTypeReference(AssetDraftBuilder) - Method in class com.commercetools.sync.commons.helpers.AssetReferenceResolver
- resolveCustomTypeReference(PriceDraftBuilder) - Method in class com.commercetools.sync.products.helpers.PriceReferenceResolver
- resolveCustomTypeReference(CustomerDraftBuilder) - Method in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
- resolveCustomTypeReference(InventoryEntryDraftBuilder) - Method in class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
- resolveCustomTypeReference(ShoppingListDraftBuilder) - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListReferenceResolver
- resolveCustomTypeReference(ShoppingListLineItemDraftBuilder) - Method in class com.commercetools.sync.shoppinglists.helpers.LineItemReferenceResolver
- resolveCustomTypeReference(TextLineItemDraftBuilder) - Method in class com.commercetools.sync.shoppinglists.helpers.TextLineItemReferenceResolver
- resolveProductTypeReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftBuilderthis method attempts to resolve the product type to return aCompletionStagewhich contains a new instance of the builder with the resolved product type reference. - resolveReferences(CartDiscountDraft) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountReferenceResolver
-
Given a
CartDiscountDraftthis method attempts to resolve the custom type reference to return aCompletionStagewhich contains a new instance of the draft with the resolved reference or, in case an error occurs during reference resolution, aReferenceResolutionException. - resolveReferences(CategoryDraft) - Method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
-
Given a
CategoryDraftthis method attempts to resolve the custom type and parent category references to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(AssetDraft) - Method in class com.commercetools.sync.commons.helpers.AssetReferenceResolver
- resolveReferences(PriceDraft) - Method in class com.commercetools.sync.products.helpers.PriceReferenceResolver
-
Given a
PriceDraftthis method attempts to resolve the custom type and channel references to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(CustomerDraft) - Method in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
-
Given a
CustomerDraftthis method attempts to resolve the stores, customer group and custom type references to return aCompletionStagewhich contains a new instance of the draft with the resolved references or, in case an error occurs during reference resolution, aReferenceResolutionException. - resolveReferences(InventoryEntryDraft) - Method in class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
-
Given a
InventoryEntryDraftthis method attempts to resolve the custom type and supply channel resource identifiers to return aCompletionStagewhich contains a new instance of the draft with the resolved resource identifiers. - resolveReferences(AttributeDefinitionDraft) - Method in class com.commercetools.sync.producttypes.helpers.AttributeDefinitionReferenceResolver
-
Given an
AttributeDefinitionDraftthis method attempts to resolve the ProductType references, which can exist on attributeDefinition with an AttributeType: NestedType or SetType of NestedType, to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(ProductTypeDraft) - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeReferenceResolver
-
Given a
ProductTypeDraftthis method attempts to resolve the attribute definition references to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(ProductDraft) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftthis method attempts to resolve the product type, categories, variants, tax category and product state references to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(ProductVariantDraft) - Method in class com.commercetools.sync.products.helpers.VariantReferenceResolver
-
Given a
ProductVariantDraftthis method attempts to resolve the prices, assets and attributes to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(ShoppingListDraft) - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListReferenceResolver
-
Given a
ShoppingListDraftthis method attempts to resolve the customer and custom type references to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(ShoppingListLineItemDraft) - Method in class com.commercetools.sync.shoppinglists.helpers.LineItemReferenceResolver
-
Given a
ShoppingListLineItemDraftthis method attempts to resolve the custom type reference to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(TextLineItemDraft) - Method in class com.commercetools.sync.shoppinglists.helpers.TextLineItemReferenceResolver
-
Given a
TextLineItemDraftthis method attempts to resolve the attribute definition references to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(StateDraft) - Method in class com.commercetools.sync.states.helpers.StateReferenceResolver
-
Given a
StateDraftthis method attempts to resolve the transition state references to return aCompletionStagewhich contains a new instance of the draft with the resolved references. - resolveReferences(ResourceDraftT) - 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
CompletionStagewhich contains a new instance of the draft with the resolved references. - resolveStateReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftBuilderthis method attempts to resolve the state to return aCompletionStagewhich contains a new instance of the builder with the resolved state reference. - resolveStoreReferences(CustomerDraftBuilder) - Method in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
-
Given a
CustomerDraftBuilderthis method attempts to resolve the stores and return aCompletionStagewhich contains a new instance of the builder with the resolved references. - resolveTaxCategoryReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftBuilderthis method attempts to resolve the tax category to return aCompletionStagewhich contains a new instance of the builder with the resolved tax category reference. - ResourceIdentifierUtils - Class in com.commercetools.sync.commons.utils
- ResourceToDraftConverters - Class in com.commercetools.sync.producttypes.helpers
- ResourceToDraftConverters() - Constructor for class com.commercetools.sync.producttypes.helpers.ResourceToDraftConverters
S
- save(WaitingToBeResolvedT, String, Class<WaitingToBeResolvedT>) - Method in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- save(WaitingToBeResolvedT, String, Class<WaitingToBeResolvedT>) - Method in interface com.commercetools.sync.services.UnresolvedReferencesService
-
Persists a draft that is not ready to be resolved yet.
- SEARCHKEYWORDS - com.commercetools.sync.products.ActionGroup
- SELF_REFERENCING_ID_PLACE_HOLDER - Static variable in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
- setCategoryDraft(CategoryDraft) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- setMissingReferencedCategoriesKeys(Set<String>) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- setMissingReferencedProductKeys(Set<String>) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
- setMissingTransitionStateKeys(Set<String>) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
- setProductDraft(ProductDraft) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
- setStateDraft(StateDraft) - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
- SHOPPING_LIST_DRAFT_IS_NULL - Static variable in class com.commercetools.sync.shoppinglists.helpers.ShoppingListBatchValidator
- SHOPPING_LIST_DRAFT_KEY_NOT_SET - Static variable in class com.commercetools.sync.shoppinglists.helpers.ShoppingListBatchValidator
- SHOPPING_LIST_DRAFT_NAME_NOT_SET - Static variable in class com.commercetools.sync.shoppinglists.helpers.ShoppingListBatchValidator
- SHOPPING_LISTS - com.commercetools.sync.commons.models.GraphQlQueryResource
- ShoppingListBatchValidator - Class in com.commercetools.sync.shoppinglists.helpers
- ShoppingListBatchValidator(ShoppingListSyncOptions, ShoppingListSyncStatistics) - Constructor for class com.commercetools.sync.shoppinglists.helpers.ShoppingListBatchValidator
- ShoppingListBatchValidator.ReferencedKeys - Class in com.commercetools.sync.shoppinglists.helpers
- ShoppingListCustomActionBuilder - Class in com.commercetools.sync.shoppinglists.utils
- ShoppingListCustomTypeAdapter - Class in com.commercetools.sync.shoppinglists.models
-
Adapt ShoppingList with
Custominterface to be used onCustomUpdateActionUtils - ShoppingListLineItemCustomTypeAdapter - Class in com.commercetools.sync.shoppinglists.models
-
Adapt ShoppingListLineItem with
Custominterface to be used onCustomUpdateActionUtils - ShoppingListLineItemDraftCustomTypeAdapter - Class in com.commercetools.sync.shoppinglists.models
-
Adapt ShoppingListLineItemDraft with
CustomDraftinterface to be used onCustomUpdateActionUtils - ShoppingListReferenceResolutionUtils - Class in com.commercetools.sync.shoppinglists.utils
-
Util class which provides utilities that can be used when syncing shopping lists from a source commercetools project to a target one.
- ShoppingListReferenceResolver - Class in com.commercetools.sync.shoppinglists.helpers
- ShoppingListReferenceResolver(ShoppingListSyncOptions, CustomerService, TypeService) - Constructor for class com.commercetools.sync.shoppinglists.helpers.ShoppingListReferenceResolver
-
Takes a
ShoppingListSyncOptionsinstance, aCustomerServiceandTypeServiceto instantiate aShoppingListReferenceResolverinstance that could be used to resolve the shopping list drafts in the CTP project specified in the injectedShoppingListSyncOptionsinstance. - ShoppingListService - Interface in com.commercetools.sync.services
- ShoppingListServiceImpl - Class in com.commercetools.sync.services.impl
-
Implementation of ShoppingListService interface.
- ShoppingListServiceImpl(ShoppingListSyncOptions) - Constructor for class com.commercetools.sync.services.impl.ShoppingListServiceImpl
- ShoppingListSync - Class in com.commercetools.sync.shoppinglists
-
This class syncs shopping list drafts with corresponding shopping list resources in the CTP project.
- ShoppingListSync(ShoppingListSyncOptions) - Constructor for class com.commercetools.sync.shoppinglists.ShoppingListSync
-
Takes a
ShoppingListSyncOptionsto instantiate a newShoppingListSyncinstance that could be used to sync shopping list drafts in the CTP project specified in the injectedShoppingListSyncOptionsinstance. - ShoppingListSync(ShoppingListSyncOptions, ShoppingListService, CustomerService, TypeService) - Constructor for class com.commercetools.sync.shoppinglists.ShoppingListSync
-
Takes a
ShoppingListSyncOptionsand service instances to instantiate a newShoppingListSyncinstance that could be used to sync shopping list drafts in the CTP project specified in the injectedShoppingListSyncOptionsinstance. - ShoppingListSyncOptions - Class in com.commercetools.sync.shoppinglists
- ShoppingListSyncOptionsBuilder - Class in com.commercetools.sync.shoppinglists
- ShoppingListSyncStatistics - Class in com.commercetools.sync.shoppinglists.helpers
- ShoppingListSyncStatistics() - Constructor for class com.commercetools.sync.shoppinglists.helpers.ShoppingListSyncStatistics
- ShoppingListSyncUtils - Class in com.commercetools.sync.shoppinglists.utils
- ShoppingListTransformUtils - Class in com.commercetools.sync.shoppinglists.utils
- ShoppingListTransformUtils() - Constructor for class com.commercetools.sync.shoppinglists.utils.ShoppingListTransformUtils
- ShoppingListUpdateActionUtils - Class in com.commercetools.sync.shoppinglists.utils
- shouldEnsureChannels() - Method in class com.commercetools.sync.inventories.InventorySyncOptions
- shouldEnsurePriceChannels() - Method in class com.commercetools.sync.products.ProductSyncOptions
- SKU - com.commercetools.sync.products.ActionGroup
- SLUG - com.commercetools.sync.products.ActionGroup
- sortPriceActions(List<ProductUpdateAction>) - Static method in class com.commercetools.sync.products.utils.UpdateActionsSortUtils
-
Given a list of update actions, this method returns a copy of the supplied list but sorted with the following precedence:
ProductRemovePriceActionProductChangePriceActionorProductSetProductPriceCustomTypeActionorProductSetProductPriceCustomFieldActionProductAddPriceAction - startTimer() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Stores the current time of instantiation in the
latestBatchStartTimeinstance variable that will be used later whenBaseSyncStatistics.calculateProcessingTime()is called to calculate the total time of processing. - STATE - com.commercetools.sync.products.ActionGroup
- STATE_DOES_NOT_EXIST - Static variable in class com.commercetools.sync.products.helpers.ProductReferenceResolver
- StateBatchValidator - Class in com.commercetools.sync.states.helpers
- StateBatchValidator(StateSyncOptions, StateSyncStatistics) - Constructor for class com.commercetools.sync.states.helpers.StateBatchValidator
- StateReferenceResolutionUtils - Class in com.commercetools.sync.states.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- StateReferenceResolver - Class in com.commercetools.sync.states.helpers
- StateReferenceResolver(StateSyncOptions, StateService) - Constructor for class com.commercetools.sync.states.helpers.StateReferenceResolver
-
Takes a
StateSyncOptionsinstance, aStateServiceto instantiate aStateReferenceResolverinstance that could be used to resolve the category drafts in the CTP project specified in the injectedStateSyncOptionsinstance. - STATES - com.commercetools.sync.commons.models.GraphQlQueryResource
- StateService - Interface in com.commercetools.sync.services
- StateServiceImpl - Class in com.commercetools.sync.services.impl
- StateServiceImpl(StateSyncOptions) - Constructor for class com.commercetools.sync.services.impl.StateServiceImpl
- StateSync - Class in com.commercetools.sync.states
- StateSync(StateSyncOptions) - Constructor for class com.commercetools.sync.states.StateSync
- StateSyncOptions - Class in com.commercetools.sync.states
- StateSyncOptionsBuilder - Class in com.commercetools.sync.states
- StateSyncStatistics - Class in com.commercetools.sync.states.helpers
- StateSyncStatistics() - Constructor for class com.commercetools.sync.states.helpers.StateSyncStatistics
- StateSyncUtils - Class in com.commercetools.sync.states.utils
- StateTransformUtils - Class in com.commercetools.sync.states.utils
- StateTransformUtils() - Constructor for class com.commercetools.sync.states.utils.StateTransformUtils
- StateUpdateActionUtils - Class in com.commercetools.sync.states.utils
- statistics - Variable in class com.commercetools.sync.commons.BaseSync
- StreamUtils - Class in com.commercetools.sync.commons.utils
- sync(List<ResourceDraftT>) - Method in class com.commercetools.sync.commons.BaseSync
-
Given a list of resource (e.g.
- syncBatches(List<List<ResourceDraftT>>, CompletionStage<SyncStatisticsT>) - Method in class com.commercetools.sync.commons.BaseSync
-
Given a list of resource (e.g.
- SyncException - Exception in com.commercetools.sync.commons.exceptions
- SyncException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.SyncException
- SyncException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.SyncException
- SyncException(Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.SyncException
- syncFilter(SyncFilter) - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
-
Set option that defines
SyncFilterfor 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). - syncFrenchDataOnly(List<ProductUpdateAction>, ProductDraft, ProductProjection) - Static method in class com.commercetools.sync.products.templates.beforeupdatecallback.SyncSingleLocale
-
Takes in a
Listof product update actions that was built from comparing anewProductDraftand anoldProductand maps the update actions so that only localizations with valueLocale.FRENCHare synced and all the other locales are left untouched. - syncOptions - Variable in class com.commercetools.sync.commons.BaseSync
- syncOptions - Variable in class com.commercetools.sync.commons.helpers.AssetActionFactory
- SyncSingleLocale - Class in com.commercetools.sync.products.templates.beforeupdatecallback
- SyncSolutionInfo - Class in com.commercetools.sync.commons.utils
- SyncSolutionInfo() - Constructor for class com.commercetools.sync.commons.utils.SyncSolutionInfo
-
Extends
SolutionInfoclass 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
- TAX_CATEGORIES - com.commercetools.sync.commons.models.GraphQlQueryResource
- TAX_CATEGORY_DOES_NOT_EXIST - Static variable in class com.commercetools.sync.products.helpers.ProductReferenceResolver
- TAXCATEGORY - com.commercetools.sync.products.ActionGroup
- TaxCategoryBatchValidator - Class in com.commercetools.sync.taxcategories.helpers
- TaxCategoryBatchValidator(TaxCategorySyncOptions, TaxCategorySyncStatistics) - Constructor for class com.commercetools.sync.taxcategories.helpers.TaxCategoryBatchValidator
- TaxCategoryService - Interface in com.commercetools.sync.services
- TaxCategoryServiceImpl - Class in com.commercetools.sync.services.impl
- TaxCategoryServiceImpl(TaxCategorySyncOptions) - Constructor for class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
- TaxCategorySync - Class in com.commercetools.sync.taxcategories
- TaxCategorySync(TaxCategorySyncOptions) - Constructor for class com.commercetools.sync.taxcategories.TaxCategorySync
- TaxCategorySyncOptions - Class in com.commercetools.sync.taxcategories
- TaxCategorySyncOptionsBuilder - Class in com.commercetools.sync.taxcategories
- TaxCategorySyncStatistics - Class in com.commercetools.sync.taxcategories.helpers
-
Tax category sync statistics.
- TaxCategorySyncStatistics() - Constructor for class com.commercetools.sync.taxcategories.helpers.TaxCategorySyncStatistics
- TaxCategorySyncUtils - Class in com.commercetools.sync.taxcategories.utils
- TaxCategoryUpdateActionUtils - Class in com.commercetools.sync.taxcategories.utils
- TEMPORARY_MASTER_SKU_SUFFIX - Static variable in class com.commercetools.sync.products.utils.ProductSyncUtils
- TextLineItemCustomActionBuilder - Class in com.commercetools.sync.shoppinglists.utils
- TextLineItemCustomActionBuilder() - Constructor for class com.commercetools.sync.shoppinglists.utils.TextLineItemCustomActionBuilder
- TextLineItemCustomTypeAdapter - Class in com.commercetools.sync.shoppinglists.models
-
Adapt TextLineItem with
Custominterface to be used onCustomUpdateActionUtils - TextLineItemDraftCustomTypeAdapter - Class in com.commercetools.sync.shoppinglists.models
-
Adapt TextLineItemDraft with
CustomDraftinterface to be used onCustomUpdateActionUtils - TextLineItemReferenceResolver - Class in com.commercetools.sync.shoppinglists.helpers
- TextLineItemReferenceResolver(ShoppingListSyncOptions, TypeService) - Constructor for class com.commercetools.sync.shoppinglists.helpers.TextLineItemReferenceResolver
-
Takes a
ShoppingListSyncOptionsinstance, aTypeServiceto instantiate aTextLineItemReferenceResolverinstance that could be used to resolve the text line-item drafts in the CTP project specified in the injectedShoppingListSyncOptionsinstance. - TextLineItemUpdateActionUtils - Class in com.commercetools.sync.shoppinglists.utils
- toAttributeDefinitionDraftBuilder(AttributeDefinition) - Static method in class com.commercetools.sync.producttypes.helpers.ResourceToDraftConverters
- toCartDiscountDrafts(ProjectApiRoot, ReferenceIdToKeyCache, List<CartDiscount>) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountTransformUtils
-
Transforms cartDiscounts by resolving the references and map them to CartDiscountDrafts.
- toCategoryDrafts(ProjectApiRoot, ReferenceIdToKeyCache, List<Category>) - Static method in class com.commercetools.sync.categories.utils.CategoryTransformUtils
-
Transforms categories by resolving the references and map them to CategoryDrafts.
- toCustomerDrafts(ProjectApiRoot, ReferenceIdToKeyCache, List<Customer>) - Static method in class com.commercetools.sync.customers.utils.CustomerTransformUtils
-
Transforms customers by resolving the references and map them to CustomerDrafts.
- toInventoryEntryDrafts(ProjectApiRoot, ReferenceIdToKeyCache, List<InventoryEntry>) - Static method in class com.commercetools.sync.inventories.utils.InventoryTransformUtils
-
Transforms InventoryEntries by resolving the references and map them to InventoryEntryDrafts.
- toProductDrafts(ProjectApiRoot, ReferenceIdToKeyCache, List<ProductProjection>) - Static method in class com.commercetools.sync.products.utils.ProductTransformUtils
-
Transforms products by resolving the references and map them to ProductDrafts.
- toProductTypeDraft(ProductType) - Static method in class com.commercetools.sync.producttypes.helpers.ResourceToDraftConverters
- toProductTypeDraftBuilder(ProductType) - Static method in class com.commercetools.sync.producttypes.helpers.ResourceToDraftConverters
- toProductTypeDrafts(ProjectApiRoot, ReferenceIdToKeyCache, List<ProductType>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeTransformUtils
-
Transforms productTypes by resolving the references and map them to ProductTypeDrafts.
- toShoppingListDrafts(ProjectApiRoot, ReferenceIdToKeyCache, List<ShoppingList>) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListTransformUtils
-
Transforms ShoppingLists by resolving the references and map them to ShoppingListDrafts.
- toStateDrafts(ProjectApiRoot, ReferenceIdToKeyCache, List<State>) - Static method in class com.commercetools.sync.states.utils.StateTransformUtils
-
Transforms States by resolving the references and map them to StateDrafts.
- toString() - Method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
- toString() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- TriConsumer<T,U,V> - Interface in com.commercetools.sync.commons.utils
-
Represents an operation that accepts three arguments and returns no result.
- TriFunction<T,U,S,R> - Interface in com.commercetools.sync.commons.utils
-
Represents a function that accepts three arguments and produces a result.
- TYPE_DOES_NOT_EXIST - Static variable in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
- TypeBatchValidator - Class in com.commercetools.sync.types.helpers
- TypeBatchValidator(TypeSyncOptions, TypeSyncStatistics) - Constructor for class com.commercetools.sync.types.helpers.TypeBatchValidator
- TYPES - com.commercetools.sync.commons.models.GraphQlQueryResource
- TypeService - Interface in com.commercetools.sync.services
- TypeServiceImpl - Class in com.commercetools.sync.services.impl
- TypeServiceImpl(BaseSyncOptions) - Constructor for class com.commercetools.sync.services.impl.TypeServiceImpl
- TypeSync - Class in com.commercetools.sync.types
-
This class syncs type drafts with the corresponding types in the CTP project.
- TypeSync(TypeSyncOptions) - Constructor for class com.commercetools.sync.types.TypeSync
- TypeSyncOptions - Class in com.commercetools.sync.types
- TypeSyncOptionsBuilder - Class in com.commercetools.sync.types
- TypeSyncStatistics - Class in com.commercetools.sync.types.helpers
- TypeSyncStatistics() - Constructor for class com.commercetools.sync.types.helpers.TypeSyncStatistics
- TypeSyncUtils - Class in com.commercetools.sync.types.utils
- TypeUpdateActionUtils - Class in com.commercetools.sync.types.utils
U
- UnorderedCollectionSyncUtils - Class in com.commercetools.sync.products.utils
-
This class is only meant for the internal use of the commercetools-sync-java library.
- UnresolvedReferencesService<WaitingToBeResolvedT extends WaitingToBeResolved> - Interface in com.commercetools.sync.services
- UnresolvedReferencesServiceImpl<WaitingToBeResolvedT extends WaitingToBeResolved> - Class in com.commercetools.sync.services.impl
- UnresolvedReferencesServiceImpl(BaseSyncOptions) - Constructor for class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- UpdateActionsSortUtils - Class in com.commercetools.sync.products.utils
-
This class is only meant for the internal use of the commercetools-sync-java library.
- updateCartDiscount(CartDiscount, List<CartDiscountUpdateAction>) - Method in interface com.commercetools.sync.services.CartDiscountService
-
Given a
CartDiscountand aList<CartDiscountUpdateAction>, this method issues an update request with these update actions on thisCartDiscountin the CTP project defined in a potentially injectedProjectApiRoot. - updateCartDiscount(CartDiscount, List<CartDiscountUpdateAction>) - Method in class com.commercetools.sync.services.impl.CartDiscountServiceImpl
- updateCategory(Category, List<CategoryUpdateAction>) - Method in interface com.commercetools.sync.services.CategoryService
-
Given a
Categoryand aList<CategoryUpdateAction>, this method issues an update request with these update actions on thisCategoryin the CTP project defined in a potentially injectedProjectApiRoot. - updateCategory(Category, List<CategoryUpdateAction>) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
- updateCustomer(Customer, List<CustomerUpdateAction>) - Method in interface com.commercetools.sync.services.CustomerService
-
Given a
Customerand aList<CustomerUpdateAction<Customer>>, this method issues an update request with these update actions on thisCustomerin the CTP project defined in a potentially injectedProjectApiRoot. - updateCustomer(Customer, List<CustomerUpdateAction>) - Method in class com.commercetools.sync.services.impl.CustomerServiceImpl
- updateInventoryEntry(InventoryEntry, List<InventoryEntryUpdateAction>) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
- updateInventoryEntry(InventoryEntry, List<InventoryEntryUpdateAction>) - Method in interface com.commercetools.sync.services.InventoryService
-
Updates existing inventory entry with
updateActions. - updateProduct(ProductProjection, List<ProductUpdateAction>) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
- updateProduct(ProductProjection, List<ProductUpdateAction>) - Method in interface com.commercetools.sync.services.ProductService
-
Given a
ProductProjectionand aList<ProductUpdateAction>, this method issues an update request with these update actions on thisProductProjectionin the CTP project defined in a potentially injectedProjectApiRoot. - updateProductType(ProductType, List<ProductTypeUpdateAction>) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
- updateProductType(ProductType, List<ProductTypeUpdateAction>) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Updates existing product type with
updateActions. - updateShoppingList(ShoppingList, List<ShoppingListUpdateAction>) - Method in class com.commercetools.sync.services.impl.ShoppingListServiceImpl
- updateShoppingList(ShoppingList, List<ShoppingListUpdateAction>) - Method in interface com.commercetools.sync.services.ShoppingListService
-
Given a
ShoppingListand aList<ShoppingListUpdateAction>, this method issues an update request with these update actions on thisShoppingListin the CTP project defined in a potentially injectedProjectApiRoot. - updateState(State, List<StateUpdateAction>) - Method in class com.commercetools.sync.services.impl.StateServiceImpl
- updateState(State, List<StateUpdateAction>) - Method in interface com.commercetools.sync.services.StateService
-
Given a
Stateand aList<StateUpdateAction>, this method issues an update request with these update actions on thisStatein the CTP project defined in a potentially injectedProjectApiRoot. - updateTaxCategory(TaxCategory, List<TaxCategoryUpdateAction>) - Method in class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
- updateTaxCategory(TaxCategory, List<TaxCategoryUpdateAction>) - Method in interface com.commercetools.sync.services.TaxCategoryService
-
Given a
TaxCategoryand aList<TaxCategoryUpdateAction<TaxCategory>>, this method issues an update request with these update actions on thisTaxCategoryin the CTP project defined in a potentially injectedProjectApiRoot. - updateType(Type, List<TypeUpdateAction>) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
- updateType(Type, List<TypeUpdateAction>) - Method in interface com.commercetools.sync.services.TypeService
-
Given a
Typeand aList<TypeUpdateAction<Type>>, this method issues an update request with these update actions on thisTypein the CTP project defined in an injectedProjectApiRoot. - upsertCustomObject(CustomObjectDraft) - Method in interface com.commercetools.sync.services.CustomObjectService
-
Given a resource draft of CustomObject
CustomObjectDraft, this method attempts to create or update a resourceCustomObjectbased on it in the CTP project defined by the sync options. - upsertCustomObject(CustomObjectDraft) - Method in class com.commercetools.sync.services.impl.CustomObjectServiceImpl
V
- validateAndCollectReferencedKeys(List<CartDiscountDraft>) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountBatchValidator
-
Given the
List<CartDiscountDraft> of drafts this method attempts to validate drafts and collect referenced type keys from the draft and return anImmutablePair<Set<CartDiscountDraft> ,Set<String>> which contains theSetof valid drafts and referenced type keys. - validateAndCollectReferencedKeys(List<CategoryDraft>) - Method in class com.commercetools.sync.categories.helpers.CategoryBatchValidator
-
Given the
List<CategoryDraft> of drafts this method attempts to validate drafts and collect referenced keys from the draft and return anImmutablePair<Set<CategoryDraft>,CategoryBatchValidator.ReferencedKeys> which contains theSetof valid drafts and referenced keys within a wrapper. - validateAndCollectReferencedKeys(List<CustomObjectDraft>) - Method in class com.commercetools.sync.customobjects.helpers.CustomObjectBatchValidator
-
Given the
List<CustomObjectDraft> of drafts this method attempts to validate drafts and return anImmutablePair<Set<CustomObjectDraft>,Set<CustomObjectCompositeIdentifier>> which contains theSetof valid drafts and valid custom object identifiers (container with key). - validateAndCollectReferencedKeys(List<CustomerDraft>) - Method in class com.commercetools.sync.customers.helpers.CustomerBatchValidator
-
Given the
List<CustomerDraft> of drafts this method attempts to validate drafts and return anImmutablePair<Set<CustomerDraft>,CustomerBatchValidator.ReferencedKeys> which contains theSetof valid drafts and referenced keys within a wrapper. - validateAndCollectReferencedKeys(List<InventoryEntryDraft>) - Method in class com.commercetools.sync.inventories.helpers.InventoryBatchValidator
-
Given the
List<InventoryEntryDraft> of drafts this method attempts to validate drafts and collect referenced keys from the draft and return anImmutablePair<Set<InventoryEntryDraft>,InventoryBatchValidator.ReferencedKeys> which contains theSetof valid drafts and referenced keys within a wrapper. - validateAndCollectReferencedKeys(List<ProductTypeDraft>) - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeBatchValidator
-
Given the
List<ProductTypeDraft> of drafts this method attempts to validate drafts and collect referenced keys from the draft and return anImmutablePair<Set<ProductTypeDraft> ,Set<String>> which contains theSetof valid drafts and referenced product type keys. - validateAndCollectReferencedKeys(List<ProductDraft>) - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator
-
Given the
List<ProductDraft> of drafts this method attempts to validate drafts and collect referenced keys from the draft and return anImmutablePair<Set<ProductDraft>,ProductBatchValidator.ReferencedKeys> which contains theSetof valid drafts and referenced keys within a wrapper. - validateAndCollectReferencedKeys(List<ShoppingListDraft>) - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListBatchValidator
-
Given the
List<ShoppingListDraft> of drafts this method attempts to validate drafts and collect referenced type keys from the draft and return anImmutablePair<Set<ShoppingListDraft>,ShoppingListBatchValidator.ReferencedKeys> which contains theSetof valid drafts and referenced keys. - validateAndCollectReferencedKeys(List<StateDraft>) - Method in class com.commercetools.sync.states.helpers.StateBatchValidator
-
Given the
List<StateDraft> of drafts this method attempts to validate drafts and collect referenced keys from the draft and return anImmutablePair<Set<StateDraft> ,Set<String>> which contains theSetof valid drafts and referenced state transition keys. - validateAndCollectReferencedKeys(List<TaxCategoryDraft>) - Method in class com.commercetools.sync.taxcategories.helpers.TaxCategoryBatchValidator
-
Given the
List<TaxCategoryDraft> of drafts this method attempts to validate drafts and return anImmutablePair<Set<TaxCategoryDraft>,Set<String>> which contains theSetof valid drafts and valid tax category keys. - validateAndCollectReferencedKeys(List<TypeDraft>) - Method in class com.commercetools.sync.types.helpers.TypeBatchValidator
-
Given the
List<TypeDraft> of drafts this method attempts to validate drafts and return anImmutablePair<Set<TypeDraft>,Set<String>> which contains theSetof valid drafts and valid type keys. - validateAndCollectReferencedKeys(List<ResourceDraftT>) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
-
Given the
List<D> (e.g.CustomerDraft) of drafts this method attempts to validate drafts and collect referenced keys from the draft and return anImmutablePair<Set<D>, ?> which contains theSetof valid drafts and referenced keys. - valueOf(String) - Static method in enum com.commercetools.sync.commons.models.GraphQlQueryResource
-
Returns the enum constant of this type with the specified name.
- 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.commons.models.GraphQlQueryResource
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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.
- VariantReferenceResolutionUtils - Class in com.commercetools.sync.products.utils
-
Util class which provides utilities that can be used when syncing resources from a source commercetools project to a target one.
- VariantReferenceResolver - Class in com.commercetools.sync.products.helpers
- VariantReferenceResolver(ProductSyncOptions, TypeService, ChannelService, CustomerGroupService, ProductService, ProductTypeService, CategoryService, CustomObjectService, StateService, CustomerService) - Constructor for class com.commercetools.sync.products.helpers.VariantReferenceResolver
-
Instantiates a
VariantReferenceResolverinstance that could be used to resolve the variants of product drafts in the CTP project specified in the injectedProductSyncOptionsinstance.
W
- WaitingToBeResolved - Interface in com.commercetools.sync.commons.models
- WaitingToBeResolvedCategories - Class in com.commercetools.sync.commons.models
- WaitingToBeResolvedCategories() - Constructor for class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- WaitingToBeResolvedCategories(CategoryDraft, Set<String>) - Constructor for class com.commercetools.sync.commons.models.WaitingToBeResolvedCategories
- WaitingToBeResolvedProducts - Class in com.commercetools.sync.commons.models
- WaitingToBeResolvedProducts() - Constructor for class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
- WaitingToBeResolvedProducts(ProductDraft, Set<String>) - Constructor for class com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
-
Represents a productDraft that is waiting for some product references, which are on this productDraft as attributes, to be resolved.
- WaitingToBeResolvedTransitions - Class in com.commercetools.sync.commons.models
- WaitingToBeResolvedTransitions() - Constructor for class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
- WaitingToBeResolvedTransitions(StateDraft, Set<String>) - Constructor for class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
-
Represents a statedraft that is waiting for some state references, which are on this stateDraft as transitions, to be resolved.
- warningCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- warningCallback(TriConsumer<SyncException, Optional<ResourceDraftT>, Optional<ResourceT>>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the
warningCallbackfunction of the sync module.
All Classes All Packages