Modifier and Type | Method and Description |
---|---|
static DataQuery |
createQueryForReferencedRow(IDataRow fromRow,
IManyToOneNode navNode,
List<String> selExpressions)
Create a DataQuery to retrieve the row referenced through a
IManyToOneNode . |
static DataQuery |
createQueryForRows(Collection<IDataRow> rows,
Collection<String> selectExpressions)
Creates a ByID query for the given rows using a new set of select
expressions.
|
static void |
selectAllViewAttributes(DataQuery pQuery)
Add select expression for all Attributes of
DataQuery#get#getView() |
static void |
selectAllViewAttributes(DataQuery pQuery,
List<IViewAttribute<? extends IAttribute>> pViewAttributes) |
public static DataQuery createQueryForRows(Collection<IDataRow> rows, Collection<String> selectExpressions)
rows
- selectExpressions
- public static DataQuery createQueryForReferencedRow(IDataRow fromRow, IManyToOneNode navNode, List<String> selExpressions)
IManyToOneNode
.fromRow
- the referencing row. This row should contain the necessary select expression to allow the navigation.navNode
- the IManyToOneNode
to navigateselExpressions
- the select expressions to query on targetIEntityRow
when executedpublic static void selectAllViewAttributes(DataQuery pQuery)
DataQuery#get#getView()
pQuery
- pView
- public static void selectAllViewAttributes(DataQuery pQuery, List<IViewAttribute<? extends IAttribute>> pViewAttributes)
Copyright © 2016. All Rights Reserved.