class ReportUtils extends java.lang.Object
Report utils for use with the Report Engine.
Constructor and description |
---|
ReportUtils
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.String |
formatFields(java.lang.String fieldJson, java.lang.String flexTypeUuid, java.lang.String flexTypeName, java.lang.Boolean highlightFieldNames, java.lang.Integer maxLength) Formats the extensible fields from the json field in a format suitable for web pages. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Formats the extensible fields from the json field in a format suitable for web pages.
Note: If a flexTypeUuid is not given, then the field ID's will be used instead of the labels.
fields
- The fields (as a JSON string).flexTypeUuid
- The UUID of the Flex Type for this set of fields.flexTypeName
- The same of the flex type field (e.g. 'assemblyDataType').highlightFieldNames
- If true, then the field name is highlighted (with HTML bold elements)..maxLength
- The max length of the values to display.