com.liferay.portal.util
Class PrefsPropsUtil_IW
java.lang.Object
com.liferay.portal.util.PrefsPropsUtil_IW
public class PrefsPropsUtil_IW
- extends Object
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)
|
static PrefsPropsUtil_IW |
getInstance()
|
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(long companyId)
|
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static PrefsPropsUtil_IW getInstance()
getBoolean
public boolean getBoolean(long companyId,
String name)
throws SystemException
- Throws:
SystemException
getBoolean
public boolean getBoolean(long companyId,
String name,
boolean defaultValue)
throws SystemException
- Throws:
SystemException
getBoolean
public boolean getBoolean(PortletPreferences preferences,
long companyId,
String name)
getBoolean
public boolean getBoolean(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
getBoolean
public boolean getBoolean(String name)
throws SystemException
- Throws:
SystemException
getBoolean
public boolean getBoolean(String name,
boolean defaultValue)
throws SystemException
- Throws:
SystemException
getContent
public String getContent(long companyId,
String name)
throws SystemException
- Throws:
SystemException
getContent
public String getContent(PortletPreferences preferences,
long companyId,
String name)
getContent
public String getContent(String name)
throws SystemException
- Throws:
SystemException
getDouble
public double getDouble(long companyId,
String name)
throws SystemException
- Throws:
SystemException
getDouble
public double getDouble(long companyId,
String name,
double defaultValue)
throws SystemException
- Throws:
SystemException
getDouble
public double getDouble(PortletPreferences preferences,
long companyId,
String name)
getDouble
public double getDouble(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
getDouble
public double getDouble(String name)
throws SystemException
- Throws:
SystemException
getDouble
public double getDouble(String name,
double defaultValue)
throws SystemException
- Throws:
SystemException
getInteger
public int getInteger(long companyId,
String name)
throws SystemException
- Throws:
SystemException
getInteger
public int getInteger(long companyId,
String name,
int defaultValue)
throws SystemException
- Throws:
SystemException
getInteger
public int getInteger(PortletPreferences preferences,
long companyId,
String name)
getInteger
public int getInteger(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
getInteger
public int getInteger(String name)
throws SystemException
- Throws:
SystemException
getInteger
public int getInteger(String name,
int defaultValue)
throws SystemException
- Throws:
SystemException
getLong
public long getLong(long companyId,
String name)
throws SystemException
- Throws:
SystemException
getLong
public long getLong(long companyId,
String name,
long defaultValue)
throws SystemException
- Throws:
SystemException
getLong
public long getLong(PortletPreferences preferences,
long companyId,
String name)
getLong
public long getLong(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
getLong
public long getLong(String name)
throws SystemException
- Throws:
SystemException
getLong
public long getLong(String name,
long defaultValue)
throws SystemException
- Throws:
SystemException
getPreferences
public PortletPreferences getPreferences()
throws SystemException
- Throws:
SystemException
getPreferences
public PortletPreferences getPreferences(long companyId)
throws SystemException
- Throws:
SystemException
getShort
public short getShort(long companyId,
String name)
throws SystemException
- Throws:
SystemException
getShort
public short getShort(long companyId,
String name,
short defaultValue)
throws SystemException
- Throws:
SystemException
getShort
public short getShort(PortletPreferences preferences,
long companyId,
String name)
getShort
public short getShort(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
getShort
public short getShort(String name)
throws SystemException
- Throws:
SystemException
getShort
public short getShort(String name,
short defaultValue)
throws SystemException
- Throws:
SystemException
getString
public String getString(long companyId,
String name)
throws SystemException
- Throws:
SystemException
getString
public String getString(long companyId,
String name,
String defaultValue)
throws SystemException
- Throws:
SystemException
getString
public String getString(PortletPreferences preferences,
long companyId,
String name)
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
getString
public String getString(PortletPreferences preferences,
long companyId,
String name,
String defaultValue)
getString
public String getString(String name)
throws SystemException
- Throws:
SystemException
getString
public String getString(String name,
String defaultValue)
throws SystemException
- Throws:
SystemException
getStringArray
public String[] getStringArray(long companyId,
String name,
String delimiter)
throws SystemException
- Throws:
SystemException
getStringArray
public String[] getStringArray(long companyId,
String name,
String delimiter,
String[] defaultValue)
throws SystemException
- Throws:
SystemException
getStringArray
public String[] getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter)
getStringArray
public String[] getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter,
String[] defaultValue)
getStringArray
public String[] getStringArray(String name,
String delimiter)
throws SystemException
- Throws:
SystemException
getStringArray
public String[] getStringArray(String name,
String delimiter,
String[] defaultValue)
throws SystemException
- Throws:
SystemException