public class ImpExExportWizard extends GeneratedImpExExportWizard implements ScriptProcessingWizard
LocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
protected boolean |
initial |
protected static String[] |
LOCALEKEY_TAB
Available Tabs.
|
protected WizardEditorContext |
wizardCtx |
COMMENTCHARACTER, CONVERTERCLASS, DATAEXPORTMEDIACODE, DATAEXPORTTARGET, ENCODING, EXPORT, EXPORTTEMPLATE, FIELDSEPARATOR, IMPEXSCRIPT, ITEMS, JOBMEDIA, LOGTEXT, MEDIASEXPORTMEDIACODE, MEDIASEXPORTTARGET, MODE, PKLIST, PKMODE, QUOTECHARACTER, REPORT, RESULTCRONJOBLIST, SINGLEFILEBACK_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 |
|---|
ImpExExportWizard() |
| Modifier and Type | Method and Description |
|---|---|
Character |
getCommentCharacter(SessionContext arg0)
Generated method - Getter of the
ImpExExportWizard.commentCharacter attribute. |
EnumerationValue |
getConverterClass(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.converterClass attribute. |
ImpExExportCronJob |
getCronJob()
Returns the currently assigned cronjob (or creates an new one)
|
String |
getCurrentScriptContent() |
ImpExExportMedia |
getDataExportLocation(SessionContext ctx)
Deprecated.
|
String |
getDataExportMediaCode(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.dataExportMediaCode attribute. |
ImpExExportMedia |
getDataExportTarget(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.dataExportTarget attribute. |
EnumerationValue |
getEncoding(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.encoding attribute. |
Export |
getExport(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.export attribute. |
HeaderLibrary |
getExportTemplate(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.exportTemplate attribute. |
Character |
getFieldSeparator(SessionContext arg0)
Generated method - Getter of the
ImpExExportWizard.fieldSeparator attribute. |
String |
getGeneratedScript()
Deprecated.
use
GeneratedImpExExportWizard.getImpExScript() instead |
String |
getImpExScript(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.impExScript attribute. |
Collection<Item> |
getItems(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.items attribute. |
ImpExMedia |
getJobMedia(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.jobMedia attribute. |
String |
getLogText(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.logText attribute. |
String |
getMediaCode(String prefix) |
ImpExExportMedia |
getMediasExportLocation(SessionContext ctx)
Deprecated.
|
String |
getMediasExportMediaCode(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.mediasExportMediaCode attribute. |
ImpExExportMedia |
getMediasExportTarget(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.mediasExportTarget attribute. |
EnumerationValue |
getMode(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.mode attribute. |
String |
getPklist(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.pklist attribute. |
Character |
getQuoteCharacter(SessionContext arg0)
Generated method - Getter of the
ImpExExportWizard.quoteCharacter attribute. |
Report |
getReport(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.report attribute. |
List<CronJob> |
getResultCronJobList(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.resultCronJobList attribute. |
void |
initialize(WizardEditorContext ctx)
Called to initialize the wizard immediately after the item editor creates the WizardEditorContext.
|
protected void |
initializeTabs(WizardEditorContext ctx) |
Boolean |
isPkMode(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.pkMode attribute. |
Boolean |
isSingleFile(SessionContext ctx)
Generated method - Getter of the
ImpExExportWizard.singleFile attribute. |
void |
pollStatus(WizardEditorContext ctx)
Called during processing mode every time the wizards refreshes its status information.
|
void |
reloadField(String field) |
void |
reloadScript(SessionContext ctx,
ImpExMedia media) |
void |
setCommentCharacter(SessionContext arg0,
Character arg1)
Generated method - Setter of the
ImpExExportWizard.commentCharacter attribute. |
void |
setConverterClass(SessionContext ctx,
EnumerationValue reportGenerator)
Generated method - Setter of the
ImpExExportWizard.converterClass attribute. |
void |
setDataExportMediaCode(SessionContext ctx,
String value)
Generated method - Setter of the
ImpExExportWizard.dataExportMediaCode attribute. |
void |
setEncoding(SessionContext ctx,
EnumerationValue param)
Generated method - Setter of the
ImpExExportWizard.encoding attribute. |
void |
setExportTemplate(SessionContext ctx,
HeaderLibrary param)
Deprecated.
|
void |
setFieldSeparator(SessionContext arg0,
Character arg1)
Generated method - Setter of the
ImpExExportWizard.fieldSeparator attribute. |
void |
setHeaderLibrary(SessionContext ctx,
HeaderLibrary param) |
void |
setImpExScript(SessionContext ctx,
String txt)
Generated method - Setter of the
ImpExExportWizard.impExScript attribute. |
void |
setItems(SessionContext ctx,
Collection<Item> items)
Generated method - Setter of the
ImpExExportWizard.items attribute. |
void |
setJobMedia(SessionContext ctx,
ImpExMedia media)
Generated method - Setter of the
ImpExExportWizard.jobMedia attribute. |
void |
setMediasExportMediaCode(SessionContext ctx,
String value)
Generated method - Setter of the
ImpExExportWizard.mediasExportMediaCode attribute. |
void |
setMode(SessionContext ctx,
EnumerationValue param)
Generated method - Setter of the
ImpExExportWizard.mode attribute. |
void |
setPkMode(SessionContext ctx,
Boolean pkMode)
Generated method - Setter of the
ImpExExportWizard.pkMode attribute. |
void |
setQuoteCharacter(SessionContext arg0,
Character arg1)
Generated method - Setter of the
ImpExExportWizard.quoteCharacter attribute. |
void |
setSingleFile(SessionContext ctx,
Boolean value)
Generated method - Setter of the
ImpExExportWizard.singleFile attribute. |
void |
start(WizardEditorContext ctx)
Called if the user requests the wizard to start its actions.
|
void |
tabChanges(WizardEditorContext ctx,
String fromTabName,
String toTabName)
Called before the current tab is changed.
|
void |
validate(WizardEditorContext ctx,
String fromTab,
String toTab)
Validates selection of Headerfile and Encoding.
|
getCommentCharacter, getCommentCharacterAsPrimitive, getCommentCharacterAsPrimitive, getConverterClass, getDataExportMediaCode, getDataExportTarget, getEncoding, getExport, getExportTemplate, getFieldSeparator, getFieldSeparatorAsPrimitive, getFieldSeparatorAsPrimitive, getImpExScript, getItems, getJobMedia, getLogText, getMediasExportMediaCode, getMediasExportTarget, getMode, getPklist, getQuoteCharacter, getQuoteCharacterAsPrimitive, getQuoteCharacterAsPrimitive, getReport, getResultCronJobList, isPkMode, isPkModeAsPrimitive, isPkModeAsPrimitive, isSingleFile, isSingleFileAsPrimitive, isSingleFileAsPrimitive, setCommentCharacter, setCommentCharacter, setCommentCharacter, setConverterClass, setDataExportMediaCode, setEncoding, setExportTemplate, setFieldSeparator, setFieldSeparator, setFieldSeparator, setImpExScript, setItems, setJobMedia, setMediasExportMediaCode, setMode, setPkMode, setPkMode, setPkMode, setQuoteCharacter, setQuoteCharacter, setQuoteCharacter, setSingleFile, setSingleFile, setSingleFileabortProcessing, appendLocalizedTemplateString, 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, setTenantclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetImpExScript, getJobMedia, getMode, setJobMediaprotected static final String[] LOCALEKEY_TAB
protected WizardEditorContext wizardCtx
protected boolean initial
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 String getDataExportMediaCode(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.dataExportMediaCode attribute.getDataExportMediaCode in class GeneratedImpExExportWizardpublic String getMediasExportMediaCode(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.mediasExportMediaCode attribute.getMediasExportMediaCode in class GeneratedImpExExportWizardpublic 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 final void initialize(WizardEditorContext ctx)
WizardBusinessIteminitialize in class WizardBusinessItemctx - the wizard editor contextprotected void initializeTabs(WizardEditorContext ctx)
ctx - 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 validate(WizardEditorContext ctx, String fromTab, String toTab) throws ValidationException
validate in class WizardBusinessItemctx - the wizard editor contextfromTab - the tab which is being lefttoTab - the new target tabValidationExceptionWizardBusinessItem.validate(de.hybris.platform.hmc.jalo.WizardEditorContext,
java.lang.String, java.lang.String)public Boolean isPkMode(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.pkMode attribute.isPkMode in class GeneratedImpExExportWizardpublic void setPkMode(SessionContext ctx, Boolean pkMode)
GeneratedImpExExportWizardImpExExportWizard.pkMode attribute.setPkMode in class GeneratedImpExExportWizardpkMode - the pkModepublic String getPklist(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.pklist attribute.getPklist in class GeneratedImpExExportWizardpublic void setDataExportMediaCode(SessionContext ctx, String value)
GeneratedImpExExportWizardImpExExportWizard.dataExportMediaCode attribute.setDataExportMediaCode in class GeneratedImpExExportWizardvalue - the dataExportMediaCode - Code of the generated export media, containing the exported datapublic void setMediasExportMediaCode(SessionContext ctx, String value)
GeneratedImpExExportWizardImpExExportWizard.mediasExportMediaCode attribute.setMediasExportMediaCode in class GeneratedImpExExportWizardvalue - the mediasExportMediaCode - Code of the generated export media, containing the exported mediaspublic Character getCommentCharacter(SessionContext arg0)
GeneratedImpExExportWizardImpExExportWizard.commentCharacter attribute.getCommentCharacter in class GeneratedImpExExportWizardpublic Character getFieldSeparator(SessionContext arg0)
GeneratedImpExExportWizardImpExExportWizard.fieldSeparator attribute.getFieldSeparator in class GeneratedImpExExportWizardpublic Character getQuoteCharacter(SessionContext arg0)
GeneratedImpExExportWizardImpExExportWizard.quoteCharacter attribute.getQuoteCharacter in class GeneratedImpExExportWizardpublic void setCommentCharacter(SessionContext arg0, Character arg1)
GeneratedImpExExportWizardImpExExportWizard.commentCharacter attribute.setCommentCharacter in class GeneratedImpExExportWizardarg1 - the commentCharacter - Character used for indicating a commentpublic void setFieldSeparator(SessionContext arg0, Character arg1)
GeneratedImpExExportWizardImpExExportWizard.fieldSeparator attribute.setFieldSeparator in class GeneratedImpExExportWizardarg1 - the fieldSeparator - Character used for separating columns in CSV-linespublic void setQuoteCharacter(SessionContext arg0, Character arg1)
GeneratedImpExExportWizardImpExExportWizard.quoteCharacter attribute.setQuoteCharacter in class GeneratedImpExExportWizardarg1 - the quoteCharacter - Character used for escaping columns in CSV-linespublic List<CronJob> getResultCronJobList(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.resultCronJobList attribute.getResultCronJobList in class GeneratedImpExExportWizardpublic HeaderLibrary getExportTemplate(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.exportTemplate attribute.getExportTemplate in class GeneratedImpExExportWizard@Deprecated public void setExportTemplate(SessionContext ctx, HeaderLibrary param)
setHeaderLibrary(SessionContext ctx, HeaderLibrary param )GeneratedImpExExportWizardImpExExportWizard.exportTemplate attribute.setExportTemplate in class GeneratedImpExExportWizardparam - the exportTemplateGeneratedImpExExportWizard.setExportTemplate(de.hybris.platform.jalo.SessionContext,
de.hybris.platform.impex.jalo.exp.HeaderLibrary)public void setHeaderLibrary(SessionContext ctx, HeaderLibrary param)
setHeaderLibrary in interface ScriptProcessingWizardpublic ImpExExportMedia getDataExportTarget(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.dataExportTarget attribute.getDataExportTarget in class GeneratedImpExExportWizardpublic ImpExExportMedia getMediasExportTarget(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.mediasExportTarget attribute.getMediasExportTarget in class GeneratedImpExExportWizard@Deprecated public ImpExExportMedia getDataExportLocation(SessionContext ctx)
getDataExportTarget(de.hybris.platform.jalo.SessionContext) instead@Deprecated public ImpExExportMedia getMediasExportLocation(SessionContext ctx)
getMediasExportTarget(de.hybris.platform.jalo.SessionContext) insteadpublic void setEncoding(SessionContext ctx, EnumerationValue param)
GeneratedImpExExportWizardImpExExportWizard.encoding attribute.setEncoding in class GeneratedImpExExportWizardparam - the encodingpublic EnumerationValue getEncoding(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.encoding attribute.getEncoding in class GeneratedImpExExportWizardpublic void setMode(SessionContext ctx, EnumerationValue param)
GeneratedImpExExportWizardImpExExportWizard.mode attribute.setMode in class GeneratedImpExExportWizardparam - the modepublic EnumerationValue getMode(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.mode attribute.getMode in class GeneratedImpExExportWizardpublic Collection<Item> getItems(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.items attribute.getItems in class GeneratedImpExExportWizardpublic void setItems(SessionContext ctx, Collection<Item> items)
GeneratedImpExExportWizardImpExExportWizard.items attribute.setItems in class GeneratedImpExExportWizarditems - the itemspublic Export getExport(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.export attribute.getExport in class GeneratedImpExExportWizardpublic Report getReport(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.report attribute.getReport in class GeneratedImpExExportWizardpublic String getImpExScript(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.impExScript attribute.getImpExScript in class GeneratedImpExExportWizardpublic void setImpExScript(SessionContext ctx, String txt)
GeneratedImpExExportWizardImpExExportWizard.impExScript attribute.setImpExScript in class GeneratedImpExExportWizardtxt - the impExScript - ImpexScript contentpublic ImpExMedia getJobMedia(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.jobMedia attribute.getJobMedia in class GeneratedImpExExportWizardpublic void setJobMedia(SessionContext ctx, ImpExMedia media)
GeneratedImpExExportWizardImpExExportWizard.jobMedia attribute.setJobMedia in class GeneratedImpExExportWizardmedia - the jobMediapublic void setConverterClass(SessionContext ctx, EnumerationValue reportGenerator)
GeneratedImpExExportWizardImpExExportWizard.converterClass attribute.setConverterClass in class GeneratedImpExExportWizardreportGenerator - the converterClass - class, which will be used for report generationpublic EnumerationValue getConverterClass(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.converterClass attribute.getConverterClass in class GeneratedImpExExportWizardpublic ImpExExportCronJob getCronJob()
public String getCurrentScriptContent()
public void reloadScript(SessionContext ctx, ImpExMedia media)
reloadScript in interface ScriptProcessingWizardpublic void reloadField(String field)
field - @Deprecated public String getGeneratedScript()
GeneratedImpExExportWizard.getImpExScript() insteadpublic String getMediaCode(String prefix)
getMediaCode in interface ScriptProcessingWizardpublic void setSingleFile(SessionContext ctx, Boolean value)
GeneratedImpExExportWizardImpExExportWizard.singleFile attribute.setSingleFile in class GeneratedImpExExportWizardvalue - the singleFile - Export as a single file or as a zippublic Boolean isSingleFile(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.singleFile attribute.isSingleFile in class GeneratedImpExExportWizardpublic String getLogText(SessionContext ctx)
GeneratedImpExExportWizardImpExExportWizard.logText attribute.getLogText in class GeneratedImpExExportWizardCopyright © 2017 SAP SE. All Rights Reserved.