public class PrefsPropsImpl
extends Object
implements com.liferay.portal.kernel.util.PrefsProps
Constructor and Description |
---|
PrefsPropsImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(long companyId,
String name) |
boolean |
getBoolean(long companyId,
String name,
boolean defaultValue) |
boolean |
getBoolean(javax.portlet.PortletPreferences portletPreferences,
String name) |
boolean |
getBoolean(javax.portlet.PortletPreferences portletPreferences,
String name,
boolean defaultValue) |
boolean |
getBoolean(String name) |
boolean |
getBoolean(String name,
boolean defaultValue) |
String |
getContent(long companyId,
String name) |
String |
getContent(javax.portlet.PortletPreferences portletPreferences,
String name) |
String |
getContent(String name) |
double |
getDouble(long companyId,
String name) |
double |
getDouble(long companyId,
String name,
double defaultValue) |
double |
getDouble(javax.portlet.PortletPreferences portletPreferences,
String name) |
double |
getDouble(javax.portlet.PortletPreferences portletPreferences,
String name,
double defaultValue) |
double |
getDouble(String name) |
double |
getDouble(String name,
double defaultValue) |
int |
getInteger(long companyId,
String name) |
int |
getInteger(long companyId,
String name,
int defaultValue) |
int |
getInteger(javax.portlet.PortletPreferences portletPreferences,
String name) |
int |
getInteger(javax.portlet.PortletPreferences portletPreferences,
String name,
int defaultValue) |
int |
getInteger(String name) |
int |
getInteger(String name,
int defaultValue) |
long |
getLong(long companyId,
String name) |
long |
getLong(long companyId,
String name,
long defaultValue) |
long |
getLong(javax.portlet.PortletPreferences portletPreferences,
String name) |
long |
getLong(javax.portlet.PortletPreferences portletPreferences,
String name,
long defaultValue) |
long |
getLong(String name) |
long |
getLong(String name,
long defaultValue) |
javax.portlet.PortletPreferences |
getPreferences() |
javax.portlet.PortletPreferences |
getPreferences(long companyId) |
Properties |
getProperties(javax.portlet.PortletPreferences portletPreferences,
String prefix,
boolean removePrefix) |
Properties |
getProperties(String prefix,
boolean removePrefix) |
short |
getShort(long companyId,
String name) |
short |
getShort(long companyId,
String name,
short defaultValue) |
short |
getShort(javax.portlet.PortletPreferences portletPreferences,
String name) |
short |
getShort(javax.portlet.PortletPreferences portletPreferences,
String name,
short defaultValue) |
short |
getShort(String name) |
short |
getShort(String name,
short defaultValue) |
String |
getString(long companyId,
String name) |
String |
getString(long companyId,
String name,
String defaultValue) |
String |
getString(javax.portlet.PortletPreferences portletPreferences,
String name) |
String |
getString(javax.portlet.PortletPreferences portletPreferences,
String name,
boolean defaultValue) |
String |
getString(javax.portlet.PortletPreferences portletPreferences,
String name,
double defaultValue) |
String |
getString(javax.portlet.PortletPreferences portletPreferences,
String name,
int defaultValue) |
String |
getString(javax.portlet.PortletPreferences portletPreferences,
String name,
long defaultValue) |
String |
getString(javax.portlet.PortletPreferences portletPreferences,
String name,
short defaultValue) |
String |
getString(javax.portlet.PortletPreferences portletPreferences,
String name,
String defaultValue) |
String |
getString(String name) |
String |
getString(String name,
String defaultValue) |
String[] |
getStringArray(long companyId,
String name,
String delimiter) |
String[] |
getStringArray(long companyId,
String name,
String delimiter,
String[] defaultValue) |
String[] |
getStringArray(javax.portlet.PortletPreferences portletPreferences,
String name,
String delimiter) |
String[] |
getStringArray(javax.portlet.PortletPreferences portletPreferences,
String name,
String delimiter,
String[] defaultValue) |
String[] |
getStringArray(String name,
String delimiter) |
String[] |
getStringArray(String name,
String delimiter,
String[] defaultValue) |
String |
getStringFromNames(long companyId,
String... names) |
public boolean getBoolean(long companyId, String name)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
public boolean getBoolean(long companyId, String name, boolean defaultValue)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
public boolean getBoolean(javax.portlet.PortletPreferences portletPreferences, String name)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
public boolean getBoolean(javax.portlet.PortletPreferences portletPreferences, String name, boolean defaultValue)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
public boolean getBoolean(String name)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
public boolean getBoolean(String name, boolean defaultValue)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
public String getContent(long companyId, String name)
getContent
in interface com.liferay.portal.kernel.util.PrefsProps
public String getContent(javax.portlet.PortletPreferences portletPreferences, String name)
getContent
in interface com.liferay.portal.kernel.util.PrefsProps
public String getContent(String name)
getContent
in interface com.liferay.portal.kernel.util.PrefsProps
public double getDouble(long companyId, String name)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
public double getDouble(long companyId, String name, double defaultValue)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
public double getDouble(javax.portlet.PortletPreferences portletPreferences, String name)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
public double getDouble(javax.portlet.PortletPreferences portletPreferences, String name, double defaultValue)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
public double getDouble(String name)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
public double getDouble(String name, double defaultValue)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
public int getInteger(long companyId, String name)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
public int getInteger(long companyId, String name, int defaultValue)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
public int getInteger(javax.portlet.PortletPreferences portletPreferences, String name)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
public int getInteger(javax.portlet.PortletPreferences portletPreferences, String name, int defaultValue)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
public int getInteger(String name)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
public int getInteger(String name, int defaultValue)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
public long getLong(long companyId, String name)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
public long getLong(long companyId, String name, long defaultValue)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
public long getLong(javax.portlet.PortletPreferences portletPreferences, String name)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
public long getLong(javax.portlet.PortletPreferences portletPreferences, String name, long defaultValue)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
public long getLong(String name)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
public long getLong(String name, long defaultValue)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
public javax.portlet.PortletPreferences getPreferences()
getPreferences
in interface com.liferay.portal.kernel.util.PrefsProps
public javax.portlet.PortletPreferences getPreferences(long companyId)
getPreferences
in interface com.liferay.portal.kernel.util.PrefsProps
public Properties getProperties(javax.portlet.PortletPreferences portletPreferences, String prefix, boolean removePrefix)
getProperties
in interface com.liferay.portal.kernel.util.PrefsProps
public Properties getProperties(String prefix, boolean removePrefix)
getProperties
in interface com.liferay.portal.kernel.util.PrefsProps
public short getShort(long companyId, String name)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
public short getShort(long companyId, String name, short defaultValue)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
public short getShort(javax.portlet.PortletPreferences portletPreferences, String name)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
public short getShort(javax.portlet.PortletPreferences portletPreferences, String name, short defaultValue)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
public short getShort(String name)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
public short getShort(String name, short defaultValue)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(long companyId, String name)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(long companyId, String name, String defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(javax.portlet.PortletPreferences portletPreferences, String name)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, boolean defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, double defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, int defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, long defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, short defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, String defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(String name)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(String name, String defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String[] getStringArray(long companyId, String name, String delimiter)
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
public String[] getStringArray(long companyId, String name, String delimiter, String[] defaultValue)
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
public String[] getStringArray(javax.portlet.PortletPreferences portletPreferences, String name, String delimiter)
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
public String[] getStringArray(javax.portlet.PortletPreferences portletPreferences, String name, String delimiter, String[] defaultValue)
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
public String[] getStringArray(String name, String delimiter)
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
public String[] getStringArray(String name, String delimiter, String[] defaultValue)
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
public String getStringFromNames(long companyId, String... names)
getStringFromNames
in interface com.liferay.portal.kernel.util.PrefsProps