Interface ConfigurationProvider<T>

All Known Implementing Classes:
BaseConfigurationProvider, CompanyScopedConfigurationProvider

public interface ConfigurationProvider<T>
  • Method Details

    • delete

      boolean delete(long companyId)
    • delete

      boolean delete(long companyId, long index)
    • getConfiguration

      T getConfiguration(long companyId)
    • getConfiguration

      T getConfiguration(long companyId, long index)
    • getConfigurationProperties

      Dictionary<String,Object> getConfigurationProperties(long companyId)
    • getConfigurationProperties

      Dictionary<String,Object> getConfigurationProperties(long companyId, long index)
    • getConfigurations

      List<T> getConfigurations(long companyId)
    • getConfigurations

      List<T> getConfigurations(long companyId, boolean useDefault)
    • getConfigurationsProperties

      List<Dictionary<String,Object>> getConfigurationsProperties(long companyId)
    • getConfigurationsProperties

      List<Dictionary<String,Object>> getConfigurationsProperties(long companyId, boolean useDefault)
    • getMetatype

      Class<T> getMetatype()
    • registerConfiguration

      void registerConfiguration(org.osgi.service.cm.Configuration configuration)
    • unregisterConfiguration

      void unregisterConfiguration(String pid)
    • updateProperties

      void updateProperties(long companyId, Dictionary<String,Object> properties)
    • updateProperties

      void updateProperties(long companyId, long index, Dictionary<String,Object> properties)