Liferay 6.1.2-ce-ga3

com.liferay.portal.util
Class PrefsPropsImpl

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

public class PrefsPropsImpl
extends Object
implements 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)
           
 boolean getBoolean(PortletPreferences preferences, long companyId, 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)
           
 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)
           
 double getDouble(PortletPreferences preferences, long companyId, 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)
           
 int getInteger(PortletPreferences preferences, long companyId, 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)
           
 long getLong(PortletPreferences preferences, long companyId, String name, long defaultValue)
           
 long getLong(String name)
           
 long getLong(String name, long defaultValue)
           
 PortletPreferences getPreferences()
           
 PortletPreferences getPreferences(long companyId)
           
 Properties getProperties(PortletPreferences preferences, long companyId, 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)
           
 short getShort(PortletPreferences preferences, long companyId, 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)
           
 String getString(PortletPreferences preferences, long companyId, String name, boolean defaultValue)
           
 String getString(PortletPreferences preferences, long companyId, String name, double defaultValue)
           
 String getString(PortletPreferences preferences, long companyId, String name, int defaultValue)
           
 String getString(PortletPreferences preferences, long companyId, String name, long defaultValue)
           
 String getString(PortletPreferences preferences, long companyId, String name, short defaultValue)
           
 String getString(PortletPreferences preferences, long companyId, 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)
           
 String[] getStringArray(PortletPreferences preferences, long companyId, 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)
                   throws SystemException
Specified by:
getBoolean in interface PrefsProps
Throws:
SystemException

getBoolean

public boolean getBoolean(long companyId,
                          String name,
                          boolean defaultValue)
                   throws SystemException
Specified by:
getBoolean in interface PrefsProps
Throws:
SystemException

getBoolean

public boolean getBoolean(PortletPreferences preferences,
                          long companyId,
                          String name)
Specified by:
getBoolean in interface PrefsProps

getBoolean

public boolean getBoolean(PortletPreferences preferences,
                          long companyId,
                          String name,
                          boolean defaultValue)
Specified by:
getBoolean in interface PrefsProps

getBoolean

public boolean getBoolean(String name)
                   throws SystemException
Specified by:
getBoolean in interface PrefsProps
Throws:
SystemException

getBoolean

public boolean getBoolean(String name,
                          boolean defaultValue)
                   throws SystemException
Specified by:
getBoolean in interface PrefsProps
Throws:
SystemException

getContent

public String getContent(long companyId,
                         String name)
                  throws SystemException
Specified by:
getContent in interface PrefsProps
Throws:
SystemException

getContent

public String getContent(PortletPreferences preferences,
                         long companyId,
                         String name)
Specified by:
getContent in interface PrefsProps

getContent

public String getContent(String name)
                  throws SystemException
Specified by:
getContent in interface PrefsProps
Throws:
SystemException

getDouble

public double getDouble(long companyId,
                        String name)
                 throws SystemException
Specified by:
getDouble in interface PrefsProps
Throws:
SystemException

getDouble

public double getDouble(long companyId,
                        String name,
                        double defaultValue)
                 throws SystemException
Specified by:
getDouble in interface PrefsProps
Throws:
SystemException

getDouble

public double getDouble(PortletPreferences preferences,
                        long companyId,
                        String name)
Specified by:
getDouble in interface PrefsProps

getDouble

public double getDouble(PortletPreferences preferences,
                        long companyId,
                        String name,
                        double defaultValue)
Specified by:
getDouble in interface PrefsProps

getDouble

public double getDouble(String name)
                 throws SystemException
Specified by:
getDouble in interface PrefsProps
Throws:
SystemException

getDouble

public double getDouble(String name,
                        double defaultValue)
                 throws SystemException
Specified by:
getDouble in interface PrefsProps
Throws:
SystemException

getInteger

public int getInteger(long companyId,
                      String name)
               throws SystemException
Specified by:
getInteger in interface PrefsProps
Throws:
SystemException

getInteger

public int getInteger(long companyId,
                      String name,
                      int defaultValue)
               throws SystemException
Specified by:
getInteger in interface PrefsProps
Throws:
SystemException

getInteger

public int getInteger(PortletPreferences preferences,
                      long companyId,
                      String name)
Specified by:
getInteger in interface PrefsProps

getInteger

public int getInteger(PortletPreferences preferences,
                      long companyId,
                      String name,
                      int defaultValue)
Specified by:
getInteger in interface PrefsProps

getInteger

public int getInteger(String name)
               throws SystemException
Specified by:
getInteger in interface PrefsProps
Throws:
SystemException

getInteger

public int getInteger(String name,
                      int defaultValue)
               throws SystemException
Specified by:
getInteger in interface PrefsProps
Throws:
SystemException

getLong

public long getLong(long companyId,
                    String name)
             throws SystemException
Specified by:
getLong in interface PrefsProps
Throws:
SystemException

getLong

public long getLong(long companyId,
                    String name,
                    long defaultValue)
             throws SystemException
Specified by:
getLong in interface PrefsProps
Throws:
SystemException

getLong

public long getLong(PortletPreferences preferences,
                    long companyId,
                    String name)
Specified by:
getLong in interface PrefsProps

getLong

public long getLong(PortletPreferences preferences,
                    long companyId,
                    String name,
                    long defaultValue)
Specified by:
getLong in interface PrefsProps

getLong

public long getLong(String name)
             throws SystemException
Specified by:
getLong in interface PrefsProps
Throws:
SystemException

getLong

public long getLong(String name,
                    long defaultValue)
             throws SystemException
Specified by:
getLong in interface PrefsProps
Throws:
SystemException

getPreferences

public PortletPreferences getPreferences()
                                  throws SystemException
Specified by:
getPreferences in interface PrefsProps
Throws:
SystemException

getPreferences

public PortletPreferences getPreferences(long companyId)
                                  throws SystemException
Specified by:
getPreferences in interface PrefsProps
Throws:
SystemException

getProperties

public Properties getProperties(PortletPreferences preferences,
                                long companyId,
                                String prefix,
                                boolean removePrefix)
Specified by:
getProperties in interface PrefsProps

getProperties

public Properties getProperties(String prefix,
                                boolean removePrefix)
                         throws SystemException
Specified by:
getProperties in interface PrefsProps
Throws:
SystemException

getShort

public short getShort(long companyId,
                      String name)
               throws SystemException
Specified by:
getShort in interface PrefsProps
Throws:
SystemException

getShort

public short getShort(long companyId,
                      String name,
                      short defaultValue)
               throws SystemException
Specified by:
getShort in interface PrefsProps
Throws:
SystemException

getShort

public short getShort(PortletPreferences preferences,
                      long companyId,
                      String name)
Specified by:
getShort in interface PrefsProps

getShort

public short getShort(PortletPreferences preferences,
                      long companyId,
                      String name,
                      short defaultValue)
Specified by:
getShort in interface PrefsProps

getShort

public short getShort(String name)
               throws SystemException
Specified by:
getShort in interface PrefsProps
Throws:
SystemException

getShort

public short getShort(String name,
                      short defaultValue)
               throws SystemException
Specified by:
getShort in interface PrefsProps
Throws:
SystemException

getString

public String getString(long companyId,
                        String name)
                 throws SystemException
Specified by:
getString in interface PrefsProps
Throws:
SystemException

getString

public String getString(long companyId,
                        String name,
                        String defaultValue)
                 throws SystemException
Specified by:
getString in interface PrefsProps
Throws:
SystemException

getString

public String getString(PortletPreferences preferences,
                        long companyId,
                        String name)
Specified by:
getString in interface PrefsProps

getString

public String getString(PortletPreferences preferences,
                        long companyId,
                        String name,
                        boolean defaultValue)
Specified by:
getString in interface PrefsProps

getString

public String getString(PortletPreferences preferences,
                        long companyId,
                        String name,
                        double defaultValue)
Specified by:
getString in interface PrefsProps

getString

public String getString(PortletPreferences preferences,
                        long companyId,
                        String name,
                        int defaultValue)
Specified by:
getString in interface PrefsProps

getString

public String getString(PortletPreferences preferences,
                        long companyId,
                        String name,
                        long defaultValue)
Specified by:
getString in interface PrefsProps

getString

public String getString(PortletPreferences preferences,
                        long companyId,
                        String name,
                        short defaultValue)
Specified by:
getString in interface PrefsProps

getString

public String getString(PortletPreferences preferences,
                        long companyId,
                        String name,
                        String defaultValue)
Specified by:
getString in interface PrefsProps

getString

public String getString(String name)
                 throws SystemException
Specified by:
getString in interface PrefsProps
Throws:
SystemException

getString

public String getString(String name,
                        String defaultValue)
                 throws SystemException
Specified by:
getString in interface PrefsProps
Throws:
SystemException

getStringArray

public String[] getStringArray(long companyId,
                               String name,
                               String delimiter)
                        throws SystemException
Specified by:
getStringArray in interface PrefsProps
Throws:
SystemException

getStringArray

public String[] getStringArray(long companyId,
                               String name,
                               String delimiter,
                               String[] defaultValue)
                        throws SystemException
Specified by:
getStringArray in interface PrefsProps
Throws:
SystemException

getStringArray

public String[] getStringArray(PortletPreferences preferences,
                               long companyId,
                               String name,
                               String delimiter)
Specified by:
getStringArray in interface PrefsProps

getStringArray

public String[] getStringArray(PortletPreferences preferences,
                               long companyId,
                               String name,
                               String delimiter,
                               String[] defaultValue)
Specified by:
getStringArray in interface PrefsProps

getStringArray

public String[] getStringArray(String name,
                               String delimiter)
                        throws SystemException
Specified by:
getStringArray in interface PrefsProps
Throws:
SystemException

getStringArray

public String[] getStringArray(String name,
                               String delimiter,
                               String[] defaultValue)
                        throws SystemException
Specified by:
getStringArray in interface PrefsProps
Throws:
SystemException

getStringFromNames

public String getStringFromNames(long companyId,
                                 String... names)
                          throws SystemException
Specified by:
getStringFromNames in interface PrefsProps
Throws:
SystemException

Liferay 6.1.2-ce-ga3