Liferay 6.1.0-ce-ga1

com.liferay.portal.kernel.util
Class PrefsPropsUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.PrefsPropsUtil

public class PrefsPropsUtil
extends Object


Constructor Summary
PrefsPropsUtil()
           
 
Method Summary
static int getInteger(long companyId, String key)
           
static int getInteger(String key)
           
static long getLong(long companyId, String key)
           
static long getLong(String key)
           
static String getString(long companyId, String key)
           
static String getString(String key)
           
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
 

Constructor Detail

PrefsPropsUtil

public PrefsPropsUtil()
Method Detail

getInteger

public static int getInteger(long companyId,
                             String key)
                      throws Exception
Throws:
Exception

getInteger

public static int getInteger(String key)
                      throws Exception
Throws:
Exception

getLong

public static long getLong(long companyId,
                           String key)
                    throws Exception
Throws:
Exception

getLong

public static long getLong(String key)
                    throws Exception
Throws:
Exception

getString

public static String getString(long companyId,
                               String key)
                        throws Exception
Throws:
Exception

getString

public static String getString(String key)
                        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

Liferay 6.1.0-ce-ga1