Class LayoutFunctions
java.lang.Object
org.nuxeo.ecm.platform.forms.layout.functions.LayoutFunctions
Provides helper methods, declared as static, to be used by the rendering framework.
- Since:
- 5.5
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Sorter that re-arranges rows according to the row names order. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
computeLayoutDefinitionId
(LayoutDefinition layoutDef) Returns an identifier computed from this definition so that an identical definition will have the same id.static String
computeLayoutRowDefinitionId
(LayoutRowDefinition layoutRowDef) Returns an identifier computed from this definition so that an identical definition will have the same id.static String
computeWidgetDefinitionId
(WidgetDefinition widgetDef) Returns an identifier computed from this definition so that an identical definition will have the same id.getDefaultSelectedRowNames
(Layout layout, boolean showAlwaysSelected) static String
Returns a String representing each of the field definitions property name, separated by a space.getNotSelectedRows
(Layout layout, List<String> selectedRowNames) getSelectedRows
(Layout layout, List<String> selectedRowNames, boolean showAlwaysSelected) static WidgetTypeDefinition
getWidgetTypeDefinition
(String category, String typeName)
-
Constructor Details
-
LayoutFunctions
public LayoutFunctions()
-
-
Method Details
-
getWidgetTypeDefinition
-
getFieldDefinitionsAsString
Returns a String representing each of the field definitions property name, separated by a space. -
getSelectedRows
-
getNotSelectedRows
-
getDefaultSelectedRowNames
-
computeLayoutDefinitionId
Returns an identifier computed from this definition so that an identical definition will have the same id.- Since:
- 5.5
-
computeLayoutRowDefinitionId
Returns an identifier computed from this definition so that an identical definition will have the same id.- Since:
- 5.5
-
computeWidgetDefinitionId
Returns an identifier computed from this definition so that an identical definition will have the same id.- Since:
- 5.5
-