public class ImpExImportWizard extends GeneratedImpExImportWizard
ImpExImportCronJob.LocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionENABLECODEEXECUTION, ENABLEEXTERNALCODEEXECUTION, ENABLEEXTERNALSYNTAXPARSING, ENABLEHMCSAVEDVALUES, ERRORMODE, EXTERNALDATACOLLECTION, JOBMEDIA, LOCALE, LOGTEXT, MAXTHREADS, MEDIASTARGET, MEDIASZIP, MODE, RESULTCRONJOBLIST, UNRESOLVEDDATASTORE, UNZIPMEDIASMEDIA, ZIPENTRYBACK_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 |
|---|
ImpExImportWizard() |
| Modifier and Type | Method and Description |
|---|---|
void |
abortProcessing(WizardEditorContext ctx)
Called if the current wizard process should be aborted.
Note: The default implementation will always throw a VetoException to signal that an abortion of the wizard process is not possible. |
EnumerationValue |
getErrorMode()
Generated method - Getter of the
ImpExImportWizard.errorMode attribute. |
EnumerationValue |
getErrorMode(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.errorMode attribute. |
Collection |
getExternalDataCollection(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.externalDataCollection attribute. |
ImpExImportCronJob |
getImpExImportCronJob()
Gets the mapped cronjob instance or creates a new one if not existent.
|
ImpExMedia |
getJobMedia(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.jobMedia attribute. |
String |
getLocale(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.locale attribute. |
String |
getLogText()
Generated method - Getter of the
ImpExImportWizard.logText attribute. |
String |
getLogText(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.logText attribute. |
Integer |
getMaxThreads(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.maxThreads attribute. |
String |
getMediasLocation(SessionContext ctx) |
String |
getMediasTarget(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.mediasTarget attribute. |
Media |
getMediasZip(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.mediasZip attribute. |
EnumerationValue |
getMode(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.mode attribute. |
List<CronJob> |
getResultCronJobList(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.resultCronJobList attribute. |
ImpExMedia |
getUnresolvedDataStore()
Generated method - Getter of the
ImpExImportWizard.unresolvedDataStore attribute. |
ImpExMedia |
getUnresolvedDataStore(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.unresolvedDataStore attribute. |
String |
getZipentry(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.zipentry attribute. |
void |
initialize(WizardEditorContext ctx)
Called to initialize the wizard immediately after the item editor creates the WizardEditorContext.
|
Boolean |
isEnableCodeExecution(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.enableCodeExecution attribute. |
Boolean |
isEnableExternalCodeExecution(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.enableExternalCodeExecution attribute. |
Boolean |
isEnableExternalSyntaxParsing(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.enableExternalSyntaxParsing attribute. |
Boolean |
isEnableHmcSavedValues(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.enableHmcSavedValues attribute. |
Boolean |
isUnzipMediasMedia(SessionContext ctx)
Generated method - Getter of the
ImpExImportWizard.unzipMediasMedia attribute. |
void |
pollStatus(WizardEditorContext ctx)
Called during processing mode every time the wizards refreshes its status information.
|
protected void |
removeCronjob()
Tries to remove the cronjob.
|
void |
setEnableCodeExecution(SessionContext ctx,
Boolean enable)
Generated method - Setter of the
ImpExImportWizard.enableCodeExecution attribute. |
void |
setEnableExternalCodeExecution(SessionContext ctx,
Boolean enable)
Generated method - Setter of the
ImpExImportWizard.enableExternalCodeExecution attribute. |
void |
setEnableExternalSyntaxParsing(SessionContext ctx,
Boolean enable)
Generated method - Setter of the
ImpExImportWizard.enableExternalSyntaxParsing attribute. |
void |
setEnableHmcSavedValues(SessionContext ctx,
Boolean enable)
Generated method - Setter of the
ImpExImportWizard.enableHmcSavedValues attribute. |
void |
setErrorMode(EnumerationValue value)
Generated method - Setter of the
ImpExImportWizard.errorMode attribute. |
void |
setErrorMode(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
ImpExImportWizard.errorMode attribute. |
void |
setExternalDataCollection(SessionContext ctx,
Collection param)
Generated method - Setter of the
ImpExImportWizard.externalDataCollection attribute. |
void |
setJobMedia(SessionContext ctx,
ImpExMedia param)
Generated method - Setter of the
ImpExImportWizard.jobMedia attribute. |
void |
setLocale(SessionContext ctx,
String value)
Generated method - Setter of the
ImpExImportWizard.locale attribute. |
void |
setMaxThreads(SessionContext ctx,
Integer value)
Generated method - Setter of the
ImpExImportWizard.maxThreads attribute. |
void |
setMediasLocation(SessionContext ctx,
String param) |
void |
setMediasTarget(SessionContext ctx,
String param)
Generated method - Setter of the
ImpExImportWizard.mediasTarget attribute. |
void |
setMediasZip(SessionContext ctx,
Media param)
Generated method - Setter of the
ImpExImportWizard.mediasZip attribute. |
void |
setMode(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
ImpExImportWizard.mode attribute. |
void |
setUnresolvedDataStore(ImpExMedia value)
Generated method - Setter of the
ImpExImportWizard.unresolvedDataStore attribute. |
void |
setUnresolvedDataStore(SessionContext ctx,
ImpExMedia value)
Generated method - Setter of the
ImpExImportWizard.unresolvedDataStore attribute. |
void |
setUnzipMediasMedia(SessionContext ctx,
Boolean value)
Generated method - Setter of the
ImpExImportWizard.unzipMediasMedia attribute. |
void |
setZipentry(SessionContext ctx,
String value)
Generated method - Setter of the
ImpExImportWizard.zipentry attribute. |
void |
start(WizardEditorContext ctx)
Starts the import process.
|
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.
|
getExternalDataCollection, getJobMedia, getLocale, getMaxThreads, getMaxThreadsAsPrimitive, getMaxThreadsAsPrimitive, getMediasTarget, getMediasZip, getMode, getResultCronJobList, getZipentry, isEnableCodeExecution, isEnableCodeExecutionAsPrimitive, isEnableCodeExecutionAsPrimitive, isEnableExternalCodeExecution, isEnableExternalCodeExecutionAsPrimitive, isEnableExternalCodeExecutionAsPrimitive, isEnableExternalSyntaxParsing, isEnableExternalSyntaxParsingAsPrimitive, isEnableExternalSyntaxParsingAsPrimitive, isEnableHmcSavedValues, isEnableHmcSavedValuesAsPrimitive, isEnableHmcSavedValuesAsPrimitive, isUnzipMediasMedia, isUnzipMediasMediaAsPrimitive, isUnzipMediasMediaAsPrimitive, setEnableCodeExecution, setEnableCodeExecution, setEnableCodeExecution, setEnableExternalCodeExecution, setEnableExternalCodeExecution, setEnableExternalCodeExecution, setEnableExternalSyntaxParsing, setEnableExternalSyntaxParsing, setEnableExternalSyntaxParsing, setEnableHmcSavedValues, setEnableHmcSavedValues, setEnableHmcSavedValues, setExternalDataCollection, setJobMedia, setLocale, setMaxThreads, setMaxThreads, setMaxThreads, setMediasTarget, setMediasZip, setMode, setUnzipMediasMedia, setUnzipMediasMedia, setUnzipMediasMedia, setZipentryappendLocalizedTemplateString, close, 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 void initialize(WizardEditorContext ctx)
WizardBusinessIteminitialize in class WizardBusinessItemctx - the wizard editor contextpublic ImpExImportCronJob getImpExImportCronJob()
public void start(WizardEditorContext ctx) throws VetoException
start in class WizardBusinessItemctx - context object for configurationVetoException - an start is not possible at the momentWizardBusinessItem.start(de.hybris.platform.hmc.jalo.WizardEditorContext)public 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 void removeCronjob()
public 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 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 abortProcessing(WizardEditorContext ctx) throws VetoException
WizardBusinessItemabortProcessing() method to deal with
the abortion. If your wizard process cannot or should not be aborted, just don't offer the 'cancel' option while
processing (this is the default behaviour when using WizardBusinessItem.startProcessing(WizardEditorContext) and
WizardBusinessItem.endProcessing(WizardEditorContext)).!abortProcessing in class WizardBusinessItemctx - the wizard editor contextVetoException - to signal that the process cannot be aborted right now.public void setJobMedia(SessionContext ctx, ImpExMedia param)
GeneratedImpExImportWizardImpExImportWizard.jobMedia attribute.setJobMedia in class GeneratedImpExImportWizardparam - the jobMediapublic ImpExMedia getJobMedia(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.jobMedia attribute.getJobMedia in class GeneratedImpExImportWizardpublic Media getMediasZip(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.mediasZip attribute.getMediasZip in class GeneratedImpExImportWizardpublic void setMediasZip(SessionContext ctx, Media param)
GeneratedImpExImportWizardImpExImportWizard.mediasZip attribute.setMediasZip in class GeneratedImpExImportWizardparam - the mediasZippublic Collection getExternalDataCollection(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.externalDataCollection attribute.getExternalDataCollection in class GeneratedImpExImportWizardpublic void setExternalDataCollection(SessionContext ctx, Collection param)
GeneratedImpExImportWizardImpExImportWizard.externalDataCollection attribute.setExternalDataCollection in class GeneratedImpExImportWizardparam - the externalDataCollectionpublic String getMediasTarget(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.mediasTarget attribute.getMediasTarget in class GeneratedImpExImportWizardpublic String getMediasLocation(SessionContext ctx)
public void setMediasTarget(SessionContext ctx, String param)
GeneratedImpExImportWizardImpExImportWizard.mediasTarget attribute.setMediasTarget in class GeneratedImpExImportWizardparam - the mediasTargetpublic void setMediasLocation(SessionContext ctx, String param)
public void setEnableCodeExecution(SessionContext ctx, Boolean enable)
GeneratedImpExImportWizardImpExImportWizard.enableCodeExecution attribute.setEnableCodeExecution in class GeneratedImpExImportWizardenable - the enableCodeExecutionpublic Boolean isEnableCodeExecution(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.enableCodeExecution attribute.isEnableCodeExecution in class GeneratedImpExImportWizardpublic void setEnableExternalCodeExecution(SessionContext ctx, Boolean enable)
GeneratedImpExImportWizardImpExImportWizard.enableExternalCodeExecution attribute.setEnableExternalCodeExecution in class GeneratedImpExImportWizardenable - the enableExternalCodeExecutionpublic Boolean isEnableExternalCodeExecution(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.enableExternalCodeExecution attribute.isEnableExternalCodeExecution in class GeneratedImpExImportWizardpublic Boolean isEnableExternalSyntaxParsing(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.enableExternalSyntaxParsing attribute.isEnableExternalSyntaxParsing in class GeneratedImpExImportWizardpublic void setEnableExternalSyntaxParsing(SessionContext ctx, Boolean enable)
GeneratedImpExImportWizardImpExImportWizard.enableExternalSyntaxParsing attribute.setEnableExternalSyntaxParsing in class GeneratedImpExImportWizardenable - the enableExternalSyntaxParsingpublic Boolean isEnableHmcSavedValues(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.enableHmcSavedValues attribute.isEnableHmcSavedValues in class GeneratedImpExImportWizardpublic void setEnableHmcSavedValues(SessionContext ctx, Boolean enable)
GeneratedImpExImportWizardImpExImportWizard.enableHmcSavedValues attribute.setEnableHmcSavedValues in class GeneratedImpExImportWizardenable - the enableHmcSavedValuespublic String getLocale(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.locale attribute.getLocale in class GeneratedImpExImportWizardpublic void setLocale(SessionContext ctx, String value)
GeneratedImpExImportWizardImpExImportWizard.locale attribute.setLocale in class GeneratedImpExImportWizardvalue - the localepublic List<CronJob> getResultCronJobList(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.resultCronJobList attribute.getResultCronJobList in class GeneratedImpExImportWizardpublic String getZipentry(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.zipentry attribute.getZipentry in class GeneratedImpExImportWizardpublic void setZipentry(SessionContext ctx, String value)
GeneratedImpExImportWizardImpExImportWizard.zipentry attribute.setZipentry in class GeneratedImpExImportWizardvalue - the zipentrypublic EnumerationValue getMode(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.mode attribute.getMode in class GeneratedImpExImportWizardpublic void setMode(SessionContext ctx, EnumerationValue value)
GeneratedImpExImportWizardImpExImportWizard.mode attribute.setMode in class GeneratedImpExImportWizardvalue - the modepublic void setUnzipMediasMedia(SessionContext ctx, Boolean value)
GeneratedImpExImportWizardImpExImportWizard.unzipMediasMedia attribute.setUnzipMediasMedia in class GeneratedImpExImportWizardvalue - the unzipMediasMediapublic Boolean isUnzipMediasMedia(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.unzipMediasMedia attribute.isUnzipMediasMedia in class GeneratedImpExImportWizardpublic Integer getMaxThreads(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.maxThreads attribute.getMaxThreads in class GeneratedImpExImportWizardpublic void setMaxThreads(SessionContext ctx, Integer value)
GeneratedImpExImportWizardImpExImportWizard.maxThreads attribute.setMaxThreads in class GeneratedImpExImportWizardvalue - the maxThreadspublic String getLogText(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.logText attribute.getLogText in class GeneratedImpExImportWizardpublic String getLogText()
GeneratedImpExImportWizardImpExImportWizard.logText attribute.getLogText in class GeneratedImpExImportWizardpublic ImpExMedia getUnresolvedDataStore(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.unresolvedDataStore attribute.getUnresolvedDataStore in class GeneratedImpExImportWizardpublic ImpExMedia getUnresolvedDataStore()
GeneratedImpExImportWizardImpExImportWizard.unresolvedDataStore attribute.getUnresolvedDataStore in class GeneratedImpExImportWizardpublic void setUnresolvedDataStore(SessionContext ctx, ImpExMedia value)
GeneratedImpExImportWizardImpExImportWizard.unresolvedDataStore attribute.setUnresolvedDataStore in class GeneratedImpExImportWizardvalue - the unresolvedDataStorepublic void setUnresolvedDataStore(ImpExMedia value)
GeneratedImpExImportWizardImpExImportWizard.unresolvedDataStore attribute.setUnresolvedDataStore in class GeneratedImpExImportWizardvalue - the unresolvedDataStorepublic EnumerationValue getErrorMode()
GeneratedImpExImportWizardImpExImportWizard.errorMode attribute.getErrorMode in class GeneratedImpExImportWizardpublic EnumerationValue getErrorMode(SessionContext ctx)
GeneratedImpExImportWizardImpExImportWizard.errorMode attribute.getErrorMode in class GeneratedImpExImportWizardpublic void setErrorMode(EnumerationValue value)
GeneratedImpExImportWizardImpExImportWizard.errorMode attribute.setErrorMode in class GeneratedImpExImportWizardvalue - the errorModepublic void setErrorMode(SessionContext ctx, EnumerationValue value)
GeneratedImpExImportWizardImpExImportWizard.errorMode attribute.setErrorMode in class GeneratedImpExImportWizardvalue - the errorModeCopyright © 2017 SAP SE. All Rights Reserved.