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(PortletPreferences preferences,
long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getBoolean(PortletPreferences, String) |
boolean |
getBoolean(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getBoolean(PortletPreferences, String, boolean) |
boolean |
getBoolean(PortletPreferences preferences,
String name) |
boolean |
getBoolean(PortletPreferences preferences,
String name,
boolean defaultValue) |
boolean |
getBoolean(String name) |
boolean |
getBoolean(String name,
boolean defaultValue) |
String |
getContent(long companyId,
String name) |
String |
getContent(PortletPreferences preferences,
long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getContent(PortletPreferences, String) |
String |
getContent(PortletPreferences preferences,
String name) |
String |
getContent(String name) |
double |
getDouble(long companyId,
String name) |
double |
getDouble(long companyId,
String name,
double defaultValue) |
double |
getDouble(PortletPreferences preferences,
long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getDouble(PortletPreferences, String) |
double |
getDouble(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getDouble(PortletPreferences, String, double) |
double |
getDouble(PortletPreferences preferences,
String name) |
double |
getDouble(PortletPreferences preferences,
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(PortletPreferences preferences,
long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getInteger(PortletPreferences, String) |
int |
getInteger(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getInteger(PortletPreferences, String, int) |
int |
getInteger(PortletPreferences preferences,
String name) |
int |
getInteger(PortletPreferences preferences,
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(PortletPreferences preferences,
long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getLong(PortletPreferences, String) |
long |
getLong(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getLong(PortletPreferences, String, long) |
long |
getLong(PortletPreferences preferences,
String name) |
long |
getLong(PortletPreferences preferences,
String name,
long defaultValue) |
long |
getLong(String name) |
long |
getLong(String name,
long defaultValue) |
PortletPreferences |
getPreferences() |
PortletPreferences |
getPreferences(boolean readOnly) |
PortletPreferences |
getPreferences(long companyId) |
PortletPreferences |
getPreferences(long companyId,
boolean readOnly) |
Properties |
getProperties(PortletPreferences preferences,
long companyId,
String prefix,
boolean removePrefix)
Deprecated.
As of Judson (7.1.x), replaced by
getProperties(PortletPreferences, String, boolean) |
Properties |
getProperties(PortletPreferences preferences,
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(PortletPreferences preferences,
long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getShort(PortletPreferences, String) |
short |
getShort(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getShort(PortletPreferences, String, short) |
short |
getShort(PortletPreferences preferences,
String name) |
short |
getShort(PortletPreferences preferences,
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(PortletPreferences preferences,
long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getString(PortletPreferences, String) |
String |
getString(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getString(PortletPreferences, String, boolean) |
String |
getString(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getString(PortletPreferences, String, double) |
String |
getString(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getString(PortletPreferences, String, int) |
String |
getString(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getString(PortletPreferences, String, long) |
String |
getString(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getString(PortletPreferences, String, short) |
String |
getString(PortletPreferences preferences,
long companyId,
String name,
String defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getString(PortletPreferences, String, String) |
String |
getString(PortletPreferences preferences,
String name) |
String |
getString(PortletPreferences preferences,
String name,
boolean defaultValue) |
String |
getString(PortletPreferences preferences,
String name,
double defaultValue) |
String |
getString(PortletPreferences preferences,
String name,
int defaultValue) |
String |
getString(PortletPreferences preferences,
String name,
long defaultValue) |
String |
getString(PortletPreferences preferences,
String name,
short defaultValue) |
String |
getString(PortletPreferences preferences,
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(PortletPreferences preferences,
long companyId,
String name,
String delimiter)
Deprecated.
As of Judson (7.1.x), replaced by
getStringArray(PortletPreferences, String, String) |
String[] |
getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter,
String[] defaultValue)
Deprecated.
As of Judson (7.1.x), replaced by
getStringArray(PortletPreferences, String, String,
String[]) |
String[] |
getStringArray(PortletPreferences preferences,
String name,
String delimiter) |
String[] |
getStringArray(PortletPreferences preferences,
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
@Deprecated public boolean getBoolean(PortletPreferences preferences, long companyId, String name)
getBoolean(PortletPreferences, String)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public boolean getBoolean(PortletPreferences preferences, long companyId, String name, boolean defaultValue)
getBoolean(PortletPreferences, String, boolean)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
public boolean getBoolean(PortletPreferences preferences, String name)
getBoolean
in interface com.liferay.portal.kernel.util.PrefsProps
public boolean getBoolean(PortletPreferences preferences, 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
@Deprecated public String getContent(PortletPreferences preferences, long companyId, String name)
getContent(PortletPreferences, String)
getContent
in interface com.liferay.portal.kernel.util.PrefsProps
public String getContent(PortletPreferences preferences, 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
@Deprecated public double getDouble(PortletPreferences preferences, long companyId, String name)
getDouble(PortletPreferences, String)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public double getDouble(PortletPreferences preferences, long companyId, String name, double defaultValue)
getDouble(PortletPreferences, String, double)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
public double getDouble(PortletPreferences preferences, String name)
getDouble
in interface com.liferay.portal.kernel.util.PrefsProps
public double getDouble(PortletPreferences preferences, 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
@Deprecated public int getInteger(PortletPreferences preferences, long companyId, String name)
getInteger(PortletPreferences, String)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public int getInteger(PortletPreferences preferences, long companyId, String name, int defaultValue)
getInteger(PortletPreferences, String, int)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
public int getInteger(PortletPreferences preferences, String name)
getInteger
in interface com.liferay.portal.kernel.util.PrefsProps
public int getInteger(PortletPreferences preferences, 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
@Deprecated public long getLong(PortletPreferences preferences, long companyId, String name)
getLong(PortletPreferences, String)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public long getLong(PortletPreferences preferences, long companyId, String name, long defaultValue)
getLong(PortletPreferences, String, long)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
public long getLong(PortletPreferences preferences, String name)
getLong
in interface com.liferay.portal.kernel.util.PrefsProps
public long getLong(PortletPreferences preferences, 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 PortletPreferences getPreferences()
getPreferences
in interface com.liferay.portal.kernel.util.PrefsProps
public PortletPreferences getPreferences(boolean readOnly)
getPreferences
in interface com.liferay.portal.kernel.util.PrefsProps
public PortletPreferences getPreferences(long companyId)
getPreferences
in interface com.liferay.portal.kernel.util.PrefsProps
public PortletPreferences getPreferences(long companyId, boolean readOnly)
getPreferences
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public Properties getProperties(PortletPreferences preferences, long companyId, String prefix, boolean removePrefix)
getProperties(PortletPreferences, String, boolean)
getProperties
in interface com.liferay.portal.kernel.util.PrefsProps
public Properties getProperties(PortletPreferences preferences, 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
@Deprecated public short getShort(PortletPreferences preferences, long companyId, String name)
getShort(PortletPreferences, String)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public short getShort(PortletPreferences preferences, long companyId, String name, short defaultValue)
getShort(PortletPreferences, String, short)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
public short getShort(PortletPreferences preferences, String name)
getShort
in interface com.liferay.portal.kernel.util.PrefsProps
public short getShort(PortletPreferences preferences, 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
@Deprecated public String getString(PortletPreferences preferences, long companyId, String name)
getString(PortletPreferences, String)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public String getString(PortletPreferences preferences, long companyId, String name, boolean defaultValue)
getString(PortletPreferences, String, boolean)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public String getString(PortletPreferences preferences, long companyId, String name, double defaultValue)
getString(PortletPreferences, String, double)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public String getString(PortletPreferences preferences, long companyId, String name, int defaultValue)
getString(PortletPreferences, String, int)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public String getString(PortletPreferences preferences, long companyId, String name, long defaultValue)
getString(PortletPreferences, String, long)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public String getString(PortletPreferences preferences, long companyId, String name, short defaultValue)
getString(PortletPreferences, String, short)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public String getString(PortletPreferences preferences, long companyId, String name, String defaultValue)
getString(PortletPreferences, String, String)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(PortletPreferences preferences, String name)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(PortletPreferences preferences, String name, boolean defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(PortletPreferences preferences, String name, double defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(PortletPreferences preferences, String name, int defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(PortletPreferences preferences, String name, long defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(PortletPreferences preferences, String name, short defaultValue)
getString
in interface com.liferay.portal.kernel.util.PrefsProps
public String getString(PortletPreferences preferences, 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
@Deprecated public String[] getStringArray(PortletPreferences preferences, long companyId, String name, String delimiter)
getStringArray(PortletPreferences, String, String)
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
@Deprecated public String[] getStringArray(PortletPreferences preferences, long companyId, String name, String delimiter, String[] defaultValue)
getStringArray(PortletPreferences, String, String,
String[])
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
public String[] getStringArray(PortletPreferences preferences, String name, String delimiter)
getStringArray
in interface com.liferay.portal.kernel.util.PrefsProps
public String[] getStringArray(PortletPreferences preferences, 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