public class RemoveCatalogWizard extends GeneratedRemoveCatalogWizard
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 |
TAB1_CATALOG |
static String |
TAB2_CATALOGVERSION |
static String |
TAB3_ERROR |
AVAILABLECATALOGVERSIONS, CATALOG, CATALOGVERSION, CRONJOB, DONTREMOVEOBJECTS, NOTREMOVEDITEMSMEDIA, SELECTEDCATALOGBACK_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 |
|---|
RemoveCatalogWizard() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkTab(WizardEditorContext ctx,
String from,
String totab) |
protected void |
checkTab2(WizardEditorContext ctx) |
void |
close(WizardEditorContext ctx)
Closes this wizard and removes the underlying
RemoveCatalogVersionCronJob. |
protected void |
finishedJob(WizardEditorContext ctx) |
Collection |
getAvailableCatalogVersions(SessionContext ctx)
Generated method - Getter of the
RemoveCatalogWizard.availableCatalogVersions attribute. |
Catalog |
getCatalog(SessionContext ctx)
Generated method - Getter of the
RemoveCatalogWizard.catalog attribute. |
CatalogVersion |
getCatalogVersion(SessionContext ctx)
Generated method - Getter of the
RemoveCatalogWizard.catalogVersion attribute. |
RemoveCatalogVersionCronJob |
getCronJob(SessionContext ctx)
Generated method - Getter of the
RemoveCatalogWizard.cronJob attribute. |
ImpExMedia |
getNotRemovedItemsMedia(SessionContext ctx)
Generated method - Getter of the
RemoveCatalogWizard.notRemovedItemsMedia attribute. |
Catalog |
getSelectedCatalog(SessionContext ctx)
Generated method - Getter of the
RemoveCatalogWizard.selectedCatalog attribute. |
void |
initialize(WizardEditorContext ctx)
Called to initialize the wizard immediately after the item editor creates the WizardEditorContext.
|
Boolean |
isDontRemoveObjects(SessionContext ctx)
Generated method - Getter of the
RemoveCatalogWizard.dontRemoveObjects attribute. |
void |
pollStatus(WizardEditorContext ctx)
Called during processing mode every time the wizards refreshes its status information.
|
void |
setCatalog(SessionContext ctx,
Catalog value)
Generated method - Setter of the
RemoveCatalogWizard.catalog attribute. |
void |
setCatalogVersion(SessionContext ctx,
CatalogVersion value)
Generated method - Setter of the
RemoveCatalogWizard.catalogVersion attribute. |
void |
setDontRemoveObjects(SessionContext ctx,
Boolean param)
Generated method - Setter of the
RemoveCatalogWizard.dontRemoveObjects attribute. |
void |
start(WizardEditorContext ctx)
Starts the import.
|
protected void |
startJob(WizardEditorContext 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.
|
getAvailableCatalogVersions, getCatalog, getCatalogVersion, getCronJob, getNotRemovedItemsMedia, getSelectedCatalog, isDontRemoveObjects, isDontRemoveObjectsAsPrimitive, isDontRemoveObjectsAsPrimitive, setCatalog, setCatalogVersion, setDontRemoveObjects, setDontRemoveObjects, setDontRemoveObjectsabortProcessing, 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, 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_CATALOG
public static final String TAB2_CATALOGVERSION
public static final String TAB3_ERROR
public RemoveCatalogVersionCronJob getCronJob(SessionContext ctx)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.cronJob attribute.getCronJob in class GeneratedRemoveCatalogWizardpublic void start(WizardEditorContext ctx) throws VetoException
start in class WizardBusinessItemctx - the wizard editor contextVetoException - to signal that the wizard cannot be started right nowWizardBusinessItem.start(de.hybris.platform.hmc.jalo.WizardEditorContext)public void close(WizardEditorContext ctx) throws VetoException
RemoveCatalogVersionCronJob.close in class WizardBusinessItemctx - the wizard editor contextVetoException - to signal that the window cannot be closed right now.WizardBusinessItem.close(de.hybris.platform.hmc.jalo.WizardEditorContext)public 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 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 tabValidationExceptionprotected void checkTab(WizardEditorContext ctx, String from, String totab) throws VetoException
VetoExceptionprotected void checkTab2(WizardEditorContext ctx) throws VetoException
VetoExceptionprotected void startJob(WizardEditorContext ctx)
protected void finishedJob(WizardEditorContext ctx)
public void initialize(WizardEditorContext ctx)
WizardBusinessIteminitialize in class WizardBusinessItemctx - the wizard editor contextWizardBusinessItem.initialize(de.hybris.platform.hmc.jalo.WizardEditorContext)public Catalog getSelectedCatalog(SessionContext ctx)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.selectedCatalog attribute.getSelectedCatalog in class GeneratedRemoveCatalogWizardpublic Collection getAvailableCatalogVersions(SessionContext ctx)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.availableCatalogVersions attribute.getAvailableCatalogVersions in class GeneratedRemoveCatalogWizardpublic ImpExMedia getNotRemovedItemsMedia(SessionContext ctx)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.notRemovedItemsMedia attribute.getNotRemovedItemsMedia in class GeneratedRemoveCatalogWizardpublic Catalog getCatalog(SessionContext ctx)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.catalog attribute.getCatalog in class GeneratedRemoveCatalogWizardpublic CatalogVersion getCatalogVersion(SessionContext ctx)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.catalogVersion attribute.getCatalogVersion in class GeneratedRemoveCatalogWizardpublic Boolean isDontRemoveObjects(SessionContext ctx)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.dontRemoveObjects attribute.isDontRemoveObjects in class GeneratedRemoveCatalogWizardpublic void setDontRemoveObjects(SessionContext ctx, Boolean param)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.dontRemoveObjects attribute.setDontRemoveObjects in class GeneratedRemoveCatalogWizardparam - the dontRemoveObjectspublic void setCatalog(SessionContext ctx, Catalog value)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.catalog attribute.setCatalog in class GeneratedRemoveCatalogWizardvalue - the catalogpublic void setCatalogVersion(SessionContext ctx, CatalogVersion value)
GeneratedRemoveCatalogWizardRemoveCatalogWizard.catalogVersion attribute.setCatalogVersion in class GeneratedRemoveCatalogWizardvalue - the catalogVersionCopyright © 2017 SAP SE. All Rights Reserved.