public interface LayoutStore extends Serializable
It manages registries of layout definitions, widget types, widget definitions and converters.
Modifier and Type | Method and Description |
---|---|
List<String> |
getCategories()
Returns categories of layout and widgets definitions and instances held by this service.
|
List<LayoutDefinitionConverter> |
getLayoutConverters(String category) |
LayoutDefinition |
getLayoutDefinition(String category,
String layoutName)
Returns the registered layout definition for this name.
|
List<String> |
getLayoutDefinitionNames(String category)
Returns the names of all the registered layout definitions
|
LayoutTypeDefinition |
getLayoutTypeDefinition(String category,
String typeName) |
List<LayoutTypeDefinition> |
getLayoutTypeDefinitions(String category) |
List<WidgetDefinitionConverter> |
getWidgetConverters(String category) |
WidgetDefinition |
getWidgetDefinition(String category,
String widgetName)
Returns the registered widget definition for this name.
|
WidgetType |
getWidgetType(String category,
String typeName)
Returns the registered widget type for this type name.
|
WidgetTypeDefinition |
getWidgetTypeDefinition(String category,
String typeName)
Returns the widget type definition with given name, or null if no widget type with this name is found.
|
List<WidgetTypeDefinition> |
getWidgetTypeDefinitions(String category)
Returns the widget type definitions for all the registered widget types.
|
void |
registerLayout(String category,
LayoutDefinition layoutDef) |
void |
registerLayoutType(String category,
LayoutTypeDefinition desc) |
void |
registerWidget(String category,
WidgetDefinition widgetDef) |
void |
registerWidgetType(String category,
WidgetTypeDefinition desc) |
void |
unregisterLayout(String category,
LayoutDefinition layoutDef) |
void |
unregisterLayoutType(String category,
LayoutTypeDefinition desc) |
void |
unregisterWidget(String category,
WidgetDefinition widgetDef) |
void |
unregisterWidgetType(String category,
WidgetTypeDefinition desc) |
List<String> getCategories()
WidgetType getWidgetType(String category, String typeName)
If the no widget type is found with this name, return null.
WidgetTypeDefinition getWidgetTypeDefinition(String category, String typeName)
List<WidgetTypeDefinition> getWidgetTypeDefinitions(String category)
LayoutTypeDefinition getLayoutTypeDefinition(String category, String typeName)
List<LayoutTypeDefinition> getLayoutTypeDefinitions(String category)
LayoutDefinition getLayoutDefinition(String category, String layoutName)
If the no definition is found with this name, return null.
List<String> getLayoutDefinitionNames(String category)
WidgetDefinition getWidgetDefinition(String category, String widgetName)
If the no definition is found with this name, return null.
List<LayoutDefinitionConverter> getLayoutConverters(String category)
List<WidgetDefinitionConverter> getWidgetConverters(String category)
void registerWidgetType(String category, WidgetTypeDefinition desc)
void unregisterWidgetType(String category, WidgetTypeDefinition desc)
void registerLayoutType(String category, LayoutTypeDefinition desc)
void unregisterLayoutType(String category, LayoutTypeDefinition desc)
void registerLayout(String category, LayoutDefinition layoutDef)
void unregisterLayout(String category, LayoutDefinition layoutDef)
void registerWidget(String category, WidgetDefinition widgetDef)
void unregisterWidget(String category, WidgetDefinition widgetDef)
Copyright © 2018 Nuxeo. All rights reserved.