public class SynchronizeCatalogVersionWizard extends GeneratedSynchronizeCatalogVersionWizard
| Modifier and Type | Class and Description |
|---|---|
protected class |
SynchronizeCatalogVersionWizard.AbstractTab |
protected class |
SynchronizeCatalogVersionWizard.DoSyncProcessor
Synchronization processor.
|
protected class |
SynchronizeCatalogVersionWizard.FullSyncConfigurator |
protected static interface |
SynchronizeCatalogVersionWizard.ItemSelectionTab |
protected static interface |
SynchronizeCatalogVersionWizard.JobProviderTab |
protected class |
SynchronizeCatalogVersionWizard.ManualItemsSelectionTab |
protected class |
SynchronizeCatalogVersionWizard.SelectedItemsSyncConfigurator |
protected class |
SynchronizeCatalogVersionWizard.SourceVersionTab
Tab 1: Source version selection: todo
|
protected static interface |
SynchronizeCatalogVersionWizard.SyncWizardProcessor |
protected static interface |
SynchronizeCatalogVersionWizard.SyncWizardTab |
protected class |
SynchronizeCatalogVersionWizard.TargetVersionTab
Tab 6: Target version selection: todo
|
LocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAB_SUMMARY |
static java.lang.String |
TAB1 |
static java.lang.String |
TAB2 |
static java.lang.String |
TAB3 |
static java.lang.String |
TAB4 |
static java.lang.String |
TAB5 |
static java.lang.String |
TAB6 |
static java.lang.String |
TAB7 |
CATEGORIES, CREATESAVEDVALUES, CRONJOBS, EXECUTABLEJOBS, FORCEUPDATE, IGNOREERRORS, INCLUDINGPRODUCTS, INCLUDINGSUBCATEGORIES, KEEPCRONJOB, KEYWORDS, LOGLEVELDATABASE, LOGLEVELFILE, LOGTODATABASE, LOGTOFILE, MEDIAS, OTHERS, PRESETITEMS, PRODUCTS, SOURCEVERSIONSBACK_BUTTON, BACK_BUTTON_NAME, CANCEL_BUTTON, CANCEL_BUTTON_NAME, CLOSE_BUTTON_NAME, DONE_BUTTON_NAME, NEXT_BUTTON, NEXT_BUTTON_NAME, START_BUTTON, START_BUTTON_NAMELANGUAGE_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 |
|---|
SynchronizeCatalogVersionWizard() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(WizardEditorContext ctx)
Called if the wizard window is going to be closed.
|
protected java.util.Collection<Item> |
collectItemsForJob(SyncItemJob job) |
protected SynchronizeCatalogVersionWizard.SyncWizardTab |
createTabs(WizardEditorContext ctx) |
protected java.lang.String |
dispatchPresetItems(WizardEditorContext ctx,
java.util.Collection<Item> items) |
protected java.util.List |
filterItemsForJob(SyncItemJob job,
java.util.Collection<Item> items) |
protected java.util.Collection<CatalogVersion> |
filterSynchronizableCatalogVersions(java.util.Collection<CatalogVersion> sourceCatalogVersions)
This method cycles throught the given source CatalogVersions and check for each source if the current user can
read this source CatalogVersion.
|
protected java.util.Collection<CatalogVersion> |
getAllPossibleSourceVersions(SessionContext ctx) |
java.util.Collection |
getCronJobs(SessionContext ctx)
Generated method - Getter of the
SynchronizeCatalogVersionWizard.cronJobs attribute. |
protected SynchronizeCatalogVersionWizard.SyncWizardProcessor |
getCurrentProcessor() |
java.util.List<SyncItemJob> |
getExecutableJobs(SessionContext ctx)
Dynamically calculating executable jobs based upon tabs which may provide jobs or not ( see
SynchronizeCatalogVersionWizard.JobProviderTab
). |
protected java.util.Set |
getJobsForItems(java.util.Collection<Item> items) |
protected java.util.Set |
getJobsForSourceVersions(java.util.Collection<CatalogVersion> versions) |
java.util.Collection |
getSourceVersions(SessionContext ctx)
Generated method - Getter of the
SynchronizeCatalogVersionWizard.sourceVersions attribute. |
protected SynchronizeCatalogVersionWizard.SyncWizardTab |
getTab(java.lang.String tabID) |
protected java.util.List<SynchronizeCatalogVersionWizard.SyncWizardTab> |
getTabList() |
protected java.util.Set |
getTargetVersionsForJobs(java.util.Collection<SyncItemJob> jobs) |
protected boolean |
hasRunningCronjobs() |
void |
initialize(WizardEditorContext ctx)
Called to initialize the wizard immediately after the item editor creates the WizardEditorContext.
|
void |
pollStatus(WizardEditorContext ctx)
Called during processing mode every time the wizards refreshes its status information.
|
void |
remove(SessionContext ctx)
Removes the wizard instance along with its cronjob if it already exists.
|
protected void |
removeCronjobs(SessionContext ctx) |
protected java.util.Collection<Category> |
selectCategories(java.util.Collection<Item> items) |
protected void |
setCurrentProcessor(SynchronizeCatalogVersionWizard.SyncWizardProcessor syncWizzProc) |
void |
start(WizardEditorContext ctx)
Called if the user requests the wizard to start its actions.
|
protected void |
stopCronjobs(SessionContext ctx) |
void |
tabChanges(WizardEditorContext ctx,
java.lang.String fromTabName,
java.lang.String toTabName)
Called before the current tab is changed.
|
void |
validate(WizardEditorContext ctx,
java.lang.String fromTab,
java.lang.String toTab)
Called before
tab is changed
start event delivered
or if validation was explicitely requested.
|
getCategories, getCategories, getCronJobs, getExecutableJobs, getKeywords, getKeywords, getLogLevelDatabase, getLogLevelDatabase, getLogLevelFile, getLogLevelFile, getMedias, getMedias, getOthers, getOthers, getProducts, getProducts, getSourceVersions, isCreateSavedValues, isCreateSavedValues, isCreateSavedValuesAsPrimitive, isCreateSavedValuesAsPrimitive, isForceUpdate, isForceUpdate, isForceUpdateAsPrimitive, isForceUpdateAsPrimitive, isIgnoreErrors, isIgnoreErrors, isIgnoreErrorsAsPrimitive, isIgnoreErrorsAsPrimitive, isIncludingProducts, isIncludingProducts, isIncludingProductsAsPrimitive, isIncludingProductsAsPrimitive, isIncludingSubcategories, isIncludingSubcategories, isIncludingSubcategoriesAsPrimitive, isIncludingSubcategoriesAsPrimitive, isKeepCronJob, isKeepCronJob, isKeepCronJobAsPrimitive, isKeepCronJobAsPrimitive, isLogToDatabase, isLogToDatabase, isLogToDatabaseAsPrimitive, isLogToDatabaseAsPrimitive, isLogToFile, isLogToFile, isLogToFileAsPrimitive, isLogToFileAsPrimitive, setCategories, setCategories, setCreateSavedValues, setCreateSavedValues, setCreateSavedValues, setCreateSavedValues, setForceUpdate, setForceUpdate, setForceUpdate, setForceUpdate, setIgnoreErrors, setIgnoreErrors, setIgnoreErrors, setIgnoreErrors, setIncludingProducts, setIncludingProducts, setIncludingProducts, setIncludingProducts, setIncludingSubcategories, setIncludingSubcategories, setIncludingSubcategories, setIncludingSubcategories, setKeepCronJob, setKeepCronJob, setKeepCronJob, setKeepCronJob, setKeywords, setKeywords, setLogLevelDatabase, setLogLevelDatabase, setLogLevelFile, setLogLevelFile, setLogToDatabase, setLogToDatabase, setLogToDatabase, setLogToDatabase, setLogToFile, setLogToFile, setLogToFile, setLogToFile, setMedias, setMedias, setOthers, setOthers, setProducts, setProducts, setSourceVersions, setSourceVersionsabortProcessing, appendLocalizedTemplateString, createItem, doGetAttribute, doSetAttribute, endProcessing, getLocalizedTemplateString, isCloseAllowed, provideComposedType, provideCreationTime, provideModificationTime, providePK, removeJaloOnly, setClosedAllowed, startProcessing, validategetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, 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, getDefaultAttributeModes, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getNonInitialAttributes, 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, readResolve, refreshRemote, 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, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic static final java.lang.String TAB1
public static final java.lang.String TAB2
public static final java.lang.String TAB3
public static final java.lang.String TAB4
public static final java.lang.String TAB5
public static final java.lang.String TAB6
public static final java.lang.String TAB7
public static final java.lang.String TAB_SUMMARY
public void remove(SessionContext ctx) throws ConsistencyCheckException
remove in class Itemctx - A SessionContext objectConsistencyCheckException - if this item could not be removed for some reasonprotected boolean hasRunningCronjobs()
protected void stopCronjobs(SessionContext ctx)
protected void removeCronjobs(SessionContext ctx)
protected java.util.List<SynchronizeCatalogVersionWizard.SyncWizardTab> getTabList()
protected SynchronizeCatalogVersionWizard.SyncWizardTab createTabs(WizardEditorContext ctx)
protected SynchronizeCatalogVersionWizard.SyncWizardTab getTab(java.lang.String tabID)
protected SynchronizeCatalogVersionWizard.SyncWizardProcessor getCurrentProcessor()
protected void setCurrentProcessor(SynchronizeCatalogVersionWizard.SyncWizardProcessor syncWizzProc)
protected java.util.Collection<CatalogVersion> filterSynchronizableCatalogVersions(java.util.Collection<CatalogVersion> sourceCatalogVersions)
public void initialize(WizardEditorContext ctx)
WizardBusinessIteminitialize in class WizardBusinessItemctx - the wizard editor contextpublic void validate(WizardEditorContext ctx, java.lang.String fromTab, java.lang.String toTab) throws ValidationException
WizardBusinessItem
To check current input values use ItemEditorContext.getCurrentValue(String).
To signal an error a ValidationException must be raised. The actual event (tab change or start of this
wizard) is not executed in this case but a error popup is shown.
Additionally erroneous fields may be marked via ItemEditorContext.showError(String, String).
Make sure that always super.validate is called !
validate in class WizardBusinessItemctx - the wizard editor contextfromTab - the tab which is being lefttoTab - the new target tabValidationExceptionpublic void close(WizardEditorContext ctx) throws VetoException
WizardBusinessItemclose in class WizardBusinessItemctx - the wizard editor contextVetoException - to signal that the window cannot be closed right now.public void start(WizardEditorContext ctx) throws VetoException
WizardBusinessItemstart in class WizardBusinessItemctx - the wizard editor contextVetoException - to signal that the wizard cannot be started right nowpublic void tabChanges(WizardEditorContext ctx, java.lang.String fromTabName, java.lang.String toTabName) throws VetoException
WizardBusinessItemVetoException must be raised. In this case a error popup is shown.tabChanges in class WizardBusinessItemctx - the wizard editor contextfromTabName - the current tab nametoTabName - the new tab nameVetoException - to signal the tab cannot be changed right nowpublic void pollStatus(WizardEditorContext ctx)
WizardBusinessItemWizardEditorContext.setStatus(String, int, boolean) to update the displayed status.
The method is called before the wizard is rendered. So changing the procesing mode here is allowed.
pollStatus in class WizardBusinessItemctx - the wizard editor contextprotected java.util.List filterItemsForJob(SyncItemJob job, java.util.Collection<Item> items)
protected java.util.Set getJobsForItems(java.util.Collection<Item> items)
protected java.util.Set getJobsForSourceVersions(java.util.Collection<CatalogVersion> versions)
protected java.util.Set getTargetVersionsForJobs(java.util.Collection<SyncItemJob> jobs)
protected java.util.Collection<Category> selectCategories(java.util.Collection<Item> items)
protected java.util.Collection<Item> collectItemsForJob(SyncItemJob job)
protected java.lang.String dispatchPresetItems(WizardEditorContext ctx, java.util.Collection<Item> items)
public java.util.List<SyncItemJob> getExecutableJobs(SessionContext ctx)
SynchronizeCatalogVersionWizard.JobProviderTab
).getExecutableJobs in class GeneratedSynchronizeCatalogVersionWizardpublic java.util.Collection getSourceVersions(SessionContext ctx)
GeneratedSynchronizeCatalogVersionWizardSynchronizeCatalogVersionWizard.sourceVersions attribute.getSourceVersions in class GeneratedSynchronizeCatalogVersionWizardprotected java.util.Collection<CatalogVersion> getAllPossibleSourceVersions(SessionContext ctx)
public java.util.Collection getCronJobs(SessionContext ctx)
GeneratedSynchronizeCatalogVersionWizardSynchronizeCatalogVersionWizard.cronJobs attribute.getCronJobs in class GeneratedSynchronizeCatalogVersionWizardCopyright © 2017 SAP SE. All Rights Reserved.