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
Nested ClassesModifier and TypeClassDescriptionstatic classSorter that re-arranges rows according to the row names order. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomputeLayoutDefinitionId(LayoutDefinition layoutDef) Returns an identifier computed from this definition so that an identical definition will have the same id.static StringcomputeLayoutRowDefinitionId(LayoutRowDefinition layoutRowDef) Returns an identifier computed from this definition so that an identical definition will have the same id.static StringcomputeWidgetDefinitionId(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 StringReturns 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 WidgetTypeDefinitiongetWidgetTypeDefinition(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
-