public class GenericCatalogCopyContextTest.TestGenericCatalogCopyContext extends GenericCatalogCopyContext
GenericCatalogCopyContext.AbstractParentResolver, GenericCatalogCopyContext.ReferenceParentResolverLEGACY_MODE_FLAG, PARTIAL_COLLECTION_TRANSLATION_ALLOWEDctx| Constructor and Description |
|---|
TestGenericCatalogCopyContext(SessionContext ctx,
CatalogVersionSyncJob job,
CatalogVersionSyncCronJob cronJob,
Level logLevel,
boolean forceUpdate) |
| Modifier and Type | Method and Description |
|---|---|
protected JaloSession |
createSession() |
protected java.util.Set<AttributeDescriptor> |
getCreationAttributes()
Makes sure the following attribute are set during item creation although they are item references (normally item
references are translated and set after creating the copy):
GeneratedCatalogConstants.Attributes.Product.CATALOGVERSION
CatalogConstants.Attributes.Category.CATALOGVERSION
GeneratedCatalogConstants.Attributes.Media.CATALOGVERSION
GeneratedKeyword.CATALOGVERSION
GeneratedCatalogConstants.Attributes.Product.VARIANTTYPE
GeneratedVariantProduct.BASEPRODUCT
GeneratedProduct.UNIT
|
protected int |
getCurrentTurn() |
protected java.lang.String |
getRootCatalogType(ComposedType composedType) |
protected SynchronizationPersistenceAdapter |
initPersistenceAdapter() |
protected void |
setTargetLanguages(java.util.Collection<Language> languages) |
addCreationAttribute, afterCopying, afterCreate, beforeCopying, canBeTranslatedPartially, cleanup, collectPartOfItemsToCopy, computeDependentItemResolvers, computeIsCopyOnDemand, computeParentResolvers, copy, copy, copy, copy, copyMediaData, copyPartOfValues, createAttributeCopyCreator, createCreator, createSyncTimestamp, finishedCopying, forceCopy, getCatalogKeyAttributesCache, getCatalogVersion, getCatalogVersionAttribute, getCatalogVersionAttributeCache, getContainedCatalogItemTypes, getCopiedItemCache, getCopy, getCopyCacheHits, getCopyCacheMisses, getCopyCacheSize, getCopyCreatorBlacklist, getCopyCreatorPresetValues, getCopyCreatorWhitelist, getCopyOnDemandCache, getCounterpartItem, getCronjob, getCurrentlyCopying, getDependentItemResolverCache, getDependentItemTypes, getIsCatalogTypeCache, getJob, getNonCatalogItemUniqueAttributes, getNonCatalogKeyAttributesCache, getRootCatalogTypeCache, getRootUniqueItemType, getSourceVersion, getTargetLanguages, getTargetVersion, getTargetVersionForQueryCatalogItemCopy, getUniqueKeyAttributes, isCatalogItem, isCatalogItemType, isCopyOnDemand, isCopyOnDemandCatalogItemType, isCurrentlyCopying, isDependentFromSourceVersion, isExclusiveMode, isForceUpdate, isFromSourceVersion, isPartialCollectionTranslationEnabledGlobally, isRequiredForCreation, isSavePrevousValues, isStarted, isUntranslatablePartOfItem, isUntranslatableProductFeature, logSavedValues, mayBeCatalogItemDependent, mayBeCatalogItemDependent, mustBeTranslated, mustBeTranslated, popCurrentlyCopying, processQueryResult, pushCurrentlyCopying, queryCatalogItemCopy, queryCopy, queryExistingSyncTimestamp, queryNonCatalogItemCopy, registerCopy, setCategoryOptions, setCopyCacheHits, setCopyCacheMisses, setCopyCacheSize, setSavePrevousValues, setTimestamp, translate, translateAD, translateItemValue, translateValue, updateSyncTimestampallItems, createCopyDescriptor, debug, error, getCatalogManager, getCtx, getFlexibleSearch, getSession, getTypeCopyDescriptor, ignoreAttribute, info, isAtomic, isAtomic, isDebugEnabled, isErrorEnabled, isInfoEnabled, isPartOf, isWarnEnabled, log, safeToString, splitDescriptors, toItem, toItems, toString, valuesToString, warnpublic TestGenericCatalogCopyContext(SessionContext ctx, CatalogVersionSyncJob job, CatalogVersionSyncCronJob cronJob, Level logLevel, boolean forceUpdate)
protected int getCurrentTurn()
getCurrentTurn in class GenericCatalogCopyContextprotected JaloSession createSession()
createSession in class AbstractItemCopyContextprotected java.util.Set<AttributeDescriptor> getCreationAttributes()
GenericCatalogCopyContextGeneratedCatalogConstants.Attributes.Product.CATALOGVERSIONCatalogConstants.Attributes.Category.CATALOGVERSIONGeneratedCatalogConstants.Attributes.Media.CATALOGVERSIONGeneratedKeyword.CATALOGVERSIONGeneratedCatalogConstants.Attributes.Product.VARIANTTYPEGeneratedVariantProduct.BASEPRODUCTGeneratedProduct.UNITgetCreationAttributes in class GenericCatalogCopyContextprotected void setTargetLanguages(java.util.Collection<Language> languages)
setTargetLanguages in class GenericCatalogCopyContextprotected java.lang.String getRootCatalogType(ComposedType composedType)
getRootCatalogType in class GenericCatalogCopyContextprotected SynchronizationPersistenceAdapter initPersistenceAdapter()
initPersistenceAdapter in class GenericCatalogCopyContextCopyright © 2018 SAP SE. All Rights Reserved.