public abstract class EntityResultUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityResultUtils.EntityResultSorter |
static class |
EntityResultUtils.EntityResultTableModel |
static class |
EntityResultUtils.Order |
| Constructor and Description |
|---|
EntityResultUtils() |
| Modifier and Type | Method and Description |
|---|---|
static EntityResult |
combine(Hashtable h,
EntityResult r2)
Combines all data in the Hashtable h and the EntityResult r2.
|
static EntityResult |
combine(Hashtable h,
Hashtable h2)
Combines the data from two hashtables.
|
static EntityResult |
createEmptyEntityResult(List columns)
Creates an empty
EntityResult with structure of columns
passed. |
static TableModel |
createTableModel(EntityResult res) |
static TableModel |
createTableModel(EntityResult res,
Vector cols) |
static TableModel |
createTableModel(EntityResult res,
Vector cols,
boolean returnEmptyStrings) |
static TableModel |
createTableModel(EntityResult res,
Vector cols,
boolean returnEmptyStrings,
boolean convertBytesBlockToIm,
boolean convertBooleanToIm) |
static TableModel |
createTableModel(Hashtable res) |
static TableModel |
createTableModel(Hashtable res,
boolean returnEmptyStrings) |
static TableModel |
createTableModel(Hashtable res,
boolean returnEmptyStrings,
boolean convertBB2Im,
boolean convertBooleanToIm) |
static TableModel |
createTableModel(Hashtable res,
Vector cols) |
static TableModel |
createTableModel(Hashtable res,
Vector cols,
boolean returnEmptyStrings) |
static TableModel |
createTableModel(Hashtable res,
Vector cols,
boolean returnEmptyStrings,
boolean convertBB2Im) |
static int |
getValuesKeysIndex(Hashtable entityResult,
Hashtable kv) |
static EntityResult |
merge(EntityResult r1,
EntityResult r2)
Joins the data in two EntityResult objects.
|
static void |
sort(EntityResult entityResult,
List<EntityResultUtils.Order> order) |
static void |
updateRecordValues(EntityResult entityResult,
Hashtable recordValue,
int index) |
public static TableModel createTableModel(EntityResult res)
public static TableModel createTableModel(EntityResult res, Vector cols)
public static TableModel createTableModel(EntityResult res, Vector cols, boolean returnEmptyStrings)
public static TableModel createTableModel(EntityResult res, Vector cols, boolean returnEmptyStrings, boolean convertBytesBlockToIm, boolean convertBooleanToIm)
public static TableModel createTableModel(Hashtable res)
res - Values of this object must be Vector elementspublic static TableModel createTableModel(Hashtable res, boolean returnEmptyStrings)
public static TableModel createTableModel(Hashtable res, boolean returnEmptyStrings, boolean convertBB2Im, boolean convertBooleanToIm)
public static TableModel createTableModel(Hashtable res, Vector cols)
public static TableModel createTableModel(Hashtable res, Vector cols, boolean returnEmptyStrings)
public static TableModel createTableModel(Hashtable res, Vector cols, boolean returnEmptyStrings, boolean convertBB2Im)
public static void updateRecordValues(EntityResult entityResult, Hashtable recordValue, int index)
public static EntityResult createEmptyEntityResult(List columns)
EntityResult with structure of columns
passed.columns - columns of EntityResultEntityResult with result or null when
columns parameter is nullpublic static EntityResult merge(EntityResult r1, EntityResult r2)
r1 - r2 - public static EntityResult combine(Hashtable h, EntityResult r2)
h - r2 - public static EntityResult combine(Hashtable h, Hashtable h2)
h - h2 - public static void sort(EntityResult entityResult, List<EntityResultUtils.Order> order)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.