Liferay 7.0-ga1 portal-impl

com.liferay.portal.util
Class PrefsPropsImpl

java.lang.Object
  extended by com.liferay.portal.util.PrefsPropsImpl
All Implemented Interfaces:
com.liferay.portal.kernel.util.PrefsProps

public class PrefsPropsImpl
extends Object
implements com.liferay.portal.kernel.util.PrefsProps


Constructor Summary
PrefsPropsImpl()
           
 
Method Summary
 boolean getBoolean(long companyId, String name)
           
 boolean getBoolean(long companyId, String name, boolean defaultValue)
           
 boolean getBoolean(PortletPreferences preferences, long companyId, String name)
          Deprecated. As of 7.0.0, replaced by getBoolean(PortletPreferences, String)
 boolean getBoolean(PortletPreferences preferences, long companyId, String name, boolean defaultValue)
          Deprecated. As of 7.0.0, replaced by getBoolean(PortletPreferences, String, boolean)
 boolean getBoolean(PortletPreferences preferences, String name)
           
 boolean getBoolean(PortletPreferences preferences, String name, boolean defaultValue)
           
 boolean getBoolean(String name)
           
 boolean getBoolean(String name, boolean defaultValue)
           
 String getContent(long companyId, String name)
           
 String getContent(PortletPreferences preferences, long companyId, String name)
          Deprecated. As of 7.0.0, replaced by getContent(PortletPreferences, String)
 String getContent(PortletPreferences preferences, String name)
           
 String getContent(String name)
           
 double getDouble(long companyId, String name)
           
 double getDouble(long companyId, String name, double defaultValue)
           
 double getDouble(PortletPreferences preferences, long companyId, String name)
          Deprecated. As of 7.0.0, replaced by getDouble(PortletPreferences, String)
 double getDouble(PortletPreferences preferences, long companyId, String name, double defaultValue)
          Deprecated. As of 7.0.0, replaced by getDouble(PortletPreferences, String, double)
 double getDouble(PortletPreferences preferences, String name)
           
 double getDouble(PortletPreferences preferences, String name, double defaultValue)
           
 double getDouble(String name)
           
 double getDouble(String name, double defaultValue)
           
 int getInteger(long companyId, String name)
           
 int getInteger(long companyId, String name, int defaultValue)
           
 int getInteger(PortletPreferences preferences, long companyId, String name)
          Deprecated. As of 7.0.0, replaced by getInteger(PortletPreferences, String)
 int getInteger(PortletPreferences preferences, long companyId, String name, int defaultValue)
          Deprecated. As of 7.0.0, replaced by getInteger(PortletPreferences, String, int)
 int getInteger(PortletPreferences preferences, String name)
           
 int getInteger(PortletPreferences preferences, String name, int defaultValue)
           
 int getInteger(String name)
           
 int getInteger(String name, int defaultValue)
           
 long getLong(long companyId, String name)
           
 long getLong(long companyId, String name, long defaultValue)
           
 long getLong(PortletPreferences preferences, long companyId, String name)
          Deprecated. As of 7.0.0, replaced by getLong(PortletPreferences, String)
 long getLong(PortletPreferences preferences, long companyId, String name, long defaultValue)
          Deprecated. As of 7.0.0, replaced by getLong(PortletPreferences, String, long)
 long getLong(PortletPreferences preferences, String name)
           
 long getLong(PortletPreferences preferences, String name, long defaultValue)
           
 long getLong(String name)
           
 long getLong(String name, long defaultValue)
           
 PortletPreferences getPreferences()
           
 PortletPreferences getPreferences(boolean readOnly)
           
 PortletPreferences getPreferences(long companyId)
           
 PortletPreferences getPreferences(long companyId, boolean readOnly)
           
 Properties getProperties(PortletPreferences preferences, long companyId, String prefix, boolean removePrefix)
          Deprecated. As of 7.0.0, replaced by getProperties(PortletPreferences, String, boolean)
 Properties getProperties(PortletPreferences preferences, String prefix, boolean removePrefix)
           
 Properties getProperties(String prefix, boolean removePrefix)
           
 short getShort(long companyId, String name)
           
 short getShort(long companyId, String name, short defaultValue)
           
 short getShort(PortletPreferences preferences, long companyId, String name)
          Deprecated. As of 7.0.0, replaced by getShort(PortletPreferences, String)
 short getShort(PortletPreferences preferences, long companyId, String name, short defaultValue)
          Deprecated. As of 7.0.0, replaced by getShort(PortletPreferences, String, short)
 short getShort(PortletPreferences preferences, String name)
           
 short getShort(PortletPreferences preferences, String name, short defaultValue)
           
 short getShort(String name)
           
 short getShort(String name, short defaultValue)
           
 String getString(long companyId, String name)
           
 String getString(long companyId, String name, String defaultValue)
           
 String getString(PortletPreferences preferences, long companyId, String name)
          Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String)
 String getString(PortletPreferences preferences, long companyId, String name, boolean defaultValue)
          Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, boolean)
 String getString(PortletPreferences preferences, long companyId, String name, double defaultValue)
          Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, double)
 String getString(PortletPreferences preferences, long companyId, String name, int defaultValue)
          Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, int)
 String getString(PortletPreferences preferences, long companyId, String name, long defaultValue)
          Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, long)
 String getString(PortletPreferences preferences, long companyId, String name, short defaultValue)
          Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, short)
 String getString(PortletPreferences preferences, long companyId, String name, String defaultValue)
          Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, String)
 String getString(PortletPreferences preferences, String name)
           
 String getString(PortletPreferences preferences, String name, boolean defaultValue)
           
 String getString(PortletPreferences preferences, String name, double defaultValue)
           
 String getString(PortletPreferences preferences, String name, int defaultValue)
           
 String getString(PortletPreferences preferences, String name, long defaultValue)
           
 String getString(PortletPreferences preferences, String name, short defaultValue)
           
 String getString(PortletPreferences preferences, String name, String defaultValue)
           
 String getString(String name)
           
 String getString(String name, String defaultValue)
           
 String[] getStringArray(long companyId, String name, String delimiter)
           
 String[] getStringArray(long companyId, String name, String delimiter, String[] defaultValue)
           
 String[] getStringArray(PortletPreferences preferences, long companyId, String name, String delimiter)
          Deprecated. As of 7.0.0, replaced by getStringArray(PortletPreferences, String, String)
 String[] getStringArray(PortletPreferences preferences, long companyId, String name, String delimiter, String[] defaultValue)
          Deprecated. As of 7.0.0, replaced by getStringArray(PortletPreferences, String, String, String[])
 String[] getStringArray(PortletPreferences preferences, String name, String delimiter)
           
 String[] getStringArray(PortletPreferences preferences, String name, String delimiter, String[] defaultValue)
           
 String[] getStringArray(String name, String delimiter)
           
 String[] getStringArray(String name, String delimiter, String[] defaultValue)
           
 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

