Class DashboardPersistingStrategy
java.lang.Object
de.hybris.platform.cockpit.services.config.impl.DefaultConfigurationPersistingStrategy
de.hybris.platform.cockpit.services.config.impl.DashboardPersistingStrategy
- All Implemented Interfaces:
ConfigurationPersistingStrategy
-
Field Summary
Fields inherited from interface de.hybris.platform.cockpit.services.config.ConfigurationPersistingStrategy
COMPONENT_PERMISSION_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringProvides the class this strategy is valid for.voidpersistComponentConfiguration(UIComponentConfiguration configuration, UserModel user, ObjectTemplate objectTemplate, String code) Stores the configuration according to the strategy implementationvoidsetCockpitUIComponentConfigurationDao(CockpitUIComponentConfigurationDao cockpitConfigurationDao) voidsetMediaService(MediaService mediaService) voidsetModelService(ModelService modelService) Methods inherited from class de.hybris.platform.cockpit.services.config.impl.DefaultConfigurationPersistingStrategy
checkPermissions, createXml, getComponentClassName, getConfigurationFactory, getJaxbElement, getRootJaxbElement, setComponentClassName, setConfigurationFactory, setJaxbClass, setJaxbContextCache, setSchemaResource, setUiAccessRightService, storeConfigurationMedia, updateJaxb
-
Constructor Details
-
DashboardPersistingStrategy
public DashboardPersistingStrategy()
-
-
Method Details
-
persistComponentConfiguration
public void persistComponentConfiguration(UIComponentConfiguration configuration, UserModel user, ObjectTemplate objectTemplate, String code) Description copied from interface:ConfigurationPersistingStrategyStores the configuration according to the strategy implementation- Specified by:
persistComponentConfigurationin interfaceConfigurationPersistingStrategy- Overrides:
persistComponentConfigurationin classDefaultConfigurationPersistingStrategy- Parameters:
configuration- the configuration to storeuser- the user the configuration should be valid forobjectTemplate- the object template the configuration should be valid forcode- the component code of the configuration
-
createXmlContent
-
getComponentClass
Description copied from interface:ConfigurationPersistingStrategyProvides the class this strategy is valid for. Used for mapping strategies to classes via spring.- Specified by:
getComponentClassin interfaceConfigurationPersistingStrategy- Overrides:
getComponentClassin classDefaultConfigurationPersistingStrategy- Returns:
- the class of the configuration which this strategy can handle
-
setModelService
- Overrides:
setModelServicein classDefaultConfigurationPersistingStrategy
-
getModelService
- Overrides:
getModelServicein classDefaultConfigurationPersistingStrategy
-
setMediaService
- Overrides:
setMediaServicein classDefaultConfigurationPersistingStrategy
-
getMediaService
- Overrides:
getMediaServicein classDefaultConfigurationPersistingStrategy
-
setCockpitUIComponentConfigurationDao
public void setCockpitUIComponentConfigurationDao(CockpitUIComponentConfigurationDao cockpitConfigurationDao) - Overrides:
setCockpitUIComponentConfigurationDaoin classDefaultConfigurationPersistingStrategy
-
getCockpitUIComponentConfigurationDao
- Overrides:
getCockpitUIComponentConfigurationDaoin classDefaultConfigurationPersistingStrategy
-