public enum LiferayPortletConfigParam extends Enum<LiferayPortletConfigParam> implements com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>
| Enum Constant and Description |
|---|
DistinctRequestScopedManagedBeans
Flag indicating whether or not JSF
javax.faces.bean.ManagedBean classes annotated with javax.faces.bean.RequestScoped should be distinct for each portlet. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternateName() |
boolean |
getBooleanValue(javax.portlet.PortletConfig portletConfig) |
String |
getConfiguredValue(javax.portlet.PortletConfig config) |
boolean |
getDefaultBooleanValue() |
int |
getDefaultIntegerValue() |
long |
getDefaultLongValue() |
String |
getDefaultStringValue() |
int |
getIntegerValue(javax.portlet.PortletConfig config) |
long |
getLongValue(javax.portlet.PortletConfig config) |
String |
getName() |
String |
getStringValue(javax.portlet.PortletConfig config) |
boolean |
isConfigured(javax.portlet.PortletConfig config) |
static LiferayPortletConfigParam |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiferayPortletConfigParam[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiferayPortletConfigParam DistinctRequestScopedManagedBeans
javax.faces.bean.ManagedBean classes annotated with javax.faces.bean.RequestScoped should be distinct for each portlet. Default value is false.public static LiferayPortletConfigParam[] values()
for (LiferayPortletConfigParam c : LiferayPortletConfigParam.values()) System.out.println(c);
public static LiferayPortletConfigParam valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getAlternateName()
getAlternateName in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public boolean getBooleanValue(javax.portlet.PortletConfig portletConfig)
getBooleanValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public String getConfiguredValue(javax.portlet.PortletConfig config)
getConfiguredValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public boolean getDefaultBooleanValue()
getDefaultBooleanValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public int getDefaultIntegerValue()
getDefaultIntegerValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public long getDefaultLongValue()
getDefaultLongValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public String getDefaultStringValue()
getDefaultStringValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public int getIntegerValue(javax.portlet.PortletConfig config)
getIntegerValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public long getLongValue(javax.portlet.PortletConfig config)
getLongValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public String getName()
getName in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public String getStringValue(javax.portlet.PortletConfig config)
getStringValue in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>public boolean isConfigured(javax.portlet.PortletConfig config)
isConfigured in interface com.liferay.faces.util.config.ConfigParam<javax.portlet.PortletConfig>Copyright © 2016 Liferay, Inc.. All rights reserved.