public interface ConfigurationProvider<T>
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) |
java.lang.Class<T> |
getMetatype() |
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) |
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)
java.lang.Class<T> getMetatype()
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)