public abstract class BMECatArticlePriceStep extends GeneratedBMECatArticlePriceStep
BMECatEurope1ArticlePriceStep has been provided.BMECatImportStep.DefaultBMECatObjectProcessorGenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionDEFAULT_INITIAL_ATTRIBUTESXML_MIME_TYPE, ZIP_MIME_TYPEBATCHJOB, CODE, CRONJOBPENDINGSTEPSRELATION_MARKMODIFIED, CRONJOBPENDINGSTEPSRELATION_SRC_ORDERED, CRONJOBPENDINGSTEPSRELATION_TGT_ORDERED, CRONJOBPROCESSEDSTEPSRELATION_MARKMODIFIED, CRONJOBPROCESSEDSTEPSRELATION_SRC_ORDERED, CRONJOBPROCESSEDSTEPSRELATION_TGT_ORDERED, ERRORMODE, PENDINGCRONJOBS, PROCESSEDCRONJOBS, SEQUENCENUMBER, SYNCHRONOUSLANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
BMECatArticlePriceStep() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
createPrices(Catalog catalog,
Article article,
BMECatImportCronJob cronJob)
Override to create new prices for the given article.
|
protected abstract void |
deletePrices(Catalog catalog,
Article article,
BMECatImportCronJob cronJob)
Override to delete all prices for the given article.
|
int |
getCompletedCount(BMECatImportCronJob cronJob) |
int |
getTotalToComplete(BMECatImportCronJob cronJob) |
protected void |
importBMECatObject(Catalog catalog,
AbstractValueObject object,
BMECatImportCronJob cronJob)
Imports article prices.
|
protected void |
initializeBMECatImport(Catalog catalog,
BMECatImportCronJob cronJob)
no op
|
protected abstract boolean |
skipArticleOnRestart(Catalog catalog,
Article article,
BMECatImportCronJob cronJob) |
protected void |
updatePrices(Catalog catalog,
Article article,
BMECatImportCronJob cronJob)
Updates the prices for the given article.
|
getDefaultAttributeModescanPerform, createKeyword, createProcessor, customizeImport, finalizeStep, getBMECatManager, getCatalogManager, getCompletionStatus, getData, getOrCreateKeywords, getProduct, isAbortable, performStep, remove, undoStep, writeToFileaddChange, canUndo, createItem, debug, error, fatal, getChanges, getChanges, getChanges, getChanges, getFailErrorMode, getIgnoreErrorMode, getMostRecentChange, getNonInitialAttributes, getPauseErrorMode, hasChanges, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, setNonInitialAttributes, toString, warngetBatchJob, getBatchJob, getCode, getCode, getErrorMode, getErrorMode, getSequenceNumber, getSequenceNumber, getSequenceNumberAsPrimitive, getSequenceNumberAsPrimitive, isMarkModifiedDisabled, isSynchronous, isSynchronous, isSynchronousAsPrimitive, isSynchronousAsPrimitive, setBatchJob, setBatchJob, setCode, setCode, setErrorMode, setErrorMode, setSequenceNumber, setSequenceNumber, setSequenceNumber, setSequenceNumber, setSynchronous, setSynchronous, setSynchronous, setSynchronousgetInitialPropertiesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setOwner, setPermissionsByMap, setTransientObject, setUseTA, useTA, writeReplacesetTenantprotected void initializeBMECatImport(Catalog catalog, BMECatImportCronJob cronJob)
initializeBMECatImport in class BMECatImportStepcatalog - object which holds information about the BMECat catalog tagcronJob - context under which this step isprotected abstract boolean skipArticleOnRestart(Catalog catalog, Article article, BMECatImportCronJob cronJob)
public int getCompletedCount(BMECatImportCronJob cronJob)
getCompletedCount in class BMECatImportSteppublic int getTotalToComplete(BMECatImportCronJob cronJob)
getTotalToComplete in class BMECatImportStepprotected void importBMECatObject(Catalog catalog, AbstractValueObject object, BMECatImportCronJob cronJob) throws ParseAbortException
createPrices(Catalog, Article, BMECatImportCronJob),
updatePrices(Catalog, Article, BMECatImportCronJob) or
deletePrices(Catalog, Article, BMECatImportCronJob) according to the current catalog import mode and
article mode.importBMECatObject in class BMECatImportStepcatalog - the catalog which is currently importedobject - the article to import prices forcronJob - the cronJob which executes this importParseAbortExceptionprotected void updatePrices(Catalog catalog, Article article, BMECatImportCronJob cronJob)
deletePrices(Catalog, Article, BMECatImportCronJob) before
createPrices(Catalog, Article, BMECatImportCronJob). Feel free to override and provide a more efficient
update procedure.catalog - the catalog which is currently importedarticle - the article to import prices forcronJob - the cronJob which executes this importprotected abstract void deletePrices(Catalog catalog, Article article, BMECatImportCronJob cronJob)
catalog - the catalog which is currently importedarticle - the article to import prices forcronJob - the cronJob which executes this importprotected abstract void createPrices(Catalog catalog, Article article, BMECatImportCronJob cronJob)
catalog - the catalog which is currently importedarticle - the article to import prices forcronJob - the cronJob which executes this importCopyright © 2018 SAP SE. All Rights Reserved.