public class ConfigurationImpl
extends Object
implements com.liferay.portal.kernel.configuration.Configuration
Constructor and Description |
---|
ConfigurationImpl(ClassLoader classLoader,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
ConfigurationImpl(ClassLoader, String, long, String) |
ConfigurationImpl(ClassLoader classLoader,
String name,
long companyId)
Deprecated.
As of Judson (7.1.x), replaced by
ConfigurationImpl(ClassLoader, String, long, String) |
ConfigurationImpl(ClassLoader classLoader,
String name,
long companyId,
String webId) |
Modifier and Type | Method and Description |
---|---|
void |
addProperties(Properties properties) |
void |
clearCache() |
boolean |
contains(String key) |
String |
get(String key) |
String |
get(String key,
com.liferay.portal.kernel.configuration.Filter filter) |
String[] |
getArray(String key) |
String[] |
getArray(String key,
com.liferay.portal.kernel.configuration.Filter filter) |
protected com.germinus.easyconf.ComponentProperties |
getComponentProperties() |
protected com.germinus.easyconf.Filter |
getEasyConfFilter(com.liferay.portal.kernel.configuration.Filter filter) |
Properties |
getProperties() |
Properties |
getProperties(String prefix,
boolean removePrefix) |
protected void |
printSources(long companyId,
String webId) |
void |
removeProperties(Properties properties) |
void |
set(String key,
String value) |
@Deprecated public ConfigurationImpl(ClassLoader classLoader, String name)
ConfigurationImpl(ClassLoader, String, long, String)
@Deprecated public ConfigurationImpl(ClassLoader classLoader, String name, long companyId)
ConfigurationImpl(ClassLoader, String, long, String)
public ConfigurationImpl(ClassLoader classLoader, String name, long companyId, String webId)
public void addProperties(Properties properties)
addProperties
in interface com.liferay.portal.kernel.configuration.Configuration
public void clearCache()
clearCache
in interface com.liferay.portal.kernel.configuration.Configuration
public boolean contains(String key)
contains
in interface com.liferay.portal.kernel.configuration.Configuration
public String get(String key)
get
in interface com.liferay.portal.kernel.configuration.Configuration
public String get(String key, com.liferay.portal.kernel.configuration.Filter filter)
get
in interface com.liferay.portal.kernel.configuration.Configuration
public String[] getArray(String key)
getArray
in interface com.liferay.portal.kernel.configuration.Configuration
public String[] getArray(String key, com.liferay.portal.kernel.configuration.Filter filter)
getArray
in interface com.liferay.portal.kernel.configuration.Configuration
public Properties getProperties()
getProperties
in interface com.liferay.portal.kernel.configuration.Configuration
public Properties getProperties(String prefix, boolean removePrefix)
getProperties
in interface com.liferay.portal.kernel.configuration.Configuration
public void removeProperties(Properties properties)
removeProperties
in interface com.liferay.portal.kernel.configuration.Configuration
public void set(String key, String value)
set
in interface com.liferay.portal.kernel.configuration.Configuration
protected com.germinus.easyconf.ComponentProperties getComponentProperties()
protected com.germinus.easyconf.Filter getEasyConfFilter(com.liferay.portal.kernel.configuration.Filter filter)
protected void printSources(long companyId, String webId)