public class FhUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FhUtils.ClickConsumer |
| Constructor and Description |
|---|
FhUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Include |
createDynamicInclude(GroupingComponent<Component> destComponent,
Object includedModel,
String includedFormRef) |
static Include |
createDynamicInclude(GroupingComponent<Component> destComponent,
Object includedModel,
String includedFormRef,
String variantId) |
static FormElement |
findFormElement(IGroupingComponent<Component> rootElm,
String startsWith) |
static String |
getCookieByKey(String key) |
static boolean |
hasRole(String roleName) |
static void |
setCookieByKey(String key,
String value) |
static void |
showConfirmDialogYesNo(String title,
String message,
FhUtils.ClickConsumer yes) |
static void |
showConfirmDialogYesNo(String title,
String message,
FhUtils.ClickConsumer yes,
FhUtils.ClickConsumer no) |
static void |
showConfirmDialogYesNo(String title,
String message,
String yesLabel,
FhUtils.ClickConsumer yes,
String noLabel,
FhUtils.ClickConsumer no) |
public static Include createDynamicInclude(GroupingComponent<Component> destComponent, Object includedModel, String includedFormRef)
public static Include createDynamicInclude(GroupingComponent<Component> destComponent, Object includedModel, String includedFormRef, String variantId)
public static FormElement findFormElement(IGroupingComponent<Component> rootElm, String startsWith)
public static boolean hasRole(String roleName)
public static void showConfirmDialogYesNo(String title, String message, FhUtils.ClickConsumer yes)
public static void showConfirmDialogYesNo(String title, String message, FhUtils.ClickConsumer yes, FhUtils.ClickConsumer no)
public static void showConfirmDialogYesNo(String title, String message, String yesLabel, FhUtils.ClickConsumer yes, String noLabel, FhUtils.ClickConsumer no)
Copyright © 2022. All rights reserved.