Package org.exoplatform.webui.ext.filter
Enum Class UIExtensionFilterType
- All Implemented Interfaces:
Serializable,Comparable<UIExtensionFilterType>,Constable
All the existing types of filters
Created by The eXo Platform SAS
Author : eXoPlatform
nicolas.filotto@exoplatform.com
14 mai 2009
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis type of filter will be used to know if the action related to the extension can be launched and to know if the component related to the extension can be added to the webui tree The filter is required to launch the action and to add the component related to the extension to the webui tree.This type of filter will only be used to know if the action related to the extension can be launched.This type of filter will only be used to know if the action related to the extension can be launched.This type of filter will be used to know if the action related to the extension can be launched. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if the filter allows to continue if it failsbooleanIndicates if the other filters can be checked if it failsbooleanIndicates if the filter allows to display the extension if it failsstatic UIExtensionFilterTypeReturns the enum constant of this class with the specified name.static UIExtensionFilterType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANDATORY
This type of filter will be used to know if the action related to the extension can be launched and to know if the component related to the extension can be added to the webui tree The filter is required to launch the action and to add the component related to the extension to the webui tree. If it succeeds, we will check the other filters. If it fails, we will stop. -
REQUISITE
This type of filter will be used to know if the action related to the extension can be launched. The filter is required to launch the action. to the webui tree. If it succeeds, we will check the other filters. If it fails, we will stop. -
REQUIRED
This type of filter will only be used to know if the action related to the extension can be launched. The filter is required to launch the action. If it succeeds or fails, we will check the other filters. It can be used to add warnings -
OPTIONAL
This type of filter will only be used to know if the action related to the extension can be launched. The filter is not required to launch the action. If it succeeds or fails, we will check the other filters. It can be used for auditing purpose
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
showExtensionOnlyIfOK
public boolean showExtensionOnlyIfOK()Indicates if the filter allows to display the extension if it fails -
checkOtherFiltersOnlyIfOK
public boolean checkOtherFiltersOnlyIfOK()Indicates if the other filters can be checked if it fails -
acceptOnlyIfOK
public boolean acceptOnlyIfOK()Indicates if the filter allows to continue if it fails
-