@SystemSetup(extension="catalog") public class CockpitConfigurationMediaSystemSetup extends java.lang.Object
| Constructor and Description |
|---|
CockpitConfigurationMediaSystemSetup() |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustCockpitConfigurationMedias()
CAUTION: we assume that cockpit configuration medias that will be converted are
not referenced from other entities.
|
void |
setCatalogService(CatalogService catalogService) |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
void |
setItemModelCloneCreator(ItemModelCloneCreator itemModelCloneCreator) |
void |
setModelService(ModelService modelService) |
void |
setTypeService(TypeService typeService) |
public CockpitConfigurationMediaSystemSetup()
@SystemSetup(process=ALL, type=ESSENTIAL) public void adjustCockpitConfigurationMedias()
CAUTION: we assume that cockpit configuration medias that will be converted are not referenced from other entities. If this can not be guaranteed in your project disable this method and try manual migration process.
Does conversion of all media files that represent cockpit configurations in the default catalog version into CockpitUIConfigurationMedia and deletes all cockpit configurations from other versions of the catalog. Medias are deleted because if by chance the default catalog version was synchronized media codes were duplicated (cockpit configuration search is catalog version unaware!). After conversion the catalog version is set tonull which is the default value for CockpitUIConfigurationMedia. CockpitUIConfigurationMediaModelpublic void setConfigurationService(ConfigurationService configurationService)
public void setCatalogService(CatalogService catalogService)
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
public void setModelService(ModelService modelService)
public void setItemModelCloneCreator(ItemModelCloneCreator itemModelCloneCreator)
public void setTypeService(TypeService typeService)
Copyright © 2018 SAP SE. All Rights Reserved.