Package com.liferay.portal.util
Class PrefsPropsImpl
java.lang.Object
com.liferay.portal.util.PrefsPropsImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.util.PrefsProps
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()booleangetBoolean(long companyId, String name) booleangetBoolean(long companyId, String name, boolean defaultValue) booleangetBoolean(String name) booleangetBoolean(String name, boolean defaultValue) booleangetBoolean(javax.portlet.PortletPreferences portletPreferences, String name) booleangetBoolean(javax.portlet.PortletPreferences portletPreferences, String name, boolean defaultValue) getContent(long companyId, String name) getContent(String name) getContent(javax.portlet.PortletPreferences portletPreferences, String name) doubledoubledoubledoubledoubledoubleintgetInteger(long companyId, String name) intgetInteger(long companyId, String name, int defaultValue) intgetInteger(String name) intgetInteger(String name, int defaultValue) intgetInteger(javax.portlet.PortletPreferences portletPreferences, String name) intgetInteger(javax.portlet.PortletPreferences portletPreferences, String name, int defaultValue) longlonglonglonglonglongjavax.portlet.PortletPreferencesjavax.portlet.PortletPreferencesgetPreferences(long companyId) getProperties(String prefix, boolean removePrefix) getProperties(javax.portlet.PortletPreferences portletPreferences, String prefix, boolean removePrefix) shortshortshortshortshortshortString[]getStringArray(long companyId, String name, String delimiter) String[]getStringArray(long companyId, String name, String delimiter, String[] defaultValue) String[]getStringArray(String name, String delimiter) String[]getStringArray(String name, String delimiter, String[] defaultValue) String[]getStringArray(javax.portlet.PortletPreferences portletPreferences, String name, String delimiter) String[]getStringArray(javax.portlet.PortletPreferences portletPreferences, String name, String delimiter, String[] defaultValue) getStringFromNames(long companyId, String... names)
-
Constructor Details
-
PrefsPropsImpl
public PrefsPropsImpl()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet() -
destroy
public void destroy() -
getBoolean
- Specified by:
getBooleanin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getBoolean
- Specified by:
getBooleanin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getBoolean
- Specified by:
getBooleanin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getBoolean
public boolean getBoolean(javax.portlet.PortletPreferences portletPreferences, String name, boolean defaultValue) - Specified by:
getBooleanin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getBoolean
- Specified by:
getBooleanin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getBoolean
- Specified by:
getBooleanin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getContent
- Specified by:
getContentin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getContent
- Specified by:
getContentin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getContent
- Specified by:
getContentin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getDouble
- Specified by:
getDoublein interfacecom.liferay.portal.kernel.util.PrefsProps
-
getDouble
- Specified by:
getDoublein interfacecom.liferay.portal.kernel.util.PrefsProps
-
getDouble
- Specified by:
getDoublein interfacecom.liferay.portal.kernel.util.PrefsProps
-
getDouble
public double getDouble(javax.portlet.PortletPreferences portletPreferences, String name, double defaultValue) - Specified by:
getDoublein interfacecom.liferay.portal.kernel.util.PrefsProps
-
getDouble
- Specified by:
getDoublein interfacecom.liferay.portal.kernel.util.PrefsProps
-
getDouble
- Specified by:
getDoublein interfacecom.liferay.portal.kernel.util.PrefsProps
-
getInteger
- Specified by:
getIntegerin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getInteger
- Specified by:
getIntegerin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getInteger
- Specified by:
getIntegerin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getInteger
public int getInteger(javax.portlet.PortletPreferences portletPreferences, String name, int defaultValue) - Specified by:
getIntegerin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getInteger
- Specified by:
getIntegerin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getInteger
- Specified by:
getIntegerin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getLong
- Specified by:
getLongin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getLong
- Specified by:
getLongin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getLong
- Specified by:
getLongin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getLong
public long getLong(javax.portlet.PortletPreferences portletPreferences, String name, long defaultValue) - Specified by:
getLongin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getLong
- Specified by:
getLongin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getLong
- Specified by:
getLongin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getPreferences
public javax.portlet.PortletPreferences getPreferences()- Specified by:
getPreferencesin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getPreferences
public javax.portlet.PortletPreferences getPreferences(long companyId) - Specified by:
getPreferencesin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getProperties
public Properties getProperties(javax.portlet.PortletPreferences portletPreferences, String prefix, boolean removePrefix) - Specified by:
getPropertiesin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getProperties
- Specified by:
getPropertiesin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getShort
- Specified by:
getShortin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getShort
- Specified by:
getShortin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getShort
- Specified by:
getShortin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getShort
public short getShort(javax.portlet.PortletPreferences portletPreferences, String name, short defaultValue) - Specified by:
getShortin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getShort
- Specified by:
getShortin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getShort
- Specified by:
getShortin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
- Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
- Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
- Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, boolean defaultValue) - Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, double defaultValue) - Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, int defaultValue) - Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, long defaultValue) - Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, short defaultValue) - Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
public String getString(javax.portlet.PortletPreferences portletPreferences, String name, String defaultValue) - Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
- Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getString
- Specified by:
getStringin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getStringArray
- Specified by:
getStringArrayin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getStringArray
public String[] getStringArray(long companyId, String name, String delimiter, String[] defaultValue) - Specified by:
getStringArrayin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getStringArray
public String[] getStringArray(javax.portlet.PortletPreferences portletPreferences, String name, String delimiter) - Specified by:
getStringArrayin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getStringArray
public String[] getStringArray(javax.portlet.PortletPreferences portletPreferences, String name, String delimiter, String[] defaultValue) - Specified by:
getStringArrayin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getStringArray
- Specified by:
getStringArrayin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getStringArray
- Specified by:
getStringArrayin interfacecom.liferay.portal.kernel.util.PrefsProps
-
getStringFromNames
- Specified by:
getStringFromNamesin interfacecom.liferay.portal.kernel.util.PrefsProps
-