Liferay 6.2-ce-ga5

com.liferay.portal.kernel.util
Class SilentPrefsPropsUtil

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

public class SilentPrefsPropsUtil
extends Object


Constructor Summary
SilentPrefsPropsUtil()
           
 
Method Summary
static boolean getBoolean(long companyId, String name)
           
static boolean getBoolean(long companyId, String name, boolean defaultValue)
           
static boolean getBoolean(PortletPreferences preferences, long companyId, String name)
           
static boolean getBoolean(PortletPreferences preferences, long companyId, String name, boolean defaultValue)
           
static boolean getBoolean(String name)
           
static boolean getBoolean(String name, boolean defaultValue)
           
static String getContent(long companyId, String name)
           
static String getContent(PortletPreferences preferences, long companyId, String name)
           
static String getContent(String name)
           
static double getDouble(long companyId, String name)
           
static double getDouble(long companyId, String name, double defaultValue)
           
static double getDouble(PortletPreferences preferences, long companyId, String name)
           
static double getDouble(PortletPreferences preferences, long companyId, String name, double defaultValue)
           
static double getDouble(String name)
           
static double getDouble(String name, double defaultValue)
           
static int getInteger(long companyId, String name)
           
static int getInteger(long companyId, String name, int defaultValue)
           
static int getInteger(PortletPreferences preferences, long companyId, String name)
           
static int getInteger(PortletPreferences preferences, long companyId, String name, int defaultValue)
           
static int getInteger(String name)
           
static int getInteger(String name, int defaultValue)
           
static long getLong(long companyId, String name)
           
static long getLong(long companyId, String name, long defaultValue)
           
static long getLong(PortletPreferences preferences, long companyId, String name)
           
static long getLong(PortletPreferences preferences, long companyId, String name, long defaultValue)
           
static long getLong(String name)
           
static long getLong(String name, long defaultValue)
           
static Properties getProperties(PortletPreferences preferences, long companyId, String prefix, boolean removePrefix)
           
static Properties getProperties(String prefix, boolean removePrefix)
           
static short getShort(long companyId, String name)
           
static short getShort(long companyId, String name, short defaultValue)
           
static short getShort(PortletPreferences preferences, long companyId, String name)
           
static short getShort(PortletPreferences preferences, long companyId, String name, short defaultValue)
           
static short getShort(String name)
           
static short getShort(String name, short defaultValue)
           
static String getString(long companyId, String name)
           
static String getString(long companyId, String name, String defaultValue)
           
static String getString(PortletPreferences preferences, long companyId, String name)
           
static String getString(PortletPreferences preferences, long companyId, String name, boolean defaultValue)
           
static String getString(PortletPreferences preferences, long companyId, String name, double defaultValue)
           
static String getString(PortletPreferences preferences, long companyId, String name, int defaultValue)
           
static String getString(PortletPreferences preferences, long companyId, String name, long defaultValue)
           
static String getString(PortletPreferences preferences, long companyId, String name, short defaultValue)
           
static String getString(PortletPreferences preferences, long companyId, String name, String defaultValue)
           
static String getString(String name)
           
static String getString(String name, String defaultValue)
           
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)
           
static String getStringFromNames(long companyId, String... names)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilentPrefsPropsUtil

public SilentPrefsPropsUtil()
Method Detail

getBoolean

public static boolean getBoolean(long companyId,
                                 String name)

getBoolean

public static boolean getBoolean(long companyId,
                                 String name,
                                 boolean defaultValue)

getBoolean

public static boolean getBoolean(PortletPreferences preferences,
                                 long companyId,
                                 String name)

getBoolean

public static boolean getBoolean(PortletPreferences preferences,
                                 long companyId,
                                 String name,
                                 boolean defaultValue)

getBoolean

public static boolean getBoolean(String name)

getBoolean

public static boolean getBoolean(String name,
                                 boolean defaultValue)

getContent

public static String getContent(long companyId,
                                String name)

getContent

public static String getContent(PortletPreferences preferences,
                                long companyId,
                                String name)

getContent

public static String getContent(String name)

getDouble

public static double getDouble(long companyId,
                               String name)

getDouble

public static double getDouble(long companyId,
                               String name,
                               double defaultValue)

getDouble

public static double getDouble(PortletPreferences preferences,
                               long companyId,
                               String name)

getDouble

public static double getDouble(PortletPreferences preferences,
                               long companyId,
                               String name,
                               double defaultValue)

getDouble

public static double getDouble(String name)

getDouble

public static double getDouble(String name,
                               double defaultValue)

getInteger

public static int getInteger(long companyId,
                             String name)

getInteger

public static int getInteger(long companyId,
                             String name,
                             int defaultValue)

getInteger

public static int getInteger(PortletPreferences preferences,
                             long companyId,
                             String name)

getInteger

public static int getInteger(PortletPreferences preferences,
                             long companyId,
                             String name,
                             int defaultValue)

getInteger

public static int getInteger(String name)

getInteger

public static int getInteger(String name,
                             int defaultValue)

getLong

public static long getLong(long companyId,
                           String name)

getLong

public static long getLong(long companyId,
                           String name,
                           long defaultValue)

getLong

public static long getLong(PortletPreferences preferences,
                           long companyId,
                           String name)

getLong

public static long getLong(PortletPreferences preferences,
                           long companyId,
                           String name,
                           long defaultValue)

getLong

public static long getLong(String name)

getLong

public static long getLong(String name,
                           long defaultValue)

getProperties

public static Properties getProperties(PortletPreferences preferences,
                                       long companyId,
                                       String prefix,
                                       boolean removePrefix)

getProperties

public static Properties getProperties(String prefix,
                                       boolean removePrefix)

getShort

public static short getShort(long companyId,
                             String name)

getShort

public static short getShort(long companyId,
                             String name,
                             short defaultValue)

getShort

public static short getShort(PortletPreferences preferences,
                             long companyId,
                             String name)

getShort

public static short getShort(PortletPreferences preferences,
                             long companyId,
                             String name,
                             short defaultValue)

getShort

public static short getShort(String name)

getShort

public static short getShort(String name,
                             short defaultValue)

getString

public static String getString(long companyId,
                               String name)

getString

public static String getString(long companyId,
                               String name,
                               String defaultValue)

getString

public static String getString(PortletPreferences preferences,
                               long companyId,
                               String name)

getString

public static String getString(PortletPreferences preferences,
                               long companyId,
                               String name,
                               boolean defaultValue)

getString

public static String getString(PortletPreferences preferences,
                               long companyId,
                               String name,
                               double defaultValue)

getString

public static String getString(PortletPreferences preferences,
                               long companyId,
                               String name,
                               int defaultValue)

getString

public static String getString(PortletPreferences preferences,
                               long companyId,
                               String name,
                               long defaultValue)

getString

public static String getString(PortletPreferences preferences,
                               long companyId,
                               String name,
                               short defaultValue)

getString

public static String getString(PortletPreferences preferences,
                               long companyId,
                               String name,
                               String defaultValue)

getString

public static String getString(String name)

getString

public static String getString(String name,
                               String defaultValue)

getStringArray

public static String[] getStringArray(long companyId,
                                      String name,
                                      String delimiter)

getStringArray

public static String[] getStringArray(long companyId,
                                      String name,
                                      String delimiter,
                                      String[] defaultValue)

getStringArray

public static String[] getStringArray(PortletPreferences preferences,
                                      long companyId,
                                      String name,
                                      String delimiter)

getStringArray

public static String[] getStringArray(PortletPreferences preferences,
                                      long companyId,
                                      String name,
                                      String delimiter,
                                      String[] defaultValue)

getStringArray

public static String[] getStringArray(String name,
                                      String delimiter)

getStringArray

public static String[] getStringArray(String name,
                                      String delimiter,
                                      String[] defaultValue)

getStringFromNames

public static String getStringFromNames(long companyId,
                                        String... names)

Liferay 6.2-ce-ga5