|
Liferay 7.0-ga1 portal-kernel | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.util.PrefsPropsUtil
public class PrefsPropsUtil
| Constructor Summary | |
|---|---|
PrefsPropsUtil()
|
|
| 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)
Deprecated. As of 7.0.0, replaced by getBoolean(PortletPreferences, String) |
static boolean |
getBoolean(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
Deprecated. As of 7.0.0, replaced by getBoolean(PortletPreferences, String, boolean) |
static boolean |
getBoolean(PortletPreferences preferences,
String name)
|
static boolean |
getBoolean(PortletPreferences preferences,
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)
Deprecated. As of 7.0.0, replaced by getContent(PortletPreferences, String) |
static String |
getContent(PortletPreferences preferences,
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)
Deprecated. As of 7.0.0, replaced by getDouble(PortletPreferences, String) |
static double |
getDouble(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
Deprecated. As of 7.0.0, replaced by getDouble(PortletPreferences, String, double) |
static double |
getDouble(PortletPreferences preferences,
String name)
|
static double |
getDouble(PortletPreferences preferences,
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)
Deprecated. As of 7.0.0, replaced by getInteger(PortletPreferences, String) |
static int |
getInteger(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
Deprecated. As of 7.0.0, replaced by getInteger(PortletPreferences, String, int) |
static int |
getInteger(PortletPreferences preferences,
String name)
|
static int |
getInteger(PortletPreferences preferences,
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)
Deprecated. As of 7.0.0, replaced by getLong(PortletPreferences, String) |
static long |
getLong(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
Deprecated. As of 7.0.0, replaced by getLong(PortletPreferences, String, long) |
static long |
getLong(PortletPreferences preferences,
String name)
|
static long |
getLong(PortletPreferences preferences,
String name,
long defaultValue)
|
static long |
getLong(String name)
|
static long |
getLong(String name,
long defaultValue)
|
static PortletPreferences |
getPreferences()
|
static PortletPreferences |
getPreferences(boolean readOnly)
|
static PortletPreferences |
getPreferences(long companyId)
|
static PortletPreferences |
getPreferences(long companyId,
boolean readOnly)
|
static PrefsProps |
getPrefsProps()
|
static Properties |
getProperties(PortletPreferences preferences,
long companyId,
String prefix,
boolean removePrefix)
Deprecated. As of 7.0.0, replaced by getProperties(PortletPreferences, String, boolean) |
static Properties |
getProperties(PortletPreferences preferences,
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)
Deprecated. As of 7.0.0, replaced by getShort(PortletPreferences, String) |
static short |
getShort(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
Deprecated. As of 7.0.0, replaced by getShort(PortletPreferences, String, short) |
static short |
getShort(PortletPreferences preferences,
String name)
|
static short |
getShort(PortletPreferences preferences,
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)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String) |
static String |
getString(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, boolean) |
static String |
getString(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, double) |
static String |
getString(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, int) |
static String |
getString(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, long) |
static String |
getString(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, short) |
static String |
getString(PortletPreferences preferences,
long companyId,
String name,
String defaultValue)
Deprecated. As of 7.0.0, replaced by getString(PortletPreferences, String, String) |
static String |
getString(PortletPreferences preferences,
String name)
|
static String |
getString(PortletPreferences preferences,
String name,
boolean defaultValue)
|
static String |
getString(PortletPreferences preferences,
String name,
double defaultValue)
|
static String |
getString(PortletPreferences preferences,
String name,
int defaultValue)
|
static String |
getString(PortletPreferences preferences,
String name,
long defaultValue)
|
static String |
getString(PortletPreferences preferences,
String name,
short defaultValue)
|
static String |
getString(PortletPreferences preferences,
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)
Deprecated. As of 7.0.0, replaced by getStringArray(PortletPreferences, String, String) |
static 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[]) |
static String[] |
getStringArray(PortletPreferences preferences,
String name,
String delimiter)
|
static String[] |
getStringArray(PortletPreferences preferences,
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)
|
void |
setPrefsProps(PrefsProps prefsProps)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrefsPropsUtil()
| Method Detail |
|---|
public static boolean getBoolean(long companyId,
String name)
public static boolean getBoolean(long companyId,
String name,
boolean defaultValue)
@Deprecated
public static boolean getBoolean(PortletPreferences preferences,
long companyId,
String name)
getBoolean(PortletPreferences, String)
@Deprecated
public static boolean getBoolean(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
getBoolean(PortletPreferences, String, boolean)
public static boolean getBoolean(PortletPreferences preferences,
String name)
public static boolean getBoolean(PortletPreferences preferences,
String name,
boolean defaultValue)
public static boolean getBoolean(String name)
public static boolean getBoolean(String name,
boolean defaultValue)
public static String getContent(long companyId,
String name)
@Deprecated
public static String getContent(PortletPreferences preferences,
long companyId,
String name)
getContent(PortletPreferences, String)
public static String getContent(PortletPreferences preferences,
String name)
public static String getContent(String name)
public static double getDouble(long companyId,
String name)
public static double getDouble(long companyId,
String name,
double defaultValue)
@Deprecated
public static double getDouble(PortletPreferences preferences,
long companyId,
String name)
getDouble(PortletPreferences, String)
@Deprecated
public static double getDouble(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
getDouble(PortletPreferences, String, double)
public static double getDouble(PortletPreferences preferences,
String name)
public static double getDouble(PortletPreferences preferences,
String name,
double defaultValue)
public static double getDouble(String name)
public static double getDouble(String name,
double defaultValue)
public static int getInteger(long companyId,
String name)
public static int getInteger(long companyId,
String name,
int defaultValue)
@Deprecated
public static int getInteger(PortletPreferences preferences,
long companyId,
String name)
getInteger(PortletPreferences, String)
@Deprecated
public static int getInteger(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
getInteger(PortletPreferences, String, int)
public static int getInteger(PortletPreferences preferences,
String name)
public static int getInteger(PortletPreferences preferences,
String name,
int defaultValue)
public static int getInteger(String name)
public static int getInteger(String name,
int defaultValue)
public static long getLong(long companyId,
String name)
public static long getLong(long companyId,
String name,
long defaultValue)
@Deprecated
public static long getLong(PortletPreferences preferences,
long companyId,
String name)
getLong(PortletPreferences, String)
@Deprecated
public static long getLong(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
getLong(PortletPreferences, String, long)
public static long getLong(PortletPreferences preferences,
String name)
public static long getLong(PortletPreferences preferences,
String name,
long defaultValue)
public static long getLong(String name)
public static long getLong(String name,
long defaultValue)
public static PortletPreferences getPreferences()
public static PortletPreferences getPreferences(boolean readOnly)
public static PortletPreferences getPreferences(long companyId)
public static PortletPreferences getPreferences(long companyId,
boolean readOnly)
public static PrefsProps getPrefsProps()
@Deprecated
public static Properties getProperties(PortletPreferences preferences,
long companyId,
String prefix,
boolean removePrefix)
getProperties(PortletPreferences, String, boolean)
public static Properties getProperties(PortletPreferences preferences,
String prefix,
boolean removePrefix)
public static Properties getProperties(String prefix,
boolean removePrefix)
public static short getShort(long companyId,
String name)
public static short getShort(long companyId,
String name,
short defaultValue)
@Deprecated
public static short getShort(PortletPreferences preferences,
long companyId,
String name)
getShort(PortletPreferences, String)
@Deprecated
public static short getShort(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
getShort(PortletPreferences, String, short)
public static short getShort(PortletPreferences preferences,
String name)
public static short getShort(PortletPreferences preferences,
String name,
short defaultValue)
public static short getShort(String name)
public static short getShort(String name,
short defaultValue)
public static String getString(long companyId,
String name)
public static String getString(long companyId,
String name,
String defaultValue)
@Deprecated
public static String getString(PortletPreferences preferences,
long companyId,
String name)
getString(PortletPreferences, String)
@Deprecated
public static String getString(PortletPreferences preferences,
long companyId,
String name,
boolean defaultValue)
getString(PortletPreferences, String, boolean)
@Deprecated
public static String getString(PortletPreferences preferences,
long companyId,
String name,
double defaultValue)
getString(PortletPreferences, String, double)
@Deprecated
public static String getString(PortletPreferences preferences,
long companyId,
String name,
int defaultValue)
getString(PortletPreferences, String, int)
@Deprecated
public static String getString(PortletPreferences preferences,
long companyId,
String name,
long defaultValue)
getString(PortletPreferences, String, long)
@Deprecated
public static String getString(PortletPreferences preferences,
long companyId,
String name,
short defaultValue)
getString(PortletPreferences, String, short)
@Deprecated
public static String getString(PortletPreferences preferences,
long companyId,
String name,
String defaultValue)
getString(PortletPreferences, String, String)
public static String getString(PortletPreferences preferences,
String name)
public static String getString(PortletPreferences preferences,
String name,
boolean defaultValue)
public static String getString(PortletPreferences preferences,
String name,
double defaultValue)
public static String getString(PortletPreferences preferences,
String name,
int defaultValue)
public static String getString(PortletPreferences preferences,
String name,
long defaultValue)
public static String getString(PortletPreferences preferences,
String name,
short defaultValue)
public static String getString(PortletPreferences preferences,
String name,
String defaultValue)
public static String getString(String name)
public static String getString(String name,
String defaultValue)
public static String[] getStringArray(long companyId,
String name,
String delimiter)
public static String[] getStringArray(long companyId,
String name,
String delimiter,
String[] defaultValue)
@Deprecated
public static String[] getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter)
getStringArray(PortletPreferences, String, String)
@Deprecated
public static String[] getStringArray(PortletPreferences preferences,
long companyId,
String name,
String delimiter,
String[] defaultValue)
getStringArray(PortletPreferences, String, String,
String[])
public static String[] getStringArray(PortletPreferences preferences,
String name,
String delimiter)
public static String[] getStringArray(PortletPreferences preferences,
String name,
String delimiter,
String[] defaultValue)
public static String[] getStringArray(String name,
String delimiter)
public static String[] getStringArray(String name,
String delimiter,
String[] defaultValue)
public static String getStringFromNames(long companyId,
String... names)
public void setPrefsProps(PrefsProps prefsProps)
|
Liferay 7.0-ga1 portal-kernel | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||