public enum EPlaceholderType extends Enum<EPlaceholderType> implements INamedUiElement, IPlaceholderType
SYSTEM is displayed as
CLIENT_ID - ID of the current client, whereas a placeholder of type
TEMPLATE_HTML is displayed as [TEMPLATE_NAME] [TEMPLATE_CONTENT].| Enum Constant and Description |
|---|
APPOINTMENT |
ATTACHMENT |
FORM_COLLECTION |
FORM_SIMPLE |
FORM_UPLOAD |
INITIAL_USER |
LAST_USER |
OTHER
Fallback when no more specific type could be determined.
|
SYSTEM |
TEMPLATE_HTML |
TEMPLATE_MAIL |
TEMPLATE_TEXT |
TEMPLATE_URL |
USER |
WORKFLOW_ACTION_RESULT |
ATTR_DISPLAY_NAMECOMPARATOR| Modifier and Type | Method and Description |
|---|---|
static IPlaceholderType |
forFormElementType(EFormElementTyp type) |
static EPlaceholderType |
forTemplate(ETextbausteinKategorie category) |
abstract String |
getDetailedDescription(PlaceHolder placeholder,
Locale locale) |
String |
getDisplayName(Locale l) |
abstract IGuiIcon |
getIcon(PlaceHolder placeholder) |
String |
getId() |
abstract String |
getShortDescription(PlaceHolder placeholder,
Locale locale) |
int |
getSortKeyFirst() |
String |
getSortKeySecond() |
abstract boolean |
isExpandInitially() |
static EPlaceholderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EPlaceholderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPlaceholderType ATTACHMENT
public static final EPlaceholderType FORM_COLLECTION
public static final EPlaceholderType FORM_SIMPLE
public static final EPlaceholderType FORM_UPLOAD
public static final EPlaceholderType OTHER
public static final EPlaceholderType SYSTEM
public static final EPlaceholderType USER
public static final EPlaceholderType INITIAL_USER
public static final EPlaceholderType LAST_USER
public static final EPlaceholderType APPOINTMENT
public static final EPlaceholderType TEMPLATE_HTML
public static final EPlaceholderType TEMPLATE_MAIL
public static final EPlaceholderType TEMPLATE_TEXT
public static final EPlaceholderType TEMPLATE_URL
public static final EPlaceholderType WORKFLOW_ACTION_RESULT
public static EPlaceholderType[] values()
for (EPlaceholderType c : EPlaceholderType.values()) System.out.println(c);
public static EPlaceholderType 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 abstract String getDetailedDescription(PlaceHolder placeholder, Locale locale)
getDetailedDescription in interface IPlaceholderTypeplaceholder - A placeholder of this type for which to get the description.locale - The current language settingspublic String getDisplayName(Locale l)
getDisplayName in interface IPlaceholderTypegetDisplayName in interface INamedUiElementl - The current language settings.public abstract IGuiIcon getIcon(PlaceHolder placeholder)
getIcon in interface IPlaceholderTypeplaceholder - A placeholder of this type for which to get the icon.public String getId()
getId in interface IPlaceholderTypepublic abstract String getShortDescription(PlaceHolder placeholder, Locale locale)
getShortDescription in interface IPlaceholderTypeplaceholder - A placeholder of this type for which to get the description.locale - The current language settingspublic int getSortKeyFirst()
getSortKeyFirst in interface IPlaceholderTypepublic String getSortKeySecond()
getSortKeySecond in interface IPlaceholderTypeIPlaceholderType.getSortKeyFirst() are the same).public abstract boolean isExpandInitially()
isExpandInitially in interface IPlaceholderTypetrue True if this category should be expanded initially, false otherwise.public static IPlaceholderType forFormElementType(EFormElementTyp type)
public static EPlaceholderType forTemplate(ETextbausteinKategorie category)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.