|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<WebConfigParam>
com.liferay.faces.util.config.WebConfigParam
public enum WebConfigParam
| Enum Constant Summary | |
|---|---|
ResolveXMLEntities
Boolean indicating whether or not XML entities should be resolved |
|
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. |
|
| Method Summary | |
|---|---|
String |
getAlternateName()
Returns the alternate name of the config param (or null if there is not an alternate name). |
boolean |
getBooleanValue(javax.faces.context.ExternalContext externalContext)
Returns the boolean value of the config param. |
String |
getConfiguredValue(javax.faces.context.ExternalContext externalContext)
Returns the value of the config param that was specified in the configuration file. |
boolean |
getDefaultBooleanValue()
Returns the default boolean value of the config param. |
int |
getDefaultIntegerValue()
Returns the default int value of the config param. |
long |
getDefaultLongValue()
Returns the default long value of the config param. |
String |
getDefaultStringValue()
Returns the default String value of the config param. |
int |
getIntegerValue(javax.faces.context.ExternalContext externalContext)
Returns the int value of the config param. |
long |
getLongValue(javax.faces.context.ExternalContext externalContext)
Returns the long value of the config param. |
String |
getName()
Returns the name of the config param. |
String |
getStringValue(javax.faces.context.ExternalContext externalContext)
Returns the String value of the config param. |
boolean |
isConfigured(javax.faces.context.ExternalContext externalContext)
Flag indicating whether or not the config param was specified in the configuration file. |
static WebConfigParam |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WebConfigParam[] |
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 WebConfigParam ResolveXMLEntities
public static final WebConfigParam UploadedFilesDir
public static final WebConfigParam UploadedFileMaxSize
| Method Detail |
|---|
public static WebConfigParam[] values()
for (WebConfigParam c : WebConfigParam.values()) System.out.println(c);
public static WebConfigParam 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()
ConfigParam
getAlternateName in interface ConfigParam<javax.faces.context.ExternalContext>public boolean getBooleanValue(javax.faces.context.ExternalContext externalContext)
ConfigParamConfigParam.getDefaultBooleanValue() is returned.
getBooleanValue in interface ConfigParam<javax.faces.context.ExternalContext>public String getConfiguredValue(javax.faces.context.ExternalContext externalContext)
ConfigParam
getConfiguredValue in interface ConfigParam<javax.faces.context.ExternalContext>public boolean isConfigured(javax.faces.context.ExternalContext externalContext)
ConfigParam
isConfigured in interface ConfigParam<javax.faces.context.ExternalContext>public boolean getDefaultBooleanValue()
ConfigParam
getDefaultBooleanValue in interface ConfigParam<javax.faces.context.ExternalContext>public int getDefaultIntegerValue()
ConfigParam
getDefaultIntegerValue in interface ConfigParam<javax.faces.context.ExternalContext>public long getDefaultLongValue()
ConfigParam
getDefaultLongValue in interface ConfigParam<javax.faces.context.ExternalContext>public String getDefaultStringValue()
ConfigParam
getDefaultStringValue in interface ConfigParam<javax.faces.context.ExternalContext>public int getIntegerValue(javax.faces.context.ExternalContext externalContext)
ConfigParamConfigParam.getDefaultIntegerValue() is returned.
getIntegerValue in interface ConfigParam<javax.faces.context.ExternalContext>public long getLongValue(javax.faces.context.ExternalContext externalContext)
ConfigParamConfigParam.getDefaultLongValue() is returned.
getLongValue in interface ConfigParam<javax.faces.context.ExternalContext>public String getName()
ConfigParam
getName in interface ConfigParam<javax.faces.context.ExternalContext>public String getStringValue(javax.faces.context.ExternalContext externalContext)
ConfigParamConfigParam.getDefaultStringValue() is returned.
getStringValue in interface ConfigParam<javax.faces.context.ExternalContext>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||