Interface ConfigurationPersistingStrategy<CONFIG extends UIComponentConfiguration>
- All Known Implementing Classes:
AdvancedSearchConfigurationPersistingStrategy,DashboardPersistingStrategy,DefaultConfigurationPersistingStrategy,EditorConfigurationPersistingStrategy,ListViewConfigurationPersistingStrategy
public interface ConfigurationPersistingStrategy<CONFIG extends UIComponentConfiguration>
Interface for a strategy how to persist component configurations
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionProvides the class this strategy is valid for.voidpersistComponentConfiguration(CONFIG configuration, UserModel user, ObjectTemplate objectTemplate, String code) Stores the configuration according to the strategy implementation
-
Field Details
-
COMPONENT_PERMISSION_CODE
- See Also:
-
-
Method Details
-
persistComponentConfiguration
void persistComponentConfiguration(CONFIG configuration, UserModel user, ObjectTemplate objectTemplate, String code) Stores the configuration according to the strategy implementation- 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
-
getComponentClass
Provides the class this strategy is valid for. Used for mapping strategies to classes via spring.- Returns:
- the class of the configuration which this strategy can handle
-