public abstract class TableUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TableUtils.TableDataCollector
Collects affected table data rows.
|
| Constructor and Description |
|---|
TableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<StructureBeanNode> |
appendNode(StructureBean structure,
java.lang.String parentId,
java.lang.String relId,
java.lang.String childId,
boolean isFrom)
Returns list of nodes appended to matching parent node.
|
static StructureBeanNode |
appendNode(StructureBean structure,
StructureBeanNode node,
java.lang.String relId,
java.lang.String childId,
boolean isFrom)
Returns node appended to parent node.
|
static void |
applySame(TableBean<?> origin,
TableBean<?> target)
|
static java.util.List<TableData> |
connectNode(TableBean<?> table,
java.lang.String parentId,
java.lang.String relId,
java.lang.String childId,
boolean isFrom)
Connect the node to the Table (including original tables)
|
static <T extends TableData> |
ensureAllRowsValidated(TableBean<T> input)
Ensures that all rows are validated, e.g.
|
static <T extends TableData> |
ensureNotPaginated(TableBean<T> input)
Returns a TableBean instance that is NOT paginated.
|
static void |
ensureUniqueRowsOnly(TableBean<?> table,
boolean ignoreConnectionId)
Ensures that there is only one row in the table representing an object OR
an object and connection.
|
static <T extends TableData> |
ensureVisibleRowsValidated(TableBean<T> input) |
static void |
exportToCSV(TableBean<? extends TableData> table,
java.io.Writer writer)
Convenience method for exporting a
TableBean to the "standard"
CSV format. |
static void |
exportToCSV(TableBean<? extends TableData> table,
java.io.Writer writer,
char fieldSeparator)
Convenience method for exporting a
TableBean to the "standard"
CSV format. |
static java.lang.Object |
getAttribute(TableBean<?> table,
java.lang.String attributeName) |
static java.util.List<java.lang.String> |
getAvailableTableNames()
Returns an array of available tables, both system tables in the database
and tables available as so called resources.
|
static java.lang.Boolean |
getBooleanValue(TableBean<?> tableBean,
TableData tableData,
java.lang.String columnName) |
static java.util.List<java.lang.Boolean> |
getBooleanValues(TableBean<?> tableBean,
TableData tableData,
java.lang.String columnName) |
static java.util.Date |
getDateValue(TableBean<?> tableBean,
TableData tableData,
java.lang.String columnName) |
static java.util.List<java.util.Date> |
getDateValues(TableBean<?> tableBean,
TableData tableData,
java.lang.String columnName) |
static java.lang.String[] |
getDisplayNames(java.util.Locale locale,
java.lang.String[] tableNames)
Returns the display names for all the tables.
|
static java.lang.String[] |
getDisplayNames(TableFactory tableFactory,
java.util.Locale locale,
java.lang.String[] tableNames)
Returns the display names for all the tables.
|
static java.util.List<java.lang.String> |
getExistingTableNames(java.lang.String[] tableNames)
This method returns the a List containing the table names
supplied in the arguments, minus the tables that doesn't exist.
|
static int |
getFixedColumnCount(TableBean<? extends TableData> table)
Count number of fixed column among the visible columns
|
static java.util.Set<java.lang.String> |
getIds(TableBean<?> t,
boolean objectId)
Returns a (unique) set of ID's from a table bean.
|
static int |
getIndexForColumn(Table table,
java.lang.String expression,
boolean usesBusinessObject) |
static java.lang.String |
getLabelOrAlt(Column col) |
static java.lang.String |
getLabelOrAlt(Column col,
java.lang.String defaultValue) |
static java.lang.Number |
getNumberValue(TableBean<?> tableBean,
TableData tableData,
java.lang.String columnName) |
static java.util.List<java.lang.Number> |
getNumberValues(TableBean<?> tableBean,
TableData tableData,
java.lang.String columnName) |
static java.lang.String |
getObjectIdForHeader(Environment env)
Returns objectId for Header
|
static java.lang.String[] |
getObjectIds(TableBean<?> t)
Returns the (unique) object-ids from the
TableBean. |
static TableBean<?> |
getOriginalTable(TableBean<?> table)
Deprecated.
|
static java.lang.String[] |
getRelationshipIds(TableBean<?> t)
Returns the (unique) relationship-ids from the
TableBean. |
static TableBean<?> |
getRootTable(TableBean<?> table) |
static java.lang.String |
getStringValue(TableBean<?> tableBean,
TableData tableData,
java.lang.String columnName) |
static java.util.List<java.lang.String> |
getStringValues(TableBean<?> tableBean,
TableData tableData,
java.lang.String columnName) |
static java.util.Iterator<? extends TableData> |
getTableData(TableBean<? extends TableData> table,
long[] dataIDs)
Returns an iterator containing all
TableDatas that whose ID is in
the specified array. |
static java.util.Iterator<? extends TableData> |
getTableData(TableBean<? extends TableData> table,
java.lang.Long[] dataIDs)
Returns an iterator containing all
TableDatas that whose ID is in
the specified array. |
static java.util.Iterator<? extends TableData> |
getTableData(TableBean<? extends TableData> table,
java.lang.String[] relId,
java.lang.String[] objId) |
static java.util.Iterator<? extends TableData> |
getTableData(TableBean<? extends TableData> table,
TableRowIdParam param) |
static boolean |
hasHiddenColumn(TableBean<? extends TableData> t)
Returns true if there is at least one column, which is not visible.
|
static boolean |
hasOriginalTable(TableBean<?> table)
Deprecated.
|
static boolean |
isHTMLCell(Cell cell)
Returns true if the cell contains HTML data.
|
static void |
loadInto(TableBean<?> sourceTableBean,
TableBean<?> targetTableBean)
A utility method for loading data from one tablebean into another.
|
static void |
loadPaginationSettings(PaginatedTableBean<? extends TableData> ptb) |
static TableBean<?> |
navigate(TableBean<?> original,
Environment newEnv,
TableData data) |
static TableBean<? extends TableData> |
newTableBean(com.technia.tvc.core.db.inquiry.Inquiry inquiry,
java.lang.String viewName,
Environment env,
boolean navigate)
Evaluate the inquiry into a TableBean and apply the specified view.
|
static TableBean<? extends TableData> |
newTableBean(com.technia.tvc.core.db.inquiry.Inquiry inquiry,
View view,
Environment env,
boolean navigate)
Evaluate the inquiry into a TableBean and apply the specified view.
|
static TableBean<? extends TableData> |
newTableBean(com.technia.tvc.core.db.inquiry.Inquiry inquiry,
View view,
Environment env,
boolean navigate,
boolean validate)
Evaluate the inquiry into a TableBean and apply the specified view.
|
static TableBean<? extends TableData> |
newTableBean(Query query,
java.lang.String view,
Environment env,
boolean navigate)
Evaluate the query into a TableBean and apply the specified view.
|
static TableBean<? extends TableData> |
newTableBean(Query query,
View view,
Environment env,
boolean navigate)
Evaluate the query into a TableBean and apply the specified view.
|
static int |
remove(TableBean<?> table,
java.lang.String objectId) |
static int |
remove(TableBean<?> table,
java.lang.String relationshipId,
java.lang.String objectId) |
static java.lang.Object |
removeAttribute(TableBean<?> table,
java.lang.String attributeName) |
static java.util.List<TableData> |
removeNodes(TableBean<?> table,
java.util.Collection<java.lang.String> relIds,
java.util.Collection<java.lang.String> objectIds)
Removes matching nodes (including original tables)
|
static void |
removeOriginalTable(TableBean<?> table)
Deprecated.
|
static void |
removeRootNodes(StructureBean source,
CompositeStructureBean target) |
static void |
removeRows(TableBean<? extends TableData> table)
|
static java.lang.Object |
setAttribute(TableBean<?> table,
java.lang.String attributeName,
java.lang.Object value) |
static void |
setEvaluationRequired(TableBean<? extends TableData> table,
java.lang.String objectId) |
static void |
setEvaluationRequired(TableBean<? extends TableData> table,
java.lang.String[] objectIds) |
static void |
setEvaluationRequired(TableBean<? extends TableData> table,
java.lang.String relationshipId,
java.lang.String objectId) |
static void |
setEvaluationRequired(TableBean<? extends TableData> table,
TableRowIdParam param)
Set a flag that indicates that these rows will be reloaded the next time
the TableBean is evaluated.
|
static void |
setExpandable(StructureBean str,
boolean expandable) |
static void |
setExpandable(StructureBeanNode node,
boolean expandable,
boolean deep) |
static void |
setHighlighted(java.util.Iterator<? extends TableData> dataItr,
boolean highlight)
Highlights or UnHighlights Nodes
|
static void |
setHighlighted(TableBean<? extends TableData> table,
java.lang.String objectId)
Set the highlighted flag on the rows having the object id
|
static void |
setHighlighted(TableBean<? extends TableData> table,
TableRowIdParam param)
Set the highlighted flag on these rows.
|
static void |
setOriginalTable(TableBean<?> table,
TableBean<?> original)
Deprecated.
|
static void |
setSelected(TableBean<? extends TableData> table,
TableRowIdParam param)
Set the selected flag on these rows.
|
static void |
setStructureValid(java.util.Iterator<StructureBeanNode> nodes,
boolean structureValid)
Sets whether the structure below the node(s) is valid or not.
|
static void |
setTableDataFlags(java.util.Iterator<? extends TableData> tableData,
boolean evaluationRequired,
boolean selected,
boolean highlighted)
Set the flags that are true.
|
static void |
setTableDataFlags(TableBean<? extends TableData> table,
java.lang.String relId,
java.lang.String objectId,
boolean evaluationRequired,
boolean selected,
boolean highlighted)
Set the flags that are true.
|
static void |
setTableDataFlags(TableBean<? extends TableData> table,
TableRowIdParam param,
boolean evaluationRequired,
boolean selected,
boolean highlighted)
Set the flags that are true.
|
static StructureBean |
toStructureBean(TableBean<? extends TableData> table)
|
static void |
unsetHighlighted(EditableTableBean<?> t)
Unsets the highlighted flag on all rows.
|
static void |
unsetHighlighted(TableBean<? extends TableData> table,
TableRowIdParam param)
Unset the highlighted flag on these rows.
|
static void |
unsetSelected(TableBean<? extends TableData> table,
TableRowIdParam param)
Unset the selected flag on these rows.
|
static void |
unsetSelectedAndHighlighted(TableBean<? extends TableData> table,
TableRowIdParam param)
Unset the selected and the highlighted flag on these rows.
|
static void |
unsetTableDataFlags(TableBean<? extends TableData> table,
TableRowIdParam param,
boolean evaluationRequired,
boolean selected,
boolean highlighted)
Unset the flags that are true.
|
static java.util.List<TableData> |
updateNodes(TableBean<?> table,
java.util.Collection<java.lang.String> relIds,
java.util.Collection<java.lang.String> objectIds)
Updates matching nodes (including original tables)
|
@Deprecated public static void setOriginalTable(TableBean<?> table, TableBean<?> original)
TableBean.setParent(TableBean)table - original - TableBean.setParent(TableBean)@Deprecated public static TableBean<?> getOriginalTable(TableBean<?> table)
TableBean.getParent()table - TableBean.getParent()@Deprecated public static boolean hasOriginalTable(TableBean<?> table)
TableBean.getHasParent()table - TableBean.getHasParent()@Deprecated public static void removeOriginalTable(TableBean<?> table)
TableBean.removeParent()table - TableBean.removeParent()public static void loadPaginationSettings(PaginatedTableBean<? extends TableData> ptb)
public static void applySame(TableBean<?> origin, TableBean<?> target) throws TVCException
Applies the same GUI settings, applied to one table
onto another table.
The following properties that are copied:
origin - The original tablebeantarget - The target tablebeanTVCExceptionpublic static java.lang.Object getAttribute(TableBean<?> table, java.lang.String attributeName)
public static java.lang.Object removeAttribute(TableBean<?> table, java.lang.String attributeName)
public static java.lang.Object setAttribute(TableBean<?> table, java.lang.String attributeName, java.lang.Object value)
public static java.util.List<java.lang.String> getAvailableTableNames()
throws TVCException
TVCExceptionpublic static java.util.List<java.lang.String> getExistingTableNames(java.lang.String[] tableNames)
throws TVCException
tableNames - the table names.TVCExceptionpublic static java.lang.String[] getDisplayNames(java.util.Locale locale,
java.lang.String[] tableNames)
locale - The locale of the display names.tableNames - The actual names of the tables.public static java.lang.String[] getDisplayNames(TableFactory tableFactory, java.util.Locale locale, java.lang.String[] tableNames)
tableFactory - The table factory that will be queried for the
display names.locale - The locale of the display names.tableNames - The actual names of the tables.public static void exportToCSV(TableBean<? extends TableData> table, java.io.Writer writer) throws java.io.IOException
TableBean to the "standard"
CSV format. The field separator will be a comma.table - The table.writer - The writer to which the CSV file will be written.java.io.IOException - If unable to write the CSV file.public static void exportToCSV(TableBean<? extends TableData> table, java.io.Writer writer, char fieldSeparator) throws java.io.IOException
TableBean to the "standard"
CSV format.table - The table.writer - The writer to which the CSV file will be written.fieldSeparator - The separator char to use between fields (e.g.,
comma, semi-colon, horizontal-tab).java.io.IOException - If unable to write the CSV file.public static TableBean<? extends TableData> newTableBean(Query query, java.lang.String view, Environment env, boolean navigate) throws TVCException
query - The query to execute.view - The name of the view.env - The environment.navigate - Whether to load the result as root nodes into a
StructureBean.TVCException - If unable to perform the operation.public static TableBean<? extends TableData> newTableBean(com.technia.tvc.core.db.inquiry.Inquiry inquiry, java.lang.String viewName, Environment env, boolean navigate) throws TVCException
inquiry - The inquiry to execute.viewName - The name of the view.env - The environment.navigate - Whether to load the result as root nodes into a
StructureBean.TVCException - If unable to perform the operation.public static TableBean<? extends TableData> newTableBean(Query query, View view, Environment env, boolean navigate) throws TVCException
query - The query to execute.view - The view.env - The environment.navigate - Whether to load the result as root nodes into a
StructureBean.TVCException - If unable to perform the operation.public static TableBean<? extends TableData> newTableBean(com.technia.tvc.core.db.inquiry.Inquiry inquiry, View view, Environment env, boolean navigate) throws TVCException
inquiry - The inquiry to execute.view - The view.env - The environment.navigate - Whether to load the result as root nodes into a
StructureBean.TVCException - If unable to perform the operation.public static TableBean<? extends TableData> newTableBean(com.technia.tvc.core.db.inquiry.Inquiry inquiry, View view, Environment env, boolean navigate, boolean validate) throws TVCException
inquiry - The inquiry to execute.view - The view.env - The environment.navigate - Whether to load the result as root nodes into a
StructureBean.validate - Whether to validate the TableBean.TVCException - If unable to perform the operation.public static java.util.Iterator<? extends TableData> getTableData(TableBean<? extends TableData> table, TableRowIdParam param)
table - The table.param - The row params.public static java.util.Iterator<? extends TableData> getTableData(TableBean<? extends TableData> table, java.lang.String[] relId, java.lang.String[] objId)
table - The table.relId - The relationship IDs.objId - The object IDs.public static java.util.Iterator<? extends TableData> getTableData(TableBean<? extends TableData> table, long[] dataIDs)
TableDatas that whose ID is in
the specified array.table - A table bean.dataIDs - The data IDs.TableDatas.public static java.util.Iterator<? extends TableData> getTableData(TableBean<? extends TableData> table, java.lang.Long[] dataIDs)
TableDatas that whose ID is in
the specified array.table - A table bean.dataIDs - The data IDs.TableDatas.public static void setEvaluationRequired(TableBean<? extends TableData> table, TableRowIdParam param)
table - The table.param - The row params.public static void setSelected(TableBean<? extends TableData> table, TableRowIdParam param)
table - The table.param - The row params.public static void setHighlighted(java.util.Iterator<? extends TableData> dataItr, boolean highlight)
dataItr - highlight - public static void setHighlighted(TableBean<? extends TableData> table, TableRowIdParam param)
table - The table.param - The row params.public static void setHighlighted(TableBean<? extends TableData> table, java.lang.String objectId)
table - objectId - public static void unsetSelected(TableBean<? extends TableData> table, TableRowIdParam param)
table - The table.param - The row params.public static void unsetHighlighted(EditableTableBean<?> t)
t - The tablebeanpublic static void unsetHighlighted(TableBean<? extends TableData> table, TableRowIdParam param)
table - The table.param - The row params.public static void unsetSelectedAndHighlighted(TableBean<? extends TableData> table, TableRowIdParam param)
table - The table.param - The row params.public static void setTableDataFlags(TableBean<? extends TableData> table, TableRowIdParam param, boolean evaluationRequired, boolean selected, boolean highlighted)
table - The table.param - The row params.evaluationRequired - Whether to set this flag.selected - Whether to set this flag.highlighted - Whether to set this flag.public static void setTableDataFlags(TableBean<? extends TableData> table, java.lang.String relId, java.lang.String objectId, boolean evaluationRequired, boolean selected, boolean highlighted)
table - The tablerelId - The rel idobjectId - The object idevaluationRequired - Whether to set this flag.selected - Whether to set this flag.highlighted - Whether to set this flag.public static void unsetTableDataFlags(TableBean<? extends TableData> table, TableRowIdParam param, boolean evaluationRequired, boolean selected, boolean highlighted)
table - The table.param - The row params.evaluationRequired - Whether to unset this flag.selected - Whether to unset this flag.highlighted - Whether to unset this flag.public static void setTableDataFlags(java.util.Iterator<? extends TableData> tableData, boolean evaluationRequired, boolean selected, boolean highlighted)
tableData - itemsevaluationRequired - Whether to set this flag.selected - Whether to set this flag.highlighted - Whether to set this flag.public static int getIndexForColumn(Table table, java.lang.String expression, boolean usesBusinessObject)
public static int getFixedColumnCount(TableBean<? extends TableData> table)
public static void setEvaluationRequired(TableBean<? extends TableData> table, java.lang.String objectId)
table - objectId - public static void setEvaluationRequired(TableBean<? extends TableData> table, java.lang.String[] objectIds)
table - objectIds - public static void setEvaluationRequired(TableBean<? extends TableData> table, java.lang.String relationshipId, java.lang.String objectId)
table - relationshipId - objectId - public static void setExpandable(StructureBean str, boolean expandable)
str - The structureexpandable - False for making all nodes un-expandablepublic static void setExpandable(StructureBeanNode node, boolean expandable, boolean deep)
node - The nodeexpandable - False for making the node unexpandable/uncollapsabledeep - True if to set the flag on all descendant child nodes.public static void setStructureValid(java.util.Iterator<StructureBeanNode> nodes, boolean structureValid)
nodes - The StructureBeanNodes.structureValid - The structureValid boolean.public static java.lang.String getLabelOrAlt(Column col)
col - The columnpublic static java.lang.String getLabelOrAlt(Column col, java.lang.String defaultValue)
public static boolean hasHiddenColumn(TableBean<? extends TableData> t)
E.g. if the Column.isVisible() returns false.
t - The tablebeanpublic static <T extends TableData> void ensureVisibleRowsValidated(TableBean<T> input) throws TVCException
TVCExceptionpublic static <T extends TableData> void ensureAllRowsValidated(TableBean<T> input) throws TVCException
input - TVCExceptionpublic static <T extends TableData> TableBean<T> ensureNotPaginated(TableBean<T> input)
input - public static void removeRows(TableBean<? extends TableData> table)
table - The tablebeanpublic static StructureBean toStructureBean(TableBean<? extends TableData> table) throws TVCException
table into a structure
The visible table-data instances are represented as root-nodes in the new structure.
table - The TableBean to convertStructureBeanTVCExceptionpublic static java.lang.String[] getObjectIds(TableBean<?> t)
TableBean.t - The TableBean to get the ids from.public static java.lang.String[] getRelationshipIds(TableBean<?> t)
TableBean.t - The TableBean to get the ids from.public static boolean isHTMLCell(Cell cell)
cell - The cellpublic static java.lang.Boolean getBooleanValue(TableBean<?> tableBean, TableData tableData, java.lang.String columnName)
tableBean - The current table beantableData - The current table data instancecolumnName - The name of the columnpublic static java.util.List<java.lang.Boolean> getBooleanValues(TableBean<?> tableBean, TableData tableData, java.lang.String columnName)
tableBean - tableData - columnName - public static java.util.Date getDateValue(TableBean<?> tableBean, TableData tableData, java.lang.String columnName)
tableBean - tableData - columnName - public static java.util.List<java.util.Date> getDateValues(TableBean<?> tableBean, TableData tableData, java.lang.String columnName)
tableBean - tableData - columnName - public static java.lang.String getStringValue(TableBean<?> tableBean, TableData tableData, java.lang.String columnName)
tableBean - tableData - columnName - public static java.util.List<java.lang.String> getStringValues(TableBean<?> tableBean, TableData tableData, java.lang.String columnName)
tableBean - tableData - columnName - public static java.lang.Number getNumberValue(TableBean<?> tableBean, TableData tableData, java.lang.String columnName)
tableBean - tableData - columnName - public static java.util.List<java.lang.Number> getNumberValues(TableBean<?> tableBean, TableData tableData, java.lang.String columnName)
tableBean - tableData - columnName - public static void ensureUniqueRowsOnly(TableBean<?> table, boolean ignoreConnectionId)
Note: If the table is a structure bean, only
the root nodes will be processed.
table - The table to processignoreConnectionId - If true, only the object-id will be used to
determine the uniqueness of a row. Otherwise, the combination of
connection-id and object-id will be used.public static void loadInto(TableBean<?> sourceTableBean, TableBean<?> targetTableBean) throws TVCException
Please note that if the sourceTableBean is of a different type than the targetTableBean, then the data structure will be converted according to the table below.
Possible scenarios:
| Source Type | Target Type | Conversion |
|---|---|---|
| FlatTableBean | FlatTableBean | none |
| CompositeStructureBean | CompositeStructureBean | none |
| StructureBean | StructureBean | none |
| StructureBean | CompositeStructureBean | none |
| FlatTableBean | CompositeStructureBean | The rows from the loaded table bean becomes root nodes in the target structure |
| FlatTableBean | StructureBean | The first row from the loaded table bean becomes root node in the target structure. |
| CompositeStructureBean | FlatTableBean | The nodes in the loaded table becomes rows without hierarchy information in the target table |
| CompositeStructureBean | StructureBean | The first root node and all it's child nodes ends up in the target structure |
| StructureBean | FlatTableBean | The nodes in the loaded table becomes rows without hierarchy information in the target table |
sourceTableBean - The source table beantargetTableBean - The target table beanTVCExceptionpublic static void removeRootNodes(StructureBean source, CompositeStructureBean target) throws TVCException
TVCExceptionpublic static int remove(TableBean<?> table, java.lang.String objectId)
public static int remove(TableBean<?> table, java.lang.String relationshipId, java.lang.String objectId)
public static java.util.Set<java.lang.String> getIds(TableBean<?> t, boolean objectId)
t - The tablebeanobjectId - True to get the object id's, false to get the
relationship id's.public static java.util.List<TableData> connectNode(TableBean<?> table, java.lang.String parentId, java.lang.String relId, java.lang.String childId, boolean isFrom) throws TVCException
table - The TableBeanparentId - objectId of the parentrelId - relationshipId of the node to be appendedchildId - objectId of the node to be appendedisFrom - direction of the connectionTVCExceptionpublic static java.util.List<TableData> removeNodes(TableBean<?> table, java.util.Collection<java.lang.String> relIds, java.util.Collection<java.lang.String> objectIds) throws TVCException
table - The TableBeanrelIds - String[] relationshipIds of the nodes to be deletedobjectIds - String[] objectIds of the nodes to be deletedTVCExceptionpublic static java.util.List<TableData> updateNodes(TableBean<?> table, java.util.Collection<java.lang.String> relIds, java.util.Collection<java.lang.String> objectIds) throws TVCException
table - The TableBeanrelIds - String[] relationshipIds of the nodes to be updatedobjectIds - String[] objectIds of the nodes to be updatedTVCExceptionpublic static java.util.List<StructureBeanNode> appendNode(StructureBean structure, java.lang.String parentId, java.lang.String relId, java.lang.String childId, boolean isFrom) throws TVCException
structure - The StructureBeanparentId - objectId of the parentrelId - relationshipId of the node to be appendedchildId - objectId of the node to be appendedisFrom - direction of the connectionTVCExceptionpublic static StructureBeanNode appendNode(StructureBean structure, StructureBeanNode node, java.lang.String relId, java.lang.String childId, boolean isFrom) throws TVCException
structure - The StructureBeannode - parent noderelId - relationshipId of the node to be appendedchildId - objectId of the node to be appendedisFrom - direction of the connectionTVCExceptionpublic static TableBean<?> navigate(TableBean<?> original, Environment newEnv, TableData data) throws TVCException
TVCExceptionpublic static java.lang.String getObjectIdForHeader(Environment env)
env - The current environment.Copyright ? Technia AB. All Rights Reserved.