com.liferay.portal.kernel.util
Class PrefsPropsUtil
java.lang.Object
com.liferay.portal.kernel.util.PrefsPropsUtil
public class PrefsPropsUtil
- extends Object
Method Summary |
static boolean |
getBoolean(long companyId,
String name)
|
static boolean |
getBoolean(long companyId,
String name,
boolean defaultValue)
|
static boolean |
getBoolean(String name)
|
static int |
getInteger(long companyId,
String name)
|
static int |
getInteger(long companyId,
String name,
int defaultValue)
|
static int |
getInteger(String name)
|
static long |
getLong(long companyId,
String name)
|
static long |
getLong(long companyId,
String name,
long defaultValue)
|
static long |
getLong(String name)
|
static String |
getString(long companyId,
String name)
|
static String |
getString(long companyId,
String name,
String defaultValue)
|
static String |
getString(String name)
|
static String[] |
getStringArray(long companyId,
String name,
String delimiter)
|
static String[] |
getStringArray(long companyId,
String name,
String delimiter,
String[] defaultValue)
|
static String[] |
getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter)
|
static String[] |
getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter,
String[] defaultValue)
|
static String[] |
getStringArray(String name,
String delimiter)
|
static 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 |
PrefsPropsUtil
public PrefsPropsUtil()
getBoolean
public static boolean getBoolean(long companyId,
String name)
throws Exception
- Throws:
Exception
getBoolean
public static boolean getBoolean(long companyId,
String name,
boolean defaultValue)
throws Exception
- Throws:
Exception
getBoolean
public static boolean getBoolean(String name)
throws Exception
- Throws:
Exception
getInteger
public static int getInteger(long companyId,
String name)
throws Exception
- Throws:
Exception
getInteger
public static int getInteger(long companyId,
String name,
int defaultValue)
throws Exception
- Throws:
Exception
getInteger
public static int getInteger(String name)
throws Exception
- Throws:
Exception
getLong
public static long getLong(long companyId,
String name)
throws Exception
- Throws:
Exception
getLong
public static long getLong(long companyId,
String name,
long defaultValue)
throws Exception
- Throws:
Exception
getLong
public static long getLong(String name)
throws Exception
- Throws:
Exception
getString
public static String getString(long companyId,
String name)
throws Exception
- Throws:
Exception
getString
public static String getString(long companyId,
String name,
String defaultValue)
throws Exception
- Throws:
Exception
getString
public static String getString(String name)
throws Exception
- Throws:
Exception
getStringArray
public static String[] getStringArray(long companyId,
String name,
String delimiter)
throws Exception
- Throws:
Exception
getStringArray
public static String[] getStringArray(long companyId,
String name,
String delimiter,
String[] defaultValue)
throws Exception
- Throws:
Exception
getStringArray
public static String[] getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter)
throws Exception
- Throws:
Exception
getStringArray
public static String[] getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter,
String[] defaultValue)
throws Exception
- Throws:
Exception
getStringArray
public static String[] getStringArray(String name,
String delimiter)
throws Exception
- Throws:
Exception
getStringArray
public static String[] getStringArray(String name,
String delimiter,
String[] defaultValue)
throws Exception
- Throws:
Exception