Interface LocalConfiguration<T>

All Superinterfaces:
DetachedAdapter
All Known Subinterfaces:
ContentViewConfiguration, DirectoryConfiguration, LocalThemeConfig, SimpleConfiguration, UITypesConfiguration, UserPreferences<T>
All Known Implementing Classes:
AbstractLocalConfiguration, ContentViewConfigurationAdapter, DirectoryConfigurationAdapter, LocalThemeConfigAdapter, SimpleConfigurationAdapter, SimpleUserPreferences, UITypesConfigurationAdapter

public interface LocalConfiguration<T> extends DetachedAdapter
Interface that must be implemented by other interface representing a local configuration.
Since:
5.4.2
Author:
Thomas Roger
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if this LocalConfiguration accepted to be merged with a parent configuration, false otherwise.
    Returns the related DocumentRef of this local configuration.
    merge(T other)
    Merge this LocalConfiguration with another one.
    void
    save(CoreSession session)
    Save this LocalConfiguration.
  • Method Details

    • getDocumentRef

      DocumentRef getDocumentRef()
      Returns the related DocumentRef of this local configuration.
    • canMerge

      boolean canMerge()
      Returns true if this LocalConfiguration accepted to be merged with a parent configuration, false otherwise.
    • merge

      T merge(T other)
      Merge this LocalConfiguration with another one.
    • save

      void save(CoreSession session)
      Save this LocalConfiguration.
      Since:
      5.5