public class DashboardPersistingStrategy extends DefaultConfigurationPersistingStrategy
COMPONENT_PERMISSION_CODE| Constructor and Description |
|---|
DashboardPersistingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
createXmlContent(WidgetDashboardConfiguration config) |
CockpitUIComponentConfigurationDao |
getCockpitUIComponentConfigurationDao() |
java.lang.Class |
getComponentClass()
Provides the class this strategy is valid for.
|
MediaService |
getMediaService() |
ModelService |
getModelService() |
void |
persistComponentConfiguration(UIComponentConfiguration configuration,
UserModel user,
ObjectTemplate objectTemplate,
java.lang.String code)
Stores the configuration according to the strategy implementation
|
void |
setCockpitUIComponentConfigurationDao(CockpitUIComponentConfigurationDao cockpitConfigurationDao) |
void |
setMediaService(MediaService mediaService) |
void |
setModelService(ModelService modelService) |
checkPermissions, createXml, getComponentClassName, getConfigurationFactory, getJaxbElement, getRootJaxbElement, setComponentClassName, setConfigurationFactory, setJaxbClass, setJaxbContextCache, setSchemaResource, setUiAccessRightService, storeConfigurationMedia, updateJaxbpublic void persistComponentConfiguration(UIComponentConfiguration configuration, UserModel user, ObjectTemplate objectTemplate, java.lang.String code)
ConfigurationPersistingStrategypersistComponentConfiguration in interface ConfigurationPersistingStrategypersistComponentConfiguration in class DefaultConfigurationPersistingStrategyconfiguration - 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 configurationprotected java.lang.String createXmlContent(WidgetDashboardConfiguration config)
public java.lang.Class getComponentClass()
ConfigurationPersistingStrategygetComponentClass in interface ConfigurationPersistingStrategygetComponentClass in class DefaultConfigurationPersistingStrategypublic void setModelService(ModelService modelService)
setModelService in class DefaultConfigurationPersistingStrategypublic ModelService getModelService()
getModelService in class DefaultConfigurationPersistingStrategypublic void setMediaService(MediaService mediaService)
setMediaService in class DefaultConfigurationPersistingStrategypublic MediaService getMediaService()
getMediaService in class DefaultConfigurationPersistingStrategypublic void setCockpitUIComponentConfigurationDao(CockpitUIComponentConfigurationDao cockpitConfigurationDao)
setCockpitUIComponentConfigurationDao in class DefaultConfigurationPersistingStrategypublic CockpitUIComponentConfigurationDao getCockpitUIComponentConfigurationDao()
getCockpitUIComponentConfigurationDao in class DefaultConfigurationPersistingStrategyCopyright © 2018 SAP SE. All Rights Reserved.