PrefsPropsImpl

public PrefsPropsImpl()
Method Detail

getBoolean

public boolean getBoolean(long companyId,
                          String name)
Specified by:
getBoolean in interface com.liferay.portal.kernel.util.PrefsProps

getBoolean

public boolean getBoolean(long companyId,
                          String name,
                          boolean defaultValue)
Specified by:
getBoolean in interface com.liferay.portal.kernel.util.PrefsProps

getBoolean

@Deprecated
public boolean getBoolean(PortletPreferences preferences,
                                     long companyId,
                                     String name)
Deprecated. As of 7.0.0, replaced by getBoolean(PortletPreferences, String)

Specified by:
getBoolean in interface com.liferay.portal.kernel.util.PrefsProps

getBoolean

@Deprecated
public boolean getBoolean(PortletPreferences preferences,
                                     long companyId,
                                     String name,
                                     boolean defaultValue)
Deprecated. As of 7.0.0, replaced by getBoolean(PortletPreferences, String, boolean)

Specified by:
getBoolean in interface com.liferay.portal.kernel.util.PrefsProps

getBoolean

public boolean getBoolean(PortletPreferences preferences,
                          String name)
Specified by:
getBoolean in interface com.liferay.portal.kernel.util.PrefsProps

getBoolean

public boolean getBoolean(PortletPreferences preferences,
                          String name,
                          boolean defaultValue)
Specified by:
getBoolean in interface com.liferay.portal.kernel.util.PrefsProps

getBoolean

public boolean getBoolean(String name)
Specified by:
getBoolean in interface com.liferay.portal.kernel.util.PrefsProps

getBoolean

public boolean getBoolean(String name,
                          boolean defaultValue)
Specified by:
getBoolean in interface com.liferay.portal.kernel.util.PrefsProps

getContent

public String getContent(long companyId,
                         String name)
Specified by:
getContent in interface com.liferay.portal.kernel.util.PrefsProps

getContent

@Deprecated
public String getContent(PortletPreferences preferences,
                                    long companyId,
                                    String name)
Deprecated. As of 7.0.0, replaced by getContent(PortletPreferences, String)

Specified by:
getContent in interface com.liferay.portal.kernel.util.PrefsProps

getContent

public String getContent(PortletPreferences preferences,
                         String name)
Specified by:
getContent in interface com.liferay.portal.kernel.util.PrefsProps

getContent

public String getContent(String name)
Specified by:
getContent in interface com.liferay.portal.kernel.util.PrefsProps

getDouble

public double getDouble(long companyId,
                        String name)
Specified by:
getDouble in interface com.liferay.portal.kernel.util.PrefsProps

getDouble

public double getDouble(long companyId,
                        String name,
                        double defaultValue)
Specified by:
getDouble in interface com.liferay.portal.kernel.util.PrefsProps

getDouble

@Deprecated
public double getDouble(PortletPreferences preferences,
                                   long companyId,
                                   String name)
Deprecated. As of 7.0.0, replaced by getDouble(PortletPreferences, String)

Specified by:
getDouble in interface com.liferay.portal.kernel.util.PrefsProps

getDouble

@Deprecated
public double getDouble(PortletPreferences preferences,
                                   long companyId,
                                   String name,
                                   double defaultValue)
Deprecated. As of 7.0.0, replaced by getDouble(PortletPreferences, String, double)

Specified by:
getDouble in interface com.liferay.portal.kernel.util.PrefsProps

getDouble

public double getDouble(PortletPreferences preferences,
                        String name)
Specified by:
getDouble in interface com.liferay.portal.kernel.util.PrefsProps

getDouble

public double getDouble(PortletPreferences preferences,
                        String name,
                        double defaultValue)
Specified by:
getDouble in interface com.liferay.portal.kernel.util.PrefsProps

getDouble

public double getDouble(String name)
Specified by:
getDouble in interface com.liferay.portal.kernel.util.PrefsProps

getDouble

public double getDouble(String name,
                        double defaultValue)
Specified by:
getDouble in interface com.liferay.portal.kernel.util.PrefsProps

getInteger

public int getInteger(long companyId,
                      String name)
Specified by:
getInteger in interface com.liferay.portal.kernel.util.PrefsProps

getInteger

public int getInteger(long companyId,
                      String name,
                      int defaultValue)
Specified by:
getInteger in interface com.liferay.portal.kernel.util.PrefsProps

getInteger

@Deprecated
public int getInteger(PortletPreferences preferences,
                                 long companyId,
                                 String name)
Deprecated. As of 7.0.0, replaced by getInteger(PortletPreferences, String)

Specified by:
getInteger in interface com.liferay.portal.kernel.util.PrefsProps

getInteger

@Deprecated
public int getInteger(PortletPreferences preferences,
                                 long companyId,
                                 String name,
                                 int defaultValue)
Deprecated. As of 7.0.0, replaced by getInteger(PortletPreferences, String, int)

Specified by:
getInteger in interface com.liferay.portal.kernel.util.PrefsProps

getInteger

public int getInteger(PortletPreferences preferences,
                      String name)
Specified by:
getInteger in interface com.liferay.portal.kernel.util.PrefsProps

getInteger

public int getInteger(PortletPreferences preferences,
                      String name,
                      int defaultValue)
Specified by:
getInteger in interface com.liferay.portal.kernel.util.PrefsProps

getInteger

public int getInteger(String name)
Specified by:
getInteger in interface com.liferay.portal.kernel.util.PrefsProps

getInteger

public int getInteger(String name,
                      int defaultValue)
Specified by:
getInteger in interface com.liferay.portal.kernel.util.PrefsProps

getLong

public long getLong(long companyId,
                    String name)
Specified by:
getLong in interface com.liferay.portal.kernel.util.PrefsProps

getLong

public long getLong(long companyId,
                    String name,
                    long defaultValue)
Specified by:
getLong in interface com.liferay.portal.kernel.util.PrefsProps

getLong

@Deprecated
public long getLong(PortletPreferences preferences,
                               long companyId,
                               String name)
Deprecated. As of 7.0.0, replaced by getLong(PortletPreferences, String)

Specified by:
getLong in interface com.liferay.portal.kernel.util.PrefsProps

getLong

@Deprecated
public long getLong(PortletPreferences preferences,
                               long companyId,
                               String name,
                               long defaultValue)
Deprecated. As of 7.0.0, replaced by getLong(PortletPreferences, String, long)

Specified by:
getLong in interface com.liferay.portal.kernel.util.PrefsProps

getLong

public long getLong(PortletPreferences preferences,
                    String name)
Specified by:
getLong in interface com.liferay.portal.kernel.util.PrefsProps

getLong

public long getLong(PortletPreferences preferences,
                    String name,
                    long defaultValue)
Specified by:
getLong in interface com.liferay.portal.kernel.util.PrefsProps

getLong

public long getLong(String name)
Specified by:
getLong in interface com.liferay.portal.kernel.util.PrefsProps

getLong

public long getLong(String name,
                    long defaultValue)
Specified by:
getLong in interface com.liferay.portal.kernel.util.PrefsProps

getPreferences

public PortletPreferences getPreferences()
Specified by:
getPreferences in interface com.liferay.portal.kernel.util.PrefsProps

getPreferences

public PortletPreferences getPreferences(boolean readOnly)
Specified by:
getPreferences in interface com.liferay.portal.kernel.util.PrefsProps

getPreferences

public PortletPreferences getPreferences(long companyId)
Specified by:
getPreferences in interface com.liferay.portal.kernel.util.PrefsProps

getPreferences

public PortletPreferences getPreferences(long companyId,
                                         boolean readOnly)
Specified by:
getPreferences in interface com.liferay.portal.kernel.util.PrefsProps

getProperties

@Deprecated
public Properties getProperties(PortletPreferences preferences,
                                           long companyId,
                                           String prefix,
                                           boolean removePrefix)
Deprecated. As of 7.0.0, replaced by getProperties(PortletPreferences, String, boolean)

Specified by:
getProperties in interface com.liferay.portal.kernel.util.PrefsProps

getProperties

public Properties getProperties(PortletPreferences preferences,
                                String prefix,
                                boolean removePrefix)
Specified by:
getProperties in interface com.liferay.portal.kernel.util.PrefsProps

getProperties

public Properties getProperties(String prefix,
                                boolean removePrefix)
Specified by:
getProperties in interface com.liferay.portal.kernel.util.PrefsProps

getShort

public short getShort(long companyId,
                      String name)
Specified by:
getShort in interface com.liferay.portal.kernel.util.PrefsProps

getShort

public short getShort(long companyId,
                      String name,
                      short defaultValue)
Specified by:
getShort in interface com.liferay.portal.kernel.util.PrefsProps

getShort

@Deprecated
public short getShort(PortletPreferences preferences,
                                 long companyId,
                                 String name)
Deprecated. As of 7.0.0, replaced by getShort(PortletPreferences, String)

Specified by:
getShort in interface com.liferay.portal.kernel.util.PrefsProps

getShort

@Deprecated
public short getShort(PortletPreferences preferences,
                                 long companyId,
                                 String name,
                                 short defaultValue)
Deprecated. As of 7.0.0, replaced by getShort(PortletPreferences, String, short)

Specified by:
getShort in interface com.liferay.portal.kernel.util.PrefsProps

getShort

public short getShort(PortletPreferences preferences,
                      String name)
Specified by:
getShort in interface com.liferay.portal.kernel.util.PrefsProps

getShort

public short getShort(PortletPreferences preferences,
                      String name,
                      short defaultValue)
Specified by:
getShort in interface com.liferay.portal.kernel.util.PrefsProps

getShort

public short getShort(String name)
Specified by:
getShort in interface com.liferay.portal.kernel.util.PrefsProps

getShort

public short getShort(String name,
                      short defaultValue)
Specified by:
getShort in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(long companyId,
                        String name)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(long companyId,
                        String name,
                        String defaultValue)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

@Deprecated
public String getString(PortletPreferences preferences,
                                   long companyId,
                                   String name)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String)

Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

@Deprecated
public String getString(PortletPreferences preferences,
                                   long companyId,
                                   String name,
                                   boolean defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, boolean)

Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

@Deprecated
public String getString(PortletPreferences preferences,
                                   long companyId,
                                   String name,
                                   double defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, double)

Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

@Deprecated
public String getString(PortletPreferences preferences,
                                   long companyId,
                                   String name,
                                   int defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, int)

Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

@Deprecated
public String getString(PortletPreferences preferences,
                                   long companyId,
                                   String name,
                                   long defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, long)

Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

@Deprecated
public String getString(PortletPreferences preferences,
                                   long companyId,
                                   String name,
                                   short defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, short)

Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

@Deprecated
public String getString(PortletPreferences preferences,
                                   long companyId,
                                   String name,
                                   String defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, String)

Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(PortletPreferences preferences,
                        String name)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(PortletPreferences preferences,
                        String name,
                        boolean defaultValue)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(PortletPreferences preferences,
                        String name,
                        double defaultValue)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(PortletPreferences preferences,
                        String name,
                        int defaultValue)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(PortletPreferences preferences,
                        String name,
                        long defaultValue)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(PortletPreferences preferences,
                        String name,
                        short defaultValue)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(PortletPreferences preferences,
                        String name,
                        String defaultValue)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(String name)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getString

public String getString(String name,
                        String defaultValue)
Specified by:
getString in interface com.liferay.portal.kernel.util.PrefsProps

getStringArray

public String[] getStringArray(long companyId,
                               String name,
                               String delimiter)
Specified by:
getStringArray in interface com.liferay.portal.kernel.util.PrefsProps

getStringArray

public String[] getStringArray(long companyId,
                               String name,
                               String delimiter,
                               String[] defaultValue)
Specified by:
getStringArray in interface com.liferay.portal.kernel.util.PrefsProps

getStringArray

@Deprecated
public String[] getStringArray(PortletPreferences preferences,
                                          long companyId,
                                          String name,
                                          String delimiter)
Deprecated. As of 7.0.0, replaced by getStringArray(PortletPreferences, String, String)

Specified by:
getStringArray in interface com.liferay.portal.kernel.util.PrefsProps

getStringArray

@Deprecated
public String[] getStringArray(PortletPreferences preferences,
                                          long companyId,
                                          String name,
                                          String delimiter,
                                          String[] defaultValue)
Deprecated. As of 7.0.0, replaced by getStringArray(PortletPreferences, String, String, String[])

Specified by:
getStringArray in interface com.liferay.portal.kernel.util.PrefsProps

getStringArray

public String[] getStringArray(PortletPreferences preferences,
                               String name,
                               String delimiter)
Specified by:
getStringArray in interface com.liferay.portal.kernel.util.PrefsProps

getStringArray

public String[] getStringArray(PortletPreferences preferences,
                               String name,
                               String delimiter,
                               String[] defaultValue)
Specified by:
getStringArray in interface com.liferay.portal.kernel.util.PrefsProps

getStringArray

public String[] getStringArray(String name,
                               String delimiter)
Specified by:
getStringArray in interface com.liferay.portal.kernel.util.PrefsProps

getStringArray

public String[] getStringArray(String name,
                               String delimiter,
                               String[] defaultValue)
Specified by:
getStringArray in interface com.liferay.portal.kernel.util.PrefsProps

getStringFromNames

public String getStringFromNames(long companyId,
                                 String... names)
Specified by:
getStringFromNames in interface com.liferay.portal.kernel.util.PrefsProps

Liferay 7.0-ga1 portal-impl