|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.semarchy.mdm.runtime.data.DataQueryUtil
public final class DataQueryUtil
Utility class allowing to create a DataQuery
for some predefined
usecases.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 target
IEntityRow
when executedpublic static void selectAllViewAttributes(DataQuery pQuery)
DataQuery#get#getView()
pQuery
- pView
- public static void selectAllViewAttributes(DataQuery pQuery, List<IViewAttribute<? extends IAttribute>> pViewAttributes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |