|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PortletConfigParam>
com.liferay.faces.bridge.config.internal.PortletConfigParam
public enum PortletConfigParam
This enumeration contains constant names for various implementation-specific contex-param entries that portlet developers can use in the WEB-INF/web.xml descriptor.
| Enum Constant Summary | |
|---|---|
BridgeRequestScopeAjaxEnabled
Flag indicating whether or not the bridge should manage BridgeRequestScope during the RESOURCE_PHASE of the portlet lifecycle. |
|
BridgeRequestScopePreserved
Flag indicating whether or not the bridge request scope is preserved after the RENDER_PHASE completes. |
|
ContainerAbleToSetHttpStatusCode
Flag indicating whether or not the portlet container has the ability to set the HTTP status code for resources. |
|
DistinctRequestScopedManagedBeans
Flag indicating whether or not JSF ManagedBean classes annotated with RequestScoped should be distinct for each portlet. |
|
ManageIncongruities
Flag indicating whether or not the bridge should manage incongruities between the JSF lifecycle and the Portlet lifecycle. |
|
PreferPreDestroy
Flag indicating whether or not methods annotated with the @PreDestroy annotation are preferably invoked over the @BridgePreDestroy annotation. |
|
RenderRedirectEnabled
Flag indicating whether or not the render-redirect standard feature is enabled. |
|
ResourceBufferSize
Size in bytes for the buffer that is used to deliver resources back to the browser. |
|
UploadedFileMaxSize
Maximum file size for an uploaded file. |
|
UploadedFilesDir
Absolute path to a directory (folder) in which the uploaded file data should be written to. |
|
ViewIdRenderParameterName
Name of the render parameter used to encode the viewId. |
|
ViewIdResourceParameterName
Name of the resource request parameter used to encode the viewId Default value is "_facesViewIdResource" |
|
ViewParametersEnabled
Flag indicating whether or not the JSF 2 "View Parameters" feature is enabled. |
|
| Method Summary | |
|---|---|
String |
getAlternateName()
|
boolean |
getBooleanValue(javax.portlet.PortletConfig portletConfig)
|
String |
getConfiguredValue(javax.portlet.PortletConfig portletConfig)
|
boolean |
getDefaultBooleanValue()
|
int |
getDefaultIntegerValue()
|
long |
getDefaultLongValue()
|
String |
getDefaultStringValue()
|
int |
getIntegerValue(javax.portlet.PortletConfig portletConfig)
|
long |
getLongValue(javax.portlet.PortletConfig portletConfig)
|
String |
getName()
|
String |
getStringValue(javax.portlet.PortletConfig portletConfig)
|
boolean |
isConfigured(javax.portlet.PortletConfig portletConfig)
|
static PortletConfigParam |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PortletConfigParam[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PortletConfigParam BridgeRequestScopeAjaxEnabled
public static final PortletConfigParam BridgeRequestScopePreserved
public static final PortletConfigParam ContainerAbleToSetHttpStatusCode
public static final PortletConfigParam DistinctRequestScopedManagedBeans
ManagedBean classes annotated with RequestScoped should be distinct for each portlet. Default value is false.
public static final PortletConfigParam ManageIncongruities
public static final PortletConfigParam PreferPreDestroy
public static final PortletConfigParam RenderRedirectEnabled
public static final PortletConfigParam ResourceBufferSize
public static final PortletConfigParam UploadedFilesDir
public static final PortletConfigParam UploadedFileMaxSize
public static final PortletConfigParam ViewIdRenderParameterName
public static final PortletConfigParam ViewIdResourceParameterName
public static final PortletConfigParam ViewParametersEnabled
| Method Detail |
|---|
public static PortletConfigParam[] values()
for (PortletConfigParam c : PortletConfigParam.values()) System.out.println(c);
public static PortletConfigParam valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getAlternateName()
getAlternateName in interface ConfigParam<javax.portlet.PortletConfig>public boolean getBooleanValue(javax.portlet.PortletConfig portletConfig)
getBooleanValue in interface ConfigParam<javax.portlet.PortletConfig>public String getConfiguredValue(javax.portlet.PortletConfig portletConfig)
getConfiguredValue in interface ConfigParam<javax.portlet.PortletConfig>public boolean isConfigured(javax.portlet.PortletConfig portletConfig)
isConfigured in interface ConfigParam<javax.portlet.PortletConfig>public boolean getDefaultBooleanValue()
getDefaultBooleanValue in interface ConfigParam<javax.portlet.PortletConfig>public int getDefaultIntegerValue()
getDefaultIntegerValue in interface ConfigParam<javax.portlet.PortletConfig>public long getDefaultLongValue()
getDefaultLongValue in interface ConfigParam<javax.portlet.PortletConfig>public String getDefaultStringValue()
getDefaultStringValue in interface ConfigParam<javax.portlet.PortletConfig>public int getIntegerValue(javax.portlet.PortletConfig portletConfig)
getIntegerValue in interface ConfigParam<javax.portlet.PortletConfig>public long getLongValue(javax.portlet.PortletConfig portletConfig)
getLongValue in interface ConfigParam<javax.portlet.PortletConfig>public String getName()
getName in interface ConfigParam<javax.portlet.PortletConfig>public String getStringValue(javax.portlet.PortletConfig portletConfig)
getStringValue in interface ConfigParam<javax.portlet.PortletConfig>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||