| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractPatch.executeUpdateOnDB(java.lang.String actionName,
java.lang.String query,
ImportOrganisationUnit organisationUnit)
Executes direct SQL update for specified query.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ImportOrganisationUnit> |
ImportPatchAction.createUnitHierarchy(ImportOrganisationUnit unit)
This method creates for given
ImportOrganisationUnit a hierarchy path (list of parent units) starting from
one that is on top of hierarchy. |
| Modifier and Type | Method and Description |
|---|---|
protected ImpexImportPack |
ImportPatchAction.createOrganisationPacks(java.lang.String basePath,
java.lang.String fileName,
java.lang.String filePrefix,
ImportOrganisationUnit unit)
This method creates base
ImpexImportPack (without languages and options) for given
ImportOrganisationUnit. |
protected java.util.List<ImportOrganisationUnit> |
ImportPatchAction.createUnitHierarchy(ImportOrganisationUnit unit)
This method creates for given
ImportOrganisationUnit a hierarchy path (list of parent units) starting from
one that is on top of hierarchy. |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
ImportPatchAction.createPaths(java.util.List<ImportOrganisationUnit> hierarchy,
java.lang.String basePath,
java.lang.String fileName)
This method iterates over unit hierarchy and creates all possible (valid) paths where file that should be imported
can be located.
|
| Modifier and Type | Field and Description |
|---|---|
protected ImportOrganisationUnit |
PatchActionData.organisationUnit |
| Modifier and Type | Method and Description |
|---|---|
ImportOrganisationUnit |
PatchActionData.getOrganisationUnit() |
| Modifier and Type | Method and Description |
|---|---|
void |
PatchActionData.setOrganisationUnit(ImportOrganisationUnit organisationUnit) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImportOrganisationUnit<T extends ImportOrganisationUnit,S extends ImportOrganisationUnit>
Represent organisation unit: shop, hub, country, anything that require separate data set to be imported.
|
interface |
ImportOrganisationUnit<T extends ImportOrganisationUnit,S extends ImportOrganisationUnit>
Represent organisation unit: shop, hub, country, anything that require separate data set to be imported.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
PatchExecutionUnitUtils.generateHashId(java.lang.String name,
ImportOrganisationUnit organisationUnit,
PatchExecutionModel patchExecution)
Generates a hash based on three passed parameters.
|
static java.lang.String |
PatchExecutionUnitUtils.generateOrganisationUnitName(ImportOrganisationUnit organisationUnit)
Generate a organisation unit name based on the organisation hierarchy.
|
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 | Class and Description |
|---|---|
class |
CountryOrganisation
Example of country organisation that is used for imports.
|
class |
ShopOrganisation
Example of shop organisation that consist from country organisations and is used for imports.
|
Copyright © 2018 SAP SE. All Rights Reserved.