| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractPatch.importData(java.lang.String fileName,
ImportOrganisationUnit organisationUnit,
java.util.Collection<ImportLanguage> languages,
boolean runAgain,
ImpexImportUnitOption[] importOptions,
ImpexHeaderOption[][] headerOptions)
Imports impex data for given organisation and languages.
|
protected void |
AbstractPatch.importGlobalData(java.lang.String fileName,
java.util.Collection<ImportLanguage> languages,
boolean runAgain)
Imports global impex data for given languages.
|
protected void |
AbstractPatch.importGlobalData(java.lang.String fileName,
java.util.Collection<ImportLanguage> languages,
boolean runAgain,
ImpexImportUnitOption[] importOptions)
Imports global impex data for given languages.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ImpexImportUnit> |
ImportPatchAction.createLanguageVariantsForUnit(ImpexImportUnit unit,
ImportLanguage language)
This method gets given basic unit and clone it to have:
unit that have file name with country isocode suffix.
|
protected void |
ImportPatchAction.updatedHeaderOptionsWithLanguageAndAddLangFileSuffix(ImpexImportUnit unit,
ImportLanguage language)
This method updates file name with "_lang" suffix.
Check ImportPatchAction.updatedFilePathWithString(ImpexImportUnit, String).It also extends unit with new option: $lang=[isocode] |
protected void |
ImportPatchAction.updateHeaderOptionsWithLanguage(ImpexImportUnit unit,
ImportLanguage language)
This method extends unit with new option:
$lang=[isocode] |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ImpexImportPack> |
ImportPatchAction.createLanguagesVariantsForUnit(ImpexImportPack pack,
java.util.Collection<ImportLanguage> languages)
This method creates unit packages for given array of languages.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ImportLanguage> |
ImportOrganisationUnit.getLanguages()
Get list of languages for given organisation unit.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
StructureStateUtilsTest.TestLanguage |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<ImportLanguage> |
StructureStateUtils.getAllGlobalLanguages(ImportOrganisationUnit[] units,
StructureState structureState)
This method returns set of languages that were defined for ImportOrganisationUnit-s introduced until given structureState
(including).
|
static java.util.Set<ImportLanguage> |
StructureStateUtils.getNewGlobalLanguages(ImportOrganisationUnit[] units,
StructureState structureState)
This method returns set of languages that were defined for ImportOrganisationUnit introduced in given structureState (and
were not used in any structureState before).
It means that: languages that were used by organisation that were defined in given structureState are added to result languages that were used by organisation that were defined in previous structureStates are extracted from result |
static java.util.Set<ImportLanguage> |
StructureStateUtils.getNewLanguages(ImportOrganisationUnit unit,
StructureState structureState)
This method returns set of languages that were defined for child ImportOrganisationUnit introduced in given
structureState (and were not used in any structureState before).
|
| Modifier and Type | Method and Description |
|---|---|
default void |
SimpleDemoPatch.createGlobalData(java.util.Set<ImportLanguage> languages,
boolean updateLanguagesOnly) |
void |
Patch2x0.createGlobalData(java.util.Set<ImportLanguage> languages,
boolean updateLanguagesOnly) |
void |
Patch1x0.createGlobalData(java.util.Set<ImportLanguage> languages,
boolean updateLanguagesOnly) |
void |
DemoPatch.createGlobalData(java.util.Set<ImportLanguage> languages,
boolean updateLanguagesOnly)
Creates global data for given languages.
|
void |
MinorErrorPatch.createGlobalData(java.util.Set<ImportLanguage> languages,
boolean updateLanguagesOnly) |
default void |
SimpleDemoPatch.createShopData(ShopOrganisation unit,
java.util.Set<ImportLanguage> languages,
boolean updateLanguagesOnly) |
void |
Patch2x0.createShopData(ShopOrganisation unit,
java.util.Set<ImportLanguage> languages,
boolean updateLanguages) |
void |
Patch1x0.createShopData(ShopOrganisation unit,
java.util.Set<ImportLanguage> languages,
boolean updateLanguages) |
void |
DemoPatch.createShopData(ShopOrganisation unit,
java.util.Set<ImportLanguage> languages,
boolean updateLanguagesOnly)
Creates shop specific data.
|
void |
MinorErrorPatch.createShopData(ShopOrganisation unit,
java.util.Set<ImportLanguage> languages,
boolean updateLanguages) |
protected void |
AbstractDemoPatch.importShopCatalogVersionSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain) |
protected void |
AbstractDemoPatch.importShopCatalogVersionSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain,
ImpexImportUnitOption[] importOptions) |
protected void |
AbstractDemoPatch.importShopSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain) |
protected void |
AbstractDemoPatch.importShopSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain,
ImpexImportUnitOption[] importOptions) |
| Modifier and Type | Class and Description |
|---|---|
class |
Language
Example of languages enumeration used in import process.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ImportLanguage> |
ShopOrganisation.getLanguages() |
java.util.Collection<ImportLanguage> |
CountryOrganisation.getLanguages() |
Copyright © 2018 SAP SE. All Rights Reserved.