com.liferay.portal.util
Class PrefsPropsUtil_IW

java.lang.Object
  extended bycom.liferay.portal.util.PrefsPropsUtil_IW

public class PrefsPropsUtil_IW
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Method Summary
 boolean getBoolean(long companyId, java.lang.String name)
           
 boolean getBoolean(javax.portlet.PortletPreferences prefs, long companyId, java.lang.String name)
           
 boolean getBoolean(java.lang.String name)
           
 java.lang.String getContent(long companyId, java.lang.String name)
           
 java.lang.String getContent(javax.portlet.PortletPreferences prefs, long companyId, java.lang.String name)
           
 java.lang.String getContent(java.lang.String name)
           
 double getDouble(long companyId, java.lang.String name)
           
 double getDouble(javax.portlet.PortletPreferences prefs, long companyId, java.lang.String name)
           
 double getDouble(java.lang.String name)
           
static PrefsPropsUtil_IW getInstance()
           
 int getInteger(long companyId, java.lang.String name)
           
 int getInteger(javax.portlet.PortletPreferences prefs, long companyId, java.lang.String name)
           
 int getInteger(java.lang.String name)
           
 long getLong(long companyId, java.lang.String name)
           
 long getLong(javax.portlet.PortletPreferences prefs, long companyId, java.lang.String name)
           
 long getLong(java.lang.String name)
           
 javax.portlet.PortletPreferences getPreferences()
           
 javax.portlet.PortletPreferences getPreferences(long companyId)
           
 short getShort(long companyId, java.lang.String name)
           
 short getShort(javax.portlet.PortletPreferences prefs, long companyId, java.lang.String name)
           
 short getShort(java.lang.String name)
           
 java.lang.String getString(long companyId, java.lang.String name)
           
 java.lang.String getString(javax.portlet.PortletPreferences prefs, long companyId, java.lang.String name)
           
 java.lang.String getString(java.lang.String name)
           
 java.lang.String[] getStringArray(long companyId, java.lang.String name)
           
 java.lang.String[] getStringArray(javax.portlet.PortletPreferences prefs, long companyId, java.lang.String name)
           
 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
 

Method Detail

getInstance

public static PrefsPropsUtil_IW getInstance()

getPreferences

public javax.portlet.PortletPreferences getPreferences()
                                                throws com.liferay.portal.SystemException,
                                                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPreferences

public javax.portlet.PortletPreferences getPreferences(long companyId)
                                                throws com.liferay.portal.SystemException,
                                                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getBoolean

public boolean getBoolean(java.lang.String name)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getBoolean

public boolean getBoolean(long companyId,
                          java.lang.String name)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getBoolean

public boolean getBoolean(javax.portlet.PortletPreferences prefs,
                          long companyId,
                          java.lang.String name)

getContent

public java.lang.String getContent(java.lang.String name)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getContent

public java.lang.String getContent(long companyId,
                                   java.lang.String name)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getContent

public java.lang.String getContent(javax.portlet.PortletPreferences prefs,
                                   long companyId,
                                   java.lang.String name)

getDouble

public double getDouble(java.lang.String name)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDouble

public double getDouble(long companyId,
                        java.lang.String name)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDouble

public double getDouble(javax.portlet.PortletPreferences prefs,
                        long companyId,
                        java.lang.String name)

getInteger

public int getInteger(java.lang.String name)
               throws com.liferay.portal.SystemException,
                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getInteger

public int getInteger(long companyId,
                      java.lang.String name)
               throws com.liferay.portal.SystemException,
                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getInteger

public int getInteger(javax.portlet.PortletPreferences prefs,
                      long companyId,
                      java.lang.String name)

getLong

public long getLong(java.lang.String name)
             throws com.liferay.portal.SystemException,
                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getLong

public long getLong(long companyId,
                    java.lang.String name)
             throws com.liferay.portal.SystemException,
                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getLong

public long getLong(javax.portlet.PortletPreferences prefs,
                    long companyId,
                    java.lang.String name)

getShort

public short getShort(java.lang.String name)
               throws com.liferay.portal.SystemException,
                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getShort

public short getShort(long companyId,
                      java.lang.String name)
               throws com.liferay.portal.SystemException,
                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getShort

public short getShort(javax.portlet.PortletPreferences prefs,
                      long companyId,
                      java.lang.String name)

getString

public java.lang.String getString(java.lang.String name)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getString

public java.lang.String getString(long companyId,
                                  java.lang.String name)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getString

public java.lang.String getString(javax.portlet.PortletPreferences prefs,
                                  long companyId,
                                  java.lang.String name)

getStringArray

public java.lang.String[] getStringArray(java.lang.String name)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getStringArray

public java.lang.String[] getStringArray(long companyId,
                                         java.lang.String name)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getStringArray

public java.lang.String[] getStringArray(javax.portlet.PortletPreferences prefs,
                                         long companyId,
                                         java.lang.String name)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException