Liferay 6.2-ce-ga5

com.liferay.portal.kernel.util
Interface PrefsProps


public interface PrefsProps


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(boolean readOnly)
           
 PortletPreferences getPreferences(long companyId)
           
 PortletPreferences getPreferences(long companyId, boolean readOnly)
           
 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)
           
 

Method Detail

getBoolean

boolean getBoolean(long companyId,
                   String name)
                   throws SystemException
Throws:
SystemException

getBoolean

boolean getBoolean(long companyId,
                   String name,
                   boolean defaultValue)
                   throws SystemException
Throws:
SystemException

getBoolean

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

getBoolean

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

getBoolean

boolean getBoolean(String name)
                   throws SystemException
Throws:
SystemException

getBoolean

boolean getBoolean(String name,
                   boolean defaultValue)
                   throws SystemException
Throws:
SystemException

getContent

String getContent(long companyId,
                  String name)
                  throws SystemException
Throws:
SystemException

getContent

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

getContent

String getContent(String name)
                  throws SystemException
Throws:
SystemException

getDouble

double getDouble(long companyId,
                 String name)
                 throws SystemException
Throws:
SystemException

getDouble

double getDouble(long companyId,
                 String name,
                 double defaultValue)
                 throws SystemException
Throws:
SystemException

getDouble

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

getDouble

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

getDouble

double getDouble(String name)
                 throws SystemException
Throws:
SystemException

getDouble

double getDouble(String name,
                 double defaultValue)
                 throws SystemException
Throws:
SystemException

getInteger

int getInteger(long companyId,
               String name)
               throws SystemException
Throws:
SystemException

getInteger

int getInteger(long companyId,
               String name,
               int defaultValue)
               throws SystemException
Throws:
SystemException

getInteger

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

getInteger

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

getInteger

int getInteger(String name)
               throws SystemException
Throws:
SystemException

getInteger

int getInteger(String name,
               int defaultValue)
               throws SystemException
Throws:
SystemException

getLong

long getLong(long companyId,
             String name)
             throws SystemException
Throws:
SystemException

getLong

long getLong(long companyId,
             String name,
             long defaultValue)
             throws SystemException
Throws:
SystemException

getLong

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

getLong

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

getLong

long getLong(String name)
             throws SystemException
Throws:
SystemException

getLong

long getLong(String name,
             long defaultValue)
             throws SystemException
Throws:
SystemException

getPreferences

PortletPreferences getPreferences()
                                  throws SystemException
Throws:
SystemException

getPreferences

PortletPreferences getPreferences(boolean readOnly)
                                  throws SystemException
Throws:
SystemException

getPreferences

PortletPreferences getPreferences(long companyId)
                                  throws SystemException
Throws:
SystemException

getPreferences

PortletPreferences getPreferences(long companyId,
                                  boolean readOnly)
                                  throws SystemException
Throws:
SystemException

getProperties

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

getProperties

Properties getProperties(String prefix,
                         boolean removePrefix)
                         throws SystemException
Throws:
SystemException

getShort

short getShort(long companyId,
               String name)
               throws SystemException
Throws:
SystemException

getShort

short getShort(long companyId,
               String name,
               short defaultValue)
               throws SystemException
Throws:
SystemException

getShort

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

getShort

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

getShort

short getShort(String name)
               throws SystemException
Throws:
SystemException

getShort

short getShort(String name,
               short defaultValue)
               throws SystemException
Throws:
SystemException

getString

String getString(long companyId,
                 String name)
                 throws SystemException
Throws:
SystemException

getString

String getString(long companyId,
                 String name,
                 String defaultValue)
                 throws SystemException
Throws:
SystemException

getString

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

getString

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

getString

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

getString

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

getString

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

getString

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

getString

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

getString

String getString(String name)
                 throws SystemException
Throws:
SystemException

getString

String getString(String name,
                 String defaultValue)
                 throws SystemException
Throws:
SystemException

getStringArray

String[] getStringArray(long companyId,
                        String name,
                        String delimiter)
                        throws SystemException
Throws:
SystemException

getStringArray

String[] getStringArray(long companyId,
                        String name,
                        String delimiter,
                        String[] defaultValue)
                        throws SystemException
Throws:
SystemException

getStringArray

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

getStringArray

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

getStringArray

String[] getStringArray(String name,
                        String delimiter)
                        throws SystemException
Throws:
SystemException

getStringArray

String[] getStringArray(String name,
                        String delimiter,
                        String[] defaultValue)
                        throws SystemException
Throws:
SystemException

getStringFromNames

String getStringFromNames(long companyId,
                          String... names)
                          throws SystemException
Throws:
SystemException

Liferay 6.2-ce-ga5