public abstract class CompanyScopedConfigurationProvider<T extends CompanyScopedConfiguration> extends BaseConfigurationProvider<T> implements ConfigurationProvider<T>
| 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) |
protected abstract org.osgi.service.cm.ConfigurationAdmin |
getConfigurationAdmin() |
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(java.lang.String pid) |
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) |
getMetatypeIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetatypepublic 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(java.lang.String pid)
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>protected abstract org.osgi.service.cm.ConfigurationAdmin getConfigurationAdmin()