Package de.xima.fc.gui.bean.application
Class EnumBean
- java.lang.Object
-
- de.xima.fc.gui.bean.application.EnumBean
-
- All Implemented Interfaces:
Serializable
@Named @ApplicationScoped public class EnumBean extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnumBean()
-
Method Summary
-
-
-
Method Detail
-
getEAnrede
public EAnrede[] getEAnrede()
-
getEAuthClientType
public EAuthClientType[] getEAuthClientType()
-
getEBenutzerverwaltungsTyp
public EBenutzerverwaltungsTyp[] getEBenutzerverwaltungsTyp()
-
getEBenutzerStatus
public EBenutzerStatus[] getEBenutzerStatus()
-
getEDatenquellenTyp
public EDatenquellenTyp[] getEDatenquellenTyp()
-
getETextbausteinKategorie
public ETextbausteinKategorie[] getETextbausteinKategorie()
-
getEExecCondition
public EExecCondition[] getEExecCondition()
-
getEWeiterverarbeitungBedingung
public EWeiterverarbeitung_Bedingung[] getEWeiterverarbeitungBedingung()
-
getEWeiterverarbeitungAktion
public EWeiterverarbeitung_Aktion[] getEWeiterverarbeitungAktion()
-
getEWeiterverarbeitungStatus
public EWeiterverarbeitung_Status[] getEWeiterverarbeitungStatus()
-
getEDatenbankTyp
public EDatenbankTyp[] getEDatenbankTyp()
-
getEDbEncryptionAlgorithm
public EDBEncryptionAlgorithm[] getEDbEncryptionAlgorithm()
-
getERessourcenTyp
public ERessourcenTyp[] getERessourcenTyp()
-
getEMatchCondition
public EMatchCondition[] getEMatchCondition()
-
getEAktionsResultat
public EAktionsResultat[] getEAktionsResultat()
-
getELanguage
public ELanguage[] getELanguage()
-
getENodeType
public ENodeType[] getENodeType()
-
getEClusterProtocolType
public EClusterProtocolType[] getEClusterProtocolType()
-
getELogLevel
public ELogLevel[] getELogLevel()
-
getEMailEncryption
public EMailEncryption[] getEMailEncryption()
-
getEAuthClientTypeConfigurable
public EAuthClientType[] getEAuthClientTypeConfigurable()
-
getESystemDatenbankTypen
public EDatenbankTyp[] getESystemDatenbankTypen()
-
getEFormExportOptions
public EFormImpexOption[] getEFormExportOptions()
-
getEnumValues
@Deprecated public <T extends Enum<T>> T[] getEnumValues(Class<T> enumClass)
Deprecated.This returns the value in source code order, which may change at any time. UsegetValuesByDisplayName(Class)
etc. for alphabetical ordering. If you need a custom ordering, either declare the order via<f:selectItem>
or via a custom bean method.Returns all enum values, in the order as declared in the Java source code.- Type Parameters:
T
- Type of the enum class.- Parameters:
enumClass
- Type of the enum type.- Returns:
- All enum values, in the order as declared in the Java source code.
-
getValuesByDisplayName
public <T extends Enum<T> & INamedUiElement> List<T> getValuesByDisplayName(Map<?,T> values)
Returns all enum values, sorted by their display name. Should not be used in Java code, but is meant for XHTML pages in combination withp:importConstants
. For Java code, usegetValuesByDisplayName(Class)
.- Type Parameters:
T
- Type of the enum class.- Parameters:
values
- A map with the enum values as keys.- Returns:
- All enum values, sorted by
INamedUiElement.getDisplayName(Locale)
.
-
getValuesByCustomOrder
public <T extends Enum<T> & ISortKeyProviding<S>,S extends Comparable<S>> List<T> getValuesByCustomOrder(Map<?,T> values)
Returns all enum values, sorted byISortKeyProviding.getSortKey()
. Should not be used in Java code, but is meant for XHTML pages in combination withp:importConstants
. For Java code, usegetValuesByCustomOrder(Class)
.- Type Parameters:
T
- Type of the enum class.- Parameters:
values
- A map with the enum values as keys.- Returns:
- All enum values, sorted by
ISortKeyProviding.getSortKey()
.
-
getValuesByDisplayName
public <T extends Enum<T> & INamedUiElement> List<T> getValuesByDisplayName(Class<T> enumType)
Returns all enum values, sorted by their display name.- Type Parameters:
T
- Type of the enum class.- Parameters:
enumType
- Type of the enum class.- Returns:
- All enum values, sorted by
INamedUiElement.getDisplayName(Locale)
.
-
getValuesByCustomOrder
public <T extends Enum<T> & ISortKeyProviding<S>,S extends Comparable<S>> List<T> getValuesByCustomOrder(Class<T> enumType)
Returns all enum values, sorted byISortKeyProviding.getSortKey()
.- Type Parameters:
T
- Type of the enum class.- Parameters:
enumType
- Type of the enum class.- Returns:
- All enum values, sorted by
ISortKeyProviding.getSortKey()
.
-
getValuesByName
public <T extends Enum<T>> List<T> getValuesByName(Map<String,T> values)
Returns all enum values, sorted by their technical name. Should not be used in Java code, but is meant for XHTML pages in combination withp:importConstants
. For Java code, usegetValuesByName(Class)
.- Type Parameters:
T
- Type of the enum class.- Parameters:
values
- A map with the enum values as keys.- Returns:
- All enum values, sorted by
Enum.name()
.
-
getValuesByName
public <T extends Enum<T>> List<T> getValuesByName(Class<T> enumType)
Returns all enum values, sorted by their technical name.- Type Parameters:
T
- Type of the enum class.- Parameters:
enumType
- Type of the enum class.- Returns:
- All enum values, sorted by
Enum.name()
.
-
getSelectItemsByDisplayName
public <T extends Enum<T> & INamedUiElement> List<SelectItemChoice<T>> getSelectItemsByDisplayName(Map<?,T> values)
Returns all enum values asSelectItem
s, sorted by their display name. Should not be used in Java code, but is meant for XHTML pages in combination withp:importConstants
. For Java code, usegetSelectItemsByDisplayName(Class)
.- Type Parameters:
T
- Type of the enum class.- Parameters:
values
- A map with the enum values as keys.- Returns:
- All enum values as select items, sorted by
INamedUiElement.getDisplayName(Locale)
. The label is the display name.
-
getSelectItemsByDisplayNameCustomOrder
public <T extends Enum<T> & INamedUiElement & ISortKeyProviding<S>,S extends Comparable<S>> List<SelectItemChoice<T>> getSelectItemsByDisplayNameCustomOrder(Map<?,T> values)
Returns all enum values asSelectItem
s, sorted byISortKeyProviding.getSortKey()
. Should not be used in Java code, but is meant for XHTML pages in combination withp:importConstants
. For Java code, usegetSelectItemsByDisplayName(Class)
.- Type Parameters:
T
- Type of the enum class.- Parameters:
values
- A map with the enum values as keys.- Returns:
- All enum values as select items, sorted by
ISortKeyProviding.getSortKey()
. The label is the display name.
-
getSelectItemsByDisplayName
public <T extends Enum<T> & INamedUiElement> List<SelectItemChoice<T>> getSelectItemsByDisplayName(Class<T> enumType)
Returns all enum values asSelectItem
s, sorted by their display name.- Type Parameters:
T
- Type of the enum class.- Parameters:
enumType
- Type of the enum class.- Returns:
- All enum values, sorted by
INamedUiElement.getDisplayName(Locale)
. The label is the display name.
-
getSelectItemsByDisplayNameCustomOrder
public <T extends Enum<T> & INamedUiElement & ISortKeyProviding<S>,S extends Comparable<S>> List<SelectItemChoice<T>> getSelectItemsByDisplayNameCustomOrder(Class<T> enumType)
Returns all enum values asSelectItem
s, sorted byISortKeyProviding.getSortKey()
.- Type Parameters:
T
- Type of the enum class.- Parameters:
enumType
- Type of the enum class.- Returns:
- All enum values, sorted by
ISortKeyProviding.getSortKey()
. The label is the display name.
-
getSelectItemsByName
public <T extends Enum<T>> List<SelectItemChoice<T>> getSelectItemsByName(Map<String,T> values)
Returns all enum values asSelectItem
s, sorted by their technical name. Should not be used in Java code, but is meant for XHTML pages in combination withp:importConstants
. For Java code, usegetSelectItemsByName(Class)
.- Type Parameters:
T
- Type of the enum class.- Parameters:
values
- A map with the enum values as keys.- Returns:
- All enum values, sorted by
Enum.name()
. The label is the technical name.
-
getSelectItemsByNameCustomOrder
public <T extends Enum<T> & ISortKeyProviding<S>,S extends Comparable<S>> List<SelectItemChoice<T>> getSelectItemsByNameCustomOrder(Map<String,T> values)
Returns all enum values asSelectItem
s, sorted byISortKeyProviding.getSortKey()
. Should not be used in Java code, but is meant for XHTML pages in combination withp:importConstants
. For Java code, usegetSelectItemsByName(Class)
.- Type Parameters:
T
- Type of the enum class.- Parameters:
values
- A map with the enum values as keys.- Returns:
- All enum values, sorted by
ISortKeyProviding.getSortKey()
. The label is theEnum.name()
.
-
getSelectItemsByName
public <T extends Enum<T>> List<SelectItemChoice<T>> getSelectItemsByName(Class<T> enumType)
Returns all enum values asSelectItem
s, sorted by their technical name.- Type Parameters:
T
- Type of the enum class.- Parameters:
enumType
- Type of the enum class.- Returns:
- All enum values, sorted by
Enum.name()
. The label is the technical name.
-
getSelectItemsByNameCustomOrder
public <T extends Enum<T> & ISortKeyProviding<S>,S extends Comparable<S>> List<SelectItemChoice<T>> getSelectItemsByNameCustomOrder(Class<T> enumType)
Returns all enum values asSelectItem
s, sorted by sorted byISortKeyProviding.getSortKey()
.- Type Parameters:
T
- Type of the enum class.- Parameters:
enumType
- Type of the enum class.- Returns:
- All enum values, sorted by
ISortKeyProviding.getSortKey()
. The label isEnum.name()
.
-
-