Interface ConfigurationPersistingStrategy<CONFIG extends UIComponentConfiguration>

    • Field Detail

      • COMPONENT_PERMISSION_CODE

        static final java.lang.String COMPONENT_PERMISSION_CODE
        See Also:
        Constant Field Values
    • Method Detail

      • persistComponentConfiguration

        void persistComponentConfiguration​(CONFIG configuration,
                                           UserModel user,
                                           ObjectTemplate objectTemplate,
                                           java.lang.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

        java.lang.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