public class DefaultConfigurationPersistingStrategy<CONFIG extends UIComponentConfiguration,JAXBCLASS> extends Object implements ConfigurationPersistingStrategy<CONFIG>
COMPONENT_PERMISSION_CODE| Constructor and Description |
|---|
DefaultConfigurationPersistingStrategy() |
public DefaultConfigurationPersistingStrategy()
public JAXBCLASS updateJaxb(CONFIG configuration)
configuration - the java configurationpublic void persistComponentConfiguration(CONFIG configuration, UserModel user, ObjectTemplate objectTemplate, String code)
ConfigurationPersistingStrategypersistComponentConfiguration in interface ConfigurationPersistingStrategy<CONFIG extends UIComponentConfiguration>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 configurationprotected boolean checkPermissions(UserModel user)
protected void storeConfigurationMedia(PrincipalModel principal, String xmlContent, String code, String objectTemplateCode, String factoryBeanId)
public Class<CONFIG> getComponentClass()
ConfigurationPersistingStrategygetComponentClass in interface ConfigurationPersistingStrategy<CONFIG extends UIComponentConfiguration>public String getComponentClassName()
public void setComponentClassName(String componentClass)
public String getConfigurationFactory()
public void setConfigurationFactory(String factory)
public void setSchemaResource(Resource schemaResource)
public ModelService getModelService()
public void setModelService(ModelService modelService)
public MediaService getMediaService()
public void setMediaService(MediaService mediaService)
public void setUiAccessRightService(UIAccessRightService uiAccessRightService)
public CockpitUIComponentConfigurationDao getCockpitUIComponentConfigurationDao()
public void setCockpitUIComponentConfigurationDao(CockpitUIComponentConfigurationDao cockpitConfigurationDao)
public void setJaxbContextCache(JAXBContextCache jaxbContextCache)
Copyright © 2017 SAP SE. All Rights Reserved.