public abstract class CompanyScopedConfigurationProvider<T extends CompanyScopedConfiguration> extends BaseConfigurationProvider<T> implements ConfigurationProvider<T>
configurationAdmin
Constructor and Description |
---|
CompanyScopedConfigurationProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
delete(long companyId) |
boolean |
delete(long companyId,
long index) |
T |
getConfiguration(long companyId) |
T |
getConfiguration(long companyId,
long index) |
java.util.Dictionary<java.lang.String,java.lang.Object> |
getConfigurationProperties(long companyId) |
java.util.Dictionary<java.lang.String,java.lang.Object> |
getConfigurationProperties(long companyId,
long index) |
java.util.List<T> |
getConfigurations(long companyId) |
java.util.List<T> |
getConfigurations(long companyId,
boolean useDefault) |
java.util.List<java.util.Dictionary<java.lang.String,java.lang.Object>> |
getConfigurationsProperties(long companyId) |
java.util.List<java.util.Dictionary<java.lang.String,java.lang.Object>> |
getConfigurationsProperties(long companyId,
boolean useDefault) |
void |
registerConfiguration(org.osgi.service.cm.Configuration configuration) |
void |
unregisterConfiguration(org.osgi.service.cm.Configuration configuration) |
void |
updateProperties(long companyId,
java.util.Dictionary<java.lang.String,java.lang.Object> properties) |
void |
updateProperties(long companyId,
long index,
java.util.Dictionary<java.lang.String,java.lang.Object> properties) |
getMetatypeId, setConfigurationAdmin
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetatype
public boolean delete(long companyId)
delete
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public boolean delete(long companyId, long index)
delete
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public T getConfiguration(long companyId)
getConfiguration
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public T getConfiguration(long companyId, long index)
getConfiguration
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public java.util.Dictionary<java.lang.String,java.lang.Object> getConfigurationProperties(long companyId)
getConfigurationProperties
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public java.util.Dictionary<java.lang.String,java.lang.Object> getConfigurationProperties(long companyId, long index)
getConfigurationProperties
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public java.util.List<T> getConfigurations(long companyId)
getConfigurations
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public java.util.List<T> getConfigurations(long companyId, boolean useDefault)
getConfigurations
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public java.util.List<java.util.Dictionary<java.lang.String,java.lang.Object>> getConfigurationsProperties(long companyId)
getConfigurationsProperties
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public java.util.List<java.util.Dictionary<java.lang.String,java.lang.Object>> getConfigurationsProperties(long companyId, boolean useDefault)
getConfigurationsProperties
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public void registerConfiguration(org.osgi.service.cm.Configuration configuration)
registerConfiguration
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public void unregisterConfiguration(org.osgi.service.cm.Configuration configuration)
unregisterConfiguration
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public void updateProperties(long companyId, java.util.Dictionary<java.lang.String,java.lang.Object> properties)
updateProperties
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>
public void updateProperties(long companyId, long index, java.util.Dictionary<java.lang.String,java.lang.Object> properties)
updateProperties
in interface ConfigurationProvider<T extends CompanyScopedConfiguration>