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 Details

  • 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 store
      user - the user the configuration should be valid for
      objectTemplate - the object template the configuration should be valid for
      code - the component code of the configuration
    • getComponentClass

      Class<CONFIG> 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