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 String |
TAB_SUMMARY |
static String |
TAB1 |
static String |
TAB2 |
static String |
TAB3 |
static String |
TAB4 |
static String |
TAB5 |
static String |
TAB6 |
static 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 Collection<Item> |
collectItemsForJob(SyncItemJob job) |
protected SynchronizeCatalogVersionWizard.SyncWizardTab |
createTabs(WizardEditorContext ctx) |
protected String |
dispatchPresetItems(WizardEditorContext ctx,
Collection<Item> items) |
protected List |
filterItemsForJob(SyncItemJob job,
Collection<Item> items) |
protected Collection<CatalogVersion> |
filterSynchronizableCatalogVersions(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 Collection<CatalogVersion> |
getAllPossibleSourceVersions(SessionContext ctx) |
Collection |
getCronJobs(SessionContext ctx)
Generated method - Getter of the
SynchronizeCatalogVersionWizard.cronJobs attribute. |
protected SynchronizeCatalogVersionWizard.SyncWizardProcessor |
getCurrentProcessor() |
List<SyncItemJob> |
getExecutableJobs(SessionContext ctx)
Dynamically calculating executable jobs based upon tabs which may provide jobs or not ( see
SynchronizeCatalogVersionWizard.JobProviderTab
). |
protected Set |
getJobsForItems(Collection<Item> items) |
protected Set |
getJobsForSourceVersions(Collection<CatalogVersion> versions) |
Collection |
getSourceVersions(SessionContext ctx)
Generated method - Getter of the
SynchronizeCatalogVersionWizard.sourceVersions attribute. |
protected SynchronizeCatalogVersionWizard.SyncWizardTab |
getTab(String tabID) |
protected List<SynchronizeCatalogVersionWizard.SyncWizardTab> |
getTabList() |
protected Set |
getTargetVersionsForJobs(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 Collection<Category> |
selectCategories(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,
String fromTabName,
String toTabName)
Called before the current tab is changed.
|
void |
validate(WizardEditorContext ctx,
String fromTab,
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 String TAB1
public static final String TAB2
public static final String TAB3
public static final String TAB4
public static final String TAB5
public static final String TAB6
public static final String TAB7
public static final 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 List<SynchronizeCatalogVersionWizard.SyncWizardTab> getTabList()
protected SynchronizeCatalogVersionWizard.SyncWizardTab createTabs(WizardEditorContext ctx)
protected SynchronizeCatalogVersionWizard.SyncWizardTab getTab(String tabID)
protected SynchronizeCatalogVersionWizard.SyncWizardProcessor getCurrentProcessor()
protected void setCurrentProcessor(SynchronizeCatalogVersionWizard.SyncWizardProcessor syncWizzProc)
protected Collection<CatalogVersion> filterSynchronizableCatalogVersions(Collection<CatalogVersion> sourceCatalogVersions)
public void initialize(WizardEditorContext ctx)
WizardBusinessIteminitialize in class WizardBusinessItemctx - the wizard editor contextpublic void validate(WizardEditorContext ctx, String fromTab, 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, String fromTabName, 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 List filterItemsForJob(SyncItemJob job, Collection<Item> items)
protected Set getJobsForItems(Collection<Item> items)
protected Set getJobsForSourceVersions(Collection<CatalogVersion> versions)
protected Set getTargetVersionsForJobs(Collection<SyncItemJob> jobs)
protected Collection<Category> selectCategories(Collection<Item> items)
protected Collection<Item> collectItemsForJob(SyncItemJob job)
protected String dispatchPresetItems(WizardEditorContext ctx, Collection<Item> items)
public List<SyncItemJob> getExecutableJobs(SessionContext ctx)
SynchronizeCatalogVersionWizard.JobProviderTab
).getExecutableJobs in class GeneratedSynchronizeCatalogVersionWizardpublic Collection getSourceVersions(SessionContext ctx)
GeneratedSynchronizeCatalogVersionWizardSynchronizeCatalogVersionWizard.sourceVersions attribute.getSourceVersions in class GeneratedSynchronizeCatalogVersionWizardprotected Collection<CatalogVersion> getAllPossibleSourceVersions(SessionContext ctx)
public Collection getCronJobs(SessionContext ctx)
GeneratedSynchronizeCatalogVersionWizardSynchronizeCatalogVersionWizard.cronJobs attribute.getCronJobs in class GeneratedSynchronizeCatalogVersionWizardCopyright © 2017 SAP SE. All Rights Reserved.