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
- AddLineItemWithSku - Class in com.commercetools.sync.shoppinglists.commands.updateactions
-
TODO (JVM-SDK): https://github.com/commercetools/commercetools-jvm-sdk/issues/2079 ShoppingList#AddLineItem action does not support product variant selection by SKU, so we needed to add this custom action as a workaround.
- 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
missingParentCategoryKey
in 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
missingParentCategoryKey
in 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
missingParentStateKey
in thestateKeysWithMissingParents
, if there isn't it creates a new entry with this parent key and as a value a new set containing thechildKey
. - AddTextLineItemWithAddedAt - Class in com.commercetools.sync.shoppinglists.commands.updateactions
-
TODO (JVM-SDK): https://github.com/commercetools/commercetools-jvm-sdk/issues/2079 ShoppingList#AddTextLineItem action does not support `addedAt` value, so we needed to add this custom action as a workaround.
- apply(T, U, S) - Method in interface com.commercetools.sync.commons.utils.TriFunction
-
Applies this function to the given arguments.
- applyBeforeCreateCallback(V) - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Given a new resource draft of type
V
this method applies thebeforeCreateCallback
function which is set tothis
instance of theBaseSyncOptions
and returns the result. - applyBeforeUpdateCallback(List<UpdateAction<U>>, V, U) - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Given a
List
ofUpdateAction
, a new resource draft of typeV
and the old existing resource of the typeU
, this method applies thebeforeUpdateCallback
function which is set tothis
instance of theBaseSyncOptions
and returns the result. - applyErrorCallback(SyncException) - Method in class com.commercetools.sync.commons.BaseSyncOptions
- applyErrorCallback(SyncException, U, V, List<UpdateAction<U>>) - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Given an
errorMessage
and anexception
, this method calls theerrorCallback
function which is set tothis
instance of theBaseSyncOptions
. - applyErrorCallback(String) - Method in class com.commercetools.sync.commons.BaseSyncOptions
- applyWarningCallback(SyncException, U, V) - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Given an
exception
,oldResource
andnewResourceDraft
this method calls thewarningCallback
function which is set tothis
instance of theBaseSyncOptions
. - areResourceIdentifiersEqual(T, S) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares the ids of two objects that are of type
ResourceIdentifier
(or a type that extends it). - ASSET_KEY_NOT_SET - Static variable in class com.commercetools.sync.commons.utils.AssetsUpdateActionUtils
- AssetActionFactory<T extends io.sphere.sdk.models.Resource,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
- 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
BaseSyncOptions
instance and aTypeService
to instantiate aAssetReferenceResolver
instance that could be used to resolve the asset drafts in the CTP project specified in the injectedBaseSyncOptions
instance. - ASSETS - com.commercetools.sync.products.ActionGroup
- AssetsUpdateActionUtils - Class in com.commercetools.sync.commons.utils
- 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
B
- BaseBatchValidator<D,O extends BaseSyncOptions,S extends BaseSyncStatistics> - Class in com.commercetools.sync.commons.helpers
- BaseBatchValidator(O, S) - Constructor for class com.commercetools.sync.commons.helpers.BaseBatchValidator
- BaseReferenceResolver<T,S extends BaseSyncOptions> - Class in com.commercetools.sync.commons.helpers
-
This class is responsible for providing an abstract implementation of reference resolution on different CTP resources.
- BaseReferenceResolver(S) - Constructor for class com.commercetools.sync.commons.helpers.BaseReferenceResolver
- BaseSync<T,U extends BaseSyncStatistics,V extends BaseSyncOptions> - Class in com.commercetools.sync.commons
- BaseSync(U, V) - Constructor for class com.commercetools.sync.commons.BaseSync
- BaseSyncOptions<U,V> - Class in com.commercetools.sync.commons
- BaseSyncOptions(SphereClient, QuadConsumer<SyncException, Optional<V>, Optional<U>, List<UpdateAction<U>>>, TriConsumer<SyncException, Optional<V>, Optional<U>>, int, TriFunction<List<UpdateAction<U>>, V, U, List<UpdateAction<U>>>, Function<V, V>, long) - Constructor for class com.commercetools.sync.commons.BaseSyncOptions
- BaseSyncOptionsBuilder<T extends BaseSyncOptionsBuilder<T,S,U,V>,S extends BaseSyncOptions,U,V> - Class in com.commercetools.sync.commons
- BaseSyncOptionsBuilder() - Constructor for class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- BaseSyncStatistics - Class in com.commercetools.sync.commons.helpers
- BaseSyncStatistics() - Constructor for class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Creates a new
BaseSyncStatistics
with initial values0
of created, updated, failed and processed counters, an empty reportMessage and latestBatchHumanReadableProcessingTime. - 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<V, V>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the beforeCreateCallback
Function
which can be applied on a new resource draft of typeV
(e.g. - beforeUpdateCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- beforeUpdateCallback(TriFunction<List<UpdateAction<U>>, V, U, List<UpdateAction<U>>>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the beforeUpdateCallback
TriFunction
which can be applied on the supplied list of update actions generated from comparing an old resource of 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
CartDiscountSyncOptions
enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
-
Creates a new instance of
CategorySyncOptions
enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Creates new instance of
S
which extendsBaseSyncOptions
enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.customers.CustomerSyncOptionsBuilder
-
Creates a new instance of
CustomerSyncOptions
enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.customobjects.CustomObjectSyncOptionsBuilder
-
Creates new instance of
CustomObjectSyncOptions
enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
-
Returns new instance of
InventorySyncOptions
, enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
- build() - Method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
-
Creates new instance of
ProductTypeSyncOptions
enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.shoppinglists.ShoppingListSyncOptionsBuilder
-
Creates new instance of
ShoppingListSyncOptions
enriched with all fields provided tothis
builder - build() - Method in class com.commercetools.sync.states.StateSyncOptionsBuilder
-
Creates new instance of
StateSyncOptions
enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.taxcategories.TaxCategorySyncOptionsBuilder
-
Creates new instance of
TaxCategorySyncOptions
enriched with all attributes provided tothis
builder. - build() - Method in class com.commercetools.sync.types.TypeSyncOptionsBuilder
-
Creates new instance of
TypeSyncOptions
enriched with all fields provided tothis
builder. - buildActions(CartDiscount, CartDiscountDraft, CartDiscountSyncOptions) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountSyncUtils
-
Compares all the fields of a
CartDiscount
and aCartDiscountDraft
. - buildActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategorySyncUtils
-
Compares all the fields of a
Category
and aCategoryDraft
. - buildActions(Customer, CustomerDraft, CustomerSyncOptions) - Static method in class com.commercetools.sync.customers.utils.CustomerSyncUtils
-
Compares all the fields of a
Customer
and 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
InventoryEntry
and anInventoryEntryDraft
. - buildActions(Resource, D, Asset, AssetDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares all the fields of an
Asset
and anAssetDraft
and returns a list ofUpdateAction
<Category
> as a result. - buildActions(Resource, D, Integer, Asset, AssetDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares all the fields of an
Asset
and anAssetDraft
and returns a list ofUpdateAction
<Product
> as a result. - buildActions(Product, ProductDraft, ProductSyncOptions, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductSyncUtils
-
Compares all the fields (including the variants see
ProductUpdateActionUtils.buildVariantsUpdateActions(Product, ProductDraft, ProductSyncOptions, Map)
) of aProduct
and aProductDraft
, given that each of these fields pass the specifiedSyncFilter
. - buildActions(Product, ProductDraft, Integer, Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
-
Compares all the fields of a
Price
and aPriceDraft
and returns a list ofUpdateAction
<Product
> as a result. - buildActions(ProductType, ProductTypeDraft, ProductTypeSyncOptions) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeSyncUtils
-
Compares all the fields (including the attributes see
ProductTypeUpdateActionUtils.buildAttributesUpdateActions(io.sphere.sdk.producttypes.ProductType, io.sphere.sdk.producttypes.ProductTypeDraft, com.commercetools.sync.producttypes.ProductTypeSyncOptions)
) of aProductType
and aProductTypeDraft
. - buildActions(ShoppingList, ShoppingListDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListSyncUtils
-
Compares all the fields of a
ShoppingList
and aShoppingListDraft
. - buildActions(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateSyncUtils
-
Compares all the fields (including the roles see
StateUpdateActionUtils.buildRolesUpdateActions(io.sphere.sdk.states.State, io.sphere.sdk.states.StateDraft)
) of aState
and aStateDraft
. - buildActions(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategorySyncUtils
-
Compares all the fields of a
TaxCategory
and 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 aType
and aTypeDraft
. - buildActions(String, List<T>, List<T>, BiFunction<String, List<String>, UpdateAction<U>>, TriFunction<String, T, T, List<UpdateAction<U>>>, BiFunction<String, T, UpdateAction<U>>, BiFunction<String, List<T>, UpdateAction<U>>, BiFunction<String, List<String>, UpdateAction<U>>) - Static method in class com.commercetools.sync.commons.utils.EnumValuesUpdateActionUtils
-
Compares a list of old
oldEnumValues
with a list of newnewEnumValues
for a given definition. - buildAddAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
List
of 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
List
of aCustomer.getBillingAddresses()
and aCustomerDraft.getBillingAddresses()
. - buildAddShippingAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
List
of aCustomer.getShippingAddresses()
and aCustomerDraft.getShippingAddresses()
. - buildAddStoreUpdateActions(List<KeyReference<Store>>, List<ResourceIdentifier<Store>>) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
List
ofStore
KeyReference
s andStore
ResourceIdentifier
s of aCustomerDraft
and aCustomer
. - buildAddToCategoryUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
Set
ofCategory
Reference
s of aProductDraft
and aProduct
. - buildAllAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the addresses of a
Customer
and aCustomerDraft
. - buildAssetActions(Category, CategoryDraft, Asset, AssetDraft) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
- buildAssetActions(Product, ProductDraft, Asset, AssetDraft) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
- buildAssetActions(T, 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
Category
and aCategoryDraft
and returns a list ofUpdateAction
<Category
> as a result. - buildAssetsUpdateActions(T, D, List<Asset>, List<AssetDraft>, AssetActionFactory<T, D>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.AssetsUpdateActionUtils
-
Compares a list of
Asset
s with a list ofAssetDraft
s. - buildAttributesUpdateActions(ProductType, ProductTypeDraft, ProductTypeSyncOptions) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the attributes of a
ProductType
and aProductTypeDraft
and returns a list ofUpdateAction
<ProductType
> as a result. - buildCartDiscountQuery() - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountReferenceResolutionUtils
-
Builds a
CartDiscountQuery
for fetching cart discounts from a source CTP project with all the needed references expanded for the sync: Custom Type - buildCategoryActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductSyncUtils
-
Compares the categories of a
Product
and aProductDraft
. - buildCategoryQuery() - Static method in class com.commercetools.sync.categories.utils.CategoryReferenceResolutionUtils
-
Builds a
CategoryQuery
for fetching categories from a source CTP project with all the needed references expanded for the sync: Custom Type Assets Custom Types Parent Category - buildChangeAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
List
of aCustomerDraft.getAddresses()
and aCustomer.getAddresses()
. - buildChangeAssetNameUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the
LocalizedString
names of anAsset
and anAssetDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildChangeAssetNameUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the
LocalizedString
names of anAsset
and anAssetDraft
and returns anUpdateAction
<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
CartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildChangeDescriptionAction(ProductType, ProductTypeDraft) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the
description
values of aProductType
and aProductTypeDraft
and returns anOptional
of update action, which would contain the"changeDescription"
UpdateAction
. - buildChangeEmailUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
email
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"changeEmail"
UpdateAction
. - buildChangeInitialAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
initial
values of aState
and aStateDraft
and returns anOptional
of update action, which would contain the"changeInitial"
UpdateAction
. - buildChangeIsActiveUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
Boolean
isActive values of aCartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildChangeLabelAction(String, EnumValue, EnumValue) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumValueUpdateActionUtils
-
Compares the
label
values of an oldEnumValue
and a newEnumValue
and returns anOptional
of update action, which would contain the"changeLabel"
UpdateAction
. - buildChangeLabelAction(String, LocalizedEnumValue, LocalizedEnumValue) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumValueUpdateActionUtils
-
Compares the
label
values of an oldLocalizedEnumValue
and a newLocalizedEnumValue
and returns anOptional
of update action, which would contain the"changeLabel"
UpdateAction
. - buildChangeLineItemQuantityUpdateAction(LineItem, LineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.LineItemUpdateActionUtils
-
Compares the
quantity
values of aLineItem
and aLineItemDraft
and returns anOptional
of update action, which would contain the"changeLineItemQuantity"
UpdateAction
. - buildChangeMasterVariantUpdateAction(Product, ProductDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Create update action, if
newProduct
has#masterVariant#key
different thanoldProduct
staged#masterVariant#key
. - buildChangeNameAction(ProductType, ProductTypeDraft) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the
name
values of aProductType
and aProductTypeDraft
and returns anOptional
of update action, which would contain the"changeName"
UpdateAction
. - buildChangeNameAction(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategoryUpdateActionUtils
-
Compares the
name
values of aTaxCategory
and aTaxCategoryDraft
and returns anOptional
of update action, which would contain the"changeName"
UpdateAction
. - buildChangeNameUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
LocalizedString
names of aCartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildChangeNameUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedString
names of aCategory
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildChangeNameUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedString
names of aProductDraft
and aProduct
. - buildChangeNameUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the
LocalizedString
names of aShoppingList
and aShoppingListDraft
and returns anUpdateAction
<ShoppingList
> as a result in anOptional
. - buildChangeNameUpdateAction(Type, TypeDraft) - Static method in class com.commercetools.sync.types.utils.TypeUpdateActionUtils
-
Compares the
LocalizedString
name values of aType
and aTypeDraft
and returns anOptional
of update action, which would contain the"changeName"
UpdateAction
if values are different. - buildChangeOrderHintUpdateAction(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the orderHint values of a
Category
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildChangeParentUpdateAction(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the parents
Reference
<Category
> of aCategory
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildChangePriceUpdateAction(Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
-
Builds a
ChangePrice
action based on the comparison of the following fields of the suppliedPrice
andPriceDraft
:Price.getValue()
andPriceDraft.getValue()
Price.getTiers()
andPriceDraft.getTiers()
- buildChangeQuantityAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the
quantityOnStock
values of anInventoryEntry
and anInventoryEntryDraft
and returns anOptional
of update action, which would contain the"changeQuantity"
UpdateAction
. - buildChangeRequiresDiscountCodeUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
Boolean
requiresDiscountCode values of aCartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildChangeSlugUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedString
slugs of aCategory
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildChangeSlugUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedString
slugs of aProductDraft
and aProduct
. - buildChangeSortOrderUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the sortOrder values of a
CartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildChangeStackingModeUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
StackingMode
stacking modes of aCartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as 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
CartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildChangeTextLineItemNameUpdateAction(TextLineItem, TextLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares the
LocalizedString
names ofTextLineItem
and aTextLineItemDraft
and returns anOptional
of update action, which would contain the"changeTextLineItemName"
UpdateAction
. - buildChangeTextLineItemQuantityUpdateAction(TextLineItem, TextLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares the
quantity
values of aTextLineItem
and aTextLineItemDraft
and returns anOptional
of update action, which would contain the"changeTextLineItemQuantity"
UpdateAction
. - buildChangeTypeAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
type
values of aState
and aStateDraft
and returns anOptional
of update action, which would contain the"changeType"
UpdateAction
. - buildChangeValueUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the cart discount values of a
CartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildCustomerQuery() - Static method in class com.commercetools.sync.customers.utils.CustomerReferenceResolutionUtils
-
Builds a
CustomerQuery
for fetching customers from a source CTP project with all the needed references expanded for the sync: Custom Type CustomerGroup - buildCustomUpdateActions(Resource, D, Asset, AssetDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the custom fields and custom types of an
Asset
and anAssetDraft
and returns a list ofUpdateAction
<Category
> as a result. - buildCustomUpdateActions(Resource, D, Integer, Asset, AssetDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the custom fields and custom types of an
Asset
and anAssetDraft
and returns a list ofUpdateAction
<Product
> as a result. - buildCustomUpdateActions(Resource, D, T, S, GenericCustomActionBuilder<U>, Integer, Function<T, String>, Function<T, String>, Function<T, String>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.CustomUpdateActionUtils
-
Compares the
CustomFields
of an old resourceT
(for exampleCategory
,Product
, etc..), to theCustomFieldsDraft
, of a new resource draftS
(for exampleCategoryDraft
,ProductVariantDraft
, etc..), and returns aList
<UpdateAction
> as a result. - buildCustomUpdateActions(Product, ProductDraft, Integer, Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
-
Compares the custom fields and custom types of a
Price
and aPriceDraft
and returns a list ofUpdateAction
<Product
> as a result. - buildEnumValuesUpdateActions(String, List<EnumValue>, List<EnumValue>) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumValueUpdateActionUtils
-
Compares a list of old
EnumValue
s with a list of newEnumValue
s 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, EnumValue, EnumValue) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumValueUpdateActionUtils
-
Compares all the fields of an old
EnumValue
and a newEnumValue
and returns a list ofUpdateAction
<ProductType
> as a result. - buildFieldDefinitionsUpdateActions(Type, TypeDraft, TypeSyncOptions) - Static method in class com.commercetools.sync.types.utils.TypeUpdateActionUtils
-
Compares the field definitions of a
Type
and aTypeDraft
and returns a list ofUpdateAction
<Type
> as a result if the values are different. - buildInventoryQuery() - Static method in class com.commercetools.sync.inventories.utils.InventoryReferenceResolutionUtils
-
Builds a
InventoryEntryQuery
for fetching inventories from a source CTP project with all the needed references expanded for the sync: Custom Type Supply Channel - buildLineItemCustomUpdateActions(ShoppingList, ShoppingListDraft, LineItem, LineItemDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.LineItemUpdateActionUtils
-
Compares the custom fields and custom types of a
LineItem
and aLineItemDraft
and returns a list ofUpdateAction
<ShoppingList
> as a result. - buildLineItemsUpdateActions(ShoppingList, ShoppingListDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.LineItemUpdateActionUtils
-
Compares a list of
LineItem
s with a list ofLineItemDraft
s. - buildLineItemUpdateActions(ShoppingList, ShoppingListDraft, LineItem, LineItemDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.LineItemUpdateActionUtils
-
Compares all the fields of a
LineItem
and aLineItemDraft
and returns a list ofUpdateAction
<ShoppingList
> as a result. - buildLocalizedEnumValuesUpdateActions(String, List<LocalizedEnumValue>, List<LocalizedEnumValue>) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumValueUpdateActionUtils
-
Compares a list of old
LocalizedEnumValue
s with a list of newLocalizedEnumValue
s 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, LocalizedEnumValue, LocalizedEnumValue) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumValueUpdateActionUtils
-
Compares all the fields of an old
LocalizedEnumValue
and a newLocalizedEnumValue
and returns a list ofUpdateAction
<ProductType
> as a result. - buildMoveImageToPositionUpdateActions(int, List<Image>, List<Image>) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares an old
List
ofImage
s and a new one and returns aList
ofMoveImageToPosition
with the givenvariantId
. - buildPrimaryResourceCustomUpdateActions(T, S, GenericCustomActionBuilder<T>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.CustomUpdateActionUtils
-
This method is a syntactic sugar for the method
CustomUpdateActionUtils.buildCustomUpdateActions(Resource, Object, Custom, CustomDraft, GenericCustomActionBuilder, Integer, Function, Function, Function, BaseSyncOptions)
but this one is only for primary resources (i.e resources which have their own endpoints for example channels, categories, inventory entries. - buildProductQuery() - Static method in class com.commercetools.sync.products.utils.ProductReferenceResolutionUtils
-
Builds a
ProductQuery
for fetching products from a source CTP project with all the needed references expanded for the sync: Product Type Tax Category Product State Staged Assets' Custom Types Staged Product Categories Staged Prices' Channels Staged Prices' Customer Groups Staged Prices' Custom Types Reference Attributes Reference Set Attributes - buildProductTypeQuery() - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeReferenceResolutionUtils
-
Builds a
ProductTypeQuery
for fetching products from a source CTP project with an expansion to theProductType
reference of any NestedType Attribute - buildProductTypeQuery(int) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeReferenceResolutionUtils
-
Builds a
ProductTypeQuery
for fetching products from a source CTP project with an expansion to theProductType
reference of any NestedType Attribute and also any SetType Attribute that has anelementType
ofNestedType
depending on the givenmaximumSetDepth
will provide an expansion for the nestedType of this set depth and all nested types of smaller depths. - buildProductVariantAssetsUpdateActions(Product, ProductDraft, ProductVariant, ProductVariantDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the
List
ofAssetDraft
s of aProductVariantDraft
and aProductVariant
and returns aList
ofUpdateAction
<Product
>. - buildProductVariantAttributesUpdateActions(Product, ProductDraft, ProductVariant, ProductVariantDraft, Map<String, AttributeMetaData>, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the attributes of a
ProductVariantDraft
and aProductVariant
to build eitherSetAttribute
orSetAttributeInAllVariants
update actions. - buildProductVariantAttributeUpdateAction(int, Attribute, AttributeDraft, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductVariantAttributeUpdateActionUtils
-
Compares the attributes of a
AttributeDraft
and aAttribute
to build either aSetAttribute
or aSetAttributeInAllVariants
. - buildProductVariantImagesUpdateActions(ProductVariant, ProductVariantDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the
List
ofImage
s of aProductVariantDraft
and aProductVariant
and returns aList
ofUpdateAction
<Product
>. - buildProductVariantPricesUpdateActions(Product, ProductDraft, ProductVariant, ProductVariantDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the
List
ofPrice
s of aProductVariantDraft
and aProductVariant
and returns aList
ofUpdateAction
<Product
>. - buildProductVariantSkuUpdateAction(ProductVariant, ProductVariantDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the SKUs of a
ProductVariantDraft
and aProductVariant
. - buildPublishOrUnpublishUpdateAction(Product, ProductDraft, boolean) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the 'published' field of a
ProductDraft
and aProduct
with the new update actions and hasStagedChanges of the old product. - buildQueryString() - Method in class com.commercetools.sync.commons.helpers.GraphQlBaseRequestImpl
-
This method builds a string matching the required format needed in the CTP graphql API.
- buildQueryString() - Method in class com.commercetools.sync.commons.helpers.ResourceKeyIdGraphQlRequest
-
This method builds a string matching the required format to query a set of ids matching given keys of a resource using the CTP graphql API
- buildQueryString() - Method in class com.commercetools.sync.commons.models.FetchCustomObjectsGraphQlRequest
- buildRemoveAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
List
of 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
List
of aCustomer.getBillingAddresses()
and aCustomerDraft.getBillingAddresses()
. - buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
-
Creates a CTP "setCustomType" update action on the given resource
T
that removes the custom type set on the given resourceT
. - buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.customers.utils.CustomerCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.shoppinglists.utils.LineItemCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.shoppinglists.utils.ShoppingListCustomActionBuilder
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.shoppinglists.utils.TextLineItemCustomActionBuilder
- buildRemoveFromCategoryUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
Set
ofCategory
Reference
s of aProductDraft
and aProduct
. - buildRemoveShippingAddressUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
List
of aCustomer.getShippingAddresses()
and aCustomerDraft.getShippingAddresses()
. - buildRemoveStoreUpdateActions(List<KeyReference<Store>>, List<ResourceIdentifier<Store>>) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
List
ofStore
KeyReference
s andStore
ResourceIdentifier
s of aCustomerDraft
and aCustomer
. - buildRemoveUpdateActions(List<U>, List<V>, Function<U, S>, Function<V, S>, Function<U, UpdateAction<T>>) - Static method in class com.commercetools.sync.internals.utils.UnorderedCollectionSyncUtils
-
Compares a list of
newDrafts
with a list ofoldResources
and 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
State
and aStateDraft
and returns a list ofUpdateAction
<State
> as a result. - buildSetAnonymousIdUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the anonymousIds of
ShoppingList
and aShoppingListDraft
and returns anUpdateAction
<ShoppingList
> as a result in anOptional
. - buildSetAssetDescriptionUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the
LocalizedString
descriptions of anAsset
and anAssetDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildSetAssetDescriptionUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the
LocalizedString
descriptions of anAsset
and anAssetDraft
and returns anUpdateAction
<Product
> as a result in anOptional
. - buildSetAssetSourcesUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the sources of an
Asset
and anAssetDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildSetAssetSourcesUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the sources of an
Asset
and anAssetDraft
and returns anUpdateAction
<Product
> as a result in anOptional
. - buildSetAssetTagsUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the tags of an
Asset
and anAssetDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildSetAssetTagsUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the tags of an
Asset
and anAssetDraft
and returns anUpdateAction
<Product
> as a result in anOptional
. - buildSetCategoryOrderHintUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
CategoryOrderHints
of aProductDraft
and aProduct
. - buildSetCompanyNameUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
companyName
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setCompanyName"
UpdateAction
. - buildSetCustomerGroupUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
CustomerGroup
references of an oldCustomer
and newCustomerDraft
. - buildSetCustomerNumberUpdateAction(Customer, CustomerDraft, CustomerSyncOptions) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
customerNumber
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setCustomerNumber"
UpdateAction
. - buildSetCustomerUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the customer references of a
ShoppingList
and aShoppingListDraft
and returns anUpdateAction
<ShoppingList
> as a result in anOptional
. - buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
-
Creates a CTP "setCustomField" update action on the given resource
T
that updates a custom field withcustomFieldName
and acustomFieldValue
on the given resourceT
. - buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.customers.utils.CustomerCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.shoppinglists.utils.LineItemCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.shoppinglists.utils.ShoppingListCustomActionBuilder
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.shoppinglists.utils.TextLineItemCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.categories.helpers.AssetCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.categories.helpers.CategoryCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in interface com.commercetools.sync.commons.helpers.GenericCustomActionBuilder
-
Creates a CTP "setCustomType" update action on the given resource
T
. - buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.customers.utils.CustomerCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.shoppinglists.utils.LineItemCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.shoppinglists.utils.ShoppingListCustomActionBuilder
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.shoppinglists.utils.TextLineItemCustomActionBuilder
- buildSetDateOfBirthUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
dateOfBirth
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setDateOfBirth"
UpdateAction
. - buildSetDefaultBillingAddressUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Customer.getDefaultBillingAddress()
andCustomerDraft.getDefaultBillingAddress()
. - buildSetDefaultShippingAddressUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
Customer.getDefaultShippingAddress()
andCustomerDraft.getDefaultShippingAddress()
. - buildSetDeleteDaysAfterLastModificationUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the deleteDaysAfterLastModification of
ShoppingList
and aShoppingListDraft
and returns anUpdateAction
<ShoppingList
> as a result in anOptional
. - buildSetDescriptionAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
description
values of aState
and aStateDraft
and returns anOptional
of update action, which would contain the"setDescription"
UpdateAction
. - buildSetDescriptionAction(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategoryUpdateActionUtils
-
Compares the
description
values of aTaxCategory
and aTaxCategoryDraft
and returns anOptional
of update action, which would contain the"setDescription"
UpdateAction
. - buildSetDescriptionUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
LocalizedString
descriptions of aCartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildSetDescriptionUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedString
descriptions of aCategory
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildSetDescriptionUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedString
descriptions of aProductDraft
and aProduct
. - buildSetDescriptionUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the
LocalizedString
descriptions ofShoppingList
and aShoppingListDraft
and returns anUpdateAction
<ShoppingList
> as a result in anOptional
. - buildSetDescriptionUpdateAction(Type, TypeDraft) - Static method in class com.commercetools.sync.types.utils.TypeUpdateActionUtils
-
Compares the
LocalizedString
descriptions of aType
and aTypeDraft
and returns anUpdateAction
<Type
> as a result in anOptional
of update action if values are different. - buildSetExpectedDeliveryAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the
expectedDelivery
values of anInventoryEntry
and anInventoryEntryDraft
and returns anOptional
of update action, which would contain the"setExpectedDelivery"
UpdateAction
. - buildSetExternalIdUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the externalId values of a
Category
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildSetExternalIdUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
externalId
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setExternalId"
UpdateAction
. - buildSetFirstNameUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
firstName
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setFirstName"
UpdateAction
. - buildSetLastNameUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
lastName
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setLastName"
UpdateAction
. - buildSetLocaleUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
locale
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setLocale"
UpdateAction
. - buildSetMetaDescriptionUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedString
meta description of aCategory
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildSetMetaDescriptionUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedString
meta descriptions of aProductDraft
and aProduct
. - buildSetMetaKeywordsUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedString
meta keywords of aCategory
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildSetMetaKeywordsUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedString
meta keywordss of aProductDraft
and aProduct
. - buildSetMetaTitleUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the
LocalizedString
meta title of aCategory
and aCategoryDraft
and returns anUpdateAction
<Category
> as a result in anOptional
. - buildSetMetaTitleUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
LocalizedString
meta titles of aProductDraft
and aProduct
. - buildSetMiddleNameUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
middleName
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setMiddleName"
UpdateAction
. - buildSetNameAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
name
values of aState
and aStateDraft
and returns anOptional
of update action, which would contain the"setName"
UpdateAction
. - buildSetRestockableInDaysAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the
restockableInDays
values of anInventoryEntry
and anInventoryEntryDraft
and returns anOptional
of update action, which would contain the"setRestockableInDays"
UpdateAction
. - buildSetSalutationUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
salutation
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"SetSalutation"
UpdateAction
. - buildSetSearchKeywordsUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
SearchKeywords
of aProductDraft
and aProduct
. - buildSetSlugUpdateAction(ShoppingList, ShoppingListDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListUpdateActionUtils
-
Compares the
LocalizedString
slugs of aShoppingList
and aShoppingListDraft
and returns anUpdateAction
<ShoppingList
> as a result in anOptional
. - buildSetSupplyChannelAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the
supplyChannel
s of anInventoryEntry
and anInventoryEntryDraft
and returns anOptional
of update action, which would contain the"setSupplyChannel"
UpdateAction
. - buildSetTaxCategoryUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
TaxCategory
references of an oldProduct
and newProductDraft
. - buildSetTextLineItemDescriptionUpdateAction(TextLineItem, TextLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares the
LocalizedString
descriptions ofTextLineItem
and aTextLineItemDraft
and returns anOptional
of update action, which would contain the"setTextLineItemDescription"
UpdateAction
. - buildSetTitleUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
title
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setTitle"
UpdateAction
. - buildSetTransitionsAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the
transitions
values of aState
and aStateDraft
and returns anOptional
of update action, which would contain the"setTransitions"
UpdateAction
. - buildSetValidDatesUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
ZonedDateTime
validFrom andZonedDateTime
validUntil values of aCartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildSetValidFromUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
ZonedDateTime
validFrom values of aCartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildSetValidUntilUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the
ZonedDateTime
validUntil values of aCartDiscount
and aCartDiscountDraft
and returns anUpdateAction
<CartDiscount
> as a result in anOptional
. - buildSetVatIdUpdateAction(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the
vatId
values of aCustomer
and aCustomerDraft
and returns anOptional
of update action, which would contain the"setVatId"
UpdateAction
. - buildShoppingListQuery() - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListReferenceResolutionUtils
-
Builds a
ShoppingListQuery
for fetching shopping lists from a source CTP project with all the needed references expanded for the sync: Customer Custom Type of the Shopping List Variants of the LineItems Custom Types of the LineItems Custom Types of the TextLineItems - buildStateQuery() - Static method in class com.commercetools.sync.states.utils.StateReferenceResolutionUtils
-
Builds a
StateQuery
for fetching states from a source CTP project with all the needed references expanded for the sync: Transition States - buildStoreUpdateActions(Customer, CustomerDraft) - Static method in class com.commercetools.sync.customers.utils.CustomerUpdateActionUtils
-
Compares the stores of a
Customer
and aCustomerDraft
. - buildTaxRateUpdateActions(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategoryUpdateActionUtils
-
Compares the tax rates of a
TaxCategory
and aTaxCategoryDraft
and returns a list ofUpdateAction
<TaxCategory
> as 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
TextLineItem
and aTextLineItemDraft
and returns a list ofUpdateAction
<ShoppingList
> as a result. - buildTextLineItemsUpdateActions(ShoppingList, ShoppingListDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares a list of
TextLineItem
s with a list ofTextLineItemDraft
s. - buildTextLineItemUpdateActions(ShoppingList, ShoppingListDraft, TextLineItem, TextLineItemDraft, ShoppingListSyncOptions) - Static method in class com.commercetools.sync.shoppinglists.utils.TextLineItemUpdateActionUtils
-
Compares all the fields of a
TextLineItem
and aTextLineItemDraft
and returns a list ofUpdateAction
<ShoppingList
> as a result. - buildTransitionStateUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the
State
references of an oldProduct
and newProductDraft
. - buildUpdateAction(S, S, Supplier<U>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares two
Object
and returns a suppliedUpdateAction
as 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(S, U, Supplier<V>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares two objects that are of type
ResourceIdentifier
(or a type that extends it) and returns a suppliedUpdateAction
as a result in anOptional
. - buildUpdateActions(S, S, Supplier<List<U>>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares two
Object
and returns a supplied list ofUpdateAction
as a result. - buildVariantsUpdateActions(Product, ProductDraft, ProductSyncOptions, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the variants (including the master variants) of a
ProductDraft
and 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
SphereClient
and 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
SphereClient
and 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
SphereClient
and 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
SphereClient
and 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
SphereClient
and 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
SphereClient
and 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
SphereClient
and 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
SphereClient
and 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
SphereClient
and 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
SphereClient
and stores a mapping for every type to id in the cached map of keys -> ids and returns this cached map. - 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.
- 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. - 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
- 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
CartDiscountSyncOptions
instance, aTypeService
to instantiate aCartDiscountReferenceResolver
instance that could be used to resolve the cartDiscount drafts in the CTP project specified in the injectedCartDiscountSyncOptions
instance. - 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
CartDiscountSyncOptions
to instantiate a newCartDiscountSync
instance that could be used to sync cart discount drafts in the CTP project specified in the injectedCartDiscountSyncOptions
instance. - 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
- CartDiscountUpdateActionUtils - Class in com.commercetools.sync.cartdiscounts.utils
- CATEGORIES - com.commercetools.sync.commons.models.GraphQlQueryResources
- CATEGORIES - com.commercetools.sync.products.ActionGroup
- CATEGORIES_DO_NOT_EXIST - Static variable in class com.commercetools.sync.products.helpers.ProductReferenceResolver
- 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
- CategoryReferencePair - Class in com.commercetools.sync.commons.helpers
-
Container for a
List
ofCategory
Reference
s and aCategoryOrderHints
. - 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
CategorySyncOptions
instance, aCategoryService
andTypeService
to instantiate aCategoryReferenceResolver
instance that could be used to resolve the category drafts in the CTP project specified in the injectedCategorySyncOptions
instance. - CategoryService - Interface in com.commercetools.sync.services
- CategoryServiceImpl - Class in com.commercetools.sync.services.impl
-
Implementation of CategoryService interface.
- CategoryServiceImpl(CategorySyncOptions) - Constructor for class com.commercetools.sync.services.impl.CategoryServiceImpl
- CategorySync - Class in com.commercetools.sync.categories
- CategorySync(CategorySyncOptions) - Constructor for class com.commercetools.sync.categories.CategorySync
-
Takes a
CategorySyncOptions
instance to instantiate a newCategorySync
instance that could be used to sync category drafts with the given categories in the CTP project specified in the injectedCategorySyncOptions
instance. - CategorySyncOptions - Class in com.commercetools.sync.categories
- CategorySyncOptionsBuilder - Class in com.commercetools.sync.categories
- CategorySyncStatistics - Class in com.commercetools.sync.categories.helpers
- CategorySyncStatistics() - Constructor for class com.commercetools.sync.categories.helpers.CategorySyncStatistics
- CategorySyncUtils - Class in com.commercetools.sync.categories.utils
- CategoryUpdateActionUtils - Class in com.commercetools.sync.categories.utils
- ChannelCustomActionBuilder - Class in com.commercetools.sync.channels.helpers
- ChannelCustomActionBuilder() - Constructor for class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
- CHANNELS - com.commercetools.sync.commons.models.GraphQlQueryResources
- ChannelService - Interface in com.commercetools.sync.services
- ChannelServiceImpl - Class in com.commercetools.sync.services.impl
- ChannelServiceImpl(BaseSyncOptions, Set<ChannelRole>) - Constructor for class com.commercetools.sync.services.impl.ChannelServiceImpl
- 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 thechunkSize
represented by aList
of elements. - 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.
- CleanupUnresolvedReferenceCustomObjects - Class in com.commercetools.sync.commons
- CleanupUnresolvedReferenceCustomObjects.Statistics - Class in com.commercetools.sync.commons
- ClientConfigurationUtils - Class in com.commercetools.sync.commons.utils
- collectionOfFuturesToFutureOfCollection(Collection<? extends CompletionStage<T>>, Collector<T, ?, S>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
-
Transforms a collection of
CompletionStage
into aCompletionStage
of a collection, that will be completed once all the elements of the given futures are completed. - collectionToMap(Collection<T>, Function<? super T, ? extends K>) - 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
collection
to a map usingkeyMapper
andvalueMapper
mappers. - collectionToSet(Collection<T>, Function<? super T, ? extends K>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
-
Convert a
collection
to a set of values usingkeyMapper
mapping. - CollectionUtils - Class in com.commercetools.sync.commons.utils
- collectReferencedKeyFromCustomFieldsDraft(CustomFieldsDraft, Consumer<String>) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
- collectReferencedKeyFromReference(Reference<T>, Consumer<String>) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
- collectReferencedKeyFromResourceIdentifier(ResourceIdentifier<T>, 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.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.utils - package com.commercetools.sync.categories.utils
- com.commercetools.sync.channels.helpers - package com.commercetools.sync.channels.helpers
- com.commercetools.sync.commons - package com.commercetools.sync.commons
- com.commercetools.sync.commons.exceptions - package com.commercetools.sync.commons.exceptions
- com.commercetools.sync.commons.helpers - package com.commercetools.sync.commons.helpers
- com.commercetools.sync.commons.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.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.utils - package com.commercetools.sync.customobjects.utils
- com.commercetools.sync.internals.helpers - package com.commercetools.sync.internals.helpers
- com.commercetools.sync.internals.utils - package com.commercetools.sync.internals.utils
- com.commercetools.sync.inventories - package com.commercetools.sync.inventories
- com.commercetools.sync.inventories.helpers - package com.commercetools.sync.inventories.helpers
- com.commercetools.sync.inventories.utils - package com.commercetools.sync.inventories.utils
- com.commercetools.sync.products - package com.commercetools.sync.products
- com.commercetools.sync.products.helpers - package com.commercetools.sync.products.helpers
- com.commercetools.sync.products.templates.beforeupdatecallback - package com.commercetools.sync.products.templates.beforeupdatecallback
- com.commercetools.sync.products.utils - package com.commercetools.sync.products.utils
- com.commercetools.sync.producttypes - package com.commercetools.sync.producttypes
- com.commercetools.sync.producttypes.helpers - package com.commercetools.sync.producttypes.helpers
- com.commercetools.sync.producttypes.utils - package com.commercetools.sync.producttypes.utils
- com.commercetools.sync.services - package com.commercetools.sync.services
- com.commercetools.sync.services.impl - package com.commercetools.sync.services.impl
- com.commercetools.sync.shoppinglists - package com.commercetools.sync.shoppinglists
- com.commercetools.sync.shoppinglists.commands.updateactions - package com.commercetools.sync.shoppinglists.commands.updateactions
- com.commercetools.sync.shoppinglists.helpers - package com.commercetools.sync.shoppinglists.helpers
- 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
- createAndCacheChannel(String) - Method in interface com.commercetools.sync.services.ChannelService
-
Creates a new channel with the supplied
key
and puts a new mapping of it's key to id in a cache map. - createAndCacheChannel(String) - Method in class com.commercetools.sync.services.impl.ChannelServiceImpl
- createCartDiscount(CartDiscountDraft) - Method in interface com.commercetools.sync.services.CartDiscountService
-
Given a resource draft of type
CartDiscountDraft
, this method attempts to create a resourceCartDiscount
based 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 resourceCategory
based 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(SphereClientConfig) - Static method in class com.commercetools.sync.commons.utils.ClientConfigurationUtils
-
Creates a
SphereClient
with retry logic which computes a exponential backoff time delay in milliseconds. - createClient(SphereClientConfig, long, TimeUnit) - Static method in class com.commercetools.sync.commons.utils.ClientConfigurationUtils
-
Creates a
BlockingSphereClient
with a customtimeout
with a customTimeUnit
. - createCustomer(CustomerDraft) - Method in interface com.commercetools.sync.services.CustomerService
-
Given a resource draft of type
CustomerDraft
, this method attempts to create a resourceCustomer
based on the draft, in the CTP project defined by the sync options. - createCustomer(CustomerDraft) - Method in class com.commercetools.sync.services.impl.CustomerServiceImpl
- createInventoryEntry(InventoryEntryDraft) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
- createInventoryEntry(InventoryEntryDraft) - Method in interface com.commercetools.sync.services.InventoryService
-
Creates new inventory entry from
inventoryEntryDraft
. - createProduct(ProductDraft) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
- createProduct(ProductDraft) - Method in interface com.commercetools.sync.services.ProductService
-
Given a resource draft of type
ProductDraft
, this method attempts to create a resourceProduct
based 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 resourceProductType
based on it in the CTP project defined by the sync options. - 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 resourceShoppingList
based 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 resourceState
based 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 resourceTaxCategory
based 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 resourceType
based on it in the CTP project defined by the sync options. - ctpClient - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- CtpQueryUtils - Class in com.commercetools.sync.commons.utils
- 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.GraphQlQueryResources
- 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.GraphQlQueryResources
- 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
- 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
CustomerSyncOptions
instance, aTypeService
and aCustomerGroupService
to instantiate aCustomerReferenceResolver
instance that could be used to resolve the customer drafts in the CTP project specified in the injectedCustomerSyncOptions
instance. - CUSTOMERS - com.commercetools.sync.commons.models.GraphQlQueryResources
- 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
CustomerSyncOptions
to instantiate a newCustomerSync
instance that could be used to sync customer drafts in the CTP project specified in the injectedCustomerSync
instance. - CustomerSync(CustomerSyncOptions, CustomerService, TypeService, CustomerGroupService) - Constructor for class com.commercetools.sync.customers.CustomerSync
-
Takes a
CustomerSyncOptions
and service instances to instantiate a newCustomerSync
instance that could be used to sync customer drafts in the CTP project specified in the injectedCustomerSyncOptions
instance. - 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
- CustomerUpdateActionUtils - Class in com.commercetools.sync.customers.utils
- 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<D,B extends io.sphere.sdk.models.Builder<? extends D>,S extends BaseSyncOptions> - Class in com.commercetools.sync.commons.helpers
-
This class is responsible for providing an abstract implementation of reference resolution on Custom CTP resources for example (Categories, inventories and resource with a custom field).
- CustomReferenceResolver(S, TypeService) - Constructor for class com.commercetools.sync.commons.helpers.CustomReferenceResolver
- 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
D
- delete(String, String, Class<T>) - Method in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- delete(String, String, Class<T>) - 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
- deserialize(HttpResponse) - Method in class com.commercetools.sync.commons.helpers.ResourceKeyIdGraphQlRequest
- deserialize(HttpResponse) - Method in class com.commercetools.sync.commons.models.FetchCustomObjectsGraphQlRequest
- deserializeWithResourceName(HttpResponse, String, Class<T>) - Method in class com.commercetools.sync.commons.helpers.GraphQlBaseRequestImpl
-
Deserialize the body of
httpResponse
. - 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
collection
argument itself, if thecollection
is non-null, otherwise returns (immutable) empty collection. - emptyIfNull(List<T>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
-
Safe wrapper around nullable list instances: returns
list
argument itself, if thelist
is non-null, otherwise returns (immutable) empty list. - emptyIfNull(Map<K, V>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
-
Safe wrapper around nullable map instances: returns
map
argument itself, if themap
is non-null, otherwise returns (immutable) empty map. - emptyIfNull(Set<T>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
-
Safe wrapper around nullable set instances: returns
set
argument itself, if theset
is non-null, otherwise returns (immutable) empty set. - 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.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.internals.helpers.PriceCompositeId
- equals(Object) - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- errorCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- errorCallback(QuadConsumer<SyncException, Optional<V>, Optional<U>, List<UpdateAction<U>>>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the
errorCallback
function of the sync module. - errorCallback(Consumer<Throwable>) - Method in class com.commercetools.sync.commons.CleanupUnresolvedReferenceCustomObjects
-
Sets the
errorCallback
function of the cleanup. - executeChunks(SphereClient, List<Q>) - Static method in class com.commercetools.sync.commons.utils.ChunkUtils
-
Executes the given
List
ofSphereRequest
s, and collects results in a list. - executeSupplierIfConcurrentModificationException(Throwable, Supplier<S>, Supplier<S>) - Static method in class com.commercetools.sync.commons.BaseSync
-
This method checks if the supplied
sphereException
is an instance ofConcurrentModificationException
. - executeSupplierIfPassesFilter(SyncFilter, ActionGroup, Supplier<T>, Supplier<T>) - Static method in class com.commercetools.sync.commons.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<T>) - Method in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- fetch(Set<String>, String, Class<T>) - Method in interface com.commercetools.sync.services.UnresolvedReferencesService
-
Given draft keys, this method fetches the persisted drafts waiting to be resolved.
- 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 ofAttributeMetaData
is not empty. - fetchCachedProductTypeId(String) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
- fetchCachedProductTypeId(String) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Given a
key
, this method first checks if a cached map of ProductType keys -> ids 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
SphereClient
. - 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
SphereClient
. - 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
SphereClient
. - 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
SphereClient
. - fetchCustomObject(CustomObjectCompositeIdentifier) - Method in class com.commercetools.sync.services.impl.CustomObjectServiceImpl
- FetchCustomObjectsGraphQlRequest - Class in com.commercetools.sync.commons.models
-
A SphereRequest implementation to allow
SphereClient
to execute graphQL queries on CTP. - FetchCustomObjectsGraphQlRequest(String, Instant) - Constructor for class com.commercetools.sync.commons.models.FetchCustomObjectsGraphQlRequest
-
Takes
container
andlastModifiedAt
to instantiate a newFetchCustomObjectsGraphQlRequest
instance, which is an implementation of theSphereRequest
. - fetchInventoryEntriesBySkus(Set<String>) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
- fetchInventoryEntriesBySkus(Set<String>) - Method in interface com.commercetools.sync.services.InventoryService
-
Queries existing
InventoryEntry
's against set of skus. - fetchMatchingCartDiscountsByKeys(Set<String>) - Method in interface com.commercetools.sync.services.CartDiscountService
-
Given a
Set
of CartDiscount keys, this method fetches a set of all the CartDiscounts, matching this given set of keys in the CTP project, defined in an injectedSphereClient
. - 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
Set
of category keys, this method fetches a set of all the categories, matching this given set of keys in the CTP project, defined in an injectedSphereClient
. - 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
Set
of customer keys, this method fetches a set of all the customers, matching the given set of keys in the CTP project, defined in an injectedSphereClient
. - 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
Set
of CustomObjectCompositeIdentifier, this method fetches a set of all the CustomObjects, matching this given set of CustomObjectCompositeIdentifiers in the CTP project defined in an injectedSphereClient
. - 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
Set
of product keys, this method fetches a set of all the products, matching this given set of keys in the CTP project, defined in an injectedSphereClient
. - 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
Set
of ProductType keys, this method fetches a set of all the ProductTypes, matching this given set of keys in the CTP project, defined in an injectedSphereClient
. - 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
Set
of 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 injectedSphereClient
. - 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
Set
of state keys, this method fetches a set of all the states, matching given set of keys in the CTP project, defined in an injectedSphereClient
. - 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
Set
of 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 injectedSphereClient
. - 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
Set
of tax category keys, this method fetches a set of all the taxCategories, matching given set of keys in the CTP project, defined in an injectedSphereClient
. - fetchMatchingTypesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
- fetchMatchingTypesByKeys(Set<String>) - Method in interface com.commercetools.sync.services.TypeService
-
Given a
Set
of Type keys, this method fetches a set of all the Types, matching this given set of keys in the CTP project, defined in an injectedSphereClient
. - fetchProduct(String) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
- fetchProduct(String) - Method in interface com.commercetools.sync.services.ProductService
-
Given a product key, this method fetches a product that matches this given key in the CTP project defined in a potentially injected
SphereClient
. - 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
SphereClient
. - 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
SphereClient
. - 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
SphereClient
. - 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
SphereClient
. - fetchType(String) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
- fetchType(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
SphereClient
. - filterActionGroup(ActionGroup) - Method in class com.commercetools.sync.products.SyncFilter
-
Checks if the supplied
ActionGroup
passesthis
filter. - filterCollection(Collection<T>, Predicate<T>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
-
Create a new collection which contains only elements which satisfy
includeCondition
predicate. - filterEmptyOptionals(Collection<Optional<T>>) - Static method in class com.commercetools.sync.commons.utils.OptionalUtils
-
Takes a
Collection
ofOptional
s containing some elements of typeT
, this method filters out any emptyOptional
and 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
Optional
s containing some elements of typeT
, this method filters out any emptyOptional
and 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
ProductDraft
and filters out any localization other thanLocale.FRENCH
fromLocalizedString
fields of the suppliedProductDraft
. - filterNullAndMap(Stream<T>, Function<T, S>) - Static method in class com.commercetools.sync.commons.utils.StreamUtils
-
Applies the supplied
mapper
function on every non-null element in the suppliedStream
ofelements
. - FilterUtils - Class in com.commercetools.sync.commons.utils
- flattenGraphQLBaseResults(List<T>) - Static method in class com.commercetools.sync.commons.utils.ChunkUtils
-
Flat map the list of lists of
GraphQlBaseResult
to the set ofChunkUtils
. - flattenPagedQueryResults(List<PagedQueryResult<T>>) - Static method in class com.commercetools.sync.commons.utils.ChunkUtils
-
Flat map the list of lists of
PagedQueryResult
to the list ofChunkUtils
.
G
- GenericCustomActionBuilder<T extends io.sphere.sdk.models.Resource<T>> - Interface in com.commercetools.sync.commons.helpers
-
A generic custom update action builder that creates update actions that are of the same type as the Generic type T provided by the subclass of this abstract class.
- getAddedAt() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddLineItemWithSku
- getAddedAt() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddTextLineItemWithAddedAt
- 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
. - 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
beforeUpdateCallback
TriFunction
<List
<UpdateAction
<U
>>,V
,U
,List
<UpdateAction
<U
>>> function set tothis
BaseSyncOptions
. - 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.CategoryReferencePair
- getCategoryResourceIdentifiers() - Method in class com.commercetools.sync.commons.helpers.CategoryReferencePair
- 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.internals.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.internals.helpers.PriceCompositeId
- getCreated() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Gets the total number of resources that were created.
- getCtpClient() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Returns the
SphereClient
responsible for interaction with the target CTP project. - getCurrencyCode() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
- getCustom() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddLineItemWithSku
- getCustom() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddTextLineItemWithAddedAt
- getCustomerGroupId() - Method in class com.commercetools.sync.internals.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
resourceString
in following format: - getDescription() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddTextLineItemWithAddedAt
- getDraftBuilderFromStagedProduct(Product) - Static method in class com.commercetools.sync.products.utils.ProductReferenceResolutionUtils
-
Given a
Product
this method creates aProductDraftBuilder
based on the staged projection values of the supplied product. - getErrorCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Returns the
errorCallback
QuadConsumer
<SyncException
,Optional
<V
>,Optional
<U
>,List
<UpdateAction
<U
>>> function set tothis
BaseSyncOptions
. - getFailed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Gets the total number of resources that failed to sync.
- getId() - Method in interface com.commercetools.sync.commons.models.GraphQlBaseResource
- getId() - Method in class com.commercetools.sync.commons.models.ResourceKeyId
- 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<T>) - Static method in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
-
This method gets the key value on the passed
Reference
from the id field, if valid. - getInventoryEntryChannelKey() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- getInventoryEntrySku() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- getKey() - Method in class com.commercetools.sync.commons.models.ResourceKeyId
- 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
- getKeyFromResourceIdentifier(ResourceIdentifier<T>) - 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.GraphQlQueryResources
- getName() - Method in class com.commercetools.sync.products.AttributeMetaData
-
Gets the name of the attribute.
- getName() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddTextLineItemWithAddedAt
- 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
- getQuantity() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddLineItemWithSku
- getQuantity() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddTextLineItemWithAddedAt
- 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.
- getReferenceWithKeyReplaced(Reference<T>, Supplier<Reference<T>>) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
-
Given a reference to a resource of type
T
, this method checks if the reference is expanded. - 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<T>) - Static method in class com.commercetools.sync.commons.utils.SyncUtils
-
Given a reference to a resource of type
T
, this method checks if the reference is expanded. - getResults() - Method in interface com.commercetools.sync.commons.models.GraphQlBaseResult
- getResults() - Method in class com.commercetools.sync.commons.models.ResourceKeyIdGraphQlResult
- getSku() - Method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddLineItemWithSku
- 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
BaseSyncStatistics
containing all the stats of the sync process; which includes a report message, the total number of update, created, failed, processed resources and the processing time of the sync in different time units and in a human readable format. - getSyncFilter() - Method in class com.commercetools.sync.products.ProductSyncOptions
- getSyncOptions() - Method in class com.commercetools.sync.commons.BaseSync
- 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.categories.CategorySyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
- 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.customobjects.CustomObjectSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- getThis() - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
-
Returns
this
instance ofInventorySyncOptionsBuilder
. - getThis() - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
- getThis() - Method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- 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.StateSyncOptionsBuilder
-
Returns an instance of this class to be used in the superclass's generic methods.
- 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.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
- 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.internals.helpers.PriceCompositeId
- getValidUntil() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
- getWarningCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Returns the
warningCallback
TriConsumer
<SyncException
,Optional
<V
>,Optional
<U
>> function set tothis
BaseSyncOptions
. - GraphQlBaseRequest<T extends GraphQlBaseResult<? extends GraphQlBaseResource>> - Interface in com.commercetools.sync.commons.models
- GraphQlBaseRequestImpl<T extends GraphQlBaseResult<? extends GraphQlBaseResource>> - Class in com.commercetools.sync.commons.helpers
- GraphQlBaseRequestImpl() - Constructor for class com.commercetools.sync.commons.helpers.GraphQlBaseRequestImpl
- GraphQlBaseResource - Interface in com.commercetools.sync.commons.models
- GraphQlBaseResult<T extends GraphQlBaseResource> - Interface in com.commercetools.sync.commons.models
- GraphQlQueryResources - 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
- 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.internals.helpers.PriceCompositeId
- hashCode() - Method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
- hasIdenticalValue(CustomObject<JsonNode>, CustomObjectDraft<JsonNode>) - Static method in class com.commercetools.sync.customobjects.utils.CustomObjectSyncUtils
-
Compares the value of a
CustomObject
to the value of aCustomObjectDraft
. - httpRequestIntent() - Method in class com.commercetools.sync.commons.helpers.GraphQlBaseRequestImpl
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.
- InvalidAttributeDefinitionException - Exception in com.commercetools.sync.commons.exceptions
- InvalidAttributeDefinitionException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.InvalidAttributeDefinitionException
- 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
- InventoryEntryIdentifier - Class in com.commercetools.sync.inventories.helpers
-
This class provides as a container of the unique identifier of an
InventoryEntry
for the sync which is a combination of both the SKU of the inventory entry and the supply channel key of this inventory entry. - 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
InventorySyncOptions
instance, aTypeService
and aChannelService
to instantiate aInventoryReferenceResolver
instance 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
InventorySyncOptions
instance to instantiate a newInventorySync
instance that could be used to sync inventory drafts with the given inventory entries in the CTP project specified in the injectedInventorySyncOptions
instance. - InventorySyncOptions - Class in com.commercetools.sync.inventories
- InventorySyncOptionsBuilder - Class in com.commercetools.sync.inventories
-
Builder for creation of
InventorySyncOptions
. - InventorySyncStatistics - Class in com.commercetools.sync.inventories.helpers
- InventorySyncStatistics() - Constructor for class com.commercetools.sync.inventories.helpers.InventorySyncStatistics
- InventorySyncUtils - Class in com.commercetools.sync.inventories.utils
-
This class provides factory methods for assembling update actions of inventory entries.
- InventoryUpdateActionUtils - Class in com.commercetools.sync.inventories.utils
-
This class provides static utility methods for building update actions related to inventories.
- isReferenceOfType(JsonNode, String) - Static method in class com.commercetools.sync.commons.utils.ResourceIdentifierUtils
-
Given a
JsonNode
referenceValue
which is the JSON representation of CTP Reference object, this method checks if it is has atypeId
with 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.
K
- keepOtherVariants(List<UpdateAction<Product>>, ProductDraft, Product) - Static method in class com.commercetools.sync.products.templates.beforeupdatecallback.KeepOtherVariantsSync
-
Takes product update actions, a new
ProductDraft
, an old existingProduct
. - KeepOtherVariantsSync - Class in com.commercetools.sync.products.templates.beforeupdatecallback
- KeepOtherVariantsSync() - Constructor for class com.commercetools.sync.products.templates.beforeupdatecallback.KeepOtherVariantsSync
- keysToSearch - Variable in class com.commercetools.sync.commons.helpers.ResourceKeyIdGraphQlRequest
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.
- limit - Variable in class com.commercetools.sync.commons.helpers.GraphQlBaseRequestImpl
- 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
ShoppingListSyncOptions
instance, aTypeService
to instantiate aLineItemReferenceResolver
instance that could be used to resolve the custom type references of the line item drafts in the CTP project specified in the injectedShoppingListSyncOptions
instance. - LineItemUpdateActionUtils - Class in com.commercetools.sync.shoppinglists.utils
- LocalizedEnumValueUpdateActionUtils - Class in com.commercetools.sync.producttypes.utils
M
- mapToAssetDrafts(List<Asset>) - Static method in class com.commercetools.sync.commons.utils.AssetReferenceResolutionUtils
-
Takes an asset list that is supposed to have all its assets' custom references expanded in order to be able to fetch the keys for the custom references.
- mapToCartDiscountDrafts(List<CartDiscount>) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountReferenceResolutionUtils
-
Returns an
List
<CartDiscountDraft
> consisting of the results of applying the mapping fromCartDiscount
toCartDiscountDraft
with considering reference resolution. - mapToCategoryDrafts(List<Category>) - Static method in class com.commercetools.sync.categories.utils.CategoryReferenceResolutionUtils
-
Returns an
List
<CategoryDraft
> consisting of the results of applying the mapping fromCategory
toCategoryDraft
with considering reference resolution. - mapToCustomerDrafts(List<Customer>) - Static method in class com.commercetools.sync.customers.utils.CustomerReferenceResolutionUtils
-
Returns a
List
<CustomerDraft
> consisting of the results of applying the mapping fromCustomer
toCustomerDraft
with considering reference resolution. - mapToCustomFieldsDraft(CustomFields) - 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
, such asShoppingList
,LineItem
andTextLineItem
. - mapToCustomFieldsDraft(T) - Static method in class com.commercetools.sync.commons.utils.CustomTypeReferenceResolutionUtils
-
Given a resource of type
T
that extendsCustom
(i.e. - mapToInventoryEntryDrafts(List<InventoryEntry>) - Static method in class com.commercetools.sync.inventories.utils.InventoryReferenceResolutionUtils
-
Returns an
List
<InventoryEntryDraft
> consisting of the results of applying the mapping fromInventoryEntry
toInventoryEntryDraft
with considering reference resolution. - mapToProductDrafts(List<Product>) - Static method in class com.commercetools.sync.products.utils.ProductReferenceResolutionUtils
-
Returns an
List
<ProductDraft
> consisting of the results of applying the mapping fromProduct
toProductDraft
with considering reference resolution. - mapToProductTypeDrafts(List<ProductType>) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeReferenceResolutionUtils
-
Returns an
List
<ProductTypeDraft
> consisting of the results of applying the mapping fromProductType
toProductTypeDraft
with considering reference resolution. - mapToProductVariantDrafts(List<ProductVariant>) - Static method in class com.commercetools.sync.products.utils.VariantReferenceResolutionUtils
-
Returns an
List
<ProductVariantDraft
> consisting of the results of applying the mapping fromProductVariant
toProductVariantDraft
with considering reference resolution. - mapToShoppingListDraft(ShoppingList) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListReferenceResolutionUtils
-
Returns a @link ShoppingListDraft} consisting of the result of applying the mapping from
ShoppingList
toShoppingListDraft
with considering reference resolution. - mapToShoppingListDrafts(List<ShoppingList>) - Static method in class com.commercetools.sync.shoppinglists.utils.ShoppingListReferenceResolutionUtils
-
Returns a
List
<ShoppingListDraft
> consisting of the results of applying the mapping fromShoppingList
toShoppingListDraft
with considering reference resolution. - mapToStateDrafts(List<State>) - Static method in class com.commercetools.sync.states.utils.StateReferenceResolutionUtils
-
Returns an
List
<StateDraft
> consisting of the results of applying the mapping fromState
toStateDraft
with considering reference resolution. - mapValuesToFutureOfCompletedValues(Collection<T>, Function<T, CompletionStage<S>>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
-
Creates a Future containing a stream of value results after the mapper function is applied to each value in the supplied collection and completed it.
- mapValuesToFutureOfCompletedValues(Collection<T>, Function<T, CompletionStage<S>>, Collector<S, ?, U>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
-
Creates a Future containing a collection of value results after the mapper function is applied to each value in the supplied collection and completed it.
- mapValuesToFutureOfCompletedValues(Stream<T>, Function<T, CompletionStage<S>>, Collector<S, ?, U>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
-
Creates a Future containing a collection of value results after the mapper function is applied to each value in the supplied stream and completed it.
- mapValuesToFutures(Stream<T>, Function<T, CompletionStage<S>>, Collector<CompletableFuture<S>, ?, U>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
-
Maps a stream of values to a future collection using the supplied mapper function.
- 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
- 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(SphereClient) - Static method in class com.commercetools.sync.cartdiscounts.CartDiscountSyncOptionsBuilder
-
Creates a new instance of
CartDiscountSyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 50). - of(SphereClient) - Static method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
-
Creates a new instance of
CategorySyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 50). - of(SphereClient) - Static method in class com.commercetools.sync.commons.CleanupUnresolvedReferenceCustomObjects
-
Creates new instance of
CleanupUnresolvedReferenceCustomObjects
which has the functionality to run cleanup helpers. - of(SphereClient) - Static method in class com.commercetools.sync.customers.CustomerSyncOptionsBuilder
-
Creates a new instance of
CustomerSyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 50). - of(SphereClient) - Static method in class com.commercetools.sync.customobjects.CustomObjectSyncOptionsBuilder
-
Creates a new instance of
CustomObjectSyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 50). - of(SphereClient) - Static method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
-
Creates a new instance of
InventorySyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 150). - of(SphereClient) - Static method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
- of(SphereClient) - Static method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
-
Creates a new instance of
ProductTypeSyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 50). - of(SphereClient) - Static method in class com.commercetools.sync.shoppinglists.ShoppingListSyncOptionsBuilder
-
Creates a new instance of
ShoppingListSyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 50). - of(SphereClient) - Static method in class com.commercetools.sync.states.StateSyncOptionsBuilder
-
Creates a new instance of
StateSyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 500). - of(SphereClient) - Static method in class com.commercetools.sync.taxcategories.TaxCategorySyncOptionsBuilder
-
Creates a new instance of
TaxCategorySyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 50). - of(SphereClient) - Static method in class com.commercetools.sync.types.TypeSyncOptionsBuilder
-
Creates a new instance of
TypeSyncOptionsBuilder
given aSphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT
= 50). - of(CustomObject) - Static method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
-
Given a
CustomObjectDraft
, creates aCustomObjectCompositeIdentifier
using 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 aCustomObjectCompositeIdentifier
using the following fields from the suppliedCustomObjectDraft
:CustomObjectCompositeIdentifier.key
: key ofCustomObjectDraft.getKey()
CustomObjectCompositeIdentifier.container
: container ofCustomObjectDraft.getContainer()
- of(InventoryEntry) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
-
Builds an
InventoryEntryIdentifier
instance given anInventoryEntry
using it's sku and supply channel id. - of(InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
-
Builds an
InventoryEntryIdentifier
instance given anInventoryEntryDraft
using its sku and supply channel key. - of(AttributeDefinition) - Static method in class com.commercetools.sync.products.AttributeMetaData
-
Uses the supplied
AttributeDefinition
instance to infer the name and whether it has the constraint "SameForAll" or not, to instantiate a newAttributeMetaData
containing the aforementioned information. - of(Price) - Static method in class com.commercetools.sync.internals.helpers.PriceCompositeId
-
Given a
Price
, creates aPriceCompositeId
using 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(PriceDraft) - Static method in class com.commercetools.sync.internals.helpers.PriceCompositeId
-
Given a
PriceDraft
, creates aPriceCompositeId
using 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(LineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddLineItemWithSku
-
Creates an update action "addLineItem" which adds a line item to a shopping list.
- of(TextLineItemDraft) - Static method in class com.commercetools.sync.shoppinglists.commands.updateactions.AddTextLineItemWithAddedAt
-
Creates an update action "addTextLineItem" which adds a text line item to a shopping list.
- of(String) - Static method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
-
Given a
String
with a format "container|key", creates aCustomObjectCompositeIdentifier
using the following fields from the supplied identifier as string. - of(String, String) - Static method in class com.commercetools.sync.customobjects.helpers.CustomObjectCompositeIdentifier
-
Given a
String
andString
, creates aCustomObjectCompositeIdentifier
using the following fields from the supplied attributes. - of(String, String) - Static method in class com.commercetools.sync.inventories.helpers.InventoryEntryIdentifier
-
Builds an
InventoryEntryIdentifier
instance given an sku and supply channel id. - of(Set<ResourceIdentifier<Category>>, CategoryOrderHints) - Static method in class com.commercetools.sync.commons.helpers.CategoryReferencePair
- 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
cacheKeysToIds
service 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
cacheKeysToIds
service 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
cacheKeysToIds
service 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
cacheKeysToIds
service 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
cacheKeysToIds
service 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.internals.helpers
-
This class is only meant for the internal use of the commercetools-sync-java library.
- PriceCustomActionBuilder - Class in com.commercetools.sync.products.helpers
- PriceCustomActionBuilder() - Constructor for class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
- PriceReferenceResolver - Class in com.commercetools.sync.products.helpers
- PriceReferenceResolver(ProductSyncOptions, TypeService, ChannelService, CustomerGroupService) - Constructor for class com.commercetools.sync.products.helpers.PriceReferenceResolver
-
Takes a
ProductSyncOptions
instance,TypeService
, aChannelService
and aCustomerGroupService
to instantiate aPriceReferenceResolver
instance that could be used to resolve the prices of variant drafts in the CTP project specified in the injectedProductSyncOptions
instance. - PRICES - com.commercetools.sync.products.ActionGroup
- process(List<CartDiscountDraft>) - Method in class com.commercetools.sync.cartdiscounts.CartDiscountSync
-
Iterates through the whole
cartDiscountDrafts
list and accumulates its valid drafts to batches. - process(List<CategoryDraft>) - Method in class com.commercetools.sync.categories.CategorySync
- process(List<CustomerDraft>) - Method in class com.commercetools.sync.customers.CustomerSync
-
Iterates through the whole
customerDrafts
list and accumulates its valid drafts to batches. - process(List<CustomObjectDraft<JsonNode>>) - Method in class com.commercetools.sync.customobjects.CustomObjectSync
-
Iterates through the whole
customObjectDrafts
list and accumulates its valid drafts to batches. - process(List<InventoryEntryDraft>) - Method in class com.commercetools.sync.inventories.InventorySync
-
Iterates through the whole
inventories
list and accumulates its valid drafts to batches. - process(List<ProductDraft>) - Method in class com.commercetools.sync.products.ProductSync
- process(List<ProductTypeDraft>) - Method in class com.commercetools.sync.producttypes.ProductTypeSync
-
Iterates through the whole
productTypeDrafts
list and accumulates its valid drafts to batches. - 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
typeDrafts
list and accumulates its valid drafts to batches. - process(List<T>) - 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<CustomerDraft>) - Method in class com.commercetools.sync.customers.CustomerSync
- processBatch(List<CustomObjectDraft<JsonNode>>) - Method in class com.commercetools.sync.customobjects.CustomObjectSync
-
This method first creates a new
Set
of validCustomObjectDraft
elements. - processBatch(List<InventoryEntryDraft>) - Method in class com.commercetools.sync.inventories.InventorySync
-
Fetches existing
InventoryEntry
objects from CTP project that correspond to passedbatchOfDrafts
. - processBatch(List<ProductDraft>) - Method in class com.commercetools.sync.products.ProductSync
- processBatch(List<ProductTypeDraft>) - Method in class com.commercetools.sync.producttypes.ProductTypeSync
-
This method first creates a new
Set
of validProductTypeDraft
elements. - 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
Set
of validTaxCategoryDraft
elements. - processBatch(List<TypeDraft>) - Method in class com.commercetools.sync.types.TypeSync
-
This method first creates a new
Set
of validTypeDraft
elements. - processBatch(List<T>) - 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.GraphQlQueryResources
- ProductAssetActionFactory - Class in com.commercetools.sync.products.helpers
- ProductAssetActionFactory(Integer, 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) - Constructor for class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Takes a
ProductSyncOptions
instance, aProductTypeService
, aCategoryService
, aTypeService
, aChannelService
, aCustomerGroupService
, aTaxCategoryService
, aStateService
and aProductService
to instantiate aProductReferenceResolver
instance that could be used to resolve the product type, categories, variants, tax category and product state references of product drafts in the CTP project specified in the injectedProductSyncOptions
instance. - PRODUCTS - com.commercetools.sync.commons.models.GraphQlQueryResources
- ProductService - Interface in com.commercetools.sync.services
- ProductServiceImpl - Class in com.commercetools.sync.services.impl
- ProductServiceImpl(ProductSyncOptions) - Constructor for class com.commercetools.sync.services.impl.ProductServiceImpl
- ProductSync - Class in com.commercetools.sync.products
- ProductSync(ProductSyncOptions) - Constructor for class com.commercetools.sync.products.ProductSync
-
Takes a
ProductSyncOptions
instance to instantiate a newProductSync
instance that could be used to sync product drafts with the given products in the CTP project specified in the injectedProductSyncOptions
instance. - 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
- 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
ProductTypeSyncOptions
instance and aProductTypeService
to instantiate aAttributeDefinitionReferenceResolver
instance 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
- 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
referencingAttributeDefinitionDraft
that is pointed to by areferencingProductTypeKey
which 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.
- queryAll(SphereClient, GraphQlBaseRequest<T>, Consumer<Set<U>>) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
-
Creates a graphQL query to fetch all elements where keys matching given set of keys with pagination using a combination of limit and id sorting.
- queryAll(SphereClient, GraphQlBaseRequest<T>, Consumer<Set<U>>, int) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
-
Creates a graphQL query to fetch all elements where keys matching given set of keys with pagination using a combination of limit and id sorting.
- queryAll(SphereClient, QueryDsl<T, C>, Consumer<List<T>>) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
-
Queries all elements matching a query by using a limit based pagination with a combination of id sorting and a page size 500.
- queryAll(SphereClient, QueryDsl<T, C>, Consumer<List<T>>, int) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
-
Queries all elements matching a query by using a limit based pagination with a combination of id sorting and the supplied
pageSize
. - queryAll(SphereClient, QueryDsl<T, C>, Function<List<T>, S>) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
-
Queries all elements matching a query by using a limit based pagination with a combination of id sorting and a page size 500.
- queryAll(SphereClient, QueryDsl<T, C>, Function<List<T>, S>, int) - Static method in class com.commercetools.sync.commons.utils.CtpQueryUtils
-
Queries all elements matching a query by using a limit based pagination with a combination of id sorting and the supplied
pageSize
. - queryPredicate - Variable in class com.commercetools.sync.commons.helpers.GraphQlBaseRequestImpl
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
- 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
- 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
childKey
this 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
. - resolveCategoryReferences(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftBuilder
this method attempts to resolve the categories and categoryOrderHints to return aCompletionStage
which contains a new instance of the builder with the resolved references. - resolveCustomerGroupReference(CustomerDraftBuilder) - Method in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
-
Given a
CustomerDraftBuilder
this method attempts to resolve the customer group to return aCompletionStage
which 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(B) - Method in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
-
Given a draft of
D
(e.g. - resolveCustomTypeReference(B, Function<B, CustomFieldsDraft>, BiFunction<B, CustomFieldsDraft, B>, String) - Method in class com.commercetools.sync.commons.helpers.CustomReferenceResolver
-
Given a draft of
D
(e.g. - resolveCustomTypeReference(CartDiscountDraftBuilder) - Method in class com.commercetools.sync.cartdiscounts.helpers.CartDiscountReferenceResolver
- resolveCustomTypeReference(CategoryDraftBuilder) - Method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
- resolveCustomTypeReference(CustomerDraftBuilder) - Method in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
- resolveCustomTypeReference(InventoryEntryDraftBuilder) - Method in class com.commercetools.sync.inventories.helpers.InventoryReferenceResolver
- resolveCustomTypeReference(AssetDraftBuilder) - Method in class com.commercetools.sync.commons.helpers.AssetReferenceResolver
- resolveCustomTypeReference(PriceDraftBuilder) - Method in class com.commercetools.sync.products.helpers.PriceReferenceResolver
- resolveCustomTypeReference(LineItemDraftBuilder) - Method in class com.commercetools.sync.shoppinglists.helpers.LineItemReferenceResolver
- resolveCustomTypeReference(ShoppingListDraftBuilder) - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListReferenceResolver
- resolveCustomTypeReference(TextLineItemDraftBuilder) - Method in class com.commercetools.sync.shoppinglists.helpers.TextLineItemReferenceResolver
- resolveProductTypeReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftBuilder
this method attempts to resolve the product type to return aCompletionStage
which 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
CartDiscountDraft
this method attempts to resolve the custom type reference to return aCompletionStage
which 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
CategoryDraft
this method attempts to resolve the custom type and parent category references to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(CustomerDraft) - Method in class com.commercetools.sync.customers.helpers.CustomerReferenceResolver
-
Given a
CustomerDraft
this method attempts to resolve the stores, customer group and custom type references to return aCompletionStage
which 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
InventoryEntryDraft
this method attempts to resolve the custom type and supply channel resource identifiers to return aCompletionStage
which contains a new instance of the draft with the resolved resource identifiers. - resolveReferences(AssetDraft) - Method in class com.commercetools.sync.commons.helpers.AssetReferenceResolver
- resolveReferences(AttributeDefinitionDraft) - Method in class com.commercetools.sync.producttypes.helpers.AttributeDefinitionReferenceResolver
-
Given an
AttributeDefinitionDraft
this method attempts to resolve the ProductType references, which can exist on attributeDefinition with an AttributeType: NestedType or SetType of NestedType, to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(PriceDraft) - Method in class com.commercetools.sync.products.helpers.PriceReferenceResolver
-
Given a
PriceDraft
this method attempts to resolve the custom type and channel references to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(ProductDraft) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraft
this method attempts to resolve the product type, categories, variants, tax category and product state references to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(ProductVariantDraft) - Method in class com.commercetools.sync.products.helpers.VariantReferenceResolver
-
Given a
ProductVariantDraft
this method attempts to resolve the prices, assets and attributes to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(ProductTypeDraft) - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeReferenceResolver
-
Given a
ProductTypeDraft
this method attempts to resolve the attribute definition references to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(LineItemDraft) - Method in class com.commercetools.sync.shoppinglists.helpers.LineItemReferenceResolver
-
Given a
ShoppingListDraft
this method attempts to resolve the custom type reference to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(ShoppingListDraft) - Method in class com.commercetools.sync.shoppinglists.helpers.ShoppingListReferenceResolver
-
Given a
ShoppingListDraft
this method attempts to resolve the customer and custom type references to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(TextLineItemDraft) - Method in class com.commercetools.sync.shoppinglists.helpers.TextLineItemReferenceResolver
-
Given a
TextLineItemDraft
this method attempts to resolve the attribute definition references to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(StateDraft) - Method in class com.commercetools.sync.states.helpers.StateReferenceResolver
-
Given a
StateDraft
this method attempts to resolve the transition state references to return aCompletionStage
which contains a new instance of the draft with the resolved references. - resolveReferences(T) - Method in class com.commercetools.sync.commons.helpers.BaseReferenceResolver
-
Given a draft this method attempts to resolve the all the references on the draft to return a
CompletionStage
which contains a new instance of the draft with the resolved references. - resolveStateReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftBuilder
this method attempts to resolve the state to return aCompletionStage
which 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
CustomerDraftBuilder
this method attempts to resolve the stores and return aCompletionStage
which contains a new instance of the builder with the resolved references. - resolveTaxCategoryReference(ProductDraftBuilder) - Method in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
Given a
ProductDraftBuilder
this method attempts to resolve the tax category to return aCompletionStage
which contains a new instance of the builder with the resolved tax category reference. - resource - Variable in class com.commercetools.sync.commons.helpers.ResourceKeyIdGraphQlRequest
- ResourceIdentifierUtils - Class in com.commercetools.sync.commons.utils
- ResourceKeyId - Class in com.commercetools.sync.commons.models
- ResourceKeyId(String, String) - Constructor for class com.commercetools.sync.commons.models.ResourceKeyId
- ResourceKeyIdGraphQlRequest - Class in com.commercetools.sync.commons.helpers
-
A SphereRequest implementation to allow
SphereClient
to execute graphQL queries on CTP. - ResourceKeyIdGraphQlRequest(Set<String>, GraphQlQueryResources) - Constructor for class com.commercetools.sync.commons.helpers.ResourceKeyIdGraphQlRequest
-
Takes
keysToSearch
and query resource nameGraphQlQueryResources
to instantiate a newResourceKeyIdGraphQlRequest
instance, which is an implementation of theSphereRequest
. - ResourceKeyIdGraphQlResult - Class in com.commercetools.sync.commons.models
- ResourceKeyIdGraphQlResult(Set<ResourceKeyId>) - Constructor for class com.commercetools.sync.commons.models.ResourceKeyIdGraphQlResult
S
- save(T, String, Class<T>) - Method in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
- save(T, String, Class<T>) - 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
- 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.GraphQlQueryResources
- 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
- 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
ShoppingListSyncOptions
instance, aCustomerService
andTypeService
to instantiate aShoppingListReferenceResolver
instance that could be used to resolve the shopping list drafts in the CTP project specified in the injectedShoppingListSyncOptions
instance. - 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
ShoppingListSyncOptions
to instantiate a newShoppingListSync
instance that could be used to sync shopping list drafts in the CTP project specified in the injectedShoppingListSyncOptions
instance. - ShoppingListSync(ShoppingListSyncOptions, ShoppingListService, CustomerService, TypeService) - Constructor for class com.commercetools.sync.shoppinglists.ShoppingListSync
-
Takes a
ShoppingListSyncOptions
and service instances to instantiate a newShoppingListSync
instance that could be used to sync shopping list drafts in the CTP project specified in the injectedShoppingListSyncOptions
instance. - 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
- 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<UpdateAction<Product>>) - Static method in class com.commercetools.sync.internals.utils.UpdateActionsSortUtils
-
Given a list of update actions, this method returns a copy of the supplied list but sorted with the following precedence:
RemovePrice
ChangePrice
orSetProductPriceCustomType
orSetProductPriceCustomField
AddPrice
- startTimer() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Stores the current time of instantiation in the
latestBatchStartTime
instance variable that will be used later 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
StateSyncOptions
instance, aStateService
to instantiate aStateReferenceResolver
instance that could be used to resolve the category drafts in the CTP project specified in the injectedStateSyncOptions
instance. - STATES - com.commercetools.sync.commons.models.GraphQlQueryResources
- 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
- 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<T>) - Method in class com.commercetools.sync.commons.BaseSync
-
Given a list of resource (e.g.
- syncBatches(List<List<T>>, CompletionStage<U>) - 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
SyncFilter
for the sync, which defines either a blacklist or a whitelist for filtering certain update action groups. - SyncFilter - Class in com.commercetools.sync.products
-
Defines either a blacklist or a whitelist for filtering certain update action groups (
ActionGroup
). - syncFrenchDataOnly(List<UpdateAction<Product>>, ProductDraft, Product) - Static method in class com.commercetools.sync.products.templates.beforeupdatecallback.SyncSingleLocale
-
Takes in a
List
of product update actions that was built from comparing anewProductDraft
and anoldProduct
and maps the update actions so that only localizations with valueLocale.FRENCH
are 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
SolutionInfo
class of the JVM SDK to append to the User-Agent header with information of the commercetools-sync-java library - SyncUtils - Class in com.commercetools.sync.commons.utils
T
- TAX_CATEGORIES - com.commercetools.sync.commons.models.GraphQlQueryResources
- 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
- TextLineItemCustomActionBuilder - Class in com.commercetools.sync.shoppinglists.utils
- TextLineItemCustomActionBuilder() - Constructor for class com.commercetools.sync.shoppinglists.utils.TextLineItemCustomActionBuilder
- TextLineItemReferenceResolver - Class in com.commercetools.sync.shoppinglists.helpers
- TextLineItemReferenceResolver(ShoppingListSyncOptions, TypeService) - Constructor for class com.commercetools.sync.shoppinglists.helpers.TextLineItemReferenceResolver
-
Takes a
ShoppingListSyncOptions
instance, aTypeService
to instantiate aTextLineItemReferenceResolver
instance that could be used to resolve the text line-item drafts in the CTP project specified in the injectedShoppingListSyncOptions
instance. - TextLineItemUpdateActionUtils - Class in com.commercetools.sync.shoppinglists.utils
- toCompletableFutures(Stream<CompletionStage<T>>, Collector<CompletableFuture<T>, ?, S>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
-
Converts a stream of
CompletionStage
of values of type<T>
into aCollection
of the type of the suppliedcollector
ofCompletableFuture
of values of type<T>
. - toResourceIdentifierIfNotNull(T) - Static method in class com.commercetools.sync.commons.utils.ResourceIdentifierUtils
-
Given a
Referenceable
resource
of the typeT
, if it is not null, this method applies theReferenceable.toResourceIdentifier()
method to return it as aResourceIdentifier
of the typeT
. - 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.GraphQlQueryResources
- 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.internals.utils
-
This class is only meant for the internal use of the commercetools-sync-java library.
- UnresolvedReferencesService<T extends WaitingToBeResolved> - Interface in com.commercetools.sync.services
- UnresolvedReferencesServiceImpl<T 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.internals.utils
-
This class is only meant for the internal use of the commercetools-sync-java library.
- updateCartDiscount(CartDiscount, List<UpdateAction<CartDiscount>>) - Method in interface com.commercetools.sync.services.CartDiscountService
-
Given a
CartDiscount
and aList
<UpdateAction
<CartDiscount
>>, this method issues an update request with these update actions on thisCartDiscount
in the CTP project defined in a potentially injectedSphereClient
. - updateCartDiscount(CartDiscount, List<UpdateAction<CartDiscount>>) - Method in class com.commercetools.sync.services.impl.CartDiscountServiceImpl
- updateCategory(Category, List<UpdateAction<Category>>) - Method in interface com.commercetools.sync.services.CategoryService
-
Given a
Category
and aList
<UpdateAction
<Category
>>, this method issues an update request with these update actions on thisCategory
in the CTP project defined in a potentially injectedSphereClient
. - updateCategory(Category, List<UpdateAction<Category>>) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
- updateCustomer(Customer, List<UpdateAction<Customer>>) - Method in interface com.commercetools.sync.services.CustomerService
-
Given a
Customer
and aList
<UpdateAction
<Customer
>>, this method issues an update request with these update actions on thisCustomer
in the CTP project defined in a potentially injectedSphereClient
. - updateCustomer(Customer, List<UpdateAction<Customer>>) - Method in class com.commercetools.sync.services.impl.CustomerServiceImpl
- updateInventoryEntry(InventoryEntry, List<UpdateAction<InventoryEntry>>) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
- updateInventoryEntry(InventoryEntry, List<UpdateAction<InventoryEntry>>) - Method in interface com.commercetools.sync.services.InventoryService
-
Updates existing inventory entry with
updateActions
. - updateProduct(Product, List<UpdateAction<Product>>) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
- updateProduct(Product, List<UpdateAction<Product>>) - Method in interface com.commercetools.sync.services.ProductService
-
Given a
Product
and aList
<UpdateAction
<Product
>>, this method issues an update request with these update actions on thisProduct
in the CTP project defined in a potentially injectedSphereClient
. - updateProductType(ProductType, List<UpdateAction<ProductType>>) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
- updateProductType(ProductType, List<UpdateAction<ProductType>>) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Updates existing product type with
updateActions
. - updateShoppingList(ShoppingList, List<UpdateAction<ShoppingList>>) - Method in class com.commercetools.sync.services.impl.ShoppingListServiceImpl
- updateShoppingList(ShoppingList, List<UpdateAction<ShoppingList>>) - Method in interface com.commercetools.sync.services.ShoppingListService
-
Given a
ShoppingList
and aList
<UpdateAction
<ShoppingList
>>, this method issues an update request with these update actions on thisShoppingList
in the CTP project defined in a potentially injectedSphereClient
. - updateState(State, List<UpdateAction<State>>) - Method in class com.commercetools.sync.services.impl.StateServiceImpl
- updateState(State, List<UpdateAction<State>>) - Method in interface com.commercetools.sync.services.StateService
-
Given a
State
and aList
<UpdateAction
<State
>>, this method issues an update request with these update actions on thisState
in the CTP project defined in a potentially injectedSphereClient
. - updateTaxCategory(TaxCategory, List<UpdateAction<TaxCategory>>) - Method in class com.commercetools.sync.services.impl.TaxCategoryServiceImpl
- updateTaxCategory(TaxCategory, List<UpdateAction<TaxCategory>>) - Method in interface com.commercetools.sync.services.TaxCategoryService
-
Given a
TaxCategory
and aList
<UpdateAction
<TaxCategory
>>, this method issues an update request with these update actions on thisTaxCategory
in the CTP project defined in a potentially injectedSphereClient
. - updateType(Type, List<UpdateAction<Type>>) - Method in class com.commercetools.sync.services.impl.TypeServiceImpl
- updateType(Type, List<UpdateAction<Type>>) - Method in interface com.commercetools.sync.services.TypeService
-
Given a
Type
and aList
<UpdateAction
<Type
>>, this method issues an update request with these update actions on thisType
in the CTP project defined in an injectedSphereClient
. - upsertCustomObject(CustomObjectDraft<JsonNode>) - Method in interface com.commercetools.sync.services.CustomObjectService
-
Given a resource draft of CustomObject
CustomObjectDraft
, this method attempts to create or update a resourceCustomObject
based on it in the CTP project defined by the sync options. - upsertCustomObject(CustomObjectDraft<JsonNode>) - Method in class com.commercetools.sync.services.impl.CustomObjectServiceImpl
V
- validateAndCollectReferencedKeys(List<D>) - Method in class com.commercetools.sync.commons.helpers.BaseBatchValidator
-
Given the
List
<D
> (e.g.CategoryDraft
) of drafts this method attempts to validate drafts and collect referenced keys from the draft and return anImmutablePair
<Set
<D
>, ?> which contains theSet
of valid drafts and referenced keys. - 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 theSet
of 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 theSet
of valid drafts and referenced keys within a wrapper. - 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 theSet
of valid drafts and referenced keys within a wrapper. - validateAndCollectReferencedKeys(List<CustomObjectDraft<JsonNode>>) - 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 theSet
of valid drafts and valid custom object identifiers (container with key). - 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 theSet
of valid drafts and referenced keys within a wrapper. - 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 theSet
of 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 theSet
of valid drafts and referenced product type keys. - 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 theSet
of 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 theSet
of 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 theSet
of 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 theSet
of valid drafts and valid type keys. - valueOf(String) - Static method in enum com.commercetools.sync.commons.models.GraphQlQueryResources
-
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.GraphQlQueryResources
-
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) - Constructor for class com.commercetools.sync.products.helpers.VariantReferenceResolver
-
Instantiates a
VariantReferenceResolver
instance that could be used to resolve the variants of product drafts in the CTP project specified in the injectedProductSyncOptions
instance.
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<V>, Optional<U>>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the
warningCallback
function of the sync module. - withLimit(long) - Method in class com.commercetools.sync.commons.helpers.GraphQlBaseRequestImpl
-
This method adds a limit to the request.
- withLimit(long) - Method in interface com.commercetools.sync.commons.models.GraphQlBaseRequest
-
This method adds a limit to the request.
- withPredicate(String) - Method in class com.commercetools.sync.commons.helpers.GraphQlBaseRequestImpl
-
This method adds a predicate string to the request.
- withPredicate(String) - Method in interface com.commercetools.sync.commons.models.GraphQlBaseRequest
-
This method adds a predicate string to the request.
All Classes All Packages