- 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>) - Constructor for class com.commercetools.sync.commons.BaseSyncOptions
-
- BaseSyncOptionsBuilder<T extends BaseSyncOptionsBuilder<T,S,U,V>,S extends BaseSyncOptions,U,V> - Class in com.commercetools.sync.commons
-
- BaseSyncOptionsBuilder() - Constructor for class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
- BaseSyncStatistics - Class in com.commercetools.sync.commons.helpers
-
- BaseSyncStatistics() - Constructor for class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Creates a new
BaseSyncStatistics with initial values
0 of created, updated, failed and processed
counters, an empty reportMessage and latestBatchHumanReadableProcessingTime.
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.cartdiscounts.CartDiscountSyncOptionsBuilder
-
- BATCH_SIZE_DEFAULT - Static variable in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
-
- 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.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 the
batchSize.
- batchSize - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
- batchSize(int) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Set option that indicates batch size for sync process.
- beforeCreateCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
- beforeCreateCallback(Function<V, V>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the beforeCreateCallback Function which can be applied on a new resource draft of type V
(e.g.
- beforeUpdateCallback - Variable in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
- beforeUpdateCallback(TriFunction<List<UpdateAction<U>>, V, U, List<UpdateAction<U>>>) - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Sets the beforeUpdateCallback
TriFunction which can be applied on the supplied list of update actions
generated from comparing an old resource of type
U (e.g.
- BLANK_ID_VALUE_ON_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
-
- build() - Method in class com.commercetools.sync.categories.CategorySyncOptionsBuilder
-
Creates a new instance of
CategorySyncOptions enriched with all attributes provided to
this
builder.
- build() - Method in class com.commercetools.sync.commons.BaseSyncOptionsBuilder
-
Creates new instance of
S which extends
BaseSyncOptions enriched with all attributes provided to
this builder.
- build() - Method in class com.commercetools.sync.customobjects.CustomObjectSyncOptionsBuilder
-
- build() - Method in class com.commercetools.sync.inventories.InventorySyncOptionsBuilder
-
Returns new instance of
InventorySyncOptions, enriched with all attributes provided to
this
builder.
- build() - Method in class com.commercetools.sync.products.ProductSyncOptionsBuilder
-
- build() - Method in class com.commercetools.sync.producttypes.ProductTypeSyncOptionsBuilder
-
- build() - Method in class com.commercetools.sync.states.StateSyncOptionsBuilder
-
Creates new instance of
StateSyncOptions enriched with all attributes provided to
this
builder.
- build() - Method in class com.commercetools.sync.taxcategories.TaxCategorySyncOptionsBuilder
-
- build() - Method in class com.commercetools.sync.types.TypeSyncOptionsBuilder
-
Creates new instance of
TypeSyncOptions enriched with all fields provided to
this builder.
- buildActions(CartDiscount, CartDiscountDraft, CartDiscountSyncOptions) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountSyncUtils
-
Compares all the fields of a CartDiscount and a CartDiscountDraft.
- buildActions(Resource, D, Asset, AssetDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares all the fields of an Asset and an AssetDraft and returns a list of
UpdateAction<Category> as a result.
- buildActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategorySyncUtils
-
Compares all the fields of a Category and a CategoryDraft.
- buildActions(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 new newEnumValues for a given definition.
- buildActions(InventoryEntry, InventoryEntryDraft, InventorySyncOptions) - Static method in class com.commercetools.sync.inventories.utils.InventorySyncUtils
-
Compares the quantityOnStock, the restockableInDays, the expectedDelivery, the supply channel and Custom
fields/ type fields of an InventoryEntry and an InventoryEntryDraft.
- buildActions(Product, ProductDraft, ProductSyncOptions, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductSyncUtils
-
- 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 an AssetDraft and returns a list of
UpdateAction<Product> as a result.
- 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 a PriceDraft and returns a list of
UpdateAction<Product> as a result.
- buildActions(ProductType, ProductTypeDraft, ProductTypeSyncOptions) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeSyncUtils
-
- buildActions(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateSyncUtils
-
- buildActions(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategorySyncUtils
-
Compares all the fields of a TaxCategory and a
TaxCategoryDraft.
- buildActions(Type, TypeDraft, TypeSyncOptions) - Static method in class com.commercetools.sync.types.utils.TypeSyncUtils
-
- 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
-
- buildAddToCategoryUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the Set of Category References of a ProductDraft and a Product.
- buildAssetActions(Category, CategoryDraft, Asset, AssetDraft) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
-
- 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.
- buildAssetActions(Product, ProductDraft, Asset, AssetDraft) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
-
- buildAssetsUpdateActions(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the assets of a Category and a CategoryDraft and returns a list of
UpdateAction<Category> as a result.
- buildAssetsUpdateActions(T, D, List<Asset>, List<AssetDraft>, AssetActionFactory<T, D>, BaseSyncOptions) - Static method in class com.commercetools.sync.commons.utils.AssetsUpdateActionUtils
-
Compares a list of Assets with a list of AssetDrafts.
- buildAttributesUpdateActions(ProductType, ProductTypeDraft, ProductTypeSyncOptions) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the attributes of a ProductType and a ProductTypeDraft and returns a list of
UpdateAction<ProductType> as a result.
- 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 a ProductDraft.
- 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
- buildChangeAssetNameUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the LocalizedString names of an Asset and an AssetDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildChangeAssetNameUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the LocalizedString names of an Asset and an AssetDraft and returns an
UpdateAction<Product> as a result in an Optional.
- buildChangeAssetOrderAction(List<String>) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
-
- buildChangeAssetOrderAction(List<String>) - Method in class com.commercetools.sync.commons.helpers.AssetActionFactory
-
Takes a list of asset ids to build a ChangeAssetOrder action of the type T.
- buildChangeAssetOrderAction(List<String>) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
-
- buildChangeCartPredicateUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the cartPredicates of a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildChangeDescriptionAction(ProductType, ProductTypeDraft) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the description values of a ProductType and a ProductTypeDraft
and returns an Optional of update action, which would contain the "changeDescription"
UpdateAction.
- buildChangeInitialAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the initial values of a State and a StateDraft
and returns an Optional 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 a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildChangeLabelAction(String, LocalizedEnumValue, LocalizedEnumValue) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumValueUpdateActionUtils
-
Compares the label values of an old LocalizedEnumValue and a new LocalizedEnumValue
and returns an Optional of update action, which would contain the "changeLabel"
UpdateAction.
- buildChangeLabelAction(String, EnumValue, EnumValue) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumValueUpdateActionUtils
-
Compares the label values of an old EnumValue and a new EnumValue
and returns an Optional of update action, which would contain the "changeLabel"
UpdateAction.
- buildChangeMasterVariantUpdateAction(Product, ProductDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Create update action, if newProduct has #masterVariant#key different than oldProduct
staged #masterVariant#key.
- buildChangeNameAction(ProductType, ProductTypeDraft) - Static method in class com.commercetools.sync.producttypes.utils.ProductTypeUpdateActionUtils
-
Compares the name values of a ProductType and a ProductTypeDraft
and returns an Optional of update action, which would contain the "changeName"
UpdateAction.
- buildChangeNameAction(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategoryUpdateActionUtils
-
Compares the name values of a TaxCategory and a TaxCategoryDraft
and returns an Optional 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 a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildChangeNameUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the LocalizedString names of a Category and a CategoryDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildChangeNameUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the LocalizedString names of a ProductDraft and a Product.
- buildChangeNameUpdateAction(Type, TypeDraft) - Static method in class com.commercetools.sync.types.utils.TypeUpdateActionUtils
-
Compares the LocalizedString name values of a Type and a TypeDraft
and returns an Optional 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 a CategoryDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildChangeParentUpdateAction(Category, CategoryDraft, CategorySyncOptions) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the parents Reference<Category> of a Category and a CategoryDraft
and returns an UpdateAction<Category> as a result in an Optional.
- buildChangePriceUpdateAction(Price, PriceDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantPriceUpdateActionUtils
-
Builds a ChangePrice action based on the comparison of the following fields of the supplied Price
and PriceDraft:
Price.getValue() and PriceDraft.getValue()
Price.getTiers() and PriceDraft.getTiers()
- buildChangeQuantityAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the quantityOnStock values of an InventoryEntry and an InventoryEntryDraft
and returns an Optional of update action, which would contain the "changeQuantity"
UpdateAction.
- buildChangeRequiresDiscountCodeUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the Boolean requiresDiscountCode values of a CartDiscount
and a CartDiscountDraft and returns an UpdateAction<CartDiscount> as a result
in an Optional.
- buildChangeSlugUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the LocalizedString slugs of a Category and a CategoryDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildChangeSlugUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the LocalizedString slugs of a ProductDraft and a Product.
- buildChangeSortOrderUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the sortOrder values of a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildChangeStackingModeUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the StackingMode stacking modes of a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildChangeTargetUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the cart discount target values of a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildChangeTypeAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the type values of a State and a StateDraft
and returns an Optional 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 a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- 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 an AssetDraft and returns a list of
UpdateAction<Category> 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 resource T (for example Category,
Product, etc..), to the CustomFieldsDraft, of a new
resource draft S (for example CategoryDraft, ProductVariantDraft,
etc..), and returns a List<UpdateAction> as a result.
- buildCustomUpdateActions(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 an AssetDraft and returns a list of
UpdateAction<Product> 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 a PriceDraft and returns a list of
UpdateAction<Product> as a result.
- buildEnumValuesUpdateActions(String, List<EnumValue>, List<EnumValue>) - Static method in class com.commercetools.sync.producttypes.utils.PlainEnumValueUpdateActionUtils
-
Compares a list of old EnumValues with a list of new EnumValues 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 new EnumValue and returns a list of
UpdateAction<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 a TypeDraft and returns a list of
UpdateAction<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
- buildLocalizedEnumValuesUpdateActions(String, List<LocalizedEnumValue>, List<LocalizedEnumValue>) - Static method in class com.commercetools.sync.producttypes.utils.LocalizedEnumValueUpdateActionUtils
-
Compares a list of old LocalizedEnumValues with a list of new LocalizedEnumValues 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 new LocalizedEnumValue and returns a
list of UpdateAction<ProductType> as a result.
- buildMoveImageToPositionUpdateActions(int, List<Image>, List<Image>) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares an old List of Images and a new one and returns a List of
MoveImageToPosition with the given variantId.
- 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 the
ProductType 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 the
ProductType reference of any
NestedType Attribute and
also any
SetType Attribute
that has an
elementType of
NestedType depending on the given
maximumSetDepth 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 of AssetDrafts of a ProductVariantDraft and a
ProductVariant and returns a List of UpdateAction<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 a ProductVariant to build either
SetAttribute or
SetAttributeInAllVariants update actions.
- buildProductVariantAttributeUpdateAction(int, Attribute, AttributeDraft, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductVariantAttributeUpdateActionUtils
-
Compares the attributes of a AttributeDraft and a Attribute to build either a
SetAttribute or a
SetAttributeInAllVariants.
- buildProductVariantImagesUpdateActions(ProductVariant, ProductVariantDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the List of Images of a ProductVariantDraft and a ProductVariant and
returns a List of UpdateAction<Product>.
- buildProductVariantPricesUpdateActions(Product, ProductDraft, ProductVariant, ProductVariantDraft, ProductSyncOptions) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the List of Prices of a ProductVariantDraft and a
ProductVariant and returns a List of UpdateAction<Product>.
- buildProductVariantSkuUpdateAction(ProductVariant, ProductVariantDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
Compares the SKUs of a ProductVariantDraft and a ProductVariant.
- buildPublishOrUnpublishUpdateAction(Product, ProductDraft, boolean) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the 'published' field of a ProductDraft and a Product with the new update actions
and hasStagedChanges of the old product.
- buildRemoveAssetAction(String) - Method in class com.commercetools.sync.categories.helpers.CategoryAssetActionFactory
-
- buildRemoveAssetAction(String) - Method in class com.commercetools.sync.commons.helpers.AssetActionFactory
-
Takes an asset key to build a RemoveAsset action of the type T.
- buildRemoveAssetAction(String) - Method in class com.commercetools.sync.products.helpers.ProductAssetActionFactory
-
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.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 resource T.
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
-
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
-
- buildRemoveCustomTypeAction(Integer, String) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
-
- buildRemoveFromCategoryUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the Set of Category References of a ProductDraft and a Product.
- buildRemoveUpdateActions(List<U>, List<V>, Function<U, S>, Function<V, S>, Function<U, UpdateAction<T>>) - Static method in class com.commercetools.sync.internals.utils.UnorderedCollectionSyncUtils
-
Compares a list of newDrafts with a list of oldResources and for every missing matching draft
in the oldResources: a remove update action is created using the removeUpdateActionMapper.
- buildRolesUpdateActions(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the roles of a State and a StateDraft and returns a list of
UpdateAction<State> as a result.
- buildSetAssetDescriptionUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the LocalizedString descriptions of an Asset and an AssetDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildSetAssetDescriptionUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the LocalizedString descriptions of an Asset and an AssetDraft and returns an
UpdateAction<Product> as a result in an Optional.
- buildSetAssetSourcesUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the sources of an Asset and an AssetDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildSetAssetSourcesUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the sources of an Asset and an AssetDraft and returns an
UpdateAction<Product> as a result in an Optional.
- buildSetAssetTagsUpdateAction(Asset, AssetDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryAssetUpdateActionUtils
-
Compares the tags of an Asset and an AssetDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildSetAssetTagsUpdateAction(Integer, Asset, AssetDraft) - Static method in class com.commercetools.sync.products.utils.ProductVariantAssetUpdateActionUtils
-
Compares the tags of an Asset and an AssetDraft and returns an
UpdateAction<Product> as a result in an Optional.
- buildSetCategoryOrderHintUpdateActions(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the CategoryOrderHints of a ProductDraft and a Product.
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.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 with
customFieldName and a customFieldValue on the given resource T.
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.inventories.helpers.InventoryCustomActionBuilder
-
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.products.helpers.AssetCustomActionBuilder
-
- buildSetCustomFieldAction(Integer, String, String, JsonNode) - Method in class com.commercetools.sync.products.helpers.PriceCustomActionBuilder
-
- buildSetCustomTypeAction(Integer, String, String, Map<String, JsonNode>) - Method in class com.commercetools.sync.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.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
-
- buildSetDescriptionAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the description values of a State and a StateDraft
and returns an Optional 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 a TaxCategory and a TaxCategoryDraft
and returns an Optional 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 a CartDiscount and a CartDiscountDraft and
returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildSetDescriptionUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the LocalizedString descriptions of a Category and a CategoryDraft and
returns an UpdateAction<Category> as a result in an Optional.
- buildSetDescriptionUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the LocalizedString descriptions of a ProductDraft and a Product.
- buildSetDescriptionUpdateAction(Type, TypeDraft) - Static method in class com.commercetools.sync.types.utils.TypeUpdateActionUtils
-
Compares the LocalizedString descriptions of a Type and a TypeDraft and
returns an UpdateAction<Type> as a result in an Optional
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 an InventoryEntry and an InventoryEntryDraft
and returns an Optional of update action, which would contain the "setExpectedDelivery"
UpdateAction.
- buildSetExternalIdUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the externalId values of a Category and a CategoryDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildSetMetaDescriptionUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the LocalizedString meta description of a Category and a CategoryDraft and
returns an UpdateAction<Category> as a result in an Optional.
- buildSetMetaDescriptionUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the LocalizedString meta descriptions of a ProductDraft and a Product.
- buildSetMetaKeywordsUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the LocalizedString meta keywords of a Category and a CategoryDraft and
returns an UpdateAction<Category> as a result in an Optional.
- buildSetMetaKeywordsUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the LocalizedString meta keywordss of a ProductDraft and a Product.
- buildSetMetaTitleUpdateAction(Category, CategoryDraft) - Static method in class com.commercetools.sync.categories.utils.CategoryUpdateActionUtils
-
Compares the LocalizedString meta title of a Category and a CategoryDraft and returns an
UpdateAction<Category> as a result in an Optional.
- buildSetMetaTitleUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the LocalizedString meta titles of a ProductDraft and a Product.
- buildSetNameAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the name values of a State and a StateDraft
and returns an Optional 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 an InventoryEntry and an InventoryEntryDraft
and returns an Optional of update action, which would contain the "setRestockableInDays"
UpdateAction.
- buildSetSearchKeywordsUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the SearchKeywords of a ProductDraft and a Product.
- buildSetSupplyChannelAction(InventoryEntry, InventoryEntryDraft) - Static method in class com.commercetools.sync.inventories.utils.InventoryUpdateActionUtils
-
Compares the supplyChannels of an InventoryEntry and an InventoryEntryDraft
and returns an Optional of update action, which would contain the "setSupplyChannel"
UpdateAction.
- buildSetTaxCategoryUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the TaxCategory references of an old Product and
new ProductDraft.
- buildSetTransitionsAction(State, StateDraft) - Static method in class com.commercetools.sync.states.utils.StateUpdateActionUtils
-
Compares the transitions values of a State and a StateDraft
and returns an Optional 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 and ZonedDateTime validUntil values
of a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildSetValidFromUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the ZonedDateTime validFrom values of a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- buildSetValidUntilUpdateAction(CartDiscount, CartDiscountDraft) - Static method in class com.commercetools.sync.cartdiscounts.utils.CartDiscountUpdateActionUtils
-
Compares the ZonedDateTime validUntil values of a CartDiscount and a CartDiscountDraft
and returns an UpdateAction<CartDiscount> as a result in an Optional.
- 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
- buildTaxRateUpdateActions(TaxCategory, TaxCategoryDraft) - Static method in class com.commercetools.sync.taxcategories.utils.TaxCategoryUpdateActionUtils
-
Compares the tax rates of a TaxCategory and a TaxCategoryDraft and returns a list of
UpdateAction<TaxCategory> as a result.
- buildTransitionStateUpdateAction(Product, ProductDraft) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the State references of an old Product and
new ProductDraft.
- buildUpdateAction(S, S, Supplier<U>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares two Object and returns a supplied UpdateAction as a result in an
Optional.
- BuildUpdateActionException - Exception in com.commercetools.sync.commons.exceptions
-
- BuildUpdateActionException(String) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
-
- BuildUpdateActionException(Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
-
- BuildUpdateActionException(String, Throwable) - Constructor for exception com.commercetools.sync.commons.exceptions.BuildUpdateActionException
-
- 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
supplied UpdateAction as a result in an Optional.
- buildUpdateActions(S, S, Supplier<List<U>>) - Static method in class com.commercetools.sync.commons.utils.CommonTypeUpdateActionUtils
-
Compares two Object and returns a supplied list of UpdateAction as a result.
- buildVariantsUpdateActions(Product, ProductDraft, ProductSyncOptions, Map<String, AttributeMetaData>) - Static method in class com.commercetools.sync.products.utils.ProductUpdateActionUtils
-
Compares the variants (including the master variants) of a ProductDraft and a Product.
- 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<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<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<CustomObjectCompositeIdentifier>) - Method in class com.commercetools.sync.services.impl.CustomObjectServiceImpl
-
- 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.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.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.
- 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
-
- 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
-
- 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_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 of Category References and a CategoryOrderHints.
- 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
-
- 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
-
- CategorySyncOptions - Class in com.commercetools.sync.categories
-
- CategorySyncOptionsBuilder - Class in com.commercetools.sync.categories
-
- CategorySyncStatistics - Class in com.commercetools.sync.categories.helpers
-
- CategorySyncStatistics() - Constructor for class com.commercetools.sync.categories.helpers.CategorySyncStatistics
-
- CategorySyncUtils - Class in com.commercetools.sync.categories.utils
-
- CategoryUpdateActionUtils - Class in com.commercetools.sync.categories.utils
-
- ChannelCustomActionBuilder - Class in com.commercetools.sync.channels.helpers
-
- ChannelCustomActionBuilder() - Constructor for class com.commercetools.sync.channels.helpers.ChannelCustomActionBuilder
-
- ChannelService - Interface in com.commercetools.sync.services
-
- ChannelServiceImpl - Class in com.commercetools.sync.services.impl
-
- ChannelServiceImpl(BaseSyncOptions, Set<ChannelRole>) - Constructor for class com.commercetools.sync.services.impl.ChannelServiceImpl
-
- ClientConfigurationUtils - Class in com.commercetools.sync.commons.utils
-
- collectionOfFuturesToFutureOfCollection(Collection<? extends CompletionStage<T>>, Collector<T, ?, S>) - Static method in class com.commercetools.sync.commons.utils.CompletableFutureUtils
-
Transforms a collection of CompletionStage into a CompletionStage of a collection,
that will be completed once all the elements of the given futures are completed.
- collectionToMap(Collection<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
-
Convert a collection to a map using keyMapper and valueMapper mappers.
- collectionToMap(Collection<T>, Function<? super T, ? extends K>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
-
- collectionToSet(Collection<T>, Function<? super T, ? extends K>) - Static method in class com.commercetools.sync.commons.utils.CollectionUtils
-
Convert a collection to a set of values using keyMapper mapping.
- CollectionUtils - Class in com.commercetools.sync.commons.utils
-
- 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.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.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 resource
CartDiscount 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 resource
Category 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, long, TimeUnit) - Static method in class com.commercetools.sync.commons.utils.ClientConfigurationUtils
-
Creates a BlockingSphereClient with a custom timeout with a custom TimeUnit.
- createClient(SphereClientConfig) - Static method in class com.commercetools.sync.commons.utils.ClientConfigurationUtils
-
Creates a BlockingSphereClient with a default timeout value of 30 seconds.
- createInventoryEntry(InventoryEntryDraft) - Method in class com.commercetools.sync.services.impl.InventoryServiceImpl
-
- createInventoryEntry(InventoryEntryDraft) - Method in interface com.commercetools.sync.services.InventoryService
-
Creates new inventory entry from inventoryEntryDraft.
- createProduct(ProductDraft) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
-
- createProduct(ProductDraft) - Method in interface com.commercetools.sync.services.ProductService
-
Given a resource draft of type ProductDraft, this method attempts to create a resource
Product 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 resource
ProductType 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 resource
State 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 resource
TaxCategory 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 resource
Type 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
-
- 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
-
- 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 extends io.sphere.sdk.types.CustomDraft,B extends io.sphere.sdk.models.Builder<? extends D>,S extends BaseSyncOptions> - Class in com.commercetools.sync.commons.helpers
-
This class is responsible for providing an abstract implementation of reference resolution on Custom CTP
resources for example (Categories, inventories and resource with a custom field).
- CustomReferenceResolver(S, TypeService) - Constructor for class com.commercetools.sync.commons.helpers.CustomReferenceResolver
-
- 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
-
- FAILED_TO_BUILD_ATTRIBUTE_UPDATE_ACTION - Static variable in class com.commercetools.sync.products.utils.ProductVariantUpdateActionUtils
-
- FAILED_TO_RESOLVE_REFERENCE - Static variable in class com.commercetools.sync.products.helpers.ProductReferenceResolver
-
- fetch(Set<String>) - Method in class com.commercetools.sync.services.impl.UnresolvedReferencesServiceImpl
-
- fetch(Set<String>) - Method in class com.commercetools.sync.services.impl.UnresolvedTransitionsServiceImpl
-
- fetch(Set<String>) - Method in interface com.commercetools.sync.services.UnresolvedReferencesService
-
Given product draft keys, this method fetches the persisted drafts waiting to be resolved.
- fetch(Set<String>) - Method in interface com.commercetools.sync.services.UnresolvedTransitionsService
-
Given state 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
-
- fetchCachedCustomObjectId(CustomObjectCompositeIdentifier) - Method in interface com.commercetools.sync.services.CustomObjectService
-
- 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
-
TODO FIX JAVADOC AND TEST METHOD
Given a
productType, this method first checks if a cached map of ProductType ids -> map of
AttributeMetaData is not empty.
- fetchCachedProductTypeId(String) - Method in class com.commercetools.sync.services.impl.ProductTypeServiceImpl
-
- fetchCachedProductTypeId(String) - Method in interface com.commercetools.sync.services.ProductTypeService
-
Given a key, this method first checks if a cached map of ProductType keys -> ids 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
-
- 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
-
- 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 injected SphereClient.
- 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 injected SphereClient.
- fetchMatchingCategoriesByKeys(Set<String>) - Method in class com.commercetools.sync.services.impl.CategoryServiceImpl
-
- 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 injected
SphereClient.
- 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 injected SphereClient.
- 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 injected SphereClient.
- 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 injected SphereClient.
- 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 injected SphereClient.
- 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 injected SphereClient.
- 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 injected SphereClient.
- fetchProduct(String) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
-
- fetchProduct(String) - Method in interface com.commercetools.sync.services.ProductService
-
Given a product key, this method fetches a product that matches this given key in the CTP project defined in a
potentially injected SphereClient.
- 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.
- 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
-
- 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 of Optionals containing some elements of type T, this method filters
out any empty Optional 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 Optionals containing some elements of type T, this method filters
out any empty Optional 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 than Locale.FRENCH from
LocalizedString fields of the supplied ProductDraft.
- filterNullAndMap(Stream<T>, Function<T, S>) - Static method in class com.commercetools.sync.commons.utils.StreamUtils
-
Applies the supplied mapper function on every non-null element in the supplied Stream of
elements.
- FilterUtils - Class in com.commercetools.sync.commons.utils
-
- 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.
- 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
-
Returns the
beforeCreateCallback Function<
V,
Optional<
V>>
function set to
this BaseSyncOptions.
- getBeforeUpdateCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
Returns the
beforeUpdateCallback TriFunction<
List<
UpdateAction<
U>>,
V,
U,
List<
UpdateAction<
U>>> function
set to
this BaseSyncOptions.
- getCategoryKeys() - Method in class com.commercetools.sync.categories.helpers.CategoryBatchValidator.ReferencedKeys
-
- getCategoryKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
-
- getCategoryKeysWithMissingParents() - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
-
- getCategoryOrderHints() - Method in class com.commercetools.sync.commons.helpers.CategoryReferencePair
-
- getCategoryResourceIdentifiers() - Method in class com.commercetools.sync.commons.helpers.CategoryReferencePair
-
- 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
-
- 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
-
- getCustomerGroupId() - Method in class com.commercetools.sync.internals.helpers.PriceCompositeId
-
- getCustomerGroupKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.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) to
Set<
CustomObjectCompositeIdentifier> to be used for caching purposes.
- getDraftBuilderFromStagedProduct(Product) - Static method in class com.commercetools.sync.products.utils.ProductReferenceResolutionUtils
-
Given a Product this method creates a ProductDraftBuilder based on the staged projection
values of the supplied product.
- getErrorCallback() - Method in class com.commercetools.sync.commons.BaseSyncOptions
-
- getFailed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Gets the total number of resources that failed to sync.
- getIdFromCacheOrFetch(String) - Method in class com.commercetools.sync.services.impl.ProductServiceImpl
-
- getIdFromCacheOrFetch(String) - Method in interface com.commercetools.sync.services.ProductService
-
Given a key, if it is blank (null/empty), a completed future with an empty optional is returned.
- 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.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.
- getMissingParentKey(String) - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
-
Given a childCategoryKey this method, checks in the categoryKeysWithMissingParents
if it exists as a child to a missing parent, and returns the key of first found (since a category can have only
one parent) missing parent in an optional.
- getMissingReferencedProductKeys() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolved
-
- getMissingTransitionStateKeys() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
-
- getName() - Method in class com.commercetools.sync.products.AttributeMetaData
-
Gets the name of the attribute.
- getNumberOfCategoriesWithMissingParents() - Method in class com.commercetools.sync.categories.helpers.CategorySyncStatistics
-
Returns the total number of categories with missing parents.
- 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.
- getParentCategoryKey(CategoryDraftBuilder) - Static method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
-
- getParentCategoryKey(CategoryDraft) - Static method in class com.commercetools.sync.categories.helpers.CategoryReferenceResolver
-
- getProcessed() - Method in class com.commercetools.sync.commons.helpers.BaseSyncStatistics
-
Gets the total number of resources that were processed/synced.
- getProductDraft() - Method in class com.commercetools.sync.commons.models.WaitingToBeResolved
-
- getProductKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
-
- getProductTypeKey(AttributeType) - Static method in class com.commercetools.sync.producttypes.helpers.ProductTypeBatchValidator
-
This method is meant be only used internally by the library.
- getProductTypeKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.ReferencedKeys
-
- getProductTypeKeysWithMissingParents() - Method in class com.commercetools.sync.producttypes.helpers.ProductTypeSyncStatistics
-
- getReferencedProductKeys(ProductVariantDraft) - Static method in class com.commercetools.sync.products.helpers.ProductBatchValidator
-
Get a set of referenced product keys on all attribute drafts on the supplied Product
Variant Draft.
- 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.helpers.BaseSyncStatistics
-
Gets a summary message of the statistics report.
- 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.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.
- 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.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
-
- 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.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.
- getTypeKeys() - Method in class com.commercetools.sync.categories.helpers.CategoryBatchValidator.ReferencedKeys
-
- getTypeKeys() - Method in class com.commercetools.sync.inventories.helpers.InventoryBatchValidator.ReferencedKeys
-
- getTypeKeys() - Method in class com.commercetools.sync.products.helpers.ProductBatchValidator.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
-