com.liferay.portal.util
Class PrefsPropsImpl
java.lang.Object
com.liferay.portal.util.PrefsPropsImpl
- All Implemented Interfaces:
- PrefsProps
public class PrefsPropsImpl
- extends Object
- implements PrefsProps
|
Method Summary |
boolean |
getBoolean(long companyId,
String name)
|
boolean |
getBoolean(long companyId,
String name,
boolean defaultValue)
|
boolean |
getBoolean(PortletPreferences preferences,
long companyId,
String name)
|
boolean |
getBoolean(PortletPreferences preferences,
long companyId,
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)
|
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)
|
double |
getDouble(PortletPreferences preferences,
long companyId,
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)
|
int |
getInteger(PortletPreferences preferences,
long companyId,
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)
|
long |
getLong(PortletPreferences preferences,
long companyId,
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)
|
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)
|
short |
getShort(PortletPreferences preferences,
long companyId,
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)
|
String |
getString(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
|
String |
getString(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
|
String |
getString(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
|
String |
getString(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
|
String |
getString(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
|
String |
getString(PortletPreferences preferences,
long companyId,
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)
|
String[] |
getStringArray(PortletPreferences preferences,
long companyId,
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrefsPropsImpl
public PrefsPropsImpl()
getBoolean
public boolean getBoolean(long companyId,
String name)
- Specified by:
getBoolean in interface PrefsProps
getBoolean
public boolean getBoolean(long companyId,
String name,
boolean defaultValue)
- Specified by:
getBoolean in interface PrefsProps
getBoolean
public boolean getBoolean(PortletPreferences preferences,
long companyId,
String name)
- Specified by:
getBoolean in interface PrefsProps
getBoolean
public boolean getBoolean(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
- Specified by:
getBoolean in interface PrefsProps
getBoolean
public boolean getBoolean(String name)
- Specified by:
getBoolean in interface PrefsProps
getBoolean
public boolean getBoolean(String name,
boolean defaultValue)
- Specified by:
getBoolean in interface PrefsProps
getContent
public String getContent(long companyId,
String name)
- Specified by:
getContent in interface PrefsProps
getContent
public String getContent(PortletPreferences preferences,
long companyId,
String name)
- Specified by:
getContent in interface PrefsProps
getContent
public String getContent(String name)
- Specified by:
getContent in interface PrefsProps
getDouble
public double getDouble(long companyId,
String name)
- Specified by:
getDouble in interface PrefsProps
getDouble
public double getDouble(long companyId,
String name,
double defaultValue)
- Specified by:
getDouble in interface PrefsProps
getDouble
public double getDouble(PortletPreferences preferences,
long companyId,
String name)
- Specified by:
getDouble in interface PrefsProps
getDouble
public double getDouble(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
- Specified by:
getDouble in interface PrefsProps
getDouble
public double getDouble(String name)
- Specified by:
getDouble in interface PrefsProps
getDouble
public double getDouble(String name,
double defaultValue)
- Specified by:
getDouble in interface PrefsProps
getInteger
public int getInteger(long companyId,
String name)
- Specified by:
getInteger in interface PrefsProps
getInteger
public int getInteger(long companyId,
String name,
int defaultValue)
- Specified by:
getInteger in interface PrefsProps
getInteger
public int getInteger(PortletPreferences preferences,
long companyId,
String name)
- Specified by:
getInteger in interface PrefsProps
getInteger
public int getInteger(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
- Specified by:
getInteger in interface PrefsProps
getInteger
public int getInteger(String name)
- Specified by:
getInteger in interface PrefsProps
getInteger
public int getInteger(String name,
int defaultValue)
- Specified by:
getInteger in interface PrefsProps
getLong
public long getLong(long companyId,
String name)
- Specified by:
getLong in interface PrefsProps
getLong
public long getLong(long companyId,
String name,
long defaultValue)
- Specified by:
getLong in interface PrefsProps
getLong
public long getLong(PortletPreferences preferences,
long companyId,
String name)
- Specified by:
getLong in interface PrefsProps
getLong
public long getLong(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
- Specified by:
getLong in interface PrefsProps
getLong
public long getLong(String name)
- Specified by:
getLong in interface PrefsProps
getLong
public long getLong(String name,
long defaultValue)
- Specified by:
getLong in interface PrefsProps
getPreferences
public PortletPreferences getPreferences()
- Specified by:
getPreferences in interface PrefsProps
getPreferences
public PortletPreferences getPreferences(boolean readOnly)
- Specified by:
getPreferences in interface PrefsProps
getPreferences
public PortletPreferences getPreferences(long companyId)
- Specified by:
getPreferences in interface PrefsProps
getPreferences
public PortletPreferences getPreferences(long companyId,
boolean readOnly)
- Specified by:
getPreferences in interface PrefsProps
getProperties
public Properties getProperties(PortletPreferences preferences,
long companyId,
String prefix,
boolean removePrefix)
- Specified by:
getProperties in interface PrefsProps
getProperties
public Properties getProperties(String prefix,
boolean removePrefix)
- Specified by:
getProperties in interface PrefsProps
getShort
public short getShort(long companyId,
String name)
- Specified by:
getShort in interface PrefsProps
getShort
public short getShort(long companyId,
String name,
short defaultValue)
- Specified by:
getShort in interface PrefsProps
getShort
public short getShort(PortletPreferences preferences,
long companyId,
String name)
- Specified by:
getShort in interface PrefsProps
getShort
public short getShort(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
- Specified by:
getShort in interface PrefsProps
getShort
public short getShort(String name)
- Specified by:
getShort in interface PrefsProps
getShort
public short getShort(String name,
short defaultValue)
- Specified by:
getShort in interface PrefsProps
getString
public String getString(long companyId,
String name)
- Specified by:
getString in interface PrefsProps
getString
public String getString(long companyId,
String name,
String defaultValue)
- Specified by:
getString in interface PrefsProps
getString
public String getString(PortletPreferences preferences,
long companyId,
String name)
- Specified by:
getString in interface PrefsProps
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
- Specified by:
getString in interface PrefsProps
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
- Specified by:
getString in interface PrefsProps
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
- Specified by:
getString in interface PrefsProps
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
- Specified by:
getString in interface PrefsProps
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
- Specified by:
getString in interface PrefsProps
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
String defaultValue)
- Specified by:
getString in interface PrefsProps
getString
public String getString(String name)
- Specified by:
getString in interface PrefsProps
getString
public String getString(String name,
String defaultValue)
- Specified by:
getString in interface PrefsProps
getStringArray
public String[] getStringArray(long companyId,
String name,
String delimiter)
- Specified by:
getStringArray in interface PrefsProps
getStringArray
public String[] getStringArray(long companyId,
String name,
String delimiter,
String[] defaultValue)
- Specified by:
getStringArray in interface PrefsProps
getStringArray
public String[] getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter)
- Specified by:
getStringArray in interface PrefsProps
getStringArray
public String[] getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter,
String[] defaultValue)
- Specified by:
getStringArray in interface PrefsProps
getStringArray
public String[] getStringArray(String name,
String delimiter)
- Specified by:
getStringArray in interface PrefsProps
getStringArray
public String[] getStringArray(String name,
String delimiter,
String[] defaultValue)
- Specified by:
getStringArray in interface PrefsProps
getStringFromNames
public String getStringFromNames(long companyId,
String... names)
- Specified by:
getStringFromNames in interface PrefsProps