public class ExportUtils
extends java.lang.Object
| Constructor and Description |
|---|
ExportUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<ComposedType> |
collectSubtypesWithOwnDeployment(ComposedType rootType) |
static ImpExExportMedia |
createDataExportTarget()
Calls
createDataExportTarget(java.lang.String) with argument: "exported_data_" +
System.currentTimeMillis() |
static ImpExExportMedia |
createDataExportTarget(java.lang.String code)
Hint:This method should be used for the creation of an 'exported data' media.
Creates a new ImpExExportMedia instance with the specified code and the configured default values for:
ImpExExportMedia.COMMENTCHARACTER ImpExExportMedia.FIELDSEPARATOR ImpExExportMedia.FIELDSEPARATOR and
ImpExExportMedia.ENCODING. |
static ImpExMedia |
createExportScript(HeaderLibrary headerlibrary,
java.util.Collection<Item> items) |
static ImpExExportMedia |
createMediasExportTarget()
calls
createMediasExportTarget(java.lang.String) with argument: "exported_medias_" +
System.currentTimeMillis() |
static ImpExExportMedia |
createMediasExportTarget(java.lang.String code)
Hint:This method should be used for the creation of an 'exported medias' media.
Creates a new ImpExExportMedia instance with the specified code. |
static boolean |
filterTypeCompletely(ComposedType type) |
static java.util.Set<ComposedType> |
getExportableRootTypes(ScriptGenerator callback) |
static java.lang.StringBuilder |
getScriptContent(ImpExMedia media)
Deprecated.
since ages - use
ImpExUtils.getContent(de.hybris.platform.jalo.media.Media) |
static java.lang.StringBuffer |
mergeHeaderAndItemList(HeaderLibrary library,
java.util.Collection<Item> itemlist)
Creates an export script based on the assigned HeaderLibrary and item Collection.
|
public static ImpExExportMedia createDataExportTarget(java.lang.String code)
ImpExExportMedia instance with the specified code and the configured default values for: public static ImpExExportMedia createDataExportTarget()
createDataExportTarget(java.lang.String) with argument: "exported_data_" +
System.currentTimeMillis()public static ImpExExportMedia createMediasExportTarget(java.lang.String code)
public static ImpExExportMedia createMediasExportTarget()
createMediasExportTarget(java.lang.String) with argument: "exported_medias_" +
System.currentTimeMillis()public static ImpExMedia createExportScript(HeaderLibrary headerlibrary, java.util.Collection<Item> items) throws ImpExException
headerlibrary - the used headerlibrary, see mergeHeaderAndItemList(HeaderLibrary, Collection)items - the items for which the export script should be createdImpExExceptionpublic static java.util.Set<ComposedType> getExportableRootTypes(ScriptGenerator callback)
public static boolean filterTypeCompletely(ComposedType type)
type - public static java.util.Set<ComposedType> collectSubtypesWithOwnDeployment(ComposedType rootType)
rootType - public static java.lang.StringBuffer mergeHeaderAndItemList(HeaderLibrary library, java.util.Collection<Item> itemlist) throws java.io.IOException
#-----------------------------------------------------------<br>
INSERT Employee; PK; uid[unique=true];<br>
#-----------------------------------------------------------<br>
"#% impex.exportItems( new String[]{""1132337018702352"", ""1132337018702353""} );"<br>
library - itemlist - java.io.IOException@Deprecated public static java.lang.StringBuilder getScriptContent(ImpExMedia media)
ImpExUtils.getContent(de.hybris.platform.jalo.media.Media)Copyright © 2018 SAP SE. All Rights Reserved.