public abstract class AbstractDemoPatch extends AbstractPatch implements DemoPatch
importPatchAction, patchId, patchName, release, sqlCommandPatchAction, structureState| Constructor and Description |
|---|
AbstractDemoPatch(java.lang.String patchId,
java.lang.String patchName,
Release release,
StructureState structureState) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createGlobalData(StructureState structureState,
boolean update)
This method is responsible for update global data (not organisation specific).
|
void |
createProjectData(StructureState structureState)
Execute Patch with given structureState.
|
protected void |
createShopsData(java.util.Collection<ShopOrganisation> shops,
boolean update)
This method will update set of given shop organisations with given structureState.
|
protected void |
createShopsData(java.util.Collection<ShopOrganisation> shops,
StructureState structureState,
boolean update)
Deprecated.
since 1811
This method will update set of given shop organisations with given structureState. Update indicate if only
language specific files should be imported.
|
protected void |
createShopsData(StructureState structureState,
boolean update)
This method will update shop data with specific structureState.
|
protected void |
importCountryData(java.lang.String fileName,
CountryOrganisation countryOrganisationn) |
protected void |
importCountryData(java.lang.String fileName,
CountryOrganisation countryOrganisationn,
ImpexImportUnitOption[] importOptions) |
protected void |
importShopCatalogVersionSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain) |
protected void |
importShopCatalogVersionSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain,
ImpexImportUnitOption[] importOptions) |
protected void |
importShopSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain) |
protected void |
importShopSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain,
ImpexImportUnitOption[] importOptions) |
executeUpdateOnDB, executeUpdateOnDB, getPatchDescription, getPatchId, getPatchName, getRelease, getStructureState, importData, importGlobalData, importGlobalData, setImportPatchAction, setSqlCommandPatchActionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCountryData, createGlobalData, createShopDatacreateEssentialData, getPatchDescription, getPatchId, getPatchName, getRelease, getStructureStatepublic AbstractDemoPatch(java.lang.String patchId,
java.lang.String patchName,
Release release,
StructureState structureState)
public void createProjectData(StructureState structureState)
PatchcreateProjectData in interface PatchstructureState - that should be used for creating project dataprotected void createGlobalData(StructureState structureState, boolean update)
structureState - indicates which structureState should be used to import these global data (see update parameter)update - if set to true:protected void createShopsData(StructureState structureState, boolean update)
structureState - indicates which structureState should be used to import these global data (see update parameter)update - if set to true:protected void createShopsData(java.util.Collection<ShopOrganisation> shops, boolean update)
shops - update - @Deprecated protected void createShopsData(java.util.Collection<ShopOrganisation> shops, StructureState structureState, boolean update)
shops - structureState - update - protected void importShopSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain)
protected void importShopSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain,
ImpexImportUnitOption[] importOptions)
protected void importShopCatalogVersionSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain)
protected void importShopCatalogVersionSpecificData(java.lang.String fileName,
java.util.Set<ImportLanguage> languages,
ShopOrganisation shopOrganisation,
boolean runAgain,
ImpexImportUnitOption[] importOptions)
protected void importCountryData(java.lang.String fileName,
CountryOrganisation countryOrganisationn)
protected void importCountryData(java.lang.String fileName,
CountryOrganisation countryOrganisationn,
ImpexImportUnitOption[] importOptions)
Copyright © 2018 SAP SE. All Rights Reserved.