com.liferay.portal.util
Class PrefsPropsUtil
java.lang.Object
com.liferay.portal.util.PrefsPropsUtil
- public class PrefsPropsUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static boolean |
getBoolean(long companyId,
java.lang.String name)
|
static boolean |
getBoolean(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
|
static boolean |
getBoolean(java.lang.String name)
|
static java.lang.String |
getContent(long companyId,
java.lang.String name)
|
static java.lang.String |
getContent(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
|
static java.lang.String |
getContent(java.lang.String name)
|
static double |
getDouble(long companyId,
java.lang.String name)
|
static double |
getDouble(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
|
static double |
getDouble(java.lang.String name)
|
static int |
getInteger(long companyId,
java.lang.String name)
|
static int |
getInteger(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
|
static int |
getInteger(java.lang.String name)
|
static long |
getLong(long companyId,
java.lang.String name)
|
static long |
getLong(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
|
static long |
getLong(java.lang.String name)
|
static javax.portlet.PortletPreferences |
getPreferences()
|
static javax.portlet.PortletPreferences |
getPreferences(long companyId)
|
static short |
getShort(long companyId,
java.lang.String name)
|
static short |
getShort(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
|
static short |
getShort(java.lang.String name)
|
static java.lang.String |
getString(long companyId,
java.lang.String name)
|
static java.lang.String |
getString(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
|
static java.lang.String |
getString(java.lang.String name)
|
static java.lang.String[] |
getStringArray(long companyId,
java.lang.String name)
|
static java.lang.String[] |
getStringArray(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
|
static java.lang.String[] |
getStringArray(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrefsPropsUtil
public PrefsPropsUtil()
getPreferences
public static javax.portlet.PortletPreferences getPreferences()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPreferences
public static javax.portlet.PortletPreferences getPreferences(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getBoolean
public static boolean getBoolean(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getBoolean
public static boolean getBoolean(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getBoolean
public static boolean getBoolean(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
getContent
public static java.lang.String getContent(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getContent
public static java.lang.String getContent(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getContent
public static java.lang.String getContent(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
getDouble
public static double getDouble(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDouble
public static double getDouble(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDouble
public static double getDouble(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
getInteger
public static int getInteger(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getInteger
public static int getInteger(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getInteger
public static int getInteger(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
getLong
public static long getLong(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLong
public static long getLong(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLong
public static long getLong(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
getShort
public static short getShort(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getShort
public static short getShort(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getShort
public static short getShort(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
getString
public static java.lang.String getString(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getString
public static java.lang.String getString(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getString
public static java.lang.String getString(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
getStringArray
public static java.lang.String[] getStringArray(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStringArray
public static java.lang.String[] getStringArray(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStringArray
public static java.lang.String[] getStringArray(javax.portlet.PortletPreferences prefs,
long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException