public class HierarchySelectHandler
extends java.lang.Object
HierarchyListUserSelect
instances based on class nameConstructor and Description |
---|
HierarchySelectHandler() |
Modifier and Type | Method and Description |
---|---|
static HierarchyListUserSelect |
get(java.lang.String clazz)
Get the select handler registered for the given class name
|
static java.util.List<HierarchyListUserSelect> |
getExternalHandlers()
Get all handlers which support external usage
|
static void |
register(java.lang.Class<?> clazz,
HierarchyListUserSelect handler)
Register a select handler by class name
|
static void |
register(java.lang.String clazz,
HierarchyListUserSelect handler)
Register a select handler by class name
|
static void |
unregister(java.lang.Class<?> clazz)
Unregister the select handler for the given class
|
static void |
unregister(java.lang.Class<?> clazz,
HierarchyListUserSelect handler)
Unregister a specific select handler only if it's already registered
for the given class name
|
static void |
unregister(java.lang.String clazz)
Unregister the select handler for the given class name
|
static void |
unregister(java.lang.String clazz,
HierarchyListUserSelect handler)
Unregister a specific select handler only if it's already registered
for the given class name
|
public static void register(java.lang.String clazz, HierarchyListUserSelect handler)
clazz
- Class namehandler
- Handler to registerpublic static void register(java.lang.Class<?> clazz, HierarchyListUserSelect handler)
clazz
- Classhandler
- Handler to registerpublic static void unregister(java.lang.String clazz)
clazz
- Class namepublic static void unregister(java.lang.Class<?> clazz)
clazz
- Classpublic static void unregister(java.lang.String clazz, HierarchyListUserSelect handler)
clazz
- Class namehandler
- Handler to unregisterpublic static void unregister(java.lang.Class<?> clazz, HierarchyListUserSelect handler)
clazz
- Classhandler
- Handler to unregisterpublic static HierarchyListUserSelect get(java.lang.String clazz)
clazz
- Class namepublic static java.util.List<HierarchyListUserSelect> getExternalHandlers